Version bump, bug #170524
authorAlexis Ballier <aballier@gentoo.org>
Sat, 24 Mar 2007 23:45:35 +0000 (23:45 +0000)
committerAlexis Ballier <aballier@gentoo.org>
Sat, 24 Mar 2007 23:45:35 +0000 (23:45 +0000)
Package-Manager: portage-2.1.2.2

media-sound/amsynth/ChangeLog
media-sound/amsynth/Manifest
media-sound/amsynth/amsynth-1.2.0.ebuild [new file with mode: 0644]
media-sound/amsynth/files/amsynth-1.2.0-asneeded.patch [new file with mode: 0644]
media-sound/amsynth/files/amsynth-1.2.0-cflags.patch [new file with mode: 0644]
media-sound/amsynth/files/amsynth-1.2.0-debug.patch [new file with mode: 0644]
media-sound/amsynth/files/digest-amsynth-1.2.0 [new file with mode: 0644]

index 667469bf90bc1b42d9f66c1c33b8873d91a4a1df..845197119f177ac6d7709dcc30b32e801a565c57 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for media-sound/amsynth
 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/ChangeLog,v 1.22 2007/02/22 00:47:37 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/ChangeLog,v 1.23 2007/03/24 23:45:35 aballier Exp $
+
+*amsynth-1.2.0 (24 Mar 2007)
+
+  24 Mar 2007; Alexis Ballier <aballier@gentoo.org>
+  +files/amsynth-1.2.0-asneeded.patch, +files/amsynth-1.2.0-cflags.patch,
+  +files/amsynth-1.2.0-debug.patch, +amsynth-1.2.0.ebuild:
+  Version bump, bug #170524
 
   22 Feb 2007; Piotr JaroszyƄski <peper@gentoo.org> ChangeLog:
   Transition to Manifest2.
index 352ffbde2da5ff0bb484140ea79602e2121fbe68..0ea539d2d4071537e77e6923461a5ee2c759c71f 100644 (file)
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX amsynth-1.0.0-ALSAMidiDriver.patch 269 RMD160 3aba3ee27cd407d0ba7c2ee4b656fd6896672241 SHA1 07cf4ca55e7f84661f4c7c35d54b893477c2a9aa SHA256 c24473566db3d831ef99c3c714efc6361c6b5e6e19750b3a3f3cc8b9f7c251fa
 MD5 4fb13c78eeda484932c012ef45935845 files/amsynth-1.0.0-ALSAMidiDriver.patch 269
 RMD160 3aba3ee27cd407d0ba7c2ee4b656fd6896672241 files/amsynth-1.0.0-ALSAMidiDriver.patch 269
@@ -6,12 +9,25 @@ AUX amsynth-1.1.0-gcc4.patch 299 RMD160 72f7a718fc56d317ff2a42e8605436588ec0e00f
 MD5 a0cfba91256e0e7294349da04c4f25be files/amsynth-1.1.0-gcc4.patch 299
 RMD160 72f7a718fc56d317ff2a42e8605436588ec0e00f files/amsynth-1.1.0-gcc4.patch 299
 SHA256 1804f340feda5ef3e9563ddceb0294f2a38dd7a7827f15ebf643269c477d2c51 files/amsynth-1.1.0-gcc4.patch 299
