From 2ded84464a9d2534fd2f9e0d540331b5ab294c08 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 9 Apr 2004 06:22:46 +0000 Subject: cleanup and bump --- media-video/dvdbackup/ChangeLog | 12 ++++++-- media-video/dvdbackup/dvdbackup-0.1.1-r1.ebuild | 35 ++++++++++++++++++++++ media-video/dvdbackup/dvdbackup-0.1.1.ebuild | 24 --------------- media-video/dvdbackup/files/0.1.1-debian-FPE.patch | 11 +++++++ media-video/dvdbackup/files/digest-dvdbackup-0.1.1 | 1 - .../dvdbackup/files/digest-dvdbackup-0.1.1-r1 | 1 + 6 files changed, 56 insertions(+), 28 deletions(-) create mode 100644 media-video/dvdbackup/dvdbackup-0.1.1-r1.ebuild delete mode 100644 media-video/dvdbackup/dvdbackup-0.1.1.ebuild create mode 100644 media-video/dvdbackup/files/0.1.1-debian-FPE.patch delete mode 100644 media-video/dvdbackup/files/digest-dvdbackup-0.1.1 create mode 100644 media-video/dvdbackup/files/digest-dvdbackup-0.1.1-r1 (limited to 'media-video') diff --git a/media-video/dvdbackup/ChangeLog b/media-video/dvdbackup/ChangeLog index 9b40b6a6bcf2..b272246a9f61 100644 --- a/media-video/dvdbackup/ChangeLog +++ b/media-video/dvdbackup/ChangeLog @@ -1,12 +1,18 @@ # ChangeLog for media-video/dvdbackup # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/dvdbackup/ChangeLog,v 1.2 2003/12/29 21:20:40 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/dvdbackup/ChangeLog,v 1.3 2004/04/09 06:22:46 vapier Exp $ - 29 Dec 2003; Jason Wever dvdbackup-0.1.1.ebuild: - Added ~sparc to keywords. +*dvdbackup-0.1.1-r1 (09 Apr 2004) + + 09 Apr 2004; Mike Frysinger : + Add debian patch to fix floating point exception when there a dvd + only contains one title set. *dvdbackup-0.1.1 (24 Mar 2003) + 29 Dec 2003; Jason Wever dvdbackup-0.1.1.ebuild: + Added ~sparc to keywords. + 24 Mar 2003; dvdbackup-0.1.1.ebuild: Initial commit diff --git a/media-video/dvdbackup/dvdbackup-0.1.1-r1.ebuild b/media-video/dvdbackup/dvdbackup-0.1.1-r1.ebuild new file mode 100644 index 000000000000..1d152651867f --- /dev/null +++ b/media-video/dvdbackup/dvdbackup-0.1.1-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/dvdbackup/dvdbackup-0.1.1-r1.ebuild,v 1.1 2004/04/09 06:22:46 vapier Exp $ + +inherit gcc eutils + +DESCRIPTION="Backup content from DVD to hard disk" +HOMEPAGE="http://dvd-create.sourceforge.net/" +SRC_URI="http://dvd-create.sourceforge.net/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 sparc amd64" +IUSE="" + +DEPEND="media-libs/libdvdread" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-debian-FPE.patch +} + +src_compile() { + $(gcc-getCC) ${CFLAGS} -I/usr/include/dvdread \ + -ldvdread -o dvdbackup src/dvdbackup.c \ + || die "compile failed" +} + +src_install() { + dobin dvdbackup || die + dodoc README +} diff --git a/media-video/dvdbackup/dvdbackup-0.1.1.ebuild b/media-video/dvdbackup/dvdbackup-0.1.1.ebuild deleted file mode 100644 index 31e887f6de05..000000000000 --- a/media-video/dvdbackup/dvdbackup-0.1.1.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/dvdbackup/dvdbackup-0.1.1.ebuild,v 1.4 2004/03/05 05:24:10 jhuebel Exp $ - -DESCRIPTION="Backup content from DVD to hard disk" -HOMEPAGE="http://dvd-create.sourceforge.net/" -SRC_URI="http://dvd-create.sourceforge.net/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ~sparc amd64" -IUSE="" -DEPEND="media-libs/libdvdread" - -S=${WORKDIR}/${PN} - -src_compile() { - cd ${S} - gcc -o dvdbackup -I/usr/include/dvdread -ldvdread src/dvdbackup.c -} - -src_install() { - dobin dvdbackup - dodoc README -} diff --git a/media-video/dvdbackup/files/0.1.1-debian-FPE.patch b/media-video/dvdbackup/files/0.1.1-debian-FPE.patch new file mode 100644 index 000000000000..0f1b9a33a1ed --- /dev/null +++ b/media-video/dvdbackup/files/0.1.1-debian-FPE.patch @@ -0,0 +1,11 @@ +--- src/dvdbackup.c.orig 2002-08-05 02:08:39.000000000 -0400 ++++ src/dvdbackup.c 2004-04-09 02:17:35.382913520 -0400 +@@ -782,7 +782,7 @@ + to consider the second one a feature title we are doing two checks (biggest + biggest - second) /second == 1 + and biggest%second * 3 < biggest */ + +- if ( CheckSizeArray(size_size_array, 0, 1) == 1 ) { ++ if ( title_sets > 1 && CheckSizeArray(size_size_array, 0, 1) == 1 ) { + /* We have a dual DVD with two feature films - now lets see if they have the same amount of chapters*/ + + chapters_1 = 0; diff --git a/media-video/dvdbackup/files/digest-dvdbackup-0.1.1 b/media-video/dvdbackup/files/digest-dvdbackup-0.1.1 deleted file mode 100644 index caea4610d6a4..000000000000 --- a/media-video/dvdbackup/files/digest-dvdbackup-0.1.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 53a071d1def5ee49d702a4dd080d25ac dvdbackup-0.1.1.tar.gz 24806 diff --git a/media-video/dvdbackup/files/digest-dvdbackup-0.1.1-r1 b/media-video/dvdbackup/files/digest-dvdbackup-0.1.1-r1 new file mode 100644 index 000000000000..caea4610d6a4 --- /dev/null +++ b/media-video/dvdbackup/files/digest-dvdbackup-0.1.1-r1 @@ -0,0 +1 @@ +MD5 53a071d1def5ee49d702a4dd080d25ac dvdbackup-0.1.1.tar.gz 24806 -- cgit v1.2.3-65-gdbad