Commit graph

117 commits

Author SHA1 Message Date
sno
75e0cc4b04 Forgot to re-run 'make makepatchsum' after adding $NetBSD$ 2009-09-21 17:27:40 +00:00
sno
2f406127d1 Adding patch from FreeBSD ports to let esound build on FreeBSD, too.
The rest of the patch from FreeBSD ports should be reviewed by the
maintainer, I'm not sure how far this is reasonable ...
2009-09-21 17:26:46 +00:00
joerg
e209761d06 Remove @dirrm entries from PLISTs 2009-06-14 17:28:16 +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
6e80b1db84 Update to 0.2.41:
===============
Version 0.2.41
===============
	* Fix 32k samples turning into static when 8k samples played in
        the middle. Debian #79145. (Matthew Ashton)
	* Fix filter buffer handling so filters work. Debian #202027.
        (Ryan Murray)
	* Reconnect the ALSA driver and reload the config file after
        receiving a SIGUSR1. (Martin Pitt)
	* Fixed esd_audio_write() to use select() if the driver supports
        it (otherwise usleep) and write data in a configurable block size.
        (Ryan Murray)
	* Fixed esound.pc audifile linking. (Josselin Mouette)
	* Fixed esdcat.1. (Josselin Mouette)
	* Protect dsp_init() with a mutex lock. (Josselin Mouette)
	* Fixed to allow multiple esd instances (one per user). (Martin Pitt)
	* Fixes to startup time by not trying to exec a binary if it doesn't
        exist. (Martin Pitt)
	* Prettier debugging output. (Ryan Murray)
	* Fixed signedness compiler warnings. (Josselin Mouette)
	* Remove libesddsp from LD_PRELOAD when autospawning esd. (Ryan Murray)
	* Fixes for GStreamer using ESPEAKER. (Jeff Waugh)
	* Fixes for mmap64 (Josselin Mouette)
	* Close the spawnfd when the startup is successful. (Josselin Mouette)
	* Save a call to esd_audio_pause when run with -nobeeps. (Josselin Mouette)
	* Improved error checking for the -spawnfd switch. (Josselin Mouette)
	* Fixed buffer overflow possibilities. (Ryan Murray)
	* Call snd_pcm_hw_free() before calling snd_pcm_close() to avoid a
        memory leak. (Martin Pitt)
	* Add informative output for -double switch. (Josselin Mouette)
	* Use smaller sleep timeouts. (Josselin Mouette)
	* Updated to handle more file formats supported by audiofile 0.2.3.
        (Josselin Mouette)
2008-11-20 17:42:27 +00:00
wiz
b2031b3df6 Update to 0.2.40:
===============
Version 0.2.40
===============
	* Fixed poll() logic issues for *BSD (Jeffrey Stedfast)
	* Fixed bug #543239 by including errno.h (Jeffrey Stedfast)
2008-09-06 14:42:53 +00:00
drochner
2f1aa1dd6d In the new nonblocking write code, abort on write errors, especially
on EPIPE. This fixes Gnome session hangs if sounds are switched off.
See Gnome bugzilla #542391 for details. Bump PKGREVISION.
2008-07-31 14:03:16 +00:00
drochner
83b1af6cf6 make "configure" ignore "jade", otherwise it might pick it up and fail 2008-07-30 10:24:40 +00:00
wiz
e7d734305e Update to 0.2.39:
===============
Version 0.2.39
===============
	* Fixed esd client-side code to not hang if esd crashes/hangs
          or otherwise becomes unreachable (Jeffrey Stedfast)
	* Suppress verbose error messages from ALSA (Stanislav Brabec)
	* Allow for multiple esd instances
	* Fix esound-config for multi-lib setups (Matthias Clasen)
	* Don't report errors about /dev/dsp not existing (Havoc Pennington)
	* Various other build fixes for AMD64 (Rémi Cardona)
2008-07-29 21:58:13 +00:00
wiz
a7c8e0cd61 Reset maintainer on his request. 2008-01-19 09:16:17 +00:00
wiz
c42788e2f0 Update to 0.2.38:
===============
Version 0.2.38
===============
	* Fix 100% CPU problem introduced in 0.2.37 (Joe Marcus Clarke)
	* Fix libesddsp not linking against libesd (Loïc Minier)
	* Fix file descriptor leaks (Pierre Ossman)
	* Fix a build problem with the read/write wrapper (Jean Bréfort)
	* chdir to "/" when starting up (Dan Winship)
	* Only install the esddsp man page if we build the binary
