summaryrefslogtreecommitdiff
path: root/multimedia/dvdbackup
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2013-04-01 20:37:50 +0000
committeradam <adam@pkgsrc.org>2013-04-01 20:37:50 +0000
commitc3bc041b5136a9852ea3f7dae4d997cd507138cb (patch)
treee754ff8c3f30a37640d4a76534ff290ed76f9e74 /multimedia/dvdbackup
parent0aebf9b10057e78974736d97116f533c03d8a9af (diff)
downloadpkgsrc-c3bc041b5136a9852ea3f7dae4d997cd507138cb.tar.gz
Changes 0.4.2:
New Features: * Added new command line option -p, --progress: Print progress report while copying from the DVD; thanks to flipflip for the patch. * Added new translations from Launchpad: Danish (da), English (United Kingdom) (en_GB), Estonian (et), Portuguese (pt), Slovak (sk), Turkish (tr) * New complete translation: English (United Kingdom) (en_GB), French (fr), Italian (it), Slovak (sk) Changes: * Convert DVD title to lower case, but let every word in the title start with an upper case letter and replace underscores with spaces. Bug fixes: * Print the correct vob file name in which the read error happens. * Fix DVD title detection on FreeBSD. * Fix copying of fragmented chapters.
Diffstat (limited to 'multimedia/dvdbackup')
-rw-r--r--multimedia/dvdbackup/Makefile7
-rw-r--r--multimedia/dvdbackup/distinfo9
-rw-r--r--multimedia/dvdbackup/patches/patch-src_dvdbackup.c44
3 files changed, 7 insertions, 53 deletions
diff --git a/multimedia/dvdbackup/Makefile b/multimedia/dvdbackup/Makefile
index 7b4bc389c50..b34d76ba88e 100644
--- a/multimedia/dvdbackup/Makefile
+++ b/multimedia/dvdbackup/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.9 2012/10/08 09:20:59 asau Exp $
+# $NetBSD: Makefile,v 1.10 2013/04/01 20:37:50 adam Exp $
-DISTNAME= dvdbackup-0.4.1
-PKGREVISION= 1
+DISTNAME= dvdbackup-0.4.2
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dvdbackup/}
-EXTRACT_SUFX= .tar.bz2
+EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://dvdbackup.sourceforge.net/
diff --git a/multimedia/dvdbackup/distinfo b/multimedia/dvdbackup/distinfo
index 8eb53a255bc..92e59c668a0 100644
--- a/multimedia/dvdbackup/distinfo
+++ b/multimedia/dvdbackup/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.4 2012/01/29 02:48:30 jakllsch Exp $
+$NetBSD: distinfo,v 1.5 2013/04/01 20:37:50 adam Exp $
-SHA1 (dvdbackup-0.4.1.tar.bz2) = d40b738917cac62a46405f6566a66359504f9a73
-RMD160 (dvdbackup-0.4.1.tar.bz2) = a302bbdf6cb3b169784c326e095b1345e5f56538
-Size (dvdbackup-0.4.1.tar.bz2) = 188496 bytes
-SHA1 (patch-src_dvdbackup.c) = f270dd1fdbc33dedbe7b5236fc3e4ffe5db942b7
+SHA1 (dvdbackup-0.4.2.tar.xz) = cf10f2e2d1d8df23ecda96e867b9a39ce6b6f884
+RMD160 (dvdbackup-0.4.2.tar.xz) = f329083761672932b38e61c0343935199e08b067
+Size (dvdbackup-0.4.2.tar.xz) = 178660 bytes
diff --git a/multimedia/dvdbackup/patches/patch-src_dvdbackup.c b/multimedia/dvdbackup/patches/patch-src_dvdbackup.c
deleted file mode 100644
index 97a7a523eae..00000000000
--- a/multimedia/dvdbackup/patches/patch-src_dvdbackup.c
+++ /dev/null
@@ -1,44 +0,0 @@
-$NetBSD: patch-src_dvdbackup.c,v 1.1 2012/01/29 02:48:30 jakllsch Exp $
-
---- src/dvdbackup.c.orig 2009-06-08 22:25:29.000000000 +0000
-+++ src/dvdbackup.c
-@@ -1254,6 +1254,13 @@ int DVDGetTitleName(const char *device,
- /* Variables for filehandel and title string interaction */
-
- int filehandle, i, last;
-+ unsigned char *buf;
-+
-+ buf = malloc(DVD_VIDEO_LB_LEN);
-+ if (buf == NULL) {
-+ fprintf(stderr, _("Cannot read title from DVD device %s\n"), device);
-+ return(1);
-+ }
-
- /* Open DVD device */
-
-@@ -1264,7 +1271,7 @@ int DVDGetTitleName(const char *device,
-
- /* Seek to title of first track, which is at (track_no * 32768) + 40 */
-
-- if ( 32808 != lseek(filehandle, 32808, SEEK_SET) ) {
-+ if ( 32768 != lseek(filehandle, 32768, SEEK_SET) ) {
- close(filehandle);
- fprintf(stderr, _("Cannot seek DVD device %s - check your DVD device\n"), device);
- return(1);
-@@ -1272,12 +1279,15 @@ int DVDGetTitleName(const char *device,
-
- /* Read the DVD-Video title */
-
-- if ( 32 != read(filehandle, title, 32)) {
-+ if ( DVD_VIDEO_LB_LEN != read(filehandle, buf, DVD_VIDEO_LB_LEN)) {
- close(filehandle);
- fprintf(stderr, _("Cannot read title from DVD device %s\n"), device);
- return(1);
- }
-
-+ memcpy(title, &buf[40], 32);
-+ free(buf);
-+
- /* Terminate the title string */
-
- title[32] = '\0';