[proaudio] [2703] media-sound/gneutronica: edit patch to honour CC/CFLAGS/LDFLAGS, fix linking alsa with as-needed, shorten description, remove no-herd from metadata.xml, remove old.

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 2703
Author:   gavlee
Date:     2013-04-30 22:34:20 +0200 (Tue, 30 Apr 2013)
Log Message:
-----------
media-sound/gneutronica: edit patch to honour CC/CFLAGS/LDFLAGS, fix linking alsa with as-needed, shorten description, remove no-herd from metadata.xml, remove old.

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/gneutronica/ChangeLog
    trunk/overlays/proaudio/media-sound/gneutronica/Manifest
    trunk/overlays/proaudio/media-sound/gneutronica/files/gneutronica-0.33-makefile.patch
    trunk/overlays/proaudio/media-sound/gneutronica/metadata.xml

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/gneutronica/gneutronica-0.33-r1.ebuild

Removed Paths:
-------------
    trunk/overlays/proaudio/media-sound/gneutronica/files/gneutronica-0.28-makefile.patch
    trunk/overlays/proaudio/media-sound/gneutronica/gneutronica-0.28.ebuild
    trunk/overlays/proaudio/media-sound/gneutronica/gneutronica-0.29.ebuild
    trunk/overlays/proaudio/media-sound/gneutronica/gneutronica-0.33.ebuild

Modified: trunk/overlays/proaudio/media-sound/gneutronica/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/gneutronica/ChangeLog	2013-04-30 01:06:57 UTC (rev 2702)
+++ trunk/overlays/proaudio/media-sound/gneutronica/ChangeLog	2013-04-30 20:34:20 UTC (rev 2703)
@@ -1,7 +1,17 @@
 # ChangeLog for media-sound/gneutronica
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*gneutronica-0.33-r1 (30 Apr 2013)
+
+  30 Apr 2013; Gavin Pryke (gavlee) <gavinlee303@xxxxxxxxxxxxxx>
+  -gneutronica-0.28.ebuild, -files/gneutronica-0.28-makefile.patch,
+  -gneutronica-0.29.ebuild, -gneutronica-0.33.ebuild,
+  +gneutronica-0.33-r1.ebuild, files/gneutronica-0.33-makefile.patch,
+  metadata.xml:
+  edit patch to honour CC/CFLAGS/LDFLAGS, fix linking alsa with as-needed,
+  shorten description, remove no-herd from metadata.xml, remove old.
+
   17 Dec 2007; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> ChangeLog:
   added a changelog
 

