summaryrefslogtreecommitdiff
path: root/multimedia/libdvdread
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-01-23 22:09:26 +0000
committerwiz <wiz@pkgsrc.org>2006-01-23 22:09:26 +0000
commite121baf6dbcc9f6dfc53db8eb6fbc65a1ff3a06f (patch)
tree7fca4e9b46bb8aa8cab6a53e0a514fcae10a3400 /multimedia/libdvdread
parent56b45448d4dbd46a869c82edc9a094de6161073c (diff)
downloadpkgsrc-e121baf6dbcc9f6dfc53db8eb6fbc65a1ff3a06f.tar.gz
Update to 0.9.5:
2006-01-22 22:54 bjorn * libdvdread.spec: updated to 0.9.5 2006-01-22 16:45 bjorn * configure.in, dvdread/Makefile.am, dvdread/dvd_reader.c, dvdread/dvd_reader.h: updated to version 0.9.5 updated version-info to 4.0.1 added function int DVDVersion(void) 2006-01-22 13:19 bjorn * dvdread/ifo_read.c: only allocate if there is anything to put in there 2006-01-18 19:32 bjorn * dvdread/dvd_reader.c: _DARWIN_ _is_ defined, reverting last patch 2006-01-13 17:49 bjorn * dvdread/dvd_reader.c: added __APPLE__ because __DARWIN__ is apparently not define anymore in Apple Darwin 7-8 2005-09-19 16:14 bjorn * dvdread/bswap.h: DragonFly patch from Joerg Sonnenberger 2005-09-19 15:44 bjorn * dvdread/ifo_read.c: added missing { } 2005-09-19 15:43 bjorn * dvdread/: dvd_input.c, dvd_udf.c: fixed warnings 2005-09-19 14:57 bjorn * dvdread/dvd_reader.c: it's good to return the value from the function too 2005-09-18 20:02 bjorn * dvdread/: bswap.h, dvd_reader.c, dvd_reader.h, ifo_types.h: slighlty modified patches for BeOS from Eric Petit 2005-09-15 18:54 bjorn * dvdread/ifo_print.c: c_adt_t should be cell_adr_t, fixes too short listing of cell address table 2005-09-15 14:11 bjorn * dvdread/ifo_read.c: don't use ifofile->file when it's NULL 2005-09-15 14:08 bjorn * dvdread/dvd_reader.c: missing { } 2005-09-15 14:03 bjorn * dvdread/dvd_reader.c: missing { } 2005-09-12 21:42 bjorn * dvdread/: dvd_input.c, dvd_reader.c, dvd_udf.c, dvdread_internal.h, ifo_print.c, ifo_read.c: only print error messages if verbose level is high enough verbose level -1: never print error messages 0: default, only internal errors, or misconfigurations. 1: normal errors, file not found, etc 2005-09-09 02:41 bjorn * src/: disc_id.c, ifo_dump.c, play_title.c, title_info.c: DVDFree() renamed to DVDFinish() 2005-09-09 02:39 bjorn * dvdread/: dvd_input.c, dvd_reader.c, dvd_reader.h, dvd_udf.c, dvd_udf.h: Support for multithreading apps Added DVDInit(), Renamed DVDFree() to DVDFinish() Better error reporting 2005-09-07 03:35 bjorn * dvdread/: dvd_reader.c, dvd_udf.c: Fixed some potential memory leaks. Removed some error messages. Set errno to report errors better. Check that we can find a root dir on the udf image otherwise fail openudf and fallback to openpath. 2005-09-06 21:23 bjorn * dvdread/bswap.h, dvdread/dvd_input.c, dvdread/dvd_input.h, dvdread/dvd_reader.c, dvdread/dvd_reader.h, dvdread/dvd_udf.c, dvdread/dvd_udf.h, dvdread/dvdread_internal.h, dvdread/ifo_print.c, dvdread/ifo_print.h, dvdread/ifo_read.c, dvdread/ifo_read.h, dvdread/ifo_types.h, dvdread/md5.c, dvdread/md5.h, dvdread/nav_print.c, dvdread/nav_print.h, dvdread/nav_read.c, dvdread/nav_read.h, dvdread/nav_types.h, src/ifo_dump.c, src/play_title.c, src/title_info.c: indentation cleanup only 2005-09-06 01:53 bjorn * dvdread/dvd_udf.c: align buffers used to read sectors to 2048 bytes 2005-09-06 00:03 bjorn * dvdread/: dvd_reader.c, dvd_reader.h: align all buffers used to read from the dvd to 2048 bytes. 2005-09-06 00:01 bjorn * dvdread/dvd_input.c: if environment variable DVDREAD_USE_DIRECT is set, files/devices will be opened with the O_DIRECT flag (in linux and systems that define O_DIRECT). This is only in effect when libdvdread is _not_ using libdvdcss. When using O_DIRECT, reads must be done to buffers aligned to device block sizes (or 512 bytes on linux 2.6). All internal reads from libdvdread are done to 2048 bytes aligned buffers. 2005-09-05 23:46 bjorn * configure.in: add check for uintptr_t typo fix, remove deprecated flag for gcc 2005-08-31 04:02 bjorn * configure.in: rename to -includes and -libs 2005-08-31 03:51 bjorn * configure.in: added --with-libdvdcss-include and -lib to handle the case when the include and lib dir are not in the same prefix or the are named differently, like lib64 instead of lib 2005-08-30 17:51 bjorn * src/: disc_id.c, play_title.c, title_info.c: added DVDFree() to be able to check memory leaks 2005-08-30 17:44 bjorn * dvdread/dvd_reader.c: fail DVDDiscID if no ifo files are found 2005-08-30 17:01 bjorn * src/ifo_dump.c: added close/free to keep memory checker from complaining 2005-08-30 16:55 bjorn * dvdread/: dvd_udf.c, ifo_read.c: fixed some memory leaks, code cleanup 2005-08-30 16:54 bjorn * dvdread/: dvd_input.c, dvd_input.h, dvd_reader.c, dvd_reader.h: added DVDFree(void) that dlcloses the dlopened libs 2004-10-21 12:53 bjorn * dvdread/ifo_print.c: add specific printf for no fp pgc 2004-10-20 22:35 bjorn * dvdread/ifo_print.c: don't try to print a PGC that doesn't exist 2004-09-19 21:21 hjort * dvdread/ifo_read.c: Use correct (PGCI_SRP_SIZE) define for the PGCI parse loop. 2004-09-19 21:19 hjort * dvdread/dvd_input.c: Actually malloc the size of the struct and not just a pointers worth of space. 2004-08-17 20:46 bjorn * dvdread/ifo_print.c: fixed printing of drc/quantization and code_extension 2004-04-16 00:33 hjort * dvdread/ifo_types.h: Correct PGC still_time parsing, was swapped with pg_playback_mode. 2004-04-04 22:41 hjort * dvdread/ifo_read.c: Make libdvdread try the BUP version if anything fails for the IFO. Patch from Keith Lyon. 2004-04-04 22:02 hjort * dvdread/: dvd_input.c, ifo_read.c, ifo_types.h: Make constants unsigned. Change command tbl zero_1 to last_byte. Update reading of command tbl to handle last_byte. 2003-11-04 15:12 hjort * dvdread/ifo_types.h: Correct location of ATTRIBUTE_PACKED. 2003-08-05 14:44 hjort * dvdread/dvd_reader.c: Correct return code for DVDISOVolumeInfo. 2003-07-13 22:16 hjort * dvdread/dvd_reader.c: Bug fix for BSD device mangling. 2003-07-05 20:30 hjort * acinclude.m4, configure.in, dvdread/dvd_input.c, dvdread/dvd_reader.c, dvdread/dvd_udf.c: More WIN32 fixes. 2003-06-22 18:27 hjort * TODO, dvdread/dvd_reader.c, dvdread/ifo_types.h, dvdread/nav_types.h, src/disc_id.c, src/ifo_dump.c, src/play_title.c, src/title_info.c: Enable use of either stdint.h or inttypes.h 2003-06-22 18:26 hjort * configure.in: Add a define of ssize_t for *win systems. 2003-06-18 15:35 hjort * dvdread/bswap.h: Add WIN32. 2003-06-18 15:00 hjort * dvdread/: dvd_udf.c, dvd_udf.h, ifo_print.c, ifo_read.c, nav_print.c, nav_read.c: Guard and include inttypes.h and stdint.h. 2003-05-30 00:05 hjort * dvdread/: Makefile.am, ifo_print.c, nav_print.c: Make use of the DVD command pretty printer. 2003-05-29 23:54 hjort * dvdread/ifo_read.c: Handle VTS_TMAPT as optional. 2003-04-28 19:52 hjort * dvdread/dvd_reader.c: Fix wrong function declaration for DVDFileSeek, bug from Diego Biurrun & Co. 2003-03-24 17:07 hjort * configure.in: Improve the testing for libdvdcss. 2003-03-13 16:33 hjort * dvdread/bswap.h: Fix FreeBSD pre 5.0 2003-02-22 22:42 hjort * configure.in: Version 0.9.4.
Diffstat (limited to 'multimedia/libdvdread')
-rw-r--r--multimedia/libdvdread/Makefile7
-rw-r--r--multimedia/libdvdread/PLIST3
-rw-r--r--multimedia/libdvdread/distinfo14
-rw-r--r--multimedia/libdvdread/patches/patch-aa40
-rw-r--r--multimedia/libdvdread/patches/patch-ab37
-rw-r--r--multimedia/libdvdread/patches/patch-ac14
-rw-r--r--multimedia/libdvdread/patches/patch-ad22
-rw-r--r--multimedia/libdvdread/patches/patch-ae35
8 files changed, 15 insertions, 157 deletions
diff --git a/multimedia/libdvdread/Makefile b/multimedia/libdvdread/Makefile
index 2b21567b094..560cd2a51c0 100644
--- a/multimedia/libdvdread/Makefile
+++ b/multimedia/libdvdread/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2005/05/25 17:07:53 drochner Exp $
+# $NetBSD: Makefile,v 1.9 2006/01/23 22:09:26 wiz Exp $
-DISTNAME= libdvdread-0.9.4
-PKGREVISION= 2
+DISTNAME= libdvdread-0.9.5
CATEGORIES= multimedia
MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/
@@ -15,6 +14,6 @@ GNU_CONFIGURE= yes
USE_TOOLS+= gmake
USE_LIBTOOL= yes
-MESSAGE_SUBST+= PKGBASE=${PKGBASE}
+MESSAGE_SUBST+= PKGBASE=${PKGBASE:Q}
.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/libdvdread/PLIST b/multimedia/libdvdread/PLIST
index 3d304cfe43a..8d545d943f1 100644
--- a/multimedia/libdvdread/PLIST
+++ b/multimedia/libdvdread/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2004/09/22 08:09:45 jlam Exp $
+@comment $NetBSD: PLIST,v 1.3 2006/01/23 22:09:26 wiz Exp $
+include/dvdread/cmd_print.h
include/dvdread/dvd_reader.h
include/dvdread/ifo_print.h
include/dvdread/ifo_read.h
diff --git a/multimedia/libdvdread/distinfo b/multimedia/libdvdread/distinfo
index 6e5a3c874eb..3a9599f1516 100644
--- a/multimedia/libdvdread/distinfo
+++ b/multimedia/libdvdread/distinfo
@@ -1,10 +1,6 @@
-$NetBSD: distinfo,v 1.7 2005/05/25 17:11:52 drochner Exp $
+$NetBSD: distinfo,v 1.8 2006/01/23 22:09:26 wiz Exp $
-SHA1 (libdvdread-0.9.4.tar.gz) = a4b626e49ba8bd33857693c3abe8b34196bc3360
-RMD160 (libdvdread-0.9.4.tar.gz) = 9f7f82e14fb5d458686e5cb2e5f364bad19dd08e
-Size (libdvdread-0.9.4.tar.gz) = 256858 bytes
-SHA1 (patch-aa) = 2b5a308a24e2ba17109f8c4978d0a972864d2a72
-SHA1 (patch-ab) = 52416442f5988b28c109d623d2ac4ee61a802db2
-SHA1 (patch-ac) = 971dc8802bf8f815821e8ad5f279a5148fcf26f7
-SHA1 (patch-ad) = f6d44ffc3434e79499a807daa8daa7f22eba54ab
-SHA1 (patch-ae) = 99d296d4c1c49f1ff4747109dfc8b3d07647ffc4
+SHA1 (libdvdread-0.9.5.tar.gz) = 7f10287953edb6f00667e12fee3a8b101be9f1cd
+RMD160 (libdvdread-0.9.5.tar.gz) = a558dad42487fb39771c89862075bc29c2d054ca
+Size (libdvdread-0.9.5.tar.gz) = 381006 bytes
+SHA1 (patch-ab) = 9aef0b8418a947df46ee66439bed4690a6b3633d
diff --git a/multimedia/libdvdread/patches/patch-aa b/multimedia/libdvdread/patches/patch-aa
deleted file mode 100644
index 8bd878a28fc..00000000000
--- a/multimedia/libdvdread/patches/patch-aa
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2005/05/25 17:11:52 drochner Exp $
-
---- dvdread/bswap.h.orig 2002-12-15 01:09:12.000000000 +0100
-+++ dvdread/bswap.h
-@@ -53,19 +53,33 @@
- #define B2N_32(x) x = swap32(x)
- #define B2N_64(x) x = swap64(x)
-
--#elif defined(__FreeBSD__) && __FreeBSD_version >= 470000
-+#elif defined(__DragonFly__)
- #include <sys/endian.h>
- #define B2N_16(x) x = be16toh(x)
- #define B2N_32(x) x = be32toh(x)
- #define B2N_64(x) x = be64toh(x)
-
-+#elif defined(__FreeBSD__) && __FreeBSD_version >= 470000
-+#include <sys/endian.h>
-+#define B2N_16(x) x = be16toh(x)
-+#define B2N_32(x) x = be32toh(x)
-+#define B2N_64(x) x = \
-+ ((((x) & 0xff00000000000000) >> 56) | \
-+ (((x) & 0x00ff000000000000) >> 40) | \
-+ (((x) & 0x0000ff0000000000) >> 24) | \
-+ (((x) & 0x000000ff00000000) >> 8) | \
-+ (((x) & 0x00000000ff000000) << 8) | \
-+ (((x) & 0x0000000000ff0000) << 24) | \
-+ (((x) & 0x000000000000ff00) << 40) | \
-+ (((x) & 0x00000000000000ff) << 56))
-+
- /* This is a slow but portable implementation, it has multiple evaluation
- * problems so beware.
- * Old FreeBSD's and Solaris don't have <byteswap.h> or any other such
- * functionality!
- */
-
--#elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__)
-+#elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__) || defined(__INTERIX)
- #define B2N_16(x) \
- x = ((((x) & 0xff00) >> 8) | \
- (((x) & 0x00ff) << 8))
diff --git a/multimedia/libdvdread/patches/patch-ab b/multimedia/libdvdread/patches/patch-ab
index 25305c071f0..c0eb90bc6b3 100644
--- a/multimedia/libdvdread/patches/patch-ab
+++ b/multimedia/libdvdread/patches/patch-ab
@@ -1,40 +1,13 @@
-$NetBSD: patch-ab,v 1.3 2005/05/25 17:11:52 drochner Exp $
+$NetBSD: patch-ab,v 1.4 2006/01/23 22:09:26 wiz Exp $
---- dvdread/dvd_reader.c.orig 2003-02-13 23:31:21.000000000 +0100
+--- dvdread/dvd_reader.c.orig 2006-01-22 16:45:29.000000000 +0100
+++ dvdread/dvd_reader.c
-@@ -32,7 +32,7 @@
+@@ -33,7 +33,7 @@
#include <limits.h>
#include <dirent.h>
--#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__bsdi__)|| defined(__DARWIN__)
-+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__bsdi__)|| defined(__DARWIN__) || defined(__DragonFly__)
+-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__bsdi__) || defined(__DARWIN__)
++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__bsdi__) || defined(__DARWIN__) || defined(__DragonFly__)
#define SYS_BSD 1
#endif
-@@ -282,7 +282,7 @@ static char *bsd_block2char( const char
- char *new_path;
-
- /* If it doesn't start with "/dev/" or does start with "/dev/r" exit */
-- if( !strncmp( path, "/dev/", 5 ) || strncmp( path, "/dev/r", 6 ) )
-+ if( strncmp( path, "/dev/", 5 ) || !strncmp( path, "/dev/r", 6 ) )
- return (char *) strdup( path );
-
- /* Replace "/dev/" with "/dev/r" */
-@@ -915,7 +915,7 @@ ssize_t DVDReadBlocks( dvd_file_t *dvd_f
- return (ssize_t)ret;
- }
-
--int32_t DVDFileSeek( dvd_file_t *dvd_file, int32_t offset )
-+int32_t DVDFileSeek( dvd_file_t *dvd_file, int offset )
- {
- /* Check arguments. */
- if( dvd_file == NULL || offset < 0 )
-@@ -1033,7 +1033,7 @@ int DVDISOVolumeInfo( dvd_reader_t *dvd,
-
- /* Check arguments. */
- if( dvd == NULL )
-- return 0;
-+ return -1;
-
- if( dvd->dev == NULL ) {
- /* No block access, so no ISO... */
diff --git a/multimedia/libdvdread/patches/patch-ac b/multimedia/libdvdread/patches/patch-ac
deleted file mode 100644
index ebad152a7d3..00000000000
--- a/multimedia/libdvdread/patches/patch-ac
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2004/06/21 16:14:14 drochner Exp $
-
---- dvdread/ifo_types.h.orig 2004-05-19 21:26:26.000000000 +0200
-+++ dvdread/ifo_types.h
-@@ -407,8 +407,8 @@ typedef struct {
- uint16_t next_pgc_nr;
- uint16_t prev_pgc_nr;
- uint16_t goup_pgc_nr;
-- uint8_t still_time;
- uint8_t pg_playback_mode;
-+ uint8_t still_time;
- uint32_t palette[16]; /* New type struct {zero_1, Y, Cr, Cb} ? */
- uint16_t command_tbl_offset;
- uint16_t program_map_offset;
diff --git a/multimedia/libdvdread/patches/patch-ad b/multimedia/libdvdread/patches/patch-ad
deleted file mode 100644
index 8df79b44a7a..00000000000
--- a/multimedia/libdvdread/patches/patch-ad
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2005/05/25 17:07:53 drochner Exp $
-
---- dvdread/dvd_input.c.orig 2005-05-24 18:41:21.000000000 +0200
-+++ dvdread/dvd_input.c
-@@ -74,7 +74,7 @@ static dvd_input_t css_open(const char *
- dvd_input_t dev;
-
- /* Allocate the handle structure */
-- dev = (dvd_input_t) malloc(sizeof(dvd_input_t));
-+ dev = (dvd_input_t) malloc(sizeof(struct dvd_input_s));
- if(dev == NULL) {
- fprintf(stderr, "libdvdread: Could not allocate memory.\n");
- return NULL;
-@@ -154,7 +154,7 @@ static dvd_input_t file_open(const char
- dvd_input_t dev;
-
- /* Allocate the library structure */
-- dev = (dvd_input_t) malloc(sizeof(dvd_input_t));
-+ dev = (dvd_input_t) malloc(sizeof(struct dvd_input_s));
- if(dev == NULL) {
- fprintf(stderr, "libdvdread: Could not allocate memory.\n");
- return NULL;
diff --git a/multimedia/libdvdread/patches/patch-ae b/multimedia/libdvdread/patches/patch-ae
deleted file mode 100644
index 877fd234335..00000000000
--- a/multimedia/libdvdread/patches/patch-ae
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2005/05/25 17:07:53 drochner Exp $
-
---- dvdread/ifo_read.c.orig 2003-01-17 21:49:16.000000000 +0100
-+++ dvdread/ifo_read.c
-@@ -257,6 +257,7 @@ void ifoClose(ifo_handle_t *ifofile) {
- ifoFree_FP_PGC(ifofile);
- ifoFree_PGCIT(ifofile);
- ifoFree_VTS_PTT_SRPT(ifofile);
-+ ifoFree_VTS_TMAPT(ifofile);
-
- if(ifofile->vmgi_mat)
- free(ifofile->vmgi_mat);
-@@ -1624,8 +1625,8 @@ static int ifoRead_PGCIT_internal(ifo_ha
- }
- ptr = data;
- for(i = 0; i < pgcit->nr_of_pgci_srp; i++) {
-- memcpy(&pgcit->pgci_srp[i], ptr, PGCI_LU_SIZE);
-- ptr += PGCI_LU_SIZE;
-+ memcpy(&pgcit->pgci_srp[i], ptr, PGCI_SRP_SIZE);
-+ ptr += PGCI_SRP_SIZE;
- B2N_16(pgcit->pgci_srp[i].ptl_id_mask);
- B2N_32(pgcit->pgci_srp[i].pgc_start_byte);
- CHECK_VALUE(pgcit->pgci_srp[i].unknown1 == 0);
-@@ -1663,8 +1664,10 @@ static int ifoRead_PGCIT_internal(ifo_ha
- static void ifoFree_PGCIT_internal(pgcit_t *pgcit) {
- if(pgcit) {
- int i;
-- for(i = 0; i < pgcit->nr_of_pgci_srp; i++)
-+ for(i = 0; i < pgcit->nr_of_pgci_srp; i++) {
- ifoFree_PGC(pgcit->pgci_srp[i].pgc);
-+ free(pgcit->pgci_srp[i].pgc);
-+ }
- free(pgcit->pgci_srp);
- }
- }