2007-05-06 16:36:06 +00:00
wiz
73c8b3c404 Update to 0.2.37:
===============
Version 0.2.37
===============
	* Fix null derefs and leaks reported by Coverity (kjartan)
	* Build fixes (David Schleef, Thomas Zajic, Behdad Esfahbod)
	* Disable autospawning (David Schleef)
	* Close filedescriptors and sockets (David Schleef)
	* Don't terminate until the last sample is done (David Schleef)
	* Add checks for clients disconnecting (Peter Åstrand)
	* Updated man pages (Christopher Hanna)
2007-03-01 14:19:29 +00:00
jschauma
e89e3be010 it appears that under IRIX, we need to explicitly link against -lm. 2006-12-02 22:50:20 +00:00
joerg
5dfaaf310b DESTDIR support. 2006-11-05 17:06:43 +00:00
joerg
529a590738 FreeBSD also has esddsp files. Bump revision. 2006-08-26 15:25:26 +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
rillig
9fc2d7d281 Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
2006-04-22 09:22:05 +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
6ad6aef9d4 Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.
Remove deprecated ossaudio.buildlink3.mk.
2006-03-09 21:04:39 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
drochner
9ccf74f69d update to 0.2.36
changes:
-minor fixes and cleanup
2005-07-27 17:16:32 +00:00
wiz
a0dd9db539 Convert to options framework. 2005-06-08 13:20:04 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
71c8259803 Add RMD160 digests to the SHA1 ones. 2005-02-23 20:39:42 +00:00
tv
ed6eb4e8c9 Note that cygwin_esound is required on Interix for physical audio output. 2004-10-11 22:18:45 +00:00
tv
471e9747c2 Allow this to build on Interix in client-only mode. 2004-10-11 18:02:59 +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
wiz
3421ef6ad7 Update to 0.2.35:
* fix location of configuration file in man (Craig Routledge)
        * MMAP support for esddsp (from artsdsp, Olivier Blin)
        * GNU/kFreeBSD support (Robert Milan)
        * add new default_options in configuration file and environement
          variable, fix regression caused by patch since 0.2.30
        * use ALSA default alias (Cyrille Chepelov)
        * clean code (Kjartan Maraas)
2004-08-15 16:50:55 +00:00
cjep
f6887a97b1 Add USE_INET6 to BUILD_DEFS as these packages use it. Part of PR#25743 from
Georg Schwarz.
2004-06-08 12:23:59 +00:00
minskim
011f5f9f7a Catch up with the recent esound update. 2004-05-19 05:53:16 +00:00
jmmv
30d971c510 Update to 0.2.34: fixes some unnecessary C99 constructs, so this should
build now properly with GCC 2.95.
2004-05-15 07:24:42 +00:00
snj
52416161af Convert to buildlink3. 2004-05-05 02:26:41 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
minskim
1ac6d7e498 Catch up with the recent esound update. 2004-03-10 20:34:48 +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
xtraeme
5598787c3b Upgrade esound to 0.2.33.
Changes:

        * use new ALSA PCM API if available (Lukasz Mach and Eddy Mylyono)
        * fix build on AIX and OSF (Albert Chin-A-Young)
        * don't try to close audio device if not opened (Debian)
        * fix build with latest automake (Stanislav Bradec)
        * no longer required automake 1.4 (Thomas Cataldo)
        * Fix Darwin build (Jerry Talkington)
        * fix typo in manpage (Kjartan Maraas)

While here use subst.mk instead of patching configure script.
2004-03-02 05:03:47 +00:00
jmmv
ab17dd00b3 PKGCONFIG_OVERRIDE is relative to WRKSRC. 2004-02-14 18:26:26 +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
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
jlam
d19f053e4d bl3ify 2004-01-06 07:17:03 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
jlam
339cd13cb2 Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
2004-01-03 23:06:43 +00:00
danw
bcef62518c tweak esd-config.in patch so it doesn't generate a sh syntax error
when buildlink strips out $RPATH_FLAG on Darwin
2003-11-10 01:14:43 +00:00
grant
7edfaafacf Linux supports esddsp, so split the PLIST appropriately. 2003-09-25 04:39:11 +00:00
wiz
1345b2f3cc Update to 0.2.32:
* Fix build when IPv6 is disabled (Soren Jacobsen)
        * Fix missing file in tarball (Dan Winship)
2003-09-07 10:46:06 +00:00