summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-02-24 14:07:39 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-02-24 14:07:39 +0000
commit280c12754605e3593120c0910e7fed7cecaec024 (patch)
treec59836b51ddb76d3264f88b31ea2b9aec70637dc /media-sound
parentAdd use.force for forcing of elibc_uclibc. (diff)
downloadgentoo-2-280c12754605e3593120c0910e7fed7cecaec024.tar.gz
gentoo-2-280c12754605e3593120c0910e7fed7cecaec024.tar.bz2
gentoo-2-280c12754605e3593120c0910e7fed7cecaec024.zip
Make a patchset tarball
(Portage version: 2.1.2-r11)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/rezound/ChangeLog10
-rw-r--r--media-sound/rezound/files/digest-rezound-0.12.2_beta-r36
-rw-r--r--media-sound/rezound/files/rezound-0.12.2_beta-automagic.patch61
-rw-r--r--media-sound/rezound/files/rezound-0.12.2_beta-flac-1.1.3.patch99
-rw-r--r--media-sound/rezound/rezound-0.12.2_beta-r3.ebuild15
5 files changed, 17 insertions, 174 deletions
diff --git a/media-sound/rezound/ChangeLog b/media-sound/rezound/ChangeLog
index 318aa505245b..e9e174d26be2 100644
--- a/media-sound/rezound/ChangeLog
+++ b/media-sound/rezound/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/rezound
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/rezound/ChangeLog,v 1.37 2006/12/04 19:10:23 aballier Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rezound/ChangeLog,v 1.38 2007/02/24 14:07:39 aballier Exp $
+
+ 24 Feb 2007; Alexis Ballier <aballier@gentoo.org>
+ -files/rezound-0.12.2_beta-automagic.patch,
+ -files/rezound-0.12.2_beta-flac-1.1.3.patch,
+ rezound-0.12.2_beta-r3.ebuild:
+ Make a patchset tarball
*rezound-0.12.2_beta-r3 (04 Dec 2006)
diff --git a/media-sound/rezound/files/digest-rezound-0.12.2_beta-r3 b/media-sound/rezound/files/digest-rezound-0.12.2_beta-r3
index 3b6d5f63b0f5..c7df9be9593a 100644
--- a/media-sound/rezound/files/digest-rezound-0.12.2_beta-r3
+++ b/media-sound/rezound/files/digest-rezound-0.12.2_beta-r3
@@ -1,6 +1,6 @@
-MD5 693d4e7221cf243630a154ba9b76066e rezound-0.12.2_beta-patches.tar.bz2 7479
-RMD160 c23f4208d38c271cea04ecd4f4af852cd2e4eda4 rezound-0.12.2_beta-patches.tar.bz2 7479
-SHA256 37ab114e34144be9fa198efd6de7610720a906a0d94d77a4e912982d72263392 rezound-0.12.2_beta-patches.tar.bz2 7479
+MD5 6b66e915c5bef34bf25cad561d1aa00d rezound-0.12.2_beta-patches-1.tar.bz2 9186
+RMD160 795f91fd8ab2fca4baf12039ced9695a16d6ca86 rezound-0.12.2_beta-patches-1.tar.bz2 9186
+SHA256 3c63a58b242ed7146d6a88ecb805550a48ee9a552cd399d74de40675d2755d01 rezound-0.12.2_beta-patches-1.tar.bz2 9186
MD5 acbe0d885643081db1c6b6e93d89f4b2 rezound-0.12.2beta.tar.gz 1729771
RMD160 d5779d2dee47f504c32c87864504bdd3e8eed2c7 rezound-0.12.2beta.tar.gz 1729771
SHA256 0e170622c52866e71069372a3d94c8c6eb4e4ce5a45abc8d2458b77aa59157cc rezound-0.12.2beta.tar.gz 1729771
diff --git a/media-sound/rezound/files/rezound-0.12.2_beta-automagic.patch b/media-sound/rezound/files/rezound-0.12.2_beta-automagic.patch
deleted file mode 100644
index 3def7a9702df..000000000000
--- a/media-sound/rezound/files/rezound-0.12.2_beta-automagic.patch
+++ /dev/null
@@ -1,61 +0,0 @@
---- rezound-0.12.2beta/configure.ac.old 2006-12-04 18:20:25.000000000 +0100
-+++ rezound-0.12.2beta/configure.ac 2006-12-04 18:25:53.000000000 +0100
-@@ -505,12 +505,20 @@
- AC_LANG_PUSH(C) # xiph needs to include vorbisenc.h as well if C++ is going to compile the code
-
- AH_TEMPLATE(HAVE_LIBOGG)
-+
-+AC_ARG_ENABLE(vorbis, AC_HELP_STRING([--disable-vorbis], [disable support for vorbis (default=autodetect)]), [ enable_vorbis=$enableval ], [ enable_vorbis=yes ])
-+
-+
- # this macro detects libogg and does an AC_SUBST on OGG_CFLAGS and OGG_LIBS, so I put these variables in src/backend/Makefile.am for substitution
-+if test "x$enable_vorbis" = "xyes"; then
- XIPH_PATH_OGG(AC_DEFINE(HAVE_LIBOGG),AC_MSG_NOTICE([Ogg Vorbis website: http://www.xiph.org]))
-+fi
-
- AH_TEMPLATE(HAVE_LIBVORBIS)
- # this macro detects libvorbis and does an AC_SUBST on VORBIS_CFLAGS, VORBIS_LIBS, VORBISFILE_LIBS and VORBISENC_LIBS, so I put these variables in src/backend/Makefile.am for substitution
-+if test "x$enable_vorbis" = "xyes"; then
- XIPH_PATH_VORBIS(AC_DEFINE(HAVE_LIBVORBIS),AC_MSG_NOTICE([Ogg Vorbis website: http://www.xiph.org]))
-+fi
-
- AC_LANG_POP(C)
-
-@@ -524,7 +532,12 @@
- AH_TEMPLATE(HAVE_LIBFLACPP)
- AH_TEMPLATE(HAVE_LIBFLAC)
-
-+AC_ARG_ENABLE(flac, AC_HELP_STRING([--disable-flac], [disable support for flac (default=autodetect)]), [ enable_flac=$enableval ], [ enable_flac=yes ])
-+
-+
-+
- # look for libFLAC and if it's found then look for libFLAC++
-+if test "x$enable_flac" = "xyes"; then
- AM_PATH_LIBFLAC(
- [
- AC_DEFINE(HAVE_LIBFLAC)
-@@ -532,8 +545,7 @@
- ],
- AC_MSG_NOTICE([FLAC website: http://flac.sourceforge.net])
- )
--
--
-+fi
-
-
-
-@@ -603,9 +615,13 @@
- dnl ############################################################################
- dnl # Handle the flags for a library to to tempo/pitch changing independantly *
- dnl ############################################################################
--AM_PATH_SOUNDTOUCH([],[],AC_MSG_WARN([***** libSoundTouch not found -- tempo and pitch changing will be disabled (http://www.iki.fi/oparviai/soundtouch) *****]))
-+AC_ARG_ENABLE(soundtouch, AC_HELP_STRING([--disable-soundtouch], [disable support for soundtouch (default=autodetect)]), [ enable_soundtouch=$enableval ], [ enable_soundtouch=yes ])
-
-
-+if test "x$enable_soundtouch" = "xyes"; then
-+AM_PATH_SOUNDTOUCH([],[],AC_MSG_WARN([***** libSoundTouch not found -- tempo and pitch changing will be disabled (http://www.iki.fi/oparviai/soundtouch) *****]))
-+fi
-+
-
-
-
diff --git a/media-sound/rezound/files/rezound-0.12.2_beta-flac-1.1.3.patch b/media-sound/rezound/files/rezound-0.12.2_beta-flac-1.1.3.patch
deleted file mode 100644
index 6dbb69db1992..000000000000
--- a/media-sound/rezound/files/rezound-0.12.2_beta-flac-1.1.3.patch
+++ /dev/null
@@ -1,99 +0,0 @@
---- rezound-0.12.2beta/src/backend/CFLACSoundTranslator.cpp.old 2006-12-04 19:08:26.000000000 +0100
-+++ rezound-0.12.2beta/src/backend/CFLACSoundTranslator.cpp 2006-12-04 19:33:45.000000000 +0100
-@@ -42,6 +42,12 @@
- #include "CSound.h"
- #include "AStatusComm.h"
-
-+#if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT < 8
-+#define LEGACY_FLAC
-+#else
-+#undef LEGACY_FLAC
-+#endif
-+
- CFLACSoundTranslator::CFLACSoundTranslator()
- {
- }
-@@ -75,15 +81,23 @@
- for(unsigned t=0;t<MAX_CHANNELS;t++)
- accessers[t]=NULL;
-
-+#ifdef LEGACY_FLAC
- set_filename(filename.c_str());
-+#endif
-
- set_metadata_ignore_all();
- //set_metadata_respond(FLAC__METADATA_TYPE_VORBIS_COMMENT);
- //set_metadata_respond(FLAC__METADATA_TYPE_CUESHEET);
-
-+#ifdef LEGACY_FLAC
- State s=init();
- if(s!=FLAC__FILE_DECODER_OK)
- throw runtime_error(string(__func__)+" -- "+s.as_cstring());
-+#else
-+ FLAC__StreamDecoderInitStatus s=init(filename.c_str());
-+ if(s!=FLAC__STREAM_DECODER_INIT_STATUS_OK)
-+ throw runtime_error(string(__func__)+" -- FLAC__STREAM_DECODER_INIT_STATUS not OK");
-+#endif
- }
-
- virtual ~MyFLACDecoderFile()
-@@ -170,7 +184,11 @@
-
- // update status bar and detect user cancel
- FLAC__uint64 filePosition;
-+#ifdef LEGACY_FLAC
- FLAC__file_decoder_get_decode_position(decoder_, &filePosition);
-+#else
-+ FLAC__stream_decoder_get_decode_position(decoder_, &filePosition);
-+#endif
- return statusBar.update(filePosition) ? FLAC__STREAM_DECODER_WRITE_STATUS_ABORT : FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE;
- }
-
-@@ -215,7 +233,11 @@
- bool CFLACSoundTranslator::onLoadSound(const string filename,CSound *sound) const
- {
- MyFLACDecoderFile f(filename,sound);
-+#ifdef LEGACY_FLAC
- return f.process_until_end_of_file();
-+#else
-+ return f.process_until_end_of_stream();
-+#endif
- }
-
-
-@@ -258,7 +280,9 @@
-
- MyFLACEncoderFile f(saveLength);
-
-+#ifdef LEGACY_FLAC
- f.set_filename(filename.c_str());
-+#endif
-
- f.set_channels(sound->getChannelCount());
-
-@@ -274,8 +298,13 @@
- //f.set_metadata(...) // ??? to do to set cues and user notes, etc
-
-
-+#ifdef LEGACY_FLAC
- MyFLACEncoderFile::State s=f.init();
- if(s==FLAC__STREAM_ENCODER_OK)
-+#else
-+ FLAC__StreamEncoderInitStatus s=f.init(filename.c_str());
-+ if(s==FLAC__STREAM_ENCODER_INIT_STATUS_OK)
-+#endif
- {
- #define BUFFER_SIZE 65536
- TAutoBuffer<FLAC__int32> buffers[MAX_CHANNELS];
-@@ -328,7 +357,11 @@
- return true;
- }
- else
-+#ifdef LEGACY_FLAC
- throw runtime_error(string(__func__)+" -- error creating FLAC encoder -- "+s.as_cstring());
-+#else
-+ throw runtime_error(string(__func__)+" -- error creating FLAC encoder -- ");
-+#endif
-
- }
-
diff --git a/media-sound/rezound/rezound-0.12.2_beta-r3.ebuild b/media-sound/rezound/rezound-0.12.2_beta-r3.ebuild
index 80ac112a72cc..36e4eab44dec 100644
--- a/media-sound/rezound/rezound-0.12.2_beta-r3.ebuild
+++ b/media-sound/rezound/rezound-0.12.2_beta-r3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/rezound/rezound-0.12.2_beta-r3.ebuild,v 1.1 2006/12/04 19:10:23 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rezound/rezound-0.12.2_beta-r3.ebuild,v 1.2 2007/02/24 14:07:39 aballier Exp $
WANT_AUTOMAKE=1.9
WANT_AUTOCONF=2.5
@@ -10,10 +10,11 @@ inherit eutils autotools
MY_P="${P/_/}"
S="${WORKDIR}/${MY_P}"
+PATCHLEVEL="1"
DESCRIPTION="Sound editor and recorder"
HOMEPAGE="http://rezound.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz
- mirror://gentoo/${P}-patches.tar.bz2"
+ mirror://gentoo/${P}-patches-${PATCHLEVEL}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
@@ -45,12 +46,8 @@ src_unpack() {
unpack ${A}
cd "${S}"
- EPATCH_SOURCE="${WORKDIR}" EPATCH_SUFFIX="patch"\
- EPATCH_FORCE="yes" epatch
+ EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
- epatch "${FILESDIR}/${P}-foxinclude.patch"
- epatch "${FILESDIR}/${P}-automagic.patch"
- epatch "${FILESDIR}/${P}-flac-1.1.3.patch"
AT_M4DIR="config/m4" eautoreconf
elibtoolize
}
@@ -58,7 +55,7 @@ src_unpack() {
src_compile() {
# fix compilation errors on ppc, where some
# of the required functions aren't defined
- use ppc && epatch ${FILESDIR}/undefined-functions.patch
+ use ppc && epatch "${FILESDIR}/undefined-functions.patch"
# following features can't be disabled if already installed:
# -> flac, oggvorbis, soundtouch