Modified: trunk/overlays/proaudio/media-sound/gneutronica/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/gneutronica/Manifest	2013-04-30 01:06:57 UTC (rev 2702)
+++ trunk/overlays/proaudio/media-sound/gneutronica/Manifest	2013-04-30 20:34:20 UTC (rev 2703)
@@ -1,10 +1,5 @@
-AUX gneutronica-0.28-makefile.patch 302 RMD160 35393095d70ec7ecd6464841694d4a47a6e36a50 SHA1 0dca9044c3b4e3ed398af096af477a61bdaa5de0 SHA256 7ad110c6a52aafb264ae9f931bbf35d6078fe0c96f1adfd6c264d56103cd7d12
-AUX gneutronica-0.33-makefile.patch 1653 RMD160 83903449ed6b99e3afbf7f463ad7bd53ffe0ee74 SHA1 5f3c5a151ff3238748048ee4abb727ac86dde8a1 SHA256 359f8bfb9a23ffe0aa814559a20b2d4d93be86f64a5c88ec14aa3b654e9a1308
-DIST gneutronica-0.28.tar.gz 311259 RMD160 3575be47f118eab0b4c4e491bd57dbd506c9d9e7 SHA1 9db82967cce4311fc7a4afbe0a67d5389d4ce4a0 SHA256 964971a4d57d505ffbcbcd8d6d547856a87a44b27f6b8540c2076f15ef3fbce4
-DIST gneutronica-0.29.tar.gz 315440 RMD160 9dc775eabf83fbdb8f89ea9a98cb6623eac77997 SHA1 f7da01b65ec0a09255ede2c64b636a47e3b7fa64 SHA256 942edea3c1cc3bb3f900eeb7899be145b3b20b9156dcdfaa1c3728c70212c2aa
-DIST gneutronica-0.33.tar.gz 706499 RMD160 32797eb0eee93f9e26e9c7a5d8e6e6f98c5c35f2 SHA1 8b3778be81e30b5f89116749c0ae8ef67f9a9f87 SHA256 88162f419146d8b901a9efcb81bac1b1e31ce28fd851c4a6b93f5a562ceac9d8
-EBUILD gneutronica-0.28.ebuild 1076 RMD160 18fe4431ca2339e63ad59e1e0165d5846431a170 SHA1 227f425af8eb8e0f90b1da95f1595641ab9b87e8 SHA256 42fad832c16f0339659e7646eb1d9f549a59c2694e64ed4143741b5d44336596
-EBUILD gneutronica-0.29.ebuild 1082 RMD160 087da730ac5ed5f06bf0db542a96c10f9b2287c2 SHA1 da34a23d178c60841b0dcd62057d0b9b9aaa6793 SHA256 aa6819d8edd279d77aa10128b73523d959fd6a813bcc7897b866d0e1d39241f8
-EBUILD gneutronica-0.33.ebuild 769 RMD160 7bc1c5bcc1fb6a73f24eedc35a7546b62c5fb494 SHA1 26da5e21d1b5cf0e4d0591d87a73d790a89ac404 SHA256 a369b12c0157580e4db02224836f8f3be14d3c1294eb6a5d04e2923c3bbf73d0
-MISC ChangeLog 211 RMD160 d79809d5981f9e3660b059a3630f6c17b12bffb4 SHA1 44bbf5ac6b451117b73f3a2196481910e5141024 SHA256 34bd93f0d5e83d2b2b7e294b4f2adda8d97c8cbdeefee1e39e22cca393001cfc
-MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89
+AUX gneutronica-0.33-makefile.patch 3389 SHA256 134992856c988ddb207d6dfbd91fc9e3350ce1e294aeffaf467312ee0439f37d SHA512 52ddf52f7e38016b570b3bddf482382cf842986c0f891b982de81f727749511fe9ae14112e69cb37f9c752c705156971055afb5444eb1143739858879567be4c WHIRLPOOL 2ffdbe74b7ee8412ba4805763dfd025717e6d5b76d8dcd73c1119d614fd0612d9fad17c7998c2c17d54afa4e52d3d64d539bc786d8b88116115b956ac0bc5700
+DIST gneutronica-0.33.tar.gz 706499 SHA256 88162f419146d8b901a9efcb81bac1b1e31ce28fd851c4a6b93f5a562ceac9d8 SHA512 aa29eb69920014aec7cf763bcdce28c69614f20f6ea0431a8558dca2303844dd7b5bc0f85199a4162eba0afd3e0fc5483a9cd2480655d043ab3d4e930f59432d WHIRLPOOL 5d5adad89357c5c5b45cb88d2e50f826576c9bf90b785e28ae2fc5c4e7b8b5dbf81ae6c18aff5373cf3f19f7a0a7672dfa9ce17b1b8de88a70f1256ec6c703c0
+EBUILD gneutronica-0.33-r1.ebuild 709 SHA256 edda48913aa1101fc3fdac7f5f36a90b186e339cf794d1db78bb6d0ee65db323 SHA512 a75ea34d6e6b32d81d6d676a355eca93372d880a871ea03e13b0954ed4bdf07d7f6e11c7daf822b53e68f29df4c0b7d37397c3d4d4a490986837515feac3cb7d WHIRLPOOL 268ba3c351a48100344fd88ec04c5b59ff2f6ec08e246c79cfeb8db323906b5a78204048f8f6fdca319c296981c4728a982f8da07397c6aef86fc53a1206e166
+MISC ChangeLog 665 SHA256 009468a984894694f473f57056511f29971a795a540f8cb0f5ddc28460325954 SHA512 3a3cd082dac193a252f840279b7c83911e35dbe1fa561173cc1b3be71a5a4c82e3d31fb7b844dfaed793f2b46eec5563aefc5e33fcc87d4265ddd9d37ec30aee WHIRLPOOL 419daf9a92af6ec3a70b1244aab578b6e08930cb84f88811d7d08da5162ede1ee2b1903a1e62f2d287cd0dc0a30d17adbc3e6b43b351210d89ed95c28b75e584
+MISC metadata.xml 246 SHA256 f32f31abe9dcc1f9a5dc9b6a36996d773abd006d92c13c4df48f8d7d1061060f SHA512 327022589c637a14219eb603a62050fbb93b980f4693960c0ac4117b6b483d9f0d9fe1366d8e18227b34373a399aef339f49c16df8ca57b9ec870568a4d394f4 WHIRLPOOL e55381a9a9fd1d0efbe87da1c3aa302efdcf4734827f56273faeb55b17361c529518fcf16ac0946102e26165e8eedba81ab0cd07c7b08ce6bad001e944e43a0f