+AUX amsynth-1.2.0-asneeded.patch 1326 RMD160 b162bafcca8924540960c1b85c6080f19bdbabaf SHA1 d40428cda5af6df537cb4e5f22587d97ecfec88a SHA256 39c4cf8de92dcce9e90eda336bf545876207cf070e1be6573e3c2368a1579d06
+MD5 0d2a6eb728ac95d15e7fa9d9fcc7dff7 files/amsynth-1.2.0-asneeded.patch 1326
+RMD160 b162bafcca8924540960c1b85c6080f19bdbabaf files/amsynth-1.2.0-asneeded.patch 1326
+SHA256 39c4cf8de92dcce9e90eda336bf545876207cf070e1be6573e3c2368a1579d06 files/amsynth-1.2.0-asneeded.patch 1326
+AUX amsynth-1.2.0-cflags.patch 542 RMD160 9725b28818b7cc6c7d4090ba1aea2dadecd5d1e7 SHA1 4725f56e6e946623fa9e043a481a8e4c54fb360e SHA256 463c6f9df0084d398e37783d25e95340ce3029660e221f68842b06aef08e3a5d
+MD5 983a97e7dc8e43aab7ffc73b0880ddda files/amsynth-1.2.0-cflags.patch 542
+RMD160 9725b28818b7cc6c7d4090ba1aea2dadecd5d1e7 files/amsynth-1.2.0-cflags.patch 542
+SHA256 463c6f9df0084d398e37783d25e95340ce3029660e221f68842b06aef08e3a5d files/amsynth-1.2.0-cflags.patch 542
+AUX amsynth-1.2.0-debug.patch 1526 RMD160 85303509b7e400b892cf4b29ef54e1125908861a SHA1 d8909b260396771c78fe1ab4e351375eb4001698 SHA256 87c5de38991eae846f8c202e649d5cfc05c69daae1c2b6e8b88ace2ca66d13b5
+MD5 ce2a880e05ba326158e719ef3c5ac473 files/amsynth-1.2.0-debug.patch 1526
+RMD160 85303509b7e400b892cf4b29ef54e1125908861a files/amsynth-1.2.0-debug.patch 1526
+SHA256 87c5de38991eae846f8c202e649d5cfc05c69daae1c2b6e8b88ace2ca66d13b5 files/amsynth-1.2.0-debug.patch 1526
 AUX amsynth-pthread.patch 256 RMD160 cf565d0b02ed280e3677fadd37ad567bc3f13bd5 SHA1 d013c22af63642ce59553cc2edceeb55c3e831c6 SHA256 80fcb1cafebf5ee10a9949e7041f847f8a952ab22f27b52b0fb5f851314cb269
 MD5 2f7dc56770343abd47f6fcc7bca6938e files/amsynth-pthread.patch 256
 RMD160 cf565d0b02ed280e3677fadd37ad567bc3f13bd5 files/amsynth-pthread.patch 256
 SHA256 80fcb1cafebf5ee10a9949e7041f847f8a952ab22f27b52b0fb5f851314cb269 files/amsynth-pthread.patch 256
 DIST amSynth-1.0.0.tar.gz 448974 RMD160 ffcc5336214344177c0a9e0a2b1d1ea55bccd5b3 SHA1 341d9b304cd9d2a0204314554f64bb0789701f68 SHA256 478a8c4cabae03959448f350f65d1338e48c31aa317ab900624dfa83813ecf49
 DIST amSynth-1.1.0.tar.gz 445186 RMD160 93a2059a01f9c6c5c89ae2b70a90828d82ee4f74 SHA1 f9b5d4ea957233b720ab850d53ab77b8c5c24139 SHA256 698763b5abf2a7ab496b9c8c817e289dda631f8e518b5f608bb5068b3f52e8cf
+DIST amSynth-1.2.0.tar.gz 616311 RMD160 b24b493e1532f3b1ad574856cfaadf8418e32900 SHA1 3e92417f6898f24a0996fef45827937fbf28e9ef SHA256 5fff8dc65bd5550bbf408e3df1123c68e31517bbb7441cbe0b964ab271948b1c
 EBUILD amsynth-1.0.0-r1.ebuild 1576 RMD160 e70648983cf3d1a74459b25f0507a9bfe59b762c SHA1 c28d7bdbd06d2c5b1470b084e22f942a43be473a SHA256 082ea1b069ef4be11d9163491afe000d6aa219f430d4f52e4c6e841efc18a2fd
 MD5 482edbf13098697a50002bb7b1983068 amsynth-1.0.0-r1.ebuild 1576
 RMD160 e70648983cf3d1a74459b25f0507a9bfe59b762c amsynth-1.0.0-r1.ebuild 1576
