From 9beb1dae6fb88dcb14299d811e38ffcdae8f6905 Mon Sep 17 00:00:00 2001 From: Lars Weiler Date: Tue, 10 Apr 2007 11:38:38 +0000 Subject: [PATCH] Adding Debian-Patches for newer cdrkit-version; bug #173942. Package-Manager: portage-2.1.2.3 --- app-cdr/xcdroast/ChangeLog | 8 ++- app-cdr/xcdroast/files/cdda2wav2icedax.patch | 12 ++++ .../files/digest-xcdroast-0.98_alpha15-r5 | 6 ++ .../xcdroast/files/mkisofs2genisoimage.patch | 12 ++++ .../xcdroast/xcdroast-0.98_alpha15-r5.ebuild | 62 +++++++++++++++++++ 5 files changed, 99 insertions(+), 1 deletion(-) create mode 100644 app-cdr/xcdroast/files/cdda2wav2icedax.patch create mode 100644 app-cdr/xcdroast/files/digest-xcdroast-0.98_alpha15-r5 create mode 100644 app-cdr/xcdroast/files/mkisofs2genisoimage.patch create mode 100644 app-cdr/xcdroast/xcdroast-0.98_alpha15-r5.ebuild diff --git a/app-cdr/xcdroast/ChangeLog b/app-cdr/xcdroast/ChangeLog index 8364467f1b60..212dd9fa299e 100644 --- a/app-cdr/xcdroast/ChangeLog +++ b/app-cdr/xcdroast/ChangeLog @@ -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 +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 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 index 000000000000..48fbd64258b1 --- /dev/null +++ b/app-cdr/xcdroast/files/cdda2wav2icedax.patch @@ -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 index 000000000000..83df78c8a710 --- /dev/null +++ b/app-cdr/xcdroast/files/digest-xcdroast-0.98_alpha15-r5 @@ -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 index 000000000000..7b9c10af7884 --- /dev/null +++ b/app-cdr/xcdroast/files/mkisofs2genisoimage.patch @@ -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 index 000000000000..f7edc523920d --- /dev/null +++ b/app-cdr/xcdroast/xcdroast-0.98_alpha15-r5.ebuild @@ -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" +} -- 2.26.2