diff options
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/pd/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/pd/Manifest | 30 | ||||
-rw-r--r-- | media-sound/pd/files/digest-pd-0.40_p3 | 3 | ||||
-rw-r--r-- | media-sound/pd/files/pd-0.40_p3-gentoo.patch | 206 | ||||
-rw-r--r-- | media-sound/pd/pd-0.40_p3.ebuild | 49 |
5 files changed, 282 insertions, 16 deletions
diff --git a/media-sound/pd/ChangeLog b/media-sound/pd/ChangeLog index fe515a18c8fc..15e0656f0abf 100644 --- a/media-sound/pd/ChangeLog +++ b/media-sound/pd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/pd -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pd/ChangeLog,v 1.33 2006/10/29 16:10:53 flameeyes Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/pd/ChangeLog,v 1.34 2007/07/30 20:07:40 drac Exp $ + +*pd-0.40_p3 (30 Jul 2007) + + 30 Jul 2007; Samuli Suominen <drac@gentoo.org> + +files/pd-0.40_p3-gentoo.patch, +pd-0.40_p3.ebuild: + Version bump for bug 151843. 29 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> -pd-0.38.4.ebuild: Remove old version non-modular-x compatible, thanks to Jakub Moc in bug diff --git a/media-sound/pd/Manifest b/media-sound/pd/Manifest index c8c8b3e5c9ed..04b9a387b0fd 100644 --- a/media-sound/pd/Manifest +++ b/media-sound/pd/Manifest @@ -1,15 +1,21 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +AUX pd-0.40_p3-gentoo.patch 7770 RMD160 a586577cc668dffccf7a3afcc3b3238490cb2235 SHA1 03125a731bfc22bee0360887b453af980622f2c0 SHA256 7bf925391fac68cddc43e1135b0cf60aa897d4b9d02c96227dcb477a8c0c484f +MD5 8de59599b268a78fb9498dfc391e0ec8 files/pd-0.40_p3-gentoo.patch 7770 +RMD160 a586577cc668dffccf7a3afcc3b3238490cb2235 files/pd-0.40_p3-gentoo.patch 7770 +SHA256 7bf925391fac68cddc43e1135b0cf60aa897d4b9d02c96227dcb477a8c0c484f files/pd-0.40_p3-gentoo.patch 7770 DIST pd-0.39-1.src.tar.gz 2304803 RMD160 5296777b5ff9e040bf8e17269f1fcb9555eff718 SHA1 c6c2fee7f207285af1c2de620d556b4ce7096057 SHA256 284c161cae326c11638f878fa0e6b985a080635490c34987e82fbe3cb21ccef2 +DIST pd-0.40-3.src.tar.gz 2116457 RMD160 f119404916cd0d785a09f840adf0503a3db8fcf4 SHA1 3fd68404fa97bf3ca519866e988bd1d182d2824d SHA256 efe6e8fdaddf235ba4a89c7e8fe355286453dfc893f0be8c16e8e3ee70d620e2 EBUILD pd-0.39_p1.ebuild 1515 RMD160 2e62f8b1a890e9fd433f8aa68db6e13525c331fb SHA1 d2421d3aaa3b6618a6ec800796aeef0a0ab6c16c SHA256 af024a898e990f8dcb5865d32d3144fb7cce9d3b71a60634634bd45fec54a11d MD5 2563824e49877f3b9af4b8e688e49cd8 pd-0.39_p1.ebuild 1515 RMD160 2e62f8b1a890e9fd433f8aa68db6e13525c331fb pd-0.39_p1.ebuild 1515 SHA256 af024a898e990f8dcb5865d32d3144fb7cce9d3b71a60634634bd45fec54a11d pd-0.39_p1.ebuild 1515 -MISC ChangeLog 5032 RMD160 e2f0a0997aba9d1cdaf3369ac344f1a0a050f274 SHA1 cd082ddbad56973cad6b29fcb1d87f4e56db00ac SHA256 16b8343fe758380ec4047a96267f666fba7d993b3cefaced94c5d5c9cabe5628 -MD5 010d3908944ed73d19305a6621d72fa3 ChangeLog 5032 -RMD160 e2f0a0997aba9d1cdaf3369ac344f1a0a050f274 ChangeLog 5032 -SHA256 16b8343fe758380ec4047a96267f666fba7d993b3cefaced94c5d5c9cabe5628 ChangeLog 5032 +EBUILD pd-0.40_p3.ebuild 1310 RMD160 d06b9c1b5953bccdf6d324e54ad5495e8a56aec0 SHA1 7832bb6cef0613e8bba65336afd46cdd1ccc68e1 SHA256 dc666a81b76a58e345c562e221b6bf6aba7a6446a659d1cb354396049de1b6d1 +MD5 94e4be24d5bfe748f9017d93b5dd62c9 pd-0.40_p3.ebuild 1310 +RMD160 d06b9c1b5953bccdf6d324e54ad5495e8a56aec0 pd-0.40_p3.ebuild 1310 +SHA256 dc666a81b76a58e345c562e221b6bf6aba7a6446a659d1cb354396049de1b6d1 pd-0.40_p3.ebuild 1310 +MISC ChangeLog 5189 RMD160 c37eeede8f881757791cfe09f033007036159f24 SHA1 99fb027f2c75cdf4ac8345f8f6b986ed73294bb7 SHA256 c0d2e8570797a104c6c158d9482279eae051e02e27a1c502a9d11eb1c98e9126 +MD5 e0269bb5b0c0d89f1368446be6225a68 ChangeLog 5189 +RMD160 c37eeede8f881757791cfe09f033007036159f24 ChangeLog 5189 +SHA256 c0d2e8570797a104c6c158d9482279eae051e02e27a1c502a9d11eb1c98e9126 ChangeLog 5189 MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158 @@ -17,10 +23,6 @@ SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b metadata MD5 d1dae3beae705f74a03e1dcc55ea87fc files/digest-pd-0.39_p1 244 RMD160 677b0fe7f58172732f187040390653a754164e7f files/digest-pd-0.39_p1 244 SHA256 da9786f6bf0db9a254d9616a7163957703aa5eeb130dd19cba4dc9c1bcd3e722 files/digest-pd-0.39_p1 244 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) - -iD8DBQFFRNKUAiZjviIA2XgRAn/2AJ9Kk67fiKn0RPxL2Wyk1+zBG7NsKgCbBPas -aB2qepn6lVyVhjJn5Ccq530= -=qCwK ------END PGP SIGNATURE----- +MD5 2aa90bb91c56b93580e4b44f443a7588 files/digest-pd-0.40_p3 244 +RMD160 16fddf1c503af0f884204221b436845ea753eb33 files/digest-pd-0.40_p3 244 +SHA256 b99be83fdb47b96237acbe7ac1a71b2098cec3073b9b18cf2360413c80b94643 files/digest-pd-0.40_p3 244 diff --git a/media-sound/pd/files/digest-pd-0.40_p3 b/media-sound/pd/files/digest-pd-0.40_p3 new file mode 100644 index 000000000000..3a711507ffc5 --- /dev/null +++ b/media-sound/pd/files/digest-pd-0.40_p3 @@ -0,0 +1,3 @@ +MD5 76212ab15736eec89d8745e73ab954a3 pd-0.40-3.src.tar.gz 2116457 +RMD160 f119404916cd0d785a09f840adf0503a3db8fcf4 pd-0.40-3.src.tar.gz 2116457 +SHA256 efe6e8fdaddf235ba4a89c7e8fe355286453dfc893f0be8c16e8e3ee70d620e2 pd-0.40-3.src.tar.gz 2116457 diff --git a/media-sound/pd/files/pd-0.40_p3-gentoo.patch b/media-sound/pd/files/pd-0.40_p3-gentoo.patch new file mode 100644 index 000000000000..e28e336eb641 --- /dev/null +++ b/media-sound/pd/files/pd-0.40_p3-gentoo.patch @@ -0,0 +1,206 @@ +diff -ur pd-0.40-3.orig/doc/6.externs/makefile pd-0.40-3/doc/6.externs/makefile +--- pd-0.40-3.orig/doc/6.externs/makefile 2003-12-11 01:10:39.000000000 +0200 ++++ pd-0.40-3/doc/6.externs/makefile 2007-07-30 22:56:40.000000000 +0300 +@@ -53,8 +53,7 @@ + + .SUFFIXES: .pd_linux + +-LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \ +- -Wall -W -Wshadow -Wstrict-prototypes -Werror \ ++LINUXCFLAGS = -DPD -Wall -W -Wshadow -Wstrict-prototypes \ + -Wno-unused -Wno-parentheses -Wno-switch + + LINUXINCLUDE = -I../../src +@@ -62,7 +61,6 @@ + .c.pd_linux: + cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c + ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm +- strip --strip-unneeded $*.pd_linux + rm $*.o + + # ----------------------- Mac OSX ----------------------- +diff -ur pd-0.40-3.orig/extra/expr~/makefile pd-0.40-3/extra/expr~/makefile +--- pd-0.40-3.orig/extra/expr~/makefile 2006-09-25 07:19:11.000000000 +0300 ++++ pd-0.40-3/extra/expr~/makefile 2007-07-30 22:57:09.000000000 +0300 +@@ -77,7 +77,7 @@ + LINUXOBJ = vexp.pd_linux_o vexp_fun.pd_linux_o vexp_if.pd_linux_o + .SUFFIXES: .pd_linux_o + +-LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer -fPIC -m32 \ ++LINUXCFLAGS = -DPD -fPIC -m32 \ + -Wall -W -Wshadow -Wstrict-prototypes \ + -Wno-unused -Wno-parentheses -Wno-switch + +@@ -88,7 +88,6 @@ + + expr.pd_linux: $(LINUXOBJ) + $(CC) -m32 -export_dynamic -shared -o expr.pd_linux $(LINUXOBJ) -lc -lm +- strip --strip-unneeded expr.pd_linux + + expr~.pd_linux: expr.pd_linux + -ln -s expr.pd_linux expr~.pd_linux +diff -ur pd-0.40-3.orig/extra/makefile pd-0.40-3/extra/makefile +--- pd-0.40-3.orig/extra/makefile 2006-09-25 07:17:22.000000000 +0300 ++++ pd-0.40-3/extra/makefile 2007-07-30 22:32:45.000000000 +0300 +@@ -57,7 +57,7 @@ + + .SUFFIXES: .pd_linux + +-LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer -fPIC -m32 \ ++LINUXCFLAGS = -DPD -fPIC -m32 \ + -Wall -W -Wshadow -Wstrict-prototypes \ + -Wno-unused -Wno-parentheses -Wno-switch $(CFLAGS) + +@@ -66,7 +66,6 @@ + .c.pd_linux: + $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c + $(CC) -m32 -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm +- strip --strip-unneeded $*.pd_linux + rm -f $*.o + + # ----------------------- Mac OSX ----------------------- +diff -ur pd-0.40-3.orig/src/configure pd-0.40-3/src/configure +--- pd-0.40-3.orig/src/configure 2007-07-24 23:17:39.000000000 +0300 ++++ pd-0.40-3/src/configure 2007-07-30 22:59:21.000000000 +0300 +@@ -309,7 +309,7 @@ + # include <unistd.h> + #endif" + +-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS alsa jack portaudio portmidi binarymode fftw PDLIB CPPFLAGS MORECFLAGS EXT USE_DEBUG_CFLAGS SYSSRC TCLTK_FRAMEWORKS_PATH STRIPFLAG GUINAME GUIFLAGS OSNUMBER EXTERNTARGET CC CFLAGS LDFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE CPP EGREP ALLOCA LIBOBJS LTLIBOBJS' ++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS alsa jack portaudio portmidi binarymode fftw PDLIB CPPFLAGS MORECFLAGS EXT USE_DEBUG_CFLAGS SYSSRC TCLTK_FRAMEWORKS_PATH GUINAME GUIFLAGS OSNUMBER EXTERNTARGET CC CFLAGS LDFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE CPP EGREP ALLOCA LIBOBJS LTLIBOBJS' + ac_subst_files='' + + # Initialize some variables set by options. +@@ -2023,13 +2023,13 @@ + CFLAGS=$ac_save_CFLAGS + elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then +- CFLAGS="-g -O2" ++ CFLAGS= + else +- CFLAGS="-g" ++ CFLAGS= + fi + else + if test "$GCC" = yes; then +- CFLAGS="-O2" ++ CFLAGS= + else + CFLAGS= + fi +@@ -7022,13 +7022,10 @@ + then + binarymode="-m4755" + fi +- STRIPFLAG=-s + GUINAME="pd-gui" + if test x$USE_DEBUG_CFLAGS == "xyes"; + then + MORECFLAGS=$MORECFLAGS" -g" +- else +- MORECFLAGS=$MORECFLAGS" -O6 -funroll-loops -fomit-frame-pointer" + fi + if test x$jack == "xyes"; + then +@@ -7085,7 +7082,6 @@ + ../portmidi/pm_common/pmutil.c \ + ../portmidi/pm_common/portmidi.c \ + ../portmidi/porttime/ptmacosx_cf.c " +- STRIPFLAG="" + GUINAME="libPdTcl.dylib" + + # find the Tcl/Tk Frameworks +@@ -7109,7 +7105,7 @@ + then + MORECFLAGS=$MORECFLAGS" -g" + else +- MORECFLAGS=$MORECFLAGS" -O2" ++ MORECFLAGS=$MORECFLAGS" " + fi + OSNUMBER=2 + if test x$jack == "xyes"; +@@ -8228,7 +8224,6 @@ + s,@USE_DEBUG_CFLAGS@,$USE_DEBUG_CFLAGS,;t t + s,@SYSSRC@,$SYSSRC,;t t + s,@TCLTK_FRAMEWORKS_PATH@,$TCLTK_FRAMEWORKS_PATH,;t t +-s,@STRIPFLAG@,$STRIPFLAG,;t t + s,@GUINAME@,$GUINAME,;t t + s,@GUIFLAGS@,$GUIFLAGS,;t t + s,@OSNUMBER@,$OSNUMBER,;t t +diff -ur pd-0.40-3.orig/src/configure.in pd-0.40-3/src/configure.in +--- pd-0.40-3.orig/src/configure.in 2006-10-28 22:13:24.000000000 +0300 ++++ pd-0.40-3/src/configure.in 2007-07-30 22:55:45.000000000 +0300 +@@ -15,7 +15,6 @@ + AC_SUBST(SYSSRC) + AC_SUBST(TCLTK_FRAMEWORKS_PATH) + AC_SUBST(TCLTK_FRAMEWORKS_PATH) +-AC_SUBST(STRIPFLAG) + AC_SUBST(GUINAME) + AC_SUBST(GUIFLAGS) + AC_SUBST(OSNUMBER) +@@ -216,13 +215,12 @@ + then + binarymode="-m4755" + fi +- STRIPFLAG=-s + GUINAME="pd-gui" + if test x$USE_DEBUG_CFLAGS == "xyes"; + then + MORECFLAGS=$MORECFLAGS" -g" + else +- MORECFLAGS=$MORECFLAGS" -O6 -funroll-loops -fomit-frame-pointer" ++ MORECFLAGS=$MORECFLAGS" " + fi + if test x$jack == "xyes"; + then +@@ -279,7 +277,6 @@ + ../portmidi/pm_common/pmutil.c \ + ../portmidi/pm_common/portmidi.c \ + ../portmidi/porttime/ptmacosx_cf.c " +- STRIPFLAG="" + GUINAME="libPdTcl.dylib" + + # find the Tcl/Tk Frameworks +diff -ur pd-0.40-3.orig/src/install-sh pd-0.40-3/src/install-sh +--- pd-0.40-3.orig/src/install-sh 2001-05-30 20:37:35.000000000 +0300 ++++ pd-0.40-3/src/install-sh 2007-07-30 22:33:42.000000000 +0300 +@@ -37,7 +37,7 @@ + chmodprog="${CHMODPROG-chmod}" + chownprog="${CHOWNPROG-chown}" + chgrpprog="${CHGRPPROG-chgrp}" +-stripprog="${STRIPPROG-strip}" ++stripprog="${STRIPPROG-true}" + rmprog="${RMPROG-rm}" + mkdirprog="${MKDIRPROG-mkdir}" + +diff -ur pd-0.40-3.orig/src/makefile.in pd-0.40-3/src/makefile.in +--- pd-0.40-3.orig/src/makefile.in 2006-08-26 03:35:58.000000000 +0300 ++++ pd-0.40-3/src/makefile.in 2007-07-30 23:02:32.000000000 +0300 +@@ -16,8 +16,8 @@ + + # varibles to match packages/Makefile.buildlayout so that they can be easily + # overridden when building Pd-extended builds. <hans@at.or.at> +-libpddir = $(libdir)/pd +-pddocdir = $(libpddir)/doc ++libpddir = $(DESTDIR)$(libdir)/pd ++pddocdir = $(DESTDIR)$(prefix)/share/pd + libpdbindir = $(libpddir)/bin + + CPPFLAGS = @CPPFLAGS@ +@@ -101,13 +101,13 @@ + test -d $(BIN_DIR) || mkdir -p $(BIN_DIR) + + $(BIN_DIR)/pd-watchdog: s_watchdog.c $(BIN_DIR) +- $(CC) $(CFLAGS) $(STRIPFLAG) -o $(BIN_DIR)/pd-watchdog s_watchdog.c ++ $(CC) $(CFLAGS) -o $(BIN_DIR)/pd-watchdog s_watchdog.c + + $(BIN_DIR)/pdsend: u_pdsend.c $(BIN_DIR) +- $(CC) $(CFLAGS) $(STRIPFLAG) -o $(BIN_DIR)/pdsend u_pdsend.c ++ $(CC) $(CFLAGS) -o $(BIN_DIR)/pdsend u_pdsend.c + + $(BIN_DIR)/pdreceive: u_pdreceive.c $(BIN_DIR) +- $(CC) $(CFLAGS) $(STRIPFLAG) -o $(BIN_DIR)/pdreceive u_pdreceive.c ++ $(CC) $(CFLAGS) -o $(BIN_DIR)/pdreceive u_pdreceive.c + + $(PDEXEC): $(OBJ) $(BIN_DIR) + cd ../obj; $(CC) $(LDFLAGS) $(DBG_CFLAGS) -o $(PDEXEC) $(OBJ) \ diff --git a/media-sound/pd/pd-0.40_p3.ebuild b/media-sound/pd/pd-0.40_p3.ebuild new file mode 100644 index 000000000000..d00de6617a59 --- /dev/null +++ b/media-sound/pd/pd-0.40_p3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/pd/pd-0.40_p3.ebuild,v 1.1 2007/07/30 20:07:40 drac Exp $ + +inherit eutils toolchain-funcs + +MY_P=${P/_p/-} + +DESCRIPTION="real-time music and multimedia environment" +HOMEPAGE="http://www-crca.ucsd.edu/~msp/software.html" +SRC_URI="http://www-crca.ucsd.edu/~msp/Software/${MY_P}.src.tar.gz" + +LICENSE="|| ( BSD as-is )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="alsa debug fftw jack portaudio" + +RDEPEND=">=dev-lang/tcl-8.3.3 + >=dev-lang/tk-8.3.3 + alsa? ( >=media-libs/alsa-lib-0.9.0_rc2 ) + jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 ) + fftw? ( sci-libs/fftw ) + portaudio? ( media-libs/portaudio )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/${MY_P}/src + +src_unpack() { + unpack ${A} + cd "${WORKDIR}"/${MY_P} + + # Need to get some of this to upstream. + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_compile() { + econf $(use_enable alsa) $(use_enable jack) \ + $(use_enable debug) $(use_enable fftw) \ + $(use_enable portaudio) + emake CC="$(tc-getCC)" || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + + # Install private headers for developers. + insinto /usr/include + doins m_imp.h g_canvas.h +} |