This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
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
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
zlib
fontconfig
iconv
zlib
freetype2
expat
freetype2
Xrender
renderproto
changes:
Dragonfly define
Don't add a prefix to device names on Dragonfly and FreeBSD anymore
Fixed a missing attribute packed for app_info in audio_attr_t
Added DVDFileStat() call
stdint.h or inttypes.h.
1. it is broken
2. the applications should be fixed instead, as the library authors
intended when they changed the behaviour.
Bump PKGREVISION.
RECOMMENDED is removed. It becomes ABI_DEPENDS.
BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
BUILDLINK_DEPENDS does not change.
IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".
Added to obsolete.mk checking for IGNORE_RECOMMENDED.
I did not manually go through and fix any aesthetic tab/spacing issues.
I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.
I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.
As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.
As discussed on tech-pkg.
I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
Note that if you use wip, it will fail! I will commit to pkgsrc-wip
later (within day).
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
checking for UINT{8,16,32}_MAX. It's better to take this way, otherwise
we'd have to patch all dependent packages requiring libdvdread.
Bump PKGREVISION.
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.
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:
lib/libfoo.a
lib/libfoo.la
lib/libfoo.so
lib/libfoo.so.0
lib/libfoo.so.0.1
one simply needs:
lib/libfoo.la
and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.
Also make LIBTOOLIZE_PLIST default to "yes".