Commit graph

42 commits

Author SHA1 Message Date
asau
9cc08a125a Use "cpuset_t" on FreeBSD, this lets the package build. 2013-12-16 19:00:03 +00:00
wiz
b667fb3d34 Recognize new json-c library name. 2013-11-30 12:34:52 +00:00
wiz
115f36fb5c Use correct stat syscall on NetBSD-6 and newer.
Based on PR 48405 by Nat Sloss.
2013-11-25 10:14:37 +00:00
wiz
2b187b311a Fix typo and whitespace in comment. 2013-11-25 10:13:56 +00:00
jperkin
7f68284231 Fix build on OSX 10.6, and possibly later. 2013-10-24 17:48:53 +00:00
markd
9a83e79b3c Fix VARBASE and PKG_SYSCONFBASEDIR handling. Bump PKGREVISION. 2013-05-06 20:44:18 +00:00
wiz
eb654d7c2c Add comment. 2013-01-29 15:34:47 +00:00
tsutsui
717479c3b7 Always use atomic_ops(3) on NetBSD even on arm, i.e. kill Linux-ARM'ism.
Fixes configure failure on NetBSD/arm 6.0.

Also add patch comment.
2013-01-29 15:02:24 +00:00
ryoon
2baa22c7f6 Update to 2.1
* Tested on NetBSD/i386 5.1, /i386 6.0, and /amd64 6.99.13
* Also tested on OpenIndiana/i386 151a7, but my environment lacks audio
  device, so I cannot check audio output
* Tested with multimedia/mplayer's -ao pulse option, works fine
* Add gm4 to USE_TOOLS for OpenIndiana build

Changelog:
Many changes. See http://www.freedesktop.org/wiki/Software/PulseAudio .
2012-11-03 01:54:55 +00:00
obache
637cf8f3c9 restore comments lost at rev1.10. 2012-05-30 23:47:49 +00:00
abs
5cb78531e4 fix borked __NetBSD_Version__ in last 2012-05-15 13:20:03 +00:00
abs
332121174c Extend previous to apply to netbsd-6 also (at least the one currently on
netbsd-daily and soon be in BETA2)
2012-05-14 18:01:45 +00:00
obache
09d3b91dd4 Try to fix build failure on NeBSD 6.99.7 from _oss_ioctl API change as PR 46448. 2012-05-14 14:56:51 +00:00
hans
2a92fe828d Fix build on SunOS 5.10 by #ifdefing the code using SO_TIMESTAMP.
Add the patches that I forgot in the previous commit.
2011-10-12 20:12:35 +00:00
hans
caa27a29db Fix build on SunOS. 2011-09-14 15:53:35 +00:00
joerg
4f181eb4fa Remove a lvalue cast in asm() to fix build with clang. 2011-07-21 15:10:11 +00:00
wiz
094cf71274 Add comments to most patches.
Also add a patch by drochner:
pthread_key_create returns 0 on success; return values on failure are
not defined.

Remaining patches without comments:
patch-ab: adding an ifdef notyet in src/daemon/main.c
patch-a{c,e}: --start -> -D (no idea why)
patch-af: allow some Linux-only code also on NetBSD
2011-05-21 15:32:59 +00:00
ahoka
e9c2893b9f use pulse's poll wrapper on 5.99.* to workaround an assertion
triggered on netbsd current systems possibly a bug in poll, but could be
just some linuxism in the code

this should be further investigated
2011-01-20 13:08:59 +00:00
wiz
dc6d2a76f2 Fix path to dbus machine-id file. Bump PKGREVISION.
From Chuck Silvers.
2010-12-02 21:17:43 +00:00
tsutsui
a680616f2d Fix build failure on NetBSD/arm.
patch-ah (new):
 Fix wrong placed #else clause against #if defined(__linux__) in cpu-arm.c.

patch-ba:
 Check NetBSD's native atomic_ops in configure even in arm case.
 configure checks $host_cpu first, not $host_os on checks for
 native atomic operations.
 (In upstream it seems fixed to see $host_os first but
  it might still have problem around NetBSD version checks)
