Adding Debian-Patches for newer cdrkit-version; bug #173942.
authorLars Weiler <pylon@gentoo.org>
Tue, 10 Apr 2007 11:38:38 +0000 (11:38 +0000)
committerLars Weiler <pylon@gentoo.org>
Tue, 10 Apr 2007 11:38:38 +0000 (11:38 +0000)
Package-Manager: portage-2.1.2.3

app-cdr/xcdroast/ChangeLog
app-cdr/xcdroast/files/cdda2wav2icedax.patch [new file with mode: 0644]
app-cdr/xcdroast/files/digest-xcdroast-0.98_alpha15-r5 [new file with mode: 0644]
app-cdr/xcdroast/files/mkisofs2genisoimage.patch [new file with mode: 0644]
app-cdr/xcdroast/xcdroast-0.98_alpha15-r5.ebuild [new file with mode: 0644]

index 8364467f1b608fa970ab4597033efa881038b2e9..212dd9fa299e64938af06459c4a8ccb0a88f806d 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-cdr/xcdroast
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/xcdroast/ChangeLog,v 1.56 2007/01/24 02:35:01 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/xcdroast/ChangeLog,v 1.57 2007/04/10 11:38:38 pylon Exp $
+
+*xcdroast-0.98_alpha15-r5 (10 Apr 2007)
+
+  10 Apr 2007; Lars Weiler <pylon@gentoo.org> +files/cdda2wav2icedax.patch,
+  +files/mkisofs2genisoimage.patch, +xcdroast-0.98_alpha15-r5.ebuild:
+  Adding Debian-Patches for newer cdrkit-version; bug #173942.
 
   24 Jan 2007; Marius Mauch <genone@gentoo.org>
   xcdroast-0.98_alpha15-r3.ebuild:
diff --git a/app-cdr/xcdroast/files/cdda2wav2icedax.patch b/app-cdr/xcdroast/files/cdda2wav2icedax.patch
new file mode 100644 (file)
index 0000000..48fbd64
--- /dev/null
@@ -0,0 +1,12 @@
+--- xcdroast.h~        2007-04-08 20:58:40.254693596 +0200
++++ xcdroast.h 2007-04-08 20:58:40.254693596 +0200
+@@ -131,7 +131,7 @@
+ #define CDRECORDDVD_VERSION "2.01.01"
+ #define CDRECORD_VERSION_WITH_ONTHFLYAUDIO "2.01.01"
+ #define MKISOFS_VERSION "1.15a17"
+-#define CDDA2WAV_VERSION "1.11a34"
++#define CDDA2WAV_VERSION "1.1.0"
+ #define READCD_VERSION "1.11a34"
+ /* group to use for non-root-mode */
+
diff --git a/app-cdr/xcdroast/files/digest-xcdroast-0.98_alpha15-r5 b/app-cdr/xcdroast/files/digest-xcdroast-0.98_alpha15-r5
new file mode 100644 (file)
index 0000000..83df78c
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 8ad7858aa96d29466b74b093ee82149b xcdroast-0.98_alpha15_new_configure.tar.gz 82301
+RMD160 125c5a48462bac3515c93f7e9f6e428cb901d80c xcdroast-0.98_alpha15_new_configure.tar.gz 82301
+SHA256 0e33617f9315482dd95e1228e27461e45bea4516abaebfb5b6449aedaec9de90 xcdroast-0.98_alpha15_new_configure.tar.gz 82301
+MD5 2a9c1d9f2ef58713c453e674b989be3e xcdroast-0.98alpha15.tar.gz 3282794
+RMD160 9198f67659023ce8f508fa2c331df9d9c8b81a8f xcdroast-0.98alpha15.tar.gz 3282794
+SHA256 40be77142b23fa62265a23e473bd3af43df6ab01332ea991a5ef3069530b28d8 xcdroast-0.98alpha15.tar.gz 3282794
diff --git a/app-cdr/xcdroast/files/mkisofs2genisoimage.patch b/app-cdr/xcdroast/files/mkisofs2genisoimage.patch
new file mode 100644 (file)
index 0000000..7b9c10a
--- /dev/null
@@ -0,0 +1,12 @@
+--- io.c.old   2007-04-08 20:52:37.338058804 +0200
++++ io.c       2007-04-08 20:53:11.997771247 +0200
+@@ -10031,7 +10031,7 @@
+       strcpy(ver,"");
+       get_wrap_path("MKISOFS",line);
+-      strcat(line," -version 2>/dev/null");
++      strcat(line," -version 2>/dev/null | head -n 1");
+       dodebug(1, "calling: %s\n", line);
+         if ((fpin = popen(line,"r")) == NULL) {
+
diff --git a/app-cdr/xcdroast/xcdroast-0.98_alpha15-r5.ebuild b/app-cdr/xcdroast/xcdroast-0.98_alpha15-r5.ebuild
new file mode 100644 (file)
index 0000000..f7edc52
--- /dev/null
@@ -0,0 +1,62 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/xcdroast/xcdroast-0.98_alpha15-r5.ebuild,v 1.1 2007/04/10 11:38:38 pylon Exp $
+
+inherit eutils
+
+S=${WORKDIR}/${P/_/}
+DESCRIPTION="Old-school menu based front-end for CD and DVD writing"
+HOMEPAGE="http://www.xcdroast.org/"
+SRC_URI="mirror://sourceforge/xcdroast/${P/_/}.tar.gz
+       mirror://gentoo/${P}_new_configure.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="nls"
+
+DEPEND=">=x11-libs/gtk+-2.0.3
+       dev-util/pkgconfig"
+
+RDEPEND="virtual/cdrtools"
+
+src_unpack() {
+       unpack ${P/_/}.tar.gz
+       cd ${S}
+       unpack ${P}_new_configure.tar.gz
+
+       cd ${S}/src
+       epatch ${FILESDIR}/gtk2locale.patch
+       epatch ${FILESDIR}/modern_cdrtools.patch
+       epatch ${FILESDIR}/cdrecord_versions.patch
+       epatch ${FILESDIR}/cdrecord2wodim.patch
+       epatch ${FILESDIR}/cdda2wav2icedax.patch
+       epatch ${FILESDIR}/mkisofs2genisoimage.patch
+       use amd64 && epatch ${FILESDIR}/64bit_gsize.patch
+}
+
+src_compile() {
+       econf \
+               $(use_enable nls) \
+               --enable-gtk2 \
+               --disable-dependency-tracking || die
+
+       make PREFIX=/usr || die
+}
+
+src_install() {
+       make PREFIX=/usr DESTDIR=${D} install || die
+
+       cd ${S}/doc
+       dodoc DOCUMENTATION FAQ README* TRANSLATION.HOWTO
+
+       # move man pages to /usr/share/man to be LFH compliant
+       mv ${D}/usr/man ${D}/usr/share
+
+       # remove extraneous directory
+       rm ${D}/usr/etc -rf
+
+       insinto /usr/share/icons/hicolor/48x48/apps
+       newins ${S}/xpms/xcdricon.xpm xcdroast.xpm
+
+       make_desktop_entry xcdroast "X-CD-Roast" xcdroast "AudioVideo;DiscBurning"
+}