@@ -24,10 +40,14 @@ EBUILD amsynth-1.1.0.ebuild 1403 RMD160 b8a13eff10f37644744fa9623d11459cf3a09539
 MD5 95cc2d872e9377e96796b7e11a899293 amsynth-1.1.0.ebuild 1403
 RMD160 b8a13eff10f37644744fa9623d11459cf3a09539 amsynth-1.1.0.ebuild 1403
 SHA256 e826c7c52891f8d0cad3f848412884bff43edc99aeae82956d0dc34fdf4ff65e amsynth-1.1.0.ebuild 1403
-MISC ChangeLog 2866 RMD160 291445671c75c8730fac1472daac494e7bbde2b3 SHA1 3e335b8ad60531625c801516429315d2be131bd3 SHA256 d70ab52cc142d75aef604f6a5832731592e54e5e5596546f2d7dfcb759683013
-MD5 5d2e9bf47e2040765b3b85256a691106 ChangeLog 2866
-RMD160 291445671c75c8730fac1472daac494e7bbde2b3 ChangeLog 2866
-SHA256 d70ab52cc142d75aef604f6a5832731592e54e5e5596546f2d7dfcb759683013 ChangeLog 2866
+EBUILD amsynth-1.2.0.ebuild 1524 RMD160 1295f96d4a9011ff7afdd6f3260bc9e9b9b5c428 SHA1 631f40bfa52920d6c6e671e07a5c9332c38c08b8 SHA256 2bf51fd56487d616b75e64b61a54bc734749a4df62e6b6f3791af60f52c98d03
+MD5 3e8aa01c646c598bb7712a0965a7d24d amsynth-1.2.0.ebuild 1524
+RMD160 1295f96d4a9011ff7afdd6f3260bc9e9b9b5c428 amsynth-1.2.0.ebuild 1524
+SHA256 2bf51fd56487d616b75e64b61a54bc734749a4df62e6b6f3791af60f52c98d03 amsynth-1.2.0.ebuild 1524
+MISC ChangeLog 3113 RMD160 832184d5b3a8646f781f7df65d06163503d2ecbb SHA1 8499a9dfcf254f52390ac8ba92f143680031f64b SHA256 49f26ce6b63580e7bf255e2b89b9b41b10227cec8191f85b2f302013572585cd
+MD5 8f0dcc0ab94a1447800802a6553cfaff ChangeLog 3113
+RMD160 832184d5b3a8646f781f7df65d06163503d2ecbb ChangeLog 3113
+SHA256 49f26ce6b63580e7bf255e2b89b9b41b10227cec8191f85b2f302013572585cd ChangeLog 3113
 MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158
@@ -41,3 +61,13 @@ SHA256 b77a886a643ea2799ef003af3664a9df81d6082c5e1f2bb9cc66ba19189e9f3a files/di
 MD5 8a470e57d88d12d3637601834d4af759 files/digest-amsynth-1.1.0 241
 RMD160 1ebd9337a84a6ff64ad95914a50f741098617185 files/digest-amsynth-1.1.0 241
 SHA256 8efcb207902210d0d47919518fce9e2e7105c75ceb150c4d4ad3263de7b0ba00 files/digest-amsynth-1.1.0 241