2010-08-10 05:42:33 +00:00
tron
9c1c9edbb7 Add fix for symlink race reported in CVE-2009-1299 taken from
Lennart Poettering's GIT repository.
2010-07-24 12:51:09 +00:00
tron
d7920570bf Don't attempt to create the directory "/lib/udev/rules.d" on platforms
that don't use "udev".
2010-07-04 17:41:58 +00:00
jmcneill
acdd408d99 - add libsndfile to bl3
- don't invoke git when running autoreconf
- bump pkgrevision
2010-02-02 12:39:14 +00:00
jmcneill
b5787d3149 gc old patches, no longer necessary for pa 0.9.21 2010-02-01 15:05:58 +00:00
jmcneill
0dedecc112 Update pulseaudio to 0.9.21.
Too many changes to list here:

  http://pulseaudio.org/milestone/0.9.15
  http://pulseaudio.org/milestone/0.9.16
  http://pulseaudio.org/milestone/0.9.17
  http://pulseaudio.org/milestone/0.9.18
  http://pulseaudio.org/milestone/0.9.19
  http://pulseaudio.org/milestone/0.9.20
  http://pulseaudio.org/milestone/0.9.21
2010-02-01 15:00:20 +00:00
abs
50ecad39a4 Avoid an assert on pthread_setschedparam() if the priority was already
SCHED_OTHER - bump pkgrevision
2009-12-27 15:06:28 +00:00
joerg
f9a61cbb8d Fix default module path to not include trailing slashes as it breaks
libtool.
2009-09-18 09:59:54 +00:00
tnn
29dd45461e - plug up CVE-2009-1894, Linux specific local root shell vulnerability
- add SPECIAL_PERMS to make the user-destdir build consistent
- bump PKGREVISION
2009-07-28 12:52:40 +00:00
tron
69051cfd22 Make this package build and work under Mac OS X (Leopard).
This fixes PR pkg/40424 by Torsten Harenberg.
2009-02-05 21:05:07 +00:00
drochner
e3b191ca53 avoid GNUism in iconv usage 2009-01-21 15:40:20 +00:00
jmcneill
5680c10755 Update pulseaudio to 0.9.14.
Colin Guthrie (2):
      Fix a potential C++/C99 ism, add a log message on error condition
      Fix two typos that broke tunnels

Lennart Poettering (46):
      Initialize exit_idle_time to -1 instead of 0  when in system mode.
      instead of resetting virtual_volume unconditionally on initialization, do so only when no volume was set before
      use pa_channel_map_init_extend() instead of pa_channel_map_init_auto() as channel map for sink inputs/source outputs in case no map is specified
      if the channel map was modified due to PA_SINK_INPUT_FIX_CHANNELS, remap the specified volume properly
      define 0dB in PA as maximum amplification
      properly remove dbus matches an filters when unloading m-b-d
      always check for libtool prefix binary name to avoid confusion when using both installed and run-from-build-tree versions of PA in parallel
      Fix spelling of privilige
      Make missing git-changelog.perl non-fatal
      fix invalid validity check
      convert argument to boolean int in PA_UNLIKELY, too
      include log.h near the end so that macro.h can be included in log.h and defines pa_bool_t properly
      Try to catch certain driver errors
      make the debug trap macro a proper macro in macro.h
      don't set the volume of pacat unless it is explicitly set
      warn if ALSA wakes us up and there is actually nothing to do
      fix build
      make sure to use 64bit rounding even on 32bit machines when converting to pa_usec_t
      make shm marker architecture independant, patch from michich, closes #401
      Make sure libpulse never gets unloaded
      Check if environ is actually set before we use it
      Fix return value of --dump-resample-methods
      Don't mix front-center into rear channels
      Pass GDBM_NOLOCK to gdbm
      Load module-volume-restore and module-device-restore before all other modules
      introduce new function pa_module_unload_request_by_index
      Don't store pointer to pa_module
      actually unload the modules from a new stack frame
      unload tunnel modules from a new stack frame
      it's better to always use the index of a module instead of the pa_module*
      downgrade a few warnings
      Make sure we drop CAP_NICE if RT is not allowed
      Allow access("/dev/dsp", W_OK) succeed
      Use FIONREAD instead of TIOCINQ
      Implement PA_SOURCE_MESSAGE_GET_LATENCY
      make sure we don't hit an assert when we issue two rewind requests in a
      If we cannot open an ALSA device with SND_PCM_NO_AUTO_FORMAT retry without
      fix a gcc warning
      Rework handling of the PA_SINK_LATENCY/PA_SOURCE_LATENCY flags
      A few minor cleanups and updates
      add a few missing parens
      show maximum usable slot size
      Make sure we don't drop any data on the client side
      for record streams fill in the latency as the fragsize
      Fix suspending of all sinks/sources
      bump version/soname

