head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.10 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.8 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.6 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.4 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.2 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.3.0.6 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.4 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.2 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.2.0.20 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.18 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.16 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.14 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.12 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.10 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.8 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.6 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.4 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.2 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.1.0.14 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.12 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.10 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.8 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.6 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.4 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.2; locks; strict; comment @# @; 1.4 date 2009.01.14.22.28.05; author jmcneill; state dead; branches; next 1.3; 1.3 date 2008.07.20.23.38.17; author dbj; state Exp; branches; next 1.2; 1.2 date 2006.01.23.22.09.26; author wiz; state dead; branches; next 1.1; 1.1 date 2004.06.21.16.14.14; author drochner; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2004.06.21.16.14.14; author agc; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2004.07.06.22.20.58; author agc; state Exp; branches; next ; desc @@ 1.4 log @Update to libdvdread 4.1.3. This is a fun one, as dvdread/dvdnav is now maintained by the mplayer project and according to the changelog, this dvdread package was split out from dvdnav in 4.1.3. Check the ChangeLog in the distfile for the full drama. libdvdread (4.1.3) * an embarassing amount of fixes regarding potential memory and resource leaks (patches contributed by Erik Hovland) * added dvdread-config (dvdnav-config's younger brother) * added pkgconfig support * split dvdread to a separate tree @ text @$NetBSD: patch-ac,v 1.3 2008/07/20 23:38:17 dbj Exp $ --- dvdread/dvd_input.c.orig 2005-09-19 06:43:08.000000000 -0700 +++ dvdread/dvd_input.c 2007-05-09 11:14:08.000000000 -0700 @@@@ -333,6 +333,10 @@@@ #else dvdcss_library = dlopen("libdvdcss.so.2", RTLD_LAZY); +#ifdef __APPLE__ + if (!dvdcss_library) + dvdcss_library = dlopen("libdvdcss.2.dylib", RTLD_LAZY); +#endif if(dvdcss_library != NULL) { #if defined(__OpenBSD__) && !defined(__ELF__) @ 1.3 log @add UDFFindFile to exported symbol set @ text @d1 1 a1 1 $NetBSD: $ @ 1.2 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2004/06/21 16:14:14 drochner Exp $ d3 13 a15 12 --- 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; @ 1.1 log @apply some minor fixes from libdvdread CVS @ text @d1 1 a1 1 $NetBSD$ @ 1.1.2.1 log @file patch-ac was added on branch pkgsrc-2004Q2 on 2004-06-21 16:14:14 +0000 @ text @d1 14 @ 1.1.2.2 log @Pullup ticket 41 to the pkgsrc-2004Q2 branch, requested by Matthias Drochner. Module Name: pkgsrc Committed By: drochner Date: Mon Jun 21 16:14:14 UTC 2004 Modified Files: pkgsrc/multimedia/libdvdread: distinfo pkgsrc/multimedia/libdvdread/patches: patch-ab Added Files: pkgsrc/multimedia/libdvdread/patches: patch-ac Log Message: apply some minor fixes from libdvdread CVS @ text @a0 14 $NetBSD: patch-ac,v 1.1.2.1 2004/07/06 22:20:58 agc 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; @