From 4e617ca439665b0a9261d0b3973118da8ce42748 Mon Sep 17 00:00:00 2001 From: Lars Weiler Date: Sat, 17 Jun 2006 20:51:47 +0000 Subject: [PATCH] Initial import; thanks to all contributors in bug #81290. Package-Manager: portage-2.1.1_pre1 --- app-cdr/dvdisaster/ChangeLog | 10 +++ app-cdr/dvdisaster/Manifest | 20 +++++ app-cdr/dvdisaster/dvdisaster-0.66.ebuild | 81 +++++++++++++++++++ .../dvdisaster/files/digest-dvdisaster-0.66 | 3 + app-cdr/dvdisaster/files/dvd-rom-0.66.patch | 11 +++ app-cdr/dvdisaster/metadata.xml | 8 ++ 6 files changed, 133 insertions(+) create mode 100644 app-cdr/dvdisaster/ChangeLog create mode 100644 app-cdr/dvdisaster/Manifest create mode 100644 app-cdr/dvdisaster/dvdisaster-0.66.ebuild create mode 100644 app-cdr/dvdisaster/files/digest-dvdisaster-0.66 create mode 100644 app-cdr/dvdisaster/files/dvd-rom-0.66.patch create mode 100644 app-cdr/dvdisaster/metadata.xml diff --git a/app-cdr/dvdisaster/ChangeLog b/app-cdr/dvdisaster/ChangeLog new file mode 100644 index 000000000000..e1cc987aee00 --- /dev/null +++ b/app-cdr/dvdisaster/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-cdr/dvdisaster +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/dvdisaster/ChangeLog,v 1.1 2006/06/17 20:51:47 pylon Exp $ + +*dvdisaster-0.66 (17 Jun 2006) + + 17 Jun 2006; Lars Weiler +files/dvd-rom-0.66.patch, + +metadata.xml, +dvdisaster-0.66.ebuild: + Initial import; thanks to all contributors in bug #81290. + diff --git a/app-cdr/dvdisaster/Manifest b/app-cdr/dvdisaster/Manifest new file mode 100644 index 000000000000..af31c0f100b0 --- /dev/null +++ b/app-cdr/dvdisaster/Manifest @@ -0,0 +1,20 @@ +AUX dvd-rom-0.66.patch 313 RMD160 689a1db9be6ae9db1b0d81754ac458c468aa1adc SHA1 1adfd52126ca2517061f1ba3456306f2b94202be SHA256 d85396d1c3450fa8f28427cdfc4f1e3c3607a9c9bbdfa55a28d8e9317f8a1e85 +MD5 fddabc8ae49f6c2887aa492f65356033 files/dvd-rom-0.66.patch 313 +RMD160 689a1db9be6ae9db1b0d81754ac458c468aa1adc files/dvd-rom-0.66.patch 313 +SHA256 d85396d1c3450fa8f28427cdfc4f1e3c3607a9c9bbdfa55a28d8e9317f8a1e85 files/dvd-rom-0.66.patch 313 +DIST dvdisaster-0.66.tar.bz2 1004886 RMD160 63d1e5b69e985794c22ab883b9b3b0d5d70c4d53 SHA1 5d72f5cad833acc0a346e7eefffbfe9caab0cd5e SHA256 3526c255120d6e273c0ee66c461b38f820b031270b117b62f35df5589620a3bb +EBUILD dvdisaster-0.66.ebuild 2209 RMD160 06a616df105c72f33d46afc691e7616135f3b70c SHA1 ca8b440e8d420558a1fcb3dbca122226497765f2 SHA256 cc0bf11da324c52865a800825b236f6d55d94f81d9f7bab411dea5115e4abdeb +MD5 f49891337b09af23bf14695a6af7a259 dvdisaster-0.66.ebuild 2209 +RMD160 06a616df105c72f33d46afc691e7616135f3b70c dvdisaster-0.66.ebuild 2209 +SHA256 cc0bf11da324c52865a800825b236f6d55d94f81d9f7bab411dea5115e4abdeb dvdisaster-0.66.ebuild 2209 +MISC ChangeLog 416 RMD160 356d9f66314735a39d59424082adb87b885b8d3d SHA1 960b01cdedb0e7b944fc497081336530ba226f12 SHA256 5b90069f9e6726cf8e722735305602b106db640bf791f06b6ff8141726c84701 +MD5 b41fa96136223ef70b5a2be20a967a5d ChangeLog 416 +RMD160 356d9f66314735a39d59424082adb87b885b8d3d ChangeLog 416 +SHA256 5b90069f9e6726cf8e722735305602b106db640bf791f06b6ff8141726c84701 ChangeLog 416 +MISC metadata.xml 227 RMD160 206c730a3be9fde1ae2c98cd70e6a6b2ee28e799 SHA1 296ea451814ebe994d7f78d90ac8221e0c8fded1 SHA256 79f9813a9c3d402b218c93c05af4fff6c87335240d334357476a6ef711a7114f +MD5 f6ae03147b33c97f5bb09d5de8690601 metadata.xml 227 +RMD160 206c730a3be9fde1ae2c98cd70e6a6b2ee28e799 metadata.xml 227 +SHA256 79f9813a9c3d402b218c93c05af4fff6c87335240d334357476a6ef711a7114f metadata.xml 227 +MD5 bb27ebc8abe2d6a88f76ed403c467490 files/digest-dvdisaster-0.66 253 +RMD160 335670b575ecd192b78b3a18a73f4064c9f5cbd8 files/digest-dvdisaster-0.66 253 +SHA256 da7a4cad4de6a309cebed781532b997a96693667f07266354e3d004800accb92 files/digest-dvdisaster-0.66 253 diff --git a/app-cdr/dvdisaster/dvdisaster-0.66.ebuild b/app-cdr/dvdisaster/dvdisaster-0.66.ebuild new file mode 100644 index 000000000000..ff1cdc23f204 --- /dev/null +++ b/app-cdr/dvdisaster/dvdisaster-0.66.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/dvdisaster/dvdisaster-0.66.ebuild,v 1.1 2006/06/17 20:51:47 pylon Exp $ + +inherit eutils gnome2 + +DESCRIPTION="Data-protection and recovery tool for DVDs" +HOMEPAGE="http://dvdisaster.berlios.de/" +SRC_URI="http://download.berlios.de/dvdisaster/${P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~x86" +SLOT="0" +IUSE_LINGUAS="linguas_cs linguas_de linguas_it" +IUSE="${IUSE_LINGUAS} gnome nls" + +DEPEND=">=x11-libs/gtk+-2.2 + dev-util/pkgconfig + nls? ( sys-devel/gettext )" +RDEPEND=">=x11-libs/gtk+-2.2 + nls? ( virtual/libintl )" + +src_unpack() { + unpack ${A} + cd "${S}" + # This patch lets dvdisaster work with DVD-ROM booktype discs + epatch ${FILESDIR}/dvd-rom-${PV}.patch || die "patch failed" +} + +src_compile() { + local myconf + # use_with won't work + if use nls ; then + myconf="${myconf} --with-nls=yes --localedir=/usr/share/locale" + else + myconf="${myconf} --with-nls=no" + fi + use debug && myconf="${myconf} --debug --with-memdebug=yes" + econf ${myconf} --docdir=/usr/share/doc || die "econf failed" + emake || die "emake failed" +} + +src_install() { + local docdir="${D}/usr/share/doc/${PF}" + local mandir="${D}/usr/share/man" + local localedir="${D}/usr/share/locale" + + make install \ + BINDIR=${D}/usr/bin \ + DOCSUBDIR=${docdir} \ + MANDIR=${mandir} \ + LOCALEDIR=${localedir} \ + || die "make install failed" + + insinto /usr/share/pixmaps + newins contrib/${PN}48.png ${PN}.png + for res in 16 32 48 64 ; do + insinto /usr/share/icons/hicolor/${res}x${res}/apps/ + newins contrib/${PN}${res}.png ${PN}.png + done + + sed -i -e "s:48::" ${S}/contrib/${PN}.desktop || die "sed failed" + insinto /usr/share/applications + doins contrib/${PN}.desktop + + # no sane way to disable unwanted LINGUAS at compile time + # there are no Italian docs, only manpage and localization for now + for lang in cs de it ; do + use linguas_${lang} || rm -rf ${docdir}/${lang} ${mandir}/${lang} ${localedir}/${lang} + use linguas_${lang} || rm -f ${docdir}/CREDITS.${lang} + done + rm -f ${D}/usr/bin/*.sh +} + +pkg_postinst() { + use gnome && gnome2_pkg_postinst +} + +pkg_postrm() { + use gnome && gnome2_pkg_postrm +} diff --git a/app-cdr/dvdisaster/files/digest-dvdisaster-0.66 b/app-cdr/dvdisaster/files/digest-dvdisaster-0.66 new file mode 100644 index 000000000000..379835defed5 --- /dev/null +++ b/app-cdr/dvdisaster/files/digest-dvdisaster-0.66 @@ -0,0 +1,3 @@ +MD5 0bae5ab6bad8c4613d1250609ed1fbab dvdisaster-0.66.tar.bz2 1004886 +RMD160 63d1e5b69e985794c22ab883b9b3b0d5d70c4d53 dvdisaster-0.66.tar.bz2 1004886 +SHA256 3526c255120d6e273c0ee66c461b38f820b031270b117b62f35df5589620a3bb dvdisaster-0.66.tar.bz2 1004886 diff --git a/app-cdr/dvdisaster/files/dvd-rom-0.66.patch b/app-cdr/dvdisaster/files/dvd-rom-0.66.patch new file mode 100644 index 000000000000..a1cb6a0adc56 --- /dev/null +++ b/app-cdr/dvdisaster/files/dvd-rom-0.66.patch @@ -0,0 +1,11 @@ +--- scsi-layer.c 2005-08-01 22:18:43.000000000 +0200 ++++ scsi-layer.c 2005-10-05 14:59:23.000000000 +0200 +@@ -929,7 +929,7 @@ + dh->typedescr = "DVD-ROM (faked book type)"; + else + { dh->typedescr = "DVD-ROM"; +- dh->subType = UNSUPPORTED; ++/* dh->subType = UNSUPPORTED; */ + } + break; + } diff --git a/app-cdr/dvdisaster/metadata.xml b/app-cdr/dvdisaster/metadata.xml new file mode 100644 index 000000000000..5f776a5642b5 --- /dev/null +++ b/app-cdr/dvdisaster/metadata.xml @@ -0,0 +1,8 @@ + + + +media-optical + + pylon@gentoo.org + + -- 2.26.2