Luiz Augusto von Dentz (7):
      Unload module-bluetooth-device if the remote device disconnects.
      Fix possible invalid read while attempting to load module-bluetooth-device.
      Fix bug walking on module list.
      Update module-bluetooth-device to the new ipc.
      Send packets with proper size.
      Fix send and recv message sizes.
      Fix sending wrong codec capability length.

Sean McNamara (1):
      --check: Updated manpage slightly and pulseaudio --help slightly.

Tom Bamford (1):
      Multicast SDP packets sent with same IP TTL as RTP packets

chocolateboy (1):
      Fix typo in log message: s/Recevied/Received/
2009-01-19 14:19:00 +00:00
dsainty
c74fa7d4dc If the target NetBSD system is dated enough (E.g. 4.99.1), AUDIO_GETBUFINFO
won't be available, and the previous version of this patch would not allow
successful building.

Change the code (in the OSS module) to check for a defined AUDIO_GETBUFINFO
under NetBSD.  If it isn't available, indicate that the system has no
mechanism available.

(May compromise on audio synchronisation on local OSS devices)

Ok jmcneill@
2009-01-08 12:11:46 +00:00
ahoka
107980ad07 Fix minor issues reported by pkglint:
- Fix incorrect package option name
- Add $NetBSD$ to patch-ad
- Add autoreconf to USE_TOOLS
2008-12-25 21:53:30 +00:00
dsainty
ec245279a3 The rtstutter test is afunctional for all operating systems but one. Make it
go one operating system further.

Old patch-ac disabled the guts of tests/rtstutter.c for all but Linux.  But it
isn't that portable on Linux either as it stands, and errors out (on EeePC) at
link time with:

rtstutter.c:(.text+0xbd): undefined reference to `pthread_setaffinity_np'

Just bring Linux in line with other platforms by changing the #ifdef __linux__
to #if 0.

Doesn't deserve a revision bump.
2008-12-24 04:11:17 +00:00
jmcneill
eed3e482ac Fix build on NetBSD 4.0. 2008-12-23 19:29:28 +00:00
dsainty
2931f813ab Fix some overly aggressive cut and pasting that breaks the build under Linux.
It still doesn't build, but it gets further.  The fixes here are obvious and
trivial pastos.
2008-12-23 08:58:01 +00:00
hasso
a4d0917d35 Portability fixes to make it compile in DragonFly and possibly to help
other platforms.
2008-12-23 02:15:27 +00:00
jmcneill
c8b0ab400d Make NetBSD native atomic ops support work. 2008-12-20 17:53:51 +00:00
jmcneill
ea7263e2ea Patch src/Makefile.am instead of src/Makefile.in now that we are using
autoreconf
2008-12-20 16:50:50 +00:00
ahoka
d62bb24765 Implement support for atomic_ops(3) backend.
This gives us native atomic operations on NetBSD 5.0 and later systems.
Use GCC's builtin atomic operations when possible and libatomic_ops
as a last case fallback.
2008-12-20 16:10:25 +00:00
jmcneill
0aabc598c5 Workaround PR lib/40220 on NetBSD, padsp (OSS wrapper) now works.
Bump PKGREVISION.
2008-12-18 18:43:52 +00:00
jmcneill
7bf9ad743b Import pulseaudio version 0.9.13.
PulseAudio is a sound server for POSIX and Win32 systems. A sound server is
basically a proxy for your sound applications. It allows you to do advanced
operations on your sound data as it passes between your application and your
hardware. Things like transferring the audio to a different machine, changing
the sample format or channel count and mixing several sounds into one are
easily achieved using a sound server.
2008-12-18 14:42:56 +00:00