summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-08-19 08:55:06 +0000
committerSamuli Suominen <drac@gentoo.org>2007-08-19 08:55:06 +0000
commitaa36a05da3afab0c9494a6bfca42225ae2f17689 (patch)
treed170c2dccc855b50dc6f0d8b8fb0919847ff1d30 /media-sound/gramofile
parentFixed bug #186715 (diff)
downloadgentoo-2-aa36a05da3afab0c9494a6bfca42225ae2f17689.tar.gz
gentoo-2-aa36a05da3afab0c9494a6bfca42225ae2f17689.tar.bz2
gentoo-2-aa36a05da3afab0c9494a6bfca42225ae2f17689.zip
Version bump. QA warnings, CC toolchain-funcs, docs, and a lot more..
(Portage version: 2.1.3.6)
Diffstat (limited to 'media-sound/gramofile')
-rw-r--r--media-sound/gramofile/ChangeLog10
-rw-r--r--media-sound/gramofile/files/digest-gramofile-1.6-r19
-rw-r--r--media-sound/gramofile/files/digest-gramofile-1.6_p39
-rw-r--r--media-sound/gramofile/files/gramofile-1.6_p3-64bit.patch (renamed from media-sound/gramofile/files/gramofile-1.6-64bit.patch)0
-rw-r--r--media-sound/gramofile/files/gramofile-1.6_p3-implicit-declarations.patch224
-rw-r--r--media-sound/gramofile/gramofile-1.6-r1.ebuild41
-rw-r--r--media-sound/gramofile/gramofile-1.6_p3.ebuild47
7 files changed, 289 insertions, 51 deletions
diff --git a/media-sound/gramofile/ChangeLog b/media-sound/gramofile/ChangeLog
index 264d208f834a..2915ab2926ee 100644
--- a/media-sound/gramofile/ChangeLog
+++ b/media-sound/gramofile/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-sound/gramofile
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gramofile/ChangeLog,v 1.15 2007/02/22 01:02:24 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gramofile/ChangeLog,v 1.16 2007/08/19 08:55:05 drac Exp $
+
+*gramofile-1.6_p3 (19 Aug 2007)
+
+ 19 Aug 2007; Samuli Suominen <drac@gentoo.org>
+ -files/gramofile-1.6-64bit.patch, +files/gramofile-1.6_p3-64bit.patch,
+ +files/gramofile-1.6_p3-implicit-declarations.patch,
+ -gramofile-1.6-r1.ebuild, +gramofile-1.6_p3.ebuild:
+ Version bump.
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/media-sound/gramofile/files/digest-gramofile-1.6-r1 b/media-sound/gramofile/files/digest-gramofile-1.6-r1
deleted file mode 100644
index ee2a8690f785..000000000000
--- a/media-sound/gramofile/files/digest-gramofile-1.6-r1
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 986c86c6fa17c064bc17c2936cc833e0 gramofile-1.6.tar.gz 108596
-RMD160 3f7c8a8e8053e92ece830bbb1138fc7ed1c49967 gramofile-1.6.tar.gz 108596
-SHA256 d1c9fe01f3b49c8c9141c3e09c15f519dcb9ffdcaabcfa51ece0c41540ba69e2 gramofile-1.6.tar.gz 108596
-MD5 6e38044d77f8e4d63dfd7e0b441cf39f tappin3a.patch 1593
-RMD160 d96ade2e74d4c09e87e1ac8fc69c12c846cb20e7 tappin3a.patch 1593
-SHA256 94f66806b1097c98a4a7f5c18b2c67e79052f9464f6c8b67cd1f87b140a94fe0 tappin3a.patch 1593
-MD5 8b21276b022d4e0ed224be9eb0181391 tappin3b.patch 40893
-RMD160 8dbecfa8457dededf8f6090f3458a32a0fbeef88 tappin3b.patch 40893
-SHA256 1e50e73e0a82326584c6b30d2f1600231d3835a89932dd9e1274fd106e29f998 tappin3b.patch 40893
diff --git a/media-sound/gramofile/files/digest-gramofile-1.6_p3 b/media-sound/gramofile/files/digest-gramofile-1.6_p3
new file mode 100644
index 000000000000..6f3cf651d103
--- /dev/null
+++ b/media-sound/gramofile/files/digest-gramofile-1.6_p3
@@ -0,0 +1,9 @@
+MD5 3b04a9c278626a269ae7b8656a4edd09 gramofile-1.6P.tar.gz 117822
+RMD160 f4b81c78e6c6e80e2109d8921de8e03364910d61 gramofile-1.6P.tar.gz 117822
+SHA256 71784ab11dfe0bd610c4a691281d4b10f12ddf0025ec6020943c06b4c9718537 gramofile-1.6P.tar.gz 117822
+MD5 6e38044d77f8e4d63dfd7e0b441cf39f tappin3a.patch 1593
+RMD160 d96ade2e74d4c09e87e1ac8fc69c12c846cb20e7 tappin3a.patch 1593
+SHA256 94f66806b1097c98a4a7f5c18b2c67e79052f9464f6c8b67cd1f87b140a94fe0 tappin3a.patch 1593
+MD5 b6669135f8b4f4a405a15f03f9697207 tappin3c.patch 43284
+RMD160 914847d73037f0326cdb16736ebc82f97ac6f108 tappin3c.patch 43284
+SHA256 0ebd942fa785db125dffad703827890e100af7d94ef03e7712e60400947c2320 tappin3c.patch 43284
diff --git a/media-sound/gramofile/files/gramofile-1.6-64bit.patch b/media-sound/gramofile/files/gramofile-1.6_p3-64bit.patch
index 6d127ae1a667..6d127ae1a667 100644
--- a/media-sound/gramofile/files/gramofile-1.6-64bit.patch
+++ b/media-sound/gramofile/files/gramofile-1.6_p3-64bit.patch
diff --git a/media-sound/gramofile/files/gramofile-1.6_p3-implicit-declarations.patch b/media-sound/gramofile/files/gramofile-1.6_p3-implicit-declarations.patch
new file mode 100644
index 000000000000..378f7f894d18
--- /dev/null
+++ b/media-sound/gramofile/files/gramofile-1.6_p3-implicit-declarations.patch
@@ -0,0 +1,224 @@
+diff -ur gramofile-1.6P.orig/clrscr.c gramofile-1.6P/clrscr.c
+--- gramofile-1.6P.orig/clrscr.c 2000-03-29 00:07:25.000000000 +0300
++++ gramofile-1.6P/clrscr.c 2007-08-19 11:33:41.000000000 +0300
+@@ -13,7 +13,7 @@
+ #else
+ #include <curses.h>
+ #endif
+-
++#include <string.h>
+
+ void
+ header (char *headertext)
+diff -ur gramofile-1.6P.orig/errorwindow.c gramofile-1.6P/errorwindow.c
+--- gramofile-1.6P.orig/errorwindow.c 2000-11-26 02:55:58.000000000 +0200
++++ gramofile-1.6P/errorwindow.c 2007-08-19 11:32:53.000000000 +0300
+@@ -20,6 +20,7 @@
+ #else
+ #include <stdio.h>
+ #endif
++#include <string.h>
+
+ void
+ error_window_display (char *text, char *buttontext)
+diff -ur gramofile-1.6P.orig/gramofile.c gramofile-1.6P/gramofile.c
+--- gramofile-1.6P.orig/gramofile.c 2000-03-29 00:07:25.000000000 +0300
++++ gramofile-1.6P/gramofile.c 2007-08-19 11:32:24.000000000 +0300
+@@ -12,6 +12,7 @@
+ #include <signal.h>
+ #include <unistd.h>
+ #include <string.h>
++#include <stdlib.h>
+ #ifndef OLD_CURSES
+ #include <ncurses.h>
+ #else
+diff -ur gramofile-1.6P.orig/mainmenu.c gramofile-1.6P/mainmenu.c
+--- gramofile-1.6P.orig/mainmenu.c 2000-03-29 00:07:25.000000000 +0300
++++ gramofile-1.6P/mainmenu.c 2007-08-19 11:45:08.000000000 +0300
+@@ -21,6 +21,7 @@
+ #include "tracksplit.h"
+ #include <stdlib.h>
+ #include <unistd.h>
++#include <string.h>
+ #ifndef OLD_CURSES
+ #include <ncurses.h>
+ #else
+Only in gramofile-1.6P.orig/perl-swig: errorwindow.c
+diff -ur gramofile-1.6P.orig/perl-swig/signpr_cmf2.c gramofile-1.6P/perl-swig/signpr_cmf2.c
+--- gramofile-1.6P.orig/perl-swig/signpr_cmf2.c 2007-08-19 11:30:54.000000000 +0300
++++ gramofile-1.6P/perl-swig/signpr_cmf2.c 2007-08-19 11:35:42.000000000 +0300
+@@ -35,6 +35,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <math.h>
++#include <string.h>
+ #ifndef SWIG
+ #ifndef OLD_CURSES
+ #include <ncurses.h>
+diff -ur gramofile-1.6P.orig/perl-swig/signpr_cmf.c gramofile-1.6P/perl-swig/signpr_cmf.c
+--- gramofile-1.6P.orig/perl-swig/signpr_cmf.c 2000-11-26 02:56:00.000000000 +0200
++++ gramofile-1.6P/perl-swig/signpr_cmf.c 2007-08-19 11:34:23.000000000 +0300
+@@ -33,6 +33,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <math.h>
++#include <string.h>
+ #ifndef SWIG
+ #ifndef OLD_CURSES
+ #include <ncurses.h>
+diff -ur gramofile-1.6P.orig/perl-swig/signpr_doubmed.c gramofile-1.6P/perl-swig/signpr_doubmed.c
+--- gramofile-1.6P.orig/perl-swig/signpr_doubmed.c 2000-11-26 02:56:02.000000000 +0200
++++ gramofile-1.6P/perl-swig/signpr_doubmed.c 2007-08-19 11:35:08.000000000 +0300
+@@ -19,6 +19,7 @@
+ #endif
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #ifndef SWIG
+ #ifndef OLD_CURSES
+ #include <ncurses.h>
+diff -ur gramofile-1.6P.orig/perl-swig/signpr_mean.c gramofile-1.6P/perl-swig/signpr_mean.c
+--- gramofile-1.6P.orig/perl-swig/signpr_mean.c 2000-11-26 02:56:04.000000000 +0200
++++ gramofile-1.6P/perl-swig/signpr_mean.c 2007-08-19 11:34:54.000000000 +0300
+@@ -19,6 +19,7 @@
+ #endif
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #ifndef SWIG
+ #ifndef OLD_CURSES
+ #include <ncurses.h>
+diff -ur gramofile-1.6P.orig/perl-swig/signpr_median.c gramofile-1.6P/perl-swig/signpr_median.c
+--- gramofile-1.6P.orig/perl-swig/signpr_median.c 2000-11-26 02:56:05.000000000 +0200
++++ gramofile-1.6P/perl-swig/signpr_median.c 2007-08-19 11:34:04.000000000 +0300
+@@ -19,6 +19,7 @@
+ #endif
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #ifndef SWIG
+ #ifndef OLD_CURSES
+ #include <ncurses.h>
+diff -ur gramofile-1.6P.orig/perl-swig/signpr_rms.c gramofile-1.6P/perl-swig/signpr_rms.c
+--- gramofile-1.6P.orig/perl-swig/signpr_rms.c 2000-11-26 02:56:05.000000000 +0200
++++ gramofile-1.6P/perl-swig/signpr_rms.c 2007-08-19 11:36:13.000000000 +0300
+@@ -20,6 +20,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <math.h>
++#include <string.h>
+ #ifndef SWIG
+ #ifndef OLD_CURSES
+ #include <ncurses.h>
+diff -ur gramofile-1.6P.orig/signpr_cmf2.c gramofile-1.6P/signpr_cmf2.c
+--- gramofile-1.6P.orig/signpr_cmf2.c 2007-08-19 11:30:54.000000000 +0300
++++ gramofile-1.6P/signpr_cmf2.c 2007-08-19 11:35:42.000000000 +0300
+@@ -35,6 +35,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <math.h>
++#include <string.h>
+ #ifndef SWIG
+ #ifndef OLD_CURSES
+ #include <ncurses.h>
+diff -ur gramofile-1.6P.orig/signpr_cmf3.c gramofile-1.6P/signpr_cmf3.c
+--- gramofile-1.6P.orig/signpr_cmf3.c 2007-08-19 11:30:59.000000000 +0300
++++ gramofile-1.6P/signpr_cmf3.c 2007-08-19 11:36:03.000000000 +0300
+@@ -36,6 +36,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <math.h>
++#include <string.h>
+ #ifndef SWIG
+ #ifndef OLD_CURSES
+ #include <ncurses.h>
+diff -ur gramofile-1.6P.orig/signpr_cmf.c gramofile-1.6P/signpr_cmf.c
+--- gramofile-1.6P.orig/signpr_cmf.c 2000-11-26 02:56:00.000000000 +0200
++++ gramofile-1.6P/signpr_cmf.c 2007-08-19 11:34:23.000000000 +0300
+@@ -33,6 +33,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <math.h>
++#include <string.h>
+ #ifndef SWIG
+ #ifndef OLD_CURSES
+ #include <ncurses.h>
+diff -ur gramofile-1.6P.orig/signpr_doubmed.c gramofile-1.6P/signpr_doubmed.c
+--- gramofile-1.6P.orig/signpr_doubmed.c 2000-11-26 02:56:02.000000000 +0200
++++ gramofile-1.6P/signpr_doubmed.c 2007-08-19 11:35:08.000000000 +0300
+@@ -19,6 +19,7 @@
+ #endif
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #ifndef SWIG
+ #ifndef OLD_CURSES
+ #include <ncurses.h>
+diff -ur gramofile-1.6P.orig/signpr_mean.c gramofile-1.6P/signpr_mean.c
+--- gramofile-1.6P.orig/signpr_mean.c 2000-11-26 02:56:04.000000000 +0200
++++ gramofile-1.6P/signpr_mean.c 2007-08-19 11:34:54.000000000 +0300
+@@ -19,6 +19,7 @@
+ #endif
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #ifndef SWIG
+ #ifndef OLD_CURSES
+ #include <ncurses.h>
+diff -ur gramofile-1.6P.orig/signpr_median.c gramofile-1.6P/signpr_median.c
+--- gramofile-1.6P.orig/signpr_median.c 2000-11-26 02:56:05.000000000 +0200
++++ gramofile-1.6P/signpr_median.c 2007-08-19 11:34:04.000000000 +0300
+@@ -19,6 +19,7 @@
+ #endif
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #ifndef SWIG
+ #ifndef OLD_CURSES
+ #include <ncurses.h>
+diff -ur gramofile-1.6P.orig/signpr_rms.c gramofile-1.6P/signpr_rms.c
+--- gramofile-1.6P.orig/signpr_rms.c 2000-11-26 02:56:05.000000000 +0200
++++ gramofile-1.6P/signpr_rms.c 2007-08-19 11:36:13.000000000 +0300
+@@ -20,6 +20,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <math.h>
++#include <string.h>
+ #ifndef SWIG
+ #ifndef OLD_CURSES
+ #include <ncurses.h>
+diff -ur gramofile-1.6P.orig/stringinput.c gramofile-1.6P/stringinput.c
+--- gramofile-1.6P.orig/stringinput.c 2000-03-29 00:07:26.000000000 +0300
++++ gramofile-1.6P/stringinput.c 2007-08-19 11:33:08.000000000 +0300
+@@ -13,7 +13,7 @@
+ #else
+ #include <curses.h>
+ #endif
+-
++#include <string.h>
+
+ void
+ stringinput_display (stringinput_t * data)
+diff -ur gramofile-1.6P.orig/tracksplit_parammenu.c gramofile-1.6P/tracksplit_parammenu.c
+--- gramofile-1.6P.orig/tracksplit_parammenu.c 2000-03-29 00:07:26.000000000 +0300
++++ gramofile-1.6P/tracksplit_parammenu.c 2007-08-19 11:35:27.000000000 +0300
+@@ -16,6 +16,7 @@
+ #include "helpline.h"
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #ifndef OLD_CURSES
+ #include <ncurses.h>
+ #else
+diff -ur gramofile-1.6P.orig/yesnowindow.c gramofile-1.6P/yesnowindow.c
+--- gramofile-1.6P.orig/yesnowindow.c 2000-03-29 00:07:26.000000000 +0300
++++ gramofile-1.6P/yesnowindow.c 2007-08-19 11:33:28.000000000 +0300
+@@ -16,7 +16,7 @@
+ #else
+ #include <curses.h>
+ #endif
+-
++#include <string.h>
+
+ int
+ yesno_window (char *text, char *yestext, char *notext, int preselected)
diff --git a/media-sound/gramofile/gramofile-1.6-r1.ebuild b/media-sound/gramofile/gramofile-1.6-r1.ebuild
deleted file mode 100644
index bacf41e07e9e..000000000000
--- a/media-sound/gramofile/gramofile-1.6-r1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gramofile/gramofile-1.6-r1.ebuild,v 1.3 2006/04/19 22:22:35 malc Exp $
-
-inherit eutils
-
-DESCRIPTION="Gramofile is an audio recording/editing program for recording of analog audio for digital remastering."
-HOMEPAGE="http://www.opensourcepartners.nl/~costar/gramofile/"
-SRC_URI="http://www.opensourcepartners.nl/~costar/${PN}/${P}.tar.gz
- http://www.opensourcepartners.nl/~costar/${PN}/tappin3a.patch
- http://www.opensourcepartners.nl/~costar/${PN}/tappin3b.patch"
-
-LICENSE="GPL-2"
-SLOT="0"
-
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE=""
-
-DEPEND="sys-libs/ncurses
- =sci-libs/fftw-2*"
-
-src_unpack() {
- unpack ${P}.tar.gz
- cd ${S}
- epatch ${DISTDIR}/tappin3a.patch
- epatch ${DISTDIR}/tappin3b.patch
- epatch ${FILESDIR}/${P}-64bit.patch
-}
-
-src_compile() {
- sed -i -e "s/CFLAGS = -Wall -O2 -DTURBO_MEDIAN -DTURBO_BUFFER/CFLAGS \= -Wall `echo ${CFLAGS}` -DTURBO_MEDIAN -DTURBO_BUFFER/" Makefile
- # We need the prototype on amd64 or basename defaults to returning int -
- # causint segfault... bug #128378
- sed -i -e "s/-DREDHAT50//" bplaysrc/Makefile
- make || die
-}
-
-src_install() {
- dobin gramofile bplay_gramo brec_gramo
- dodoc Signproc.txt Tracksplit2.txt README ChangeLog TODO
-}
diff --git a/media-sound/gramofile/gramofile-1.6_p3.ebuild b/media-sound/gramofile/gramofile-1.6_p3.ebuild
new file mode 100644
index 000000000000..f1389c43fd23
--- /dev/null
+++ b/media-sound/gramofile/gramofile-1.6_p3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gramofile/gramofile-1.6_p3.ebuild,v 1.1 2007/08/19 08:55:05 drac Exp $
+
+inherit eutils toolchain-funcs
+
+MY_P=${PN}-1.6P
+
+DESCRIPTION="An audio program for analog to digital remastering."
+HOMEPAGE="http://www.opensourcepartners.nl/~costar/gramofile"
+SRC_URI="http://www.opensourcepartners.nl/~costar/${PN}/${MY_P}.tar.gz
+ http://www.opensourcepartners.nl/~costar/${PN}/tappin3a.patch
+ http://www.opensourcepartners.nl/~costar/${PN}/tappin3c.patch"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="sys-libs/ncurses
+ =sci-libs/fftw-2*"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/${MY_P}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+ cd "${S}"
+ epatch "${DISTDIR}"/tappin3a.patch
+ epatch "${DISTDIR}"/tappin3c.patch
+ epatch "${FILESDIR}"/${P}-64bit.patch
+ epatch "${FILESDIR}"/${P}-implicit-declarations.patch
+}
+
+src_compile() {
+ # We need the prototype on amd64 or basename defaults to returning int -
+ # causint segfault... bug #128378
+ sed -i -e "s/-DREDHAT50//" bplaysrc/Makefile
+
+ emake CFLAGS="${CFLAGS} -Wall -DTURBO_MEDIAN -DTURBO_BUFFER" \
+ CC="$(tc-getCC)" || die "emake failed."
+}
+
+src_install() {
+ dobin gramofile bplay_gramo brec_gramo
+ dodoc ChangeLog README TODO *.txt
+}