Deleted: trunk/overlays/proaudio/media-sound/gneutronica/files/gneutronica-0.28-makefile.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/gneutronica/files/gneutronica-0.28-makefile.patch	2013-04-30 01:06:57 UTC (rev 2702)
+++ trunk/overlays/proaudio/media-sound/gneutronica/files/gneutronica-0.28-makefile.patch	2013-04-30 20:34:20 UTC (rev 2703)
@@ -1,12 +0,0 @@
---- Makefile.orig	2005-07-25 06:22:25.000000000 +0200
-+++ Makefile	2006-04-10 17:35:48.013262792 +0200
-@@ -1,7 +1,7 @@
- 
- PROGRAM=gneutronica
--BINDIR=/usr/local/bin
--SHAREDIR=/usr/local/share/${PROGRAM}
-+BINDIR=/usr/bin
-+SHAREDIR=/usr/share/${PROGRAM}
- 
- all:	gneutronica documentation/gneutronica.1
- 

Modified: trunk/overlays/proaudio/media-sound/gneutronica/files/gneutronica-0.33-makefile.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/gneutronica/files/gneutronica-0.33-makefile.patch	2013-04-30 01:06:57 UTC (rev 2702)
+++ trunk/overlays/proaudio/media-sound/gneutronica/files/gneutronica-0.33-makefile.patch	2013-04-30 20:34:20 UTC (rev 2703)
@@ -1,7 +1,10 @@
---- Makefile.orig	2007-01-31 22:50:38.198438811 +0100
-+++ Makefile	2007-01-31 23:22:28.044217815 +0100
-@@ -1,7 +1,7 @@
- 
+diff --git a/Makefile b/Makefile
+index e4ece34..0192f5b 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,27 +1,27 @@
+-
++CC=gcc
  PROGRAM=gneutronica
 -BINDIR=/usr/local/bin
 -SHAREDIR=/usr/local/share/${PROGRAM}
@@ -10,9 +13,52 @@
  DEBUG=-g
  
  GNEUTRONICA_LANGUAGE=
-@@ -50,22 +50,14 @@
- 		gcc ${CFLAGS} -c `pkg-config --cflags gtk+-2.0` old_fileformats.c
+ # GNEUTRONICA_LANGUAGE=-DGNEUTRONICA_FRENCH
  