+MD5 8f77abf10a0758050a588d1b0c8e0f4b files/digest-amsynth-1.2.0 241
+RMD160 7b25c1aa8b9c3d6890a088caab797ac7ad123c9f files/digest-amsynth-1.2.0 241
+SHA256 26d7433c1cd69d68aaf40acaec320e536e590167644f4920c438ddc50e9a6ce4 files/digest-amsynth-1.2.0 241
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGBbgXvFcC4BYPU0oRAp2bAKCuuW4iNcul3DguC5U/d3YE4YMV/wCgn3/F
+euAzqrjt3PrC1UdphPcoVvc=
+=BNB9
+-----END PGP SIGNATURE-----
diff --git a/media-sound/amsynth/amsynth-1.2.0.ebuild b/media-sound/amsynth/amsynth-1.2.0.ebuild
new file mode 100644 (file)
index 0000000..fed1e13
--- /dev/null
@@ -0,0 +1,60 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/amsynth-1.2.0.ebuild,v 1.1 2007/03/24 23:45:35 aballier Exp $
+
+IUSE="debug alsa jack sndfile oss"
+
+inherit eutils autotools
+
+MY_P=${P/_rc/-rc}
+MY_P=${MY_P/amsynth/amSynth}
+
+DESCRIPTION="amSynth stands for Analogue Modeling SYNTHesizer. It provides virtual analogue synthesis in the style of the classic Moog Minimoog/Roland Junos."
+HOMEPAGE="http://amsynthe.sourceforge.net/"
+SRC_URI="mirror://sourceforge/amsynthe/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+DEPEND=">=dev-cpp/gtkmm-2.4
+       sndfile? ( >=media-libs/libsndfile-1.0 )
+       alsa? ( >=media-libs/alsa-lib-0.9 media-sound/alsa-utils )
+       jack? ( media-sound/jack-audio-connection-kit )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       epatch "${FILESDIR}/${P}-asneeded.patch"
+       epatch "${FILESDIR}/${P}-cflags.patch"
+       epatch "${FILESDIR}/${P}-debug.patch"
+       eautoreconf
+}
+
+src_compile() {
+       econf $(use_with oss) \
+               $(use_with alsa) \
+               $(use_with jack) \
+               $(use_with sndfile) \
+               $(use_enable debug) \
+               || die "configure failed"
+       emake || die
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die
+}
+
+pkg_postinst() {
+       elog
+       elog "amSynth has been installed normally."
+       elog "If you would like to use the virtual"
+       elog "keyboard option, then do"
+       elog "emerge vkeybd"
+       elog "and make sure you emerged amSynth"
+       elog "with alsa support (USE=alsa)"
+       elog
+}
diff --git a/media-sound/amsynth/files/amsynth-1.2.0-asneeded.patch b/media-sound/amsynth/files/amsynth-1.2.0-asneeded.patch
new file mode 100644 (file)
index 0000000..ec1f1bb
--- /dev/null
@@ -0,0 +1,45 @@
+Index: amSynth-1.2.0/configure.in
+===================================================================
+--- amSynth-1.2.0.orig/configure.in
++++ amSynth-1.2.0/configure.in
+@@ -148,21 +148,25 @@ dnl      Set compiler options accordingly
+ dnl
+ dnl
++LIBSADDED=""
++
+ if test "$with_oss" = "yes";  then
+       CXXFLAGS="$CXXFLAGS -Dwith_oss"
+ fi
+ if test "$with_alsa" = "yes"; then 
+       CXXFLAGS="$CXXFLAGS -Dwith_alsa"
+-      LDFLAGS="$LDFLAGS -lasound"
++      LIBSADDED="$LIBSADDED -lasound"
+ fi
+ if test "$with_jack" = "yes"; then 
+       CXXFLAGS="$CXXFLAGS -Dwith_jack"
+ fi
+ if test "$with_sndfile" = "yes"; then
+       CXXFLAGS="$CXXFLAGS -Dwith_sndfile"
+-      LDFLAGS="$LDFLAGS -lsndfile"
++      LIBSADDED="$LIBSADDED -lsndfile"
+ fi
++AC_SUBST(LIBSADDED)
++
+ AC_OUTPUT([
+ Makefile
+ src/Makefile 
+Index: amSynth-1.2.0/src/Makefile.am
+===================================================================
+--- amSynth-1.2.0.orig/src/Makefile.am
++++ amSynth-1.2.0/src/Makefile.am
+@@ -16,7 +16,7 @@ amSynth_SOURCES = \
+ SUBDIRS = drivers VoiceBoard GUI Effects
+-amSynth_LDADD = drivers/libdrivers.a VoiceBoard/libVoiceBoard.a GUI/libGUI.a Effects/libEffects.a
++amSynth_LDADD = drivers/libdrivers.a VoiceBoard/libVoiceBoard.a GUI/libGUI.a Effects/libEffects.a @LIBSADDED@
+ amSynth_CFLAGS = $(CFLAGS) -DENABLE_BINRELOC
+ amSynth_CXXFLAGS = $(CXXFLAGS) -DENABLE_BINRELOC
diff --git a/media-sound/amsynth/files/amsynth-1.2.0-cflags.patch b/media-sound/amsynth/files/amsynth-1.2.0-cflags.patch
new file mode 100644 (file)
index 0000000..a2d7e0b
--- /dev/null
@@ -0,0 +1,26 @@
+Index: amSynth-1.2.0/configure.in
+===================================================================
+--- amSynth-1.2.0.orig/configure.in
++++ amSynth-1.2.0/configure.in
+@@ -5,7 +5,7 @@ AM_CONFIG_HEADER(config.h)
+ addCXXFLAGS="-D_REENTRANT"
+-CXXFLAGS="-Wall"
++CXXFLAGS="$CXXFLAGS -Wall"
+ AC_PROG_CXX
+ AC_PROG_INSTALL
+@@ -117,12 +117,6 @@ else
+       profiling=no
+ fi
+-if test $profiling = "no"; then 
+-  if test $debugging = "no"; then
+-    CXXFLAGS="$CXXFLAGS -O3 -ffast-math -fno-exceptions -fomit-frame-pointer"
+-  fi 
+-fi
+-
+ dnl
+ dnl
diff --git a/media-sound/amsynth/files/amsynth-1.2.0-debug.patch b/media-sound/amsynth/files/amsynth-1.2.0-debug.patch
new file mode 100644 (file)
index 0000000..e409fb7
--- /dev/null
@@ -0,0 +1,46 @@
+Index: amSynth-1.2.0/src/MidiController.cc
+===================================================================
+--- amSynth-1.2.0.orig/src/MidiController.cc
++++ amSynth-1.2.0/src/MidiController.cc
+@@ -5,6 +5,9 @@
+ #include "MidiController.h"
+ #include <fstream>
+ #include <assert.h>
++#ifdef _DEBUG
++#include <iostream>
++#endif
+ using namespace std;
+Index: amSynth-1.2.0/src/Parameter.cc
+===================================================================
+--- amSynth-1.2.0.orig/src/Parameter.cc
++++ amSynth-1.2.0/src/Parameter.cc
+@@ -71,15 +71,15 @@ Parameter::setValue(float value)
+                       controlValue = offset + ::pow( _value, (float)base );
+ #ifdef _DEBUG
+               default:
+-              cout << "<Parameter> mode is undefined" << endl;
++              std::cout << "<Parameter> mode is undefined" << std::endl;
+               break;
+ #endif
+       }
+       
+ #ifdef _DEBUG
+-      cout << "<Parameter::setValue( " << foo 
++      std::cout << "<Parameter::setValue( " << foo 
+       << " ) min=" << _min << " max=" << _max << " value set to " << _value 
+-      << " controlValue set to " << controlValue << endl;
++      << " controlValue set to " << controlValue << std::endl;
+ #endif
+       
+       // TODO: only update() Listeners it there _was_ a change?
+@@ -88,7 +88,7 @@ Parameter::setValue(float value)
+               for (unsigned i=0; i<updateListeners.size(); i++)
+               {
+ #ifdef _DEBUG
+-                      cout << "updating UpdateListener " << updateListeners[i] << endl;
++                      std::cout << "updating UpdateListener " << updateListeners[i] << std::endl;
+ #endif
+                       updateListeners[i]->UpdateParameter (mParamId, controlValue);
+               }
diff --git a/media-sound/amsynth/files/digest-amsynth-1.2.0 b/media-sound/amsynth/files/digest-amsynth-1.2.0
new file mode 100644 (file)
index 0000000..7bc3d2f
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 2ba9a0560945c6ac914a15bb243146e2 amSynth-1.2.0.tar.gz 616311
+RMD160 b24b493e1532f3b1ad574856cfaadf8418e32900 amSynth-1.2.0.tar.gz 616311
+SHA256 5fff8dc65bd5550bbf408e3df1123c68e31517bbb7441cbe0b964ab271948b1c amSynth-1.2.0.tar.gz 616311