pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/pulseaudio Import pulseaudio version 0.9.13.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6178d6002e2
branches:  trunk
changeset: 551605:f6178d6002e2
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Thu Dec 18 14:42:56 2008 +0000

description:
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.

diffstat:

 audio/pulseaudio/DESCR            |    6 +
 audio/pulseaudio/Makefile         |   76 +++++++++++++++++++
 audio/pulseaudio/PLIST            |  144 ++++++++++++++++++++++++++++++++++++
 audio/pulseaudio/distinfo         |   11 ++
 audio/pulseaudio/patches/patch-aa |  150 ++++++++++++++++++++++++++++++++++++++
 audio/pulseaudio/patches/patch-ab |   14 +++
 audio/pulseaudio/patches/patch-ac |   20 +++++
 audio/pulseaudio/patches/patch-ad |   38 +++++++++
 audio/pulseaudio/patches/patch-ae |   30 +++++++
 audio/pulseaudio/patches/patch-af |   13 +++
 10 files changed, 502 insertions(+), 0 deletions(-)

diffs (truncated from 542 to 300 lines):

diff -r 96f60fb1d0b0 -r f6178d6002e2 audio/pulseaudio/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/pulseaudio/DESCR    Thu Dec 18 14:42:56 2008 +0000
@@ -0,0 +1,6 @@
+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.
diff -r 96f60fb1d0b0 -r f6178d6002e2 audio/pulseaudio/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/pulseaudio/Makefile Thu Dec 18 14:42:56 2008 +0000
@@ -0,0 +1,76 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/12/18 14:42:56 jmcneill Exp $
+#
+
+DISTNAME=      pulseaudio-0.9.13
+CATEGORIES=    audio
+MASTER_SITES=  http://0pointer.de/lennart/projects/pulseaudio/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.pulseaudio.org/
+COMMENT=       Sound server for POSIX and Win32 systems
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config gmake msgfmt intltool perl
+USE_DIRS+=     xdg-1.4
+
+PKGCONFIG_OVERRIDE+=   libpulse-browse.pc.in
+PKGCONFIG_OVERRIDE+=   libpulse-mainloop-glib.pc.in
+PKGCONFIG_OVERRIDE+=   libpulse-simple.pc.in
+PKGCONFIG_OVERRIDE+=   libpulse.pc.in
+
+PULSE_USER?=           pulse
+PULSE_GROUP?=          pulse
+PULSE_GROUP_REALTIME?= pulsert
+PULSE_GROUP_ACCESS?=   pulseacc
+
+BUILD_DEFS+=           VARBASE
+
+PKG_SYSCONFSUBDIR=     pulse
+EGDIR=         ${PREFIX}/share/examples/pulseaudio
+CONF_FILES=    ${EGDIR}/client.conf ${PKG_SYSCONFDIR}/client.conf
+CONF_FILES+=   ${EGDIR}/daemon.conf ${PKG_SYSCONFDIR}/daemon.conf
+CONF_FILES+=   ${EGDIR}/default.pa ${PKG_SYSCONFDIR}/default.pa
+CONF_FILES+=   ${EGDIR}/system.pa ${PKG_SYSCONFDIR}/system.pa
+
+CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
+CONFIGURE_ARGS+=       --with-system-user=${PULSE_USER}
+CONFIGURE_ARGS+=       --with-system-group=${PULSE_GROUP}
+CONFIGURE_ARGS+=       --with-realtime-group=${PULSE_GROUP_REALTIME}
+CONFIGURE_ARGS+=       --with-access-group=${PULSE_GROUP_ACCESS}
+MAKE_ENV+=             EGDIR=${EGDIR}
+
+SUBST_CLASSES+=                padsp
+SUBST_MESSAGE.padsp=   Fixing LD_PRELOAD paths
+SUBST_STAGE.padsp=     post-build
+SUBST_FILES.padsp=     src/utils/padsp
+SUBST_SED.padsp=       -e 's@libpulsedsp\.so@${PREFIX}/lib/&@'
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "NetBSD"
+# broken test for TLS
+CONFIGURE_ENV+=                cc_cv_tls___thread=no
+.endif
+
+PKG_GROUPS=             ${PULSE_GROUP}
+PKG_GROUPS+=           ${PULSE_GROUP_REALTIME}
+PKG_GROUPS+=           ${PULSE_GROUP_ACCESS}
+PKG_USERS=              ${PULSE_USER}:${PULSE_GROUP}
+
+BUILDLINK_TRANSFORM+=  rm:-Wl,--gc-sections
+
+.include "../../audio/libsamplerate/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../audio/speex/buildlink3.mk"
+.include "../../databases/gdbm/buildlink3.mk"
+.include "../../devel/GConf/schemas.mk"
+.include "../../devel/libltdl/buildlink3.mk"
+.include "../../devel/liboil/buildlink3.mk"
+.include "../../security/policykit/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../sysutils/hal/buildlink3.mk"
+.include "../../x11/libICE/buildlink3.mk"
+.include "../../x11/libSM/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 96f60fb1d0b0 -r f6178d6002e2 audio/pulseaudio/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/pulseaudio/PLIST    Thu Dec 18 14:42:56 2008 +0000
@@ -0,0 +1,144 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/18 14:42:56 jmcneill Exp $
+bin/esdcompat
+bin/pacat
+bin/pacmd
+bin/pactl
+bin/padsp
+bin/paplay
+bin/parec
+bin/pasuspender
+bin/pax11publish
+bin/pulseaudio
+bin/start-pulseaudio-x11
+include/pulse/cdecl.h
+include/pulse/channelmap.h
+include/pulse/context.h
+include/pulse/def.h
+include/pulse/error.h
+include/pulse/ext-stream-restore.h
+include/pulse/gccmacro.h
+include/pulse/glib-mainloop.h
+include/pulse/introspect.h
+include/pulse/mainloop-api.h
+include/pulse/mainloop-signal.h
+include/pulse/mainloop.h
+include/pulse/operation.h
+include/pulse/proplist.h
+include/pulse/pulseaudio.h
+include/pulse/sample.h
+include/pulse/scache.h
+include/pulse/simple.h
+include/pulse/stream.h
+include/pulse/subscribe.h
+include/pulse/thread-mainloop.h
+include/pulse/timeval.h
+include/pulse/utf8.h
+include/pulse/util.h
+include/pulse/version.h
+include/pulse/volume.h
+include/pulse/xmalloc.h
+lib/libpulse-mainloop-glib.la
+lib/libpulse-simple.la
+lib/libpulse.la
+lib/libpulsecore.la
+lib/libpulsedsp.so
+lib/pkgconfig/libpulse-mainloop-glib.pc
+lib/pkgconfig/libpulse-simple.pc
+lib/pkgconfig/libpulse.pc
+lib/pulse-0.9/modules/libauth-cookie.so
+lib/pulse-0.9/modules/libauthkey.so
+lib/pulse-0.9/modules/libcli.so
+lib/pulse-0.9/modules/libdbus-util.so
+lib/pulse-0.9/modules/libiochannel.so
+lib/pulse-0.9/modules/libioline.so
+lib/pulse-0.9/modules/libipacl.so
+lib/pulse-0.9/modules/liboss-util.so
+lib/pulse-0.9/modules/libpacket.so
+lib/pulse-0.9/modules/libparseaddr.so
+lib/pulse-0.9/modules/libpdispatch.so
+lib/pulse-0.9/modules/libprotocol-cli.so
+lib/pulse-0.9/modules/libprotocol-esound.so
+lib/pulse-0.9/modules/libprotocol-http.so
+lib/pulse-0.9/modules/libprotocol-native.so
+lib/pulse-0.9/modules/libprotocol-simple.so
+lib/pulse-0.9/modules/libpstream-util.so
+lib/pulse-0.9/modules/libpstream.so
+lib/pulse-0.9/modules/librtp.so
+lib/pulse-0.9/modules/libsocket-client.so
+lib/pulse-0.9/modules/libsocket-server.so
+lib/pulse-0.9/modules/libsocket-util.so
+lib/pulse-0.9/modules/libstrlist.so
+lib/pulse-0.9/modules/libtagstruct.so
+lib/pulse-0.9/modules/libx11prop.so
+lib/pulse-0.9/modules/libx11wrap.so
+lib/pulse-0.9/modules/module-always-sink.so
+lib/pulse-0.9/modules/module-cli-protocol-tcp.so
+lib/pulse-0.9/modules/module-cli-protocol-unix.so
+lib/pulse-0.9/modules/module-cli.so
+lib/pulse-0.9/modules/module-combine.so
+lib/pulse-0.9/modules/module-console-kit.so
+lib/pulse-0.9/modules/module-default-device-restore.so
+lib/pulse-0.9/modules/module-detect.so
+lib/pulse-0.9/modules/module-device-restore.so
+lib/pulse-0.9/modules/module-esound-compat-spawnfd.so
+lib/pulse-0.9/modules/module-esound-compat-spawnpid.so
+lib/pulse-0.9/modules/module-esound-protocol-tcp.so
+lib/pulse-0.9/modules/module-esound-protocol-unix.so
+lib/pulse-0.9/modules/module-esound-sink.so
+lib/pulse-0.9/modules/module-gconf.so
+lib/pulse-0.9/modules/module-hal-detect.so
+lib/pulse-0.9/modules/module-http-protocol-tcp.so
+lib/pulse-0.9/modules/module-http-protocol-unix.so
+lib/pulse-0.9/modules/module-ladspa-sink.so
+lib/pulse-0.9/modules/module-match.so
+lib/pulse-0.9/modules/module-native-protocol-fd.so
+lib/pulse-0.9/modules/module-native-protocol-tcp.so
+lib/pulse-0.9/modules/module-native-protocol-unix.so
+lib/pulse-0.9/modules/module-null-sink.so
+lib/pulse-0.9/modules/module-oss.so
+lib/pulse-0.9/modules/module-pipe-sink.so
+lib/pulse-0.9/modules/module-pipe-source.so
+lib/pulse-0.9/modules/module-position-event-sounds.so
+lib/pulse-0.9/modules/module-remap-sink.so
+lib/pulse-0.9/modules/module-rescue-streams.so
+lib/pulse-0.9/modules/module-rtp-recv.so
+lib/pulse-0.9/modules/module-rtp-send.so
+lib/pulse-0.9/modules/module-simple-protocol-tcp.so
+lib/pulse-0.9/modules/module-simple-protocol-unix.so
+lib/pulse-0.9/modules/module-sine.so
+lib/pulse-0.9/modules/module-stream-restore.so
+lib/pulse-0.9/modules/module-suspend-on-idle.so
+lib/pulse-0.9/modules/module-tunnel-sink.so
+lib/pulse-0.9/modules/module-tunnel-source.so
+lib/pulse-0.9/modules/module-volume-restore.so
+lib/pulse-0.9/modules/module-x11-bell.so
+lib/pulse-0.9/modules/module-x11-publish.so
+lib/pulse-0.9/modules/module-x11-xsmp.so
+libexec/pulse/gconf-helper
+man/man1/esdcompat.1
+man/man1/pabrowse.1
+man/man1/pacat.1
+man/man1/pacmd.1
+man/man1/pactl.1
+man/man1/padsp.1
+man/man1/paplay.1
+man/man1/pasuspender.1
+man/man1/pax11publish.1
+man/man1/pulseaudio.1
+man/man5/default.pa.5
+man/man5/pulse-client.conf.5
+man/man5/pulse-daemon.conf.5
+share/gnome/autostart/pulseaudio.desktop
+share/examples/pulseaudio/client.conf
+share/examples/pulseaudio/daemon.conf
+share/examples/pulseaudio/default.pa
+share/examples/pulseaudio/system.pa
+share/PolicyKit/policy/org.pulseaudio.policy
+share/locale/de/LC_MESSAGES/pulseaudio.mo
+share/locale/el/LC_MESSAGES/pulseaudio.mo
+share/locale/fr/LC_MESSAGES/pulseaudio.mo
+share/locale/sv/LC_MESSAGES/pulseaudio.mo
+@dirrm libexec/pulse
+@dirrm lib/pulse-0.9/modules
+@dirrm lib/pulse-0.9
+@dirrm include/pulse
diff -r 96f60fb1d0b0 -r f6178d6002e2 audio/pulseaudio/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/pulseaudio/distinfo Thu Dec 18 14:42:56 2008 +0000
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/12/18 14:42:56 jmcneill Exp $
+
+SHA1 (pulseaudio-0.9.13.tar.gz) = c8482f1bb42d5213bfdbe2154e1a55b7bc04c915
+RMD160 (pulseaudio-0.9.13.tar.gz) = 07cea9939dfb4fc76f13bf01dfe22ab6d0fd8459
+Size (pulseaudio-0.9.13.tar.gz) = 1308493 bytes
+SHA1 (patch-aa) = f37fadef990c8e8f387e7cc0f9880e40a5ff5e4e
+SHA1 (patch-ab) = b894cf1797a2f02e8131be8abc8250774bfec1ec
+SHA1 (patch-ac) = 8f61cf7c4a6681ab53c9ddf1007acb1bf524fe15
+SHA1 (patch-ad) = 63571597ba707679142b45b2daaffade7f094bb0
+SHA1 (patch-ae) = 1cd31d18c133fdd5e8db59be319ba5b7a45fe0fe
+SHA1 (patch-af) = 31b8564cb91aabb5de5490659e77de984fd1920b
diff -r 96f60fb1d0b0 -r f6178d6002e2 audio/pulseaudio/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/pulseaudio/patches/patch-aa Thu Dec 18 14:42:56 2008 +0000
@@ -0,0 +1,150 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/12/18 14:42:56 jmcneill Exp $
+
+--- src/utils/padsp.c.orig     2008-10-01 19:05:01.000000000 -0400
++++ src/utils/padsp.c
+@@ -114,7 +114,11 @@ static pthread_mutex_t func_mutex = PTHR
+ 
+ static PA_LLIST_HEAD(fd_info, fd_infos) = NULL;
+ 
++#ifdef __NetBSD__
++static int (*_ioctl)(int, u_long, void *) = NULL;
++#else
+ static int (*_ioctl)(int, int, void*) = NULL;
++#endif
+ static int (*_close)(int) = NULL;
+ static int (*_open)(const char *, int, mode_t) = NULL;
+ static FILE* (*_fopen)(const char *path, const char *mode) = NULL;
+@@ -140,6 +144,15 @@ static inline fnptr dlsym_fn(void *handl
+     return (fnptr) (long) dlsym(handle, symbol);
+ }
+ 
++#ifdef __NetBSD__
++#define LOAD_IOCTL_FUNC() \
++do { \
++    pthread_mutex_lock(&func_mutex); \
++    if (!_ioctl)  \
++        _ioctl = (int (*)(int, u_long, void*)) dlsym_fn(RTLD_NEXT, "ioctl"); \
++    pthread_mutex_unlock(&func_mutex); \
++} while(0)
++#else
+ #define LOAD_IOCTL_FUNC() \
+ do { \
+     pthread_mutex_lock(&func_mutex); \
+@@ -147,6 +160,7 @@ do { \
+         _ioctl = (int (*)(int, int, void*)) dlsym_fn(RTLD_NEXT, "ioctl"); \
+     pthread_mutex_unlock(&func_mutex); \
+ } while(0)
++#endif
+ 
+ #define LOAD_OPEN_FUNC() \
+ do { \
+@@ -1452,7 +1466,8 @@ static int real_open(const char *filenam
+         return _open(filename, flags, mode);
+     }



Home | Main Index | Thread Index | Old Index