+-CFLAGS=${DEBUG} ${GNEUTRONICA_LANGUAGE}
++MYCFLAGS=${DEBUG} ${GNEUTRONICA_LANGUAGE} $(CFLAGS)
+ 
+ all:	gneutronica documentation/gneutronica.1
+ 
+ midioutput_raw.o:	midioutput_raw.c midioutput_raw.h midioutput.h
+-	gcc ${CFLAGS} -c midioutput_raw.c
++	$(CC) $(MYCFLAGS) -c midioutput_raw.c
+ 
+ midioutput_alsa.o:	midioutput_alsa.c midioutput_alsa.h midioutput.h
+-	gcc ${CFLAGS} -c midioutput_alsa.c
++	$(CC) $(MYCFLAGS) -c midioutput_alsa.c
+ 
+ drumtab.o:	drumtab.c drumtab.h dt_known_insts.h
+-	gcc ${CFLAGS} -c drumtab.c
++	$(CC) $(MYCFLAGS) -c drumtab.c
+ 
+ fractions.o:	fractions.c fractions.h
+-	gcc ${CFLAGS} -c fractions.c
++	$(CC) $(MYCFLAGS) -c fractions.c
+ 
+ documentation/gneutronica.1:	documentation/gneutronica.1.template versionnumber.txt
+ 	chmod +x ./make_manpage
+@@ -34,11 +34,11 @@ gneutronica:	gneutronica.c old_fileformats.o sched.o midi_file.o \
+ 		version.h gneutronica.h midi_file.h fractions.o drumtab.o \
+ 		midi_reader.o midioutput_raw.o midioutput_alsa.o \
+ 		midioutput_raw.h midioutput_alsa.h lang.h
+-	gcc ${CFLAGS} -o gneutronica -I/usr/include/libgnomecanvas-2.0 -lasound \
++	$(CC) $(LDFLAGS) $(MYCFLAGS) -o gneutronica -I/usr/include/libgnomecanvas-2.0 \
+ 		old_fileformats.o sched.o \
+ 		midi_reader.o midi_file.o fractions.o drumtab.o \
+ 		midioutput_raw.o midioutput_alsa.o \
+-		gneutronica.c `pkg-config --cflags --libs gtk+-2.0` \
++		gneutronica.c `pkg-config --cflags --libs gtk+-2.0` -lasound \
+ 
+ midi_reader.o:	midi_reader.c midi_reader.h
+ 
+@@ -47,25 +47,17 @@ sched.o:	sched.c sched.h	midi_file.h
+ midi_file.o:	midi_file.c midi_file.h
+ 
+ old_fileformats.o:	old_fileformats.c old_fileformats.h gneutronica.h
+-		gcc ${CFLAGS} -c `pkg-config --cflags gtk+-2.0` old_fileformats.c
++		$(CC) $(MYCFLAGS) -c `pkg-config --cflags gtk+-2.0` old_fileformats.c
+ 
  install:	gneutronica
 -	echo "Installing ${BINDIR}/${PROGRAM} and ${SHAREDIR}/drumkits"
 -	cp gneutronica ${BINDIR}/${PROGRAM} 

