Commit graph

36 commits

Author SHA1 Message Date
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
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.
2009-03-20 19:23:50 +00:00
wiz
b4bd7be7f1 Fix build on DragonFlyBSD, using patch from Steve O'Hara-Smith on
pkgsrc-users.

No PKGREVISION bump because it shouldn't affect other platforms.
2009-02-23 11:09:27 +00:00
jmcneill
b24c974ebb 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
2009-01-14 22:28:05 +00:00
dbj
b737335fcc add UDFFindFile to exported symbol set 2008-07-20 23:38:17 +00:00
joerg
6e82078eef DESTDIR support. 2006-11-05 17:17:04 +00:00
drochner
4cfaa1468a update to 0.9.7
changes:
Removed an extra free in DVDClose that caused crashes if more than one
DVDClose was called
2006-10-17 16:41:10 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
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
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
drochner
c1d4fc3105 update to 0.9.6
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
2006-05-05 10:42:59 +00:00
wiz
8015c893cf Remove workaround for ifo_types.h header to automatically include
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.
2006-04-15 21:23:10 +00:00
joerg
b9f1f06f77 Also bump revision for the block2char changes on DragonFly and FreeBSD. 2006-04-12 17:49:07 +00:00
joerg
fdcf5fb76e Short-cut block2device on DragonFly and FreeBSD, it is not needed.
Slightly modified version of Steve O'Hara-Smith's patch on pkgsrc-users.
2006-04-12 17:19:36 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
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).
2006-04-06 06:21:32 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
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.
2006-03-04 21:28:51 +00:00
rillig
f7fd207271 Don't include <stdint.h> and <inttypes.h> unconditionally. For example,
Solaris 8 has only <inttypes.h>.
2006-02-17 15:39:21 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
xtraeme
012c393b96 Patch dvdread/ifo_types.h to include inttypes.h and stdint.h before
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-26 16:23:12 +00:00
wiz
e121baf6db 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.
2006-01-23 22:09:26 +00:00
drochner
4da461a600 add DragonFly support, from Joerg Sonnenberger per PR pkg/30314 2005-05-25 17:11:52 +00:00
drochner
962c75685c fix some memory allocation bugs, from libdvdread CVS, and two memory
leaks, reported by Xiaoyu Fang to the ogle-devel mailing list
bump PKGREVISION
2005-05-25 17:07:53 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tv
048017e043 Add bswap conditional for Interix. 2005-03-10 14:21:44 +00:00
agc
5ae9517d74 Add RMD160 digests. 2005-02-24 11:24:01 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
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.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
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".
2004-09-22 08:09:14 +00:00
drochner
6177902638 apply some minor fixes from libdvdread CVS 2004-06-21 16:14:14 +00:00
drochner
135e9c9d4a fix inverse logics in block->character dev conversion 2004-05-18 15:51:21 +00:00
wiz
fbfe7b33d5 Unused. 2004-04-24 22:30:16 +00:00
minskim
f480df5f11 Enable pkgviews installation. 2004-04-11 03:00:35 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
xtraeme
3f3e4601a4 bl3ify 2004-02-11 08:55:58 +00:00
recht
308356dcfe move libdvdread to the multimedia category (from misc) 2004-01-28 14:29:00 +00:00