jack validation fix

Jack Howarth <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <CAP5Ds0AKzRn96mfRT0ZK8Ofo0zdSe2HjmO0AQOVEYXwNBGbZUg@mail.gmail.com>
Adrian,
     The current jack packaging fails validation because of...

Error: /sw/src/fink.build/root-jack-shlibs-0.121.3-1/sw/lib/libjack.0.dylib
appears to have been linked using a flat namespace.
       If this package BuildDepends on libtool2, make sure that you use
          BuildDepends: libtool2 (>= 2.4.2-4).
       and use autoreconf to regenerate the configure script.
       If the package doesn't BuildDepend on libtool2, you'll need to
       update its build procedure to avoid passing
          -Wl,-flat_namespace
       when linking libraries.

The following changes eliminate this error, bumps the dependences to
use the newer libcelt0.2-shlibs package and fixes the broken sw_vers
conditional on 10.10.
                Jack

Index: jack.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/sound/jack.info,v
retrieving revision 1.3
diff -r1.3 jack.info
3c3
< Revision: 1
---
> Revision: 2
6,7c6,7
< Builddepends: readline6, doxygen, libsndfile1-dev (>= 1.0.11-2),
pkgconfig, libflac8-dev, libogg, fink (>= 0.24.12), celt-dev
< Depends: jack-shlibs (= %v-%r), readline6-shlibs, libsndfile1-shlibs
(>= 1.0.2-1), libflac8, celt-shlibs
---
> Builddepends: readline6, doxygen, libsndfile1-dev (>= 1.0.11-2), pkgconfig, libflac8-dev, libogg, fink (>= 0.24.12), libcelt0.2-dev
> Depends: jack-shlibs (= %v-%r), readline6-shlibs, libsndfile1-shlibs (>= 1.0.2-1), libflac8, libcelt0.2-shlibs
17c17
<  if [[ $(sw_vers -productVersion | cut -d. -f1-2) > 10.7 ]]; then
---
>  if [[ $(sw_vers -productVersion | cut -d. -f2) -gt 7 ]]; then
19a20,21
>  # Patch configure to not link like Puma on Yosemite
>  perl -pi.bak -e 's|10\.\[012\]\*|10.[012][,.]*|g' configure
25c27
<  Depends: celt-shlibs
---
>  Depends: libcelt0.2-shlibs

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.