Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/sound In directory vz-cvs-3.sog:/tmp/cvs-serv18081
Added Files: flac-build_lib.mk.patch flac-config.h.ed flac-ltmain.sh.patch flac-nasm.h.patch flac.info flac.patch Log Message: flac to 10.7 Taking over with maintainer OK asm code needs x86_64 love so have to deactivate --- NEW FILE: flac-config.h.ed --- diff -ruN flac-1.2.1/config.h.ed flac-1.2.1.new/config.h.ed --- flac-1.2.1/config.h.ed 2005-01-25 13:14:22.000000000 +0900 +++ flac-1.2.1.new/config.h.ed 2006-03-15 18:07:23.000000000 +0900 @@ -0,0 +1,8 @@ +/#define SIZEOF_VOIDP/c +#ifdef __LP64__ +#define SIZEOF_VOIDP 8 +#else +#define SIZEOF_VOIDP 4 +#endif +. +w --- NEW FILE: flac.info --- Package: flac Version: 1.2.1 Revision: 1001 BuildDepends: << fink (>= 0.30.0), fink-package-precedence, libiconv-dev, libogg, nasm << Depends: libflac8 (>= %v-%r) Source: mirror:sourceforge:%n/%n-%v.tar.gz Source-MD5: 153c8b15a54da428d1f0fadc756c22c7 PatchFile: %n.patch PatchFile2: %n-build_lib.mk.patch PatchFile3: %n-ltmain.sh.patch PatchFile4: %n-nasm.h.patch PatchFile5: %n-config.h.ed PatchFile-MD5: 5c41b21888c325ba7d77dcc67e24ac9b PatchFile2-MD5: 0e2c5d7b79eaacc6b0795c1d1712f09b PatchFile3-MD5: a422d308ac47d4d525fab4362dd471ea PatchFile4-MD5: b8a9daaed4dcb0f305a352e152847440 PatchFile5-MD5: 61f655e7525d2094696f49cd3339adf6 NoSetCPPFLAGS: true SetCPPFLAGS: -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include -I%p/include NoSetLDFLAGS: true UseMaxBuildJobs: true ConfigureParams: << --mandir='${prefix}/share/man' \ --disable-static \ --enable-dependency-tracking \ --enable-exhaustive-tests \ --disable-doxygen-docs \ --disable-xmms-plugin \ --disable-rpath \ --disable-asm-optimizations << BuildDependsOnly: True GCC: 4.0 CompileScript: << #!/bin/sh -ex ./configure %c ed - %b/config.h < config.h.ed && touch stamp-h1 make -w OBJ_FORMAT=macho fink-package-precedence --headers --libs --prohibit-bdep=libflac8-dev . << InfoTest: << TestScript: DYLD_LIBRARY_PATH=%b/src/libFLAC++/.libs/:%b/src/libFLAC/.libs make check || exit 2 TestSuiteSize: large << InstallScript: << #!/bin/sh -ex #bd=$(cd . && pwd -P) #perl -pi -e "s#\Q$bd\E/src/libFLAC#%p/lib#g" src/plugin_xmms/libxmms-flac.la make install DESTDIR=%d mv %i/share/doc/%n-%v %i/share/doc/%n << SplitOff: << Package: libflac8 Depends: libogg-shlibs Suggests: %N Files: lib/libFLAC.*.dylib lib/libFLAC++.*.dylib Shlibs: << %p/lib/libFLAC.8.dylib 11.0.0 %n (>= 1.2.1-1) %p/lib/libFLAC++.6.dylib 9.0.0 %n (>= 1.2.1-1) << DocFiles: README COPYING.LGPL Description: Free lossless audio codec - shared libs << SplitOff3: << Package: libflac8-dev Files: include lib share/aclocal Depends: libflac8, libiconv DocFiles: README COPYING.LGPL Description: Free lossless audio codec - encoder/decoder BuildDependsOnly: true << Splitoff4: << Package: flac-doc Files: share/doc/%N/html Description: HTML format docs for flac and libflac. << DocFiles: README AUTHORS COPYING.FDL COPYING.GPL COPYING.LGPL Description: Free lossless audio codec DescDetail: << FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC is similar to MP3, but lossless. The FLAC project consists of: * The stream format In the libflacX packages: * libFLAC, a library encoders and decoders, and a metadata interface * libFLAC++, an object wrapper around libFLAC In the flac package: * flac, a CLI wrapper around libFLAC to encode/decode .flac files * metaflac, a command-line metadata editor for .flac files In the flac-xmms package: * Input plugin for XMMS << DescPackaging: << Does not use pbxbuild method since we want dylibs. Also the make/config method puts everything in the right place. libtool relink and bash versioning patches applied. patch to enable dynamic_lookup (for prebinding on 10.3) applied. << DescPort: << asm code insisted on building as i386, but switching it to x86_64 (macho64) needs lots of love, so disabling. << License: GPL Maintainer: Hanspeter Niederstrasser <nie...@users.sourceforge.net> Homepage: http://flac.sourceforge.net/ --- NEW FILE: flac.patch --- diff -ruN flac-1.2.1/patches/fixrpath.sh flac-1.2.1.new/patches/fixrpath.sh --- flac-1.2.1/patches/fixrpath.sh 1969-12-31 19:00:00.000000000 -0500 +++ flac-1.2.1.new/patches/fixrpath.sh 2008-02-18 10:51:07.000000000 -0500 @@ -0,0 +1,28 @@ +#!/bin/sh +# $Id: fixrpath,v 1.1 2004/05/27 10:48:25 kobras Exp $ +# libtool -rpath workaround based on a suggestion by Yann Dirson +# <dir...@debian.org> +# +# It is supposed to be inserted in configure.in, but I didn't want +# to re-run autoconf (since that bloats the Debian diff unnecessarily), +# so I just patch libtool after running configure. -- Richard Braakman +# <d...@xs4all.nl> +# +# The version of libtool included with LessTif unfortunately insists on +# linking with -rpath, i.e. hardwiring locations. This is not desirable. +# +# The dummy define is improbable enough not to conflict with anything; it is +# just here to fool libtool by making it believe it gave some useful info to +# gcc. +# +# This will also patch the generated libtool to explicitly +# link libraries against the libraries they depend on. (particularly libc) + +for i in libtool libtool-disable-static; do +sed < $i > $i-2 \ + -e 's/^hardcode_libdir_flag_spec.*$/hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/' \ + -e '/^archive_cmds="/s/"$/ \$deplibs"/' +mv $i-2 $i +chmod 755 $i +done + --- NEW FILE: flac-build_lib.mk.patch --- diff -ruN flac-1.2.1/build/lib.mk flac-1.2.1.new/build/lib.mk --- flac-1.2.1/build/lib.mk 2007-09-13 10:51:25.000000000 +1000 +++ flac-1.2.1.new/build/lib.mk 2009-02-10 08:27:43.000000000 +1100 @@ -51,7 +51,7 @@ RELEASE_STATIC_LIB = $(RELEASE_LIBPATH)/$(STATIC_LIB_NAME) RELEASE_DYNAMIC_LIB = $(RELEASE_LIBPATH)/$(DYNAMIC_LIB_NAME) ifeq ($(DARWIN_BUILD),yes) -LINKD = $(CC) -dynamiclib -flat_namespace -undefined suppress -install_name $(DYNAMIC_LIB) +LINKD = $(CC) -dynamiclib -undefined dynamic_lookup -install_name $(DYNAMIC_LIB) else LINKD = $(CC) -shared endif --- NEW FILE: flac-ltmain.sh.patch --- diff -ruN flac-1.2.1/ltmain.sh flac-1.2.1.new/ltmain.sh --- flac-1.2.1/ltmain.sh 1969-12-31 19:00:00.000000000 -0500 +++ flac-1.2.1.new/ltmain.sh 2008-02-18 10:48:01.000000000 -0500 @@ -2280,7 +2280,7 @@ { test "$prefer_static_libs" = no || test -z "$old_library"; }; then if test "$installed" = no; then notinst_deplibs="$notinst_deplibs $lib" - need_relink=yes + need_relink=no fi # This is a shared library --- NEW FILE: flac-nasm.h.patch --- diff -ruN flac-1.2.1/src/libFLAC/ia32/nasm.h~ flac-1.2.1.new/src/libFLAC/ia32/nasm.h~ --- flac-1.2.1/src/libFLAC/ia32/nasm.h~ 2005-01-25 13:14:22.000000000 +0900 +++ flac-1.2.1.new/src/libFLAC/ia32/nasm.h 2006-03-15 18:07:23.000000000 +0900 @@ -49,6 +49,11 @@ %idefine code_section section .text align=16 %idefine data_section section .data align=32 %idefine bss_section section .bss align=32 +%elifdef OBJ_FORMAT_macho + %define FLAC__PUBLIC_NEEDS_UNDERSCORE + %idefine code_section section .text + %idefine data_section section .data + %idefine bss_section section .bss %else %error unsupported object format! %endif ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs