diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-08-25 11:11:50 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-08-25 11:11:50 +0000 |
commit | 2f8d63d6443094c08f4ed30c7a1b564ecc165694 (patch) | |
tree | 88fde7f0f191ce9f1a358234f23734f26519e28a /media-libs/flac/files | |
parent | Stable on ppc64 (bug #103661) (diff) | |
download | gentoo-2-2f8d63d6443094c08f4ed30c7a1b564ecc165694.tar.gz gentoo-2-2f8d63d6443094c08f4ed30c7a1b564ecc165694.tar.bz2 gentoo-2-2f8d63d6443094c08f4ed30c7a1b564ecc165694.zip |
Cleanup of flac ebuild, using patchset tarball instead of $FILESDIR. Removed XMMS hack (provided m4). Don't add extra flags that are not requested.
(Portage version: 2.0.51.22)
Diffstat (limited to 'media-libs/flac/files')
-rw-r--r-- | media-libs/flac/files/digest-flac-1.1.2-r2 | 1 | ||||
-rw-r--r-- | media-libs/flac/files/flac-1.1.2-gas.patch | 26 | ||||
-rw-r--r-- | media-libs/flac/files/flac-1.1.2-libtool.patch | 111 | ||||
-rw-r--r-- | media-libs/flac/files/flac-1.1.2-m4.patch | 33 | ||||
-rw-r--r-- | media-libs/flac/files/flac-1.1.2-makefile.patch | 17 | ||||
-rw-r--r-- | media-libs/flac/files/flac-1.1.2-noogg.patch | 51 | ||||
-rw-r--r-- | media-libs/flac/files/flac-1.1.2-xmms-config.patch | 11 |
7 files changed, 1 insertions, 249 deletions
diff --git a/media-libs/flac/files/digest-flac-1.1.2-r2 b/media-libs/flac/files/digest-flac-1.1.2-r2 index ff97332b0a84..f444fed0afe0 100644 --- a/media-libs/flac/files/digest-flac-1.1.2-r2 +++ b/media-libs/flac/files/digest-flac-1.1.2-r2 @@ -1 +1,2 @@ MD5 2bfc127cdda02834d0491ab531a20960 flac-1.1.2.tar.gz 1516235 +MD5 70025a54bc22d07c77c923fd8cddee79 flac-patches-1.tar.bz2 4083 diff --git a/media-libs/flac/files/flac-1.1.2-gas.patch b/media-libs/flac/files/flac-1.1.2-gas.patch deleted file mode 100644 index 06b13c0e3ac8..000000000000 --- a/media-libs/flac/files/flac-1.1.2-gas.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- configure.in 2005-02-03 06:03:25.000000000 +0100 -+++ /tmp/configure.in 2005-02-19 14:11:56.714378040 +0100 -@@ -184,14 +184,17 @@ - fi - - # only matters for PowerPC --AC_CHECK_PROGS(AS, as) --AC_CHECK_PROGS(GAS, gas) --AM_CONDITIONAL(FLaC__HAS_AS, test -n "$AS") --AM_CONDITIONAL(FLaC__HAS_GAS, test -n "$GAS") --if test -n "$AS" ; then -+AC_CHECK_PROGS(AS, as, as) -+AC_CHECK_PROGS(AS, gas, gas) -+ -+test "$AS" = "as" && as -v -o /dev/null < /dev/null | grep GNU >/dev/null && AS=gas -+ -+AM_CONDITIONAL(FLaC__HAS_AS, test "$AS" = "as" ) -+AM_CONDITIONAL(FLaC__HAS_GAS, test "$AS" = "gas" ) -+if test "$AS" = "as" ; then - AC_DEFINE(FLAC__HAS_AS) - fi --if test -n "$GAS" ; then -+if test "$AS" = "gas" ; then - # funniest. macro. ever. - AC_DEFINE(FLAC__HAS_GAS) - fi diff --git a/media-libs/flac/files/flac-1.1.2-libtool.patch b/media-libs/flac/files/flac-1.1.2-libtool.patch deleted file mode 100644 index ea43e1e34494..000000000000 --- a/media-libs/flac/files/flac-1.1.2-libtool.patch +++ /dev/null @@ -1,111 +0,0 @@ -diff -Naur flac-1.1.1.orig/configure flac-1.1.1/configure ---- flac-1.1.1.orig/configure 2004-09-30 19:14:14.393540000 -0700 -+++ flac-1.1.1/configure 2004-09-30 19:19:54.583356858 -0700 -@@ -3469,7 +3469,7 @@ - # This must be Linux ELF. - linux-gnu*) - case $host_cpu in -- alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* ) -+ alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* | x86_64* ) - lt_cv_deplibs_check_method=pass_all ;; - *) - # glibc up to 2.1.1 does not perform some relocations on ARM -@@ -10465,7 +10465,7 @@ - else - OUR_CFLAGS_HEAD="$OUR_CFLAGS_HEAD -O2 -DNDEBUG" - if test x$GCC = xyes; then -- OUR_CFLAGS_HEAD="$OUR_CFLAGS_HEAD -O3 -fomit-frame-pointer -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__" -+ OUR_CFLAGS_HEAD="$OUR_CFLAGS_HEAD -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__" - fi - fi - CFLAGS="$OUR_CFLAGS_HEAD $CFLAGS" -diff -Naur flac-1.1.1.orig/src/plugin_common/Makefile.in flac-1.1.1/src/plugin_common/Makefile.in ---- flac-1.1.1.orig/src/plugin_common/Makefile.in 2004-09-28 21:18:45.000000000 -0700 -+++ flac-1.1.1/src/plugin_common/Makefile.in 2004-09-30 19:20:42.137504142 -0700 -@@ -85,12 +85,12 @@ - CCAS = @CCAS@ - CCASFLAGS = @CCASFLAGS@ - CCDEPMODE = @CCDEPMODE@ --CFLAGS = @CFLAGS@ -+CFLAGS = @CFLAGS@ -fPIC - CPP = @CPP@ - CPPFLAGS = @CPPFLAGS@ - CXX = @CXX@ - CXXDEPMODE = @CXXDEPMODE@ --CXXFLAGS = @CXXFLAGS@ -+CXXFLAGS = @CXXFLAGS@ -fPIC - CYGPATH_W = @CYGPATH_W@ - DEBUG_FALSE = @DEBUG_FALSE@ - DEBUG_TRUE = @DEBUG_TRUE@ -diff -Naur flac-1.1.1.orig/src/share/getopt/Makefile.in flac-1.1.1/src/share/getopt/Makefile.in ---- flac-1.1.1.orig/src/share/getopt/Makefile.in 2004-09-28 21:18:48.000000000 -0700 -+++ flac-1.1.1/src/share/getopt/Makefile.in 2004-09-30 19:21:03.493977488 -0700 -@@ -82,12 +82,12 @@ - CCAS = @CCAS@ - CCASFLAGS = @CCASFLAGS@ - CCDEPMODE = @CCDEPMODE@ --CFLAGS = @CFLAGS@ -+CFLAGS = @CFLAGS@ -fPIC - CPP = @CPP@ - CPPFLAGS = @CPPFLAGS@ - CXX = @CXX@ - CXXDEPMODE = @CXXDEPMODE@ --CXXFLAGS = @CXXFLAGS@ -+CXXFLAGS = @CXXFLAGS@ -fPIC - CYGPATH_W = @CYGPATH_W@ - DEBUG_FALSE = @DEBUG_FALSE@ - DEBUG_TRUE = @DEBUG_TRUE@ -diff -Naur flac-1.1.1.orig/src/share/grabbag/Makefile.in flac-1.1.1/src/share/grabbag/Makefile.in ---- flac-1.1.1.orig/src/share/grabbag/Makefile.in 2004-09-28 21:18:48.000000000 -0700 -+++ flac-1.1.1/src/share/grabbag/Makefile.in 2004-09-30 19:21:32.385206586 -0700 -@@ -82,12 +82,12 @@ - CCAS = @CCAS@ - CCASFLAGS = @CCASFLAGS@ - CCDEPMODE = @CCDEPMODE@ --CFLAGS = @CFLAGS@ -+CFLAGS = @CFLAGS@ -fPIC - CPP = @CPP@ - CPPFLAGS = @CPPFLAGS@ - CXX = @CXX@ - CXXDEPMODE = @CXXDEPMODE@ --CXXFLAGS = @CXXFLAGS@ -+CXXFLAGS = @CXXFLAGS@ -fPIC - CYGPATH_W = @CYGPATH_W@ - DEBUG_FALSE = @DEBUG_FALSE@ - DEBUG_TRUE = @DEBUG_TRUE@ -diff -Naur flac-1.1.1.orig/src/share/replaygain_analysis/Makefile.in flac-1.1.1/src/share/replaygain_analysis/Makefile.in ---- flac-1.1.1.orig/src/share/replaygain_analysis/Makefile.in 2004-09-28 21:18:49.000000000 -0700 -+++ flac-1.1.1/src/share/replaygain_analysis/Makefile.in 2004-09-30 19:21:59.291763405 -0700 -@@ -80,12 +80,12 @@ - CCAS = @CCAS@ - CCASFLAGS = @CCASFLAGS@ - CCDEPMODE = @CCDEPMODE@ --CFLAGS = @CFLAGS@ -+CFLAGS = @CFLAGS@ -fPIC - CPP = @CPP@ - CPPFLAGS = @CPPFLAGS@ - CXX = @CXX@ - CXXDEPMODE = @CXXDEPMODE@ --CXXFLAGS = @CXXFLAGS@ -+CXXFLAGS = @CXXFLAGS@ -fPIC - CYGPATH_W = @CYGPATH_W@ - DEBUG_FALSE = @DEBUG_FALSE@ - DEBUG_TRUE = @DEBUG_TRUE@ -diff -Naur flac-1.1.1.orig/src/share/replaygain_synthesis/Makefile.in flac-1.1.1/src/share/replaygain_synthesis/Makefile.in ---- flac-1.1.1.orig/src/share/replaygain_synthesis/Makefile.in 2004-09-28 21:18:49.000000000 -0700 -+++ flac-1.1.1/src/share/replaygain_synthesis/Makefile.in 2004-09-30 19:22:15.817034518 -0700 -@@ -87,12 +87,12 @@ - CCAS = @CCAS@ - CCASFLAGS = @CCASFLAGS@ - CCDEPMODE = @CCDEPMODE@ --CFLAGS = @CFLAGS@ -+CFLAGS = @CFLAGS@ -fPIC - CPP = @CPP@ - CPPFLAGS = @CPPFLAGS@ - CXX = @CXX@ - CXXDEPMODE = @CXXDEPMODE@ --CXXFLAGS = @CXXFLAGS@ -+CXXFLAGS = @CXXFLAGS@ -fPIC - CYGPATH_W = @CYGPATH_W@ - DEBUG_FALSE = @DEBUG_FALSE@ - DEBUG_TRUE = @DEBUG_TRUE@ diff --git a/media-libs/flac/files/flac-1.1.2-m4.patch b/media-libs/flac/files/flac-1.1.2-m4.patch deleted file mode 100644 index 79a012255257..000000000000 --- a/media-libs/flac/files/flac-1.1.2-m4.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff -Naur flac-1.1.1.orig/configure flac-1.1.1/configure ---- flac-1.1.1.orig/configure 2004-09-30 19:14:14.393540000 -0700 -+++ flac-1.1.1/configure 2004-09-30 19:15:24.279997712 -0700 -@@ -9040,7 +9040,7 @@ - elif test "x$ogg_prefix" != "x" ; then - OGG_LIBS="-L$ogg_prefix/lib" - elif test "x$prefix" != "xNONE" ; then -- OGG_LIBS="-L$prefix/lib" -+ OGG_LIBS="-L$libdir" - fi - - OGG_LIBS="$OGG_LIBS -logg" -@@ -9050,7 +9050,7 @@ - elif test "x$ogg_prefix" != "x" ; then - OGG_CFLAGS="-I$ogg_prefix/include" - elif test "x$prefix" != "xNONE"; then -- OGG_CFLAGS="-I$prefix/include" -+ OGG_CFLAGS="" - fi - - echo "$as_me:$LINENO: checking for Ogg" >&5 -diff -Naur flac-1.1.1.orig/src/libFLAC/libFLAC.m4 flac-1.1.1/src/libFLAC/libFLAC.m4 ---- flac-1.1.1.orig/src/libFLAC/libFLAC.m4 2004-07-19 17:22:39.000000000 -0700 -+++ flac-1.1.1/src/libFLAC/libFLAC.m4 2004-09-30 19:16:01.147908537 -0700 -@@ -28,7 +28,7 @@ - elif test "x$libFLAC_prefix" != "x" ; then - LIBFLAC_CFLAGS="-I$libFLAC_prefix/include" - elif test "$prefix" != "xNONE"; then -- LIBFLAC_CFLAGS="-I$prefix/include" -+ LIBFLAC_CFLAGS="-I$libdir" - fi - - AC_MSG_CHECKING(for libFLAC) diff --git a/media-libs/flac/files/flac-1.1.2-makefile.patch b/media-libs/flac/files/flac-1.1.2-makefile.patch deleted file mode 100644 index d5476ba97b4d..000000000000 --- a/media-libs/flac/files/flac-1.1.2-makefile.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- src.orig/libFLAC/Makefile.am 2005-02-03 05:58:13.000000000 +0100 -+++ src/libFLAC/Makefile.am 2005-02-19 14:35:39.397097392 +0100 -@@ -59,12 +59,13 @@ - ARCH_SUBDIRS = ppc - if FLaC__HAS_AS__TEMPORARILY_DISABLED - libFLAC_la_LIBADD = ppc/as/libFLAC-asm.la -+LOCAL_EXTRA_LDFLAGS = "-Wl,-read_only_relocs,warning" - else - if FLaC__HAS_GAS__TEMPORARILY_DISABLED - libFLAC_la_LIBADD = ppc/gas/libFLAC-asm.la -+LOCAL_EXTRA_LDFLAGS = "" - endif - endif --LOCAL_EXTRA_LDFLAGS = "-Wl,-read_only_relocs,warning" - endif - endif - diff --git a/media-libs/flac/files/flac-1.1.2-noogg.patch b/media-libs/flac/files/flac-1.1.2-noogg.patch deleted file mode 100644 index 2d1973db3f24..000000000000 --- a/media-libs/flac/files/flac-1.1.2-noogg.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- configure.in.old 2005-06-12 06:42:52.000000000 +0000 -+++ configure.in 2005-06-12 08:36:15.000000000 +0000 -@@ -35,6 +35,7 @@ - AM_PROG_AS - AC_PROG_CXX - AC_PROG_MAKE_SET -+AC_PATH_PROG(PKGCONFIG, pkg-config) - - AC_CHECK_TYPES(socklen_t, [], []) - -@@ -151,10 +152,36 @@ - fi - - dnl check for ogg library --XIPH_PATH_OGG(have_ogg=yes, AC_MSG_WARN([*** Ogg development enviroment not installed - Ogg support will not be built])) --AM_CONDITIONAL(FLaC__HAS_OGG, [test x$have_ogg = xyes]) --if test x$have_ogg = xyes ; then --AC_DEFINE(FLAC__HAS_OGG) -+AC_ARG_ENABLE([ogg], -+ AC_HELP_STRING([--disable-ogg], [Disable ogg support (default:test)]), -+ [want_ogg=$enableval ], [ want_ogg=yes ] ) -+ -+AM_CONDITIONAL(FLaC__HAS_OGG, test x$want_ogg = xyes) -+ -+if test "x$want_ogg" = "xyes"; then -+ AC_CHECK_HEADER(ogg/ogg.h, -+ [ogg_ok=yes -+ OGG_CFLAGS="`$PKGCONFIG ogg --cflags`" -+ OGG_LIBS="`$PKGCONFIG ogg --libs`" -+ AC_SUBST(OGG_CFLAGS) -+ AC_SUBST(OGG_LIBS) -+ ], [ogg_ok=no -+ OGG_CFLAGS="" -+ OGG_LIBS="" -+ AC_SUBST(OGG_CFLAGS) -+ AC_SUBST(OGG_LIBS) -+ ]) -+ if test "x$ogg_ok" = "xyes"; then -+ AC_DEFINE(FLAC__HAS_OGG) -+ else -+ AC_MSG_WARN(*** Ogg headers not found. Ogg support disabled.) -+ fi -+else -+ AC_MSG_RESULT([checking for ogg support... disabled]) -+ OGG_CFLAGS="" -+ OGG_LIBS="" -+ AC_SUBST(OGG_CFLAGS) -+ AC_SUBST(OGG_LIBS) - fi - - AM_PATH_XMMS(0.9.5.1, , AC_MSG_WARN([*** XMMS >= 0.9.5.1 not installed - xmms support will not be built])) diff --git a/media-libs/flac/files/flac-1.1.2-xmms-config.patch b/media-libs/flac/files/flac-1.1.2-xmms-config.patch deleted file mode 100644 index 9ac6d6931472..000000000000 --- a/media-libs/flac/files/flac-1.1.2-xmms-config.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- flac-1.1.2.orig/src/plugin_xmms/configure.c 2005-01-25 07:26:29 +0300 -+++ flac-1.1.2/src/plugin_xmms/configure.c 2005-02-24 12:40:37 +0300 -@@ -61,7 +61,7 @@ - "", /* proxy_user */ - "", /* proxy_pass */ - FALSE, /* save_http_stream */ -- "", /* save_http_path */ -+ FALSE, /* save_http_path */ - FALSE, /* cast_title_streaming */ - FALSE /* use_udp_channel */ - }, |