Deleted: trunk/overlays/proaudio/media-sound/gneutronica/gneutronica-0.28.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/gneutronica/gneutronica-0.28.ebuild	2013-04-30 01:06:57 UTC (rev 2702)
+++ trunk/overlays/proaudio/media-sound/gneutronica/gneutronica-0.28.ebuild	2013-04-30 20:34:20 UTC (rev 2703)
@@ -1,41 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /cvsroot/jacklab/gentoo/media-sound/gneutronica/gneutronica-0.28.ebuild,v 1.2 2006/04/11 13:47:15 gimpel Exp $
-
-inherit eutils
-
-DESCRIPTION="a simple MIDI drum machine program modeled to a large extent on the
-Hydrogen sample-based drum machine software"
-HOMEPAGE="http://gneutronica.sourceforge.net/";
-SRC_URI="mirror://sourceforge/gneutronica/${P}.tar.gz"
-RESTRICT="mirror"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
-
-DEPEND="=gnome-base/libgnomecanvas-2*
-		>=x11-libs/gtk+-2.0"
-
-src_unpack() {
-	unpack "${A}"
-	cd "${S}"
-	epatch ${FILESDIR}/${P}-makefile.patch
-}
-
-src_compile() {
-	emake || die "make failed"
-}
-
-src_install() {
-	# make DESTDIR="${D}" install || die "install failed" # causes sandbox
-	# violation
-	# so.. manual install
-	dobin gneutronica
-	insinto /usr/local/share/${PN}/drumkits
-	doins drumkits/*.dk
-	insinto /usr/share/${PN}/documentation
-	doins documentation/gneutronica.html documentation/*.png
-	doman documentation/gneutronica.1
-}

Deleted: trunk/overlays/proaudio/media-sound/gneutronica/gneutronica-0.29.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/gneutronica/gneutronica-0.29.ebuild	2013-04-30 01:06:57 UTC (rev 2702)
+++ trunk/overlays/proaudio/media-sound/gneutronica/gneutronica-0.29.ebuild	2013-04-30 20:34:20 UTC (rev 2703)
@@ -1,41 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /cvsroot/jacklab/gentoo/media-sound/gneutronica/gneutronica-0.28.ebuild,v 1.2 2006/04/11 13:47:15 gimpel Exp $
-
-inherit eutils
-
-DESCRIPTION="a simple MIDI drum machine program modeled to a large extent on the
-Hydrogen sample-based drum machine software"
-HOMEPAGE="http://gneutronica.sourceforge.net/";
-SRC_URI="mirror://sourceforge/gneutronica/${P}.tar.gz"
-RESTRICT="mirror"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
-
-DEPEND="=gnome-base/libgnomecanvas-2*
-		>=x11-libs/gtk+-2.0"
-
-src_unpack() {
-	unpack "${A}"
-	cd "${S}"
-	epatch ${FILESDIR}/${PN}-0.28-makefile.patch
-}
-
-src_compile() {
-	emake || die "make failed"
-}
-
-src_install() {
-	# make DESTDIR="${D}" install || die "install failed" # causes sandbox
-	# violation
-	# so.. manual install
-	dobin gneutronica
-	insinto /usr/local/share/${PN}/drumkits
-	doins drumkits/*.dk
-	insinto /usr/share/${PN}/documentation
-	doins documentation/gneutronica.html documentation/*.png
-	doman documentation/gneutronica.1
-}

Added: trunk/overlays/proaudio/media-sound/gneutronica/gneutronica-0.33-r1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/gneutronica/gneutronica-0.33-r1.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/gneutronica/gneutronica-0.33-r1.ebuild	2013-04-30 20:34:20 UTC (rev 2703)
@@ -0,0 +1,27 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /cvsroot/jacklab/gentoo/media-sound/gneutronica/gneutronica-0.28.ebuild,v 1.2 2006/04/11 13:47:15 gimpel Exp $
+
+EAPI=5
+inherit base toolchain-funcs
+
+DESCRIPTION="A simple MIDI drum machine program modeled to a large extent on the
+Hydrogen drum machine software"
+HOMEPAGE="http://gneutronica.sourceforge.net/";
+SRC_URI="mirror://sourceforge/gneutronica/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="gnome-base/libgnomecanvas
+	x11-libs/gtk+:2"
+
+RESTRICT="mirror"
+
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
+
+src_compile() {
+	base_src_make CC="$(tc-getCC)"
+}

Deleted: trunk/overlays/proaudio/media-sound/gneutronica/gneutronica-0.33.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/gneutronica/gneutronica-0.33.ebuild	2013-04-30 01:06:57 UTC (rev 2702)
+++ trunk/overlays/proaudio/media-sound/gneutronica/gneutronica-0.33.ebuild	2013-04-30 20:34:20 UTC (rev 2703)
@@ -1,29 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /cvsroot/jacklab/gentoo/media-sound/gneutronica/gneutronica-0.28.ebuild,v 1.2 2006/04/11 13:47:15 gimpel Exp $
-
-inherit eutils
-
-DESCRIPTION="a simple MIDI drum machine program modeled to a large extent on the
-Hydrogen sample-based drum machine software"
-HOMEPAGE="http://gneutronica.sourceforge.net/";
-SRC_URI="mirror://sourceforge/gneutronica/${P}.tar.gz"
-RESTRICT="mirror"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE=""
-
-DEPEND="=gnome-base/libgnomecanvas-2*
-		>=x11-libs/gtk+-2.0"
-
-src_unpack() {
-	unpack "${A}"
-	cd "${S}"
-	epatch "${FILESDIR}/${P}-makefile.patch"
-}
-
-src_install() {
-	make DESTDIR="${D}" install || die "install failed"
-}

Modified: trunk/overlays/proaudio/media-sound/gneutronica/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-sound/gneutronica/metadata.xml	2013-04-30 01:06:57 UTC (rev 2702)
+++ trunk/overlays/proaudio/media-sound/gneutronica/metadata.xml	2013-04-30 20:34:20 UTC (rev 2703)
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-	<herd>no-herd</herd>
 	<maintainer>
 		<email>proaudio@xxxxxxxxxxxxx</email>
 		<name>pro-audio overlay team</name>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/