--- pulseaudio-0.9.7.orig/src/pulsecore/protocol-esound.c +++ pulseaudio-0.9.7/src/pulsecore/protocol-esound.c @@ -72,7 +72,7 @@ #define RECORD_BUFFER_SECONDS (5) #define RECORD_BUFFER_FRAGMENTS (100) -#define MAX_CACHE_SAMPLE_SIZE (1024000) +#define MAX_CACHE_SAMPLE_SIZE (2048000) #define SCACHE_PREFIX "esound." --- pulseaudio-0.9.7.orig/debian/control +++ pulseaudio-0.9.7/debian/control @@ -0,0 +1,336 @@ +Source: pulseaudio +Section: sound +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: CJ van den Berg +Uploaders: Sjoerd Simons +Build-Depends: debhelper (>= 5), cdbs, quilt, m4, libltdl3-dev, + liboil0.3-dev (>= 0.3.0) | liboil-dev, libsamplerate0-dev, + libsndfile1-dev (>= 1.0.10) | libsndfile-dev, libx11-dev, + x11proto-core-dev, libxt-dev, libglib2.0-dev, + libcap-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], + libasound-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], + libavahi-client-dev, libwrap0-dev, + liblircclient-dev, libgconf2-dev, libhal-dev, + libatomic-ops-dev +Standards-Version: 3.7.2 +XS-Vcs-Git: git://git.debian.org/git/pkg-pulseaudio/pulseaudio.git +XS-Vcs-Browser: http://git.debian.org/?p=pkg-pulseaudio/pulseaudio.git + +Package: pulseaudio +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, lsb-base (>= 3) +Recommends: libasound2-plugins, libgstreamer-plugins-pulse0.10-0, + pulseaudio-esound-compat +Suggests: pulseaudio-utils, pavumeter, pavucontrol, paman, + pulseaudio-module-hal, pulseaudio-module-x11, libao-pulse, paprefs, + padevchooser +Description: PulseAudio sound server + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + These are some of PulseAudio's features: + . + * High quality software mixing of multiple audio streams with support for + more than one sink/source. May be used to combine multiple sound cards + into one (with sample rate adjustment). + . + * Wide range of supported client libraries. ESD, ALSA, oss, libao and + gstreamer client applications are supported as-is. Native PulseAudio + plug-ins are also available for xmms and mplayer. + . + * Good low latency behaviour and very accurate latency measurement for + playback and recording. Ability to fully synchronize multiple playback + streams. + . + * Network transparency, allowing an application to play back or record + audio on a different machine than the one it is running on. + . + * Extensible plug-in architecture with plug-ins for multicast-rtp + lirc and avahi, just to name a few. + . + This package contains the daemon and basic module set. + +Package: pulseaudio-dbg +Architecture: any +Depends: ${misc:Depends}, pulseaudio (= ${binary:Version}) +Description: PulseAudio sound server detached debugging symbols + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This package contains the detached debugging symbols for the daemon and + basic module set. + +Package: pulseaudio-utils +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: avahi-daemon +Description: Command line tools for the PulseAudio sound server + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + These tools provide command line access to various features of the + PulseAudio sound server. Included tools are: + . + pabrowse - Browse available PulseAudio servers on the local network. + paplay - Playback a WAV file via a PulseAudio sink. + pacat - Cat raw audio data to a PulseAudio sink. + parec - Cat raw audio data from a PulseAudio source. + pacmd - Connect to PulseAudio's built-in command line control interface. + pactl - Send a control command to a PulseAudio server. + padsp - /dev/dsp wrapper to transparently support OSS applications. + pax11publish - Store/retrieve PulseAudio default server/sink/source + settings in the X11 root window. + +Package: pulseaudio-utils-dbg +Architecture: any +Depends: ${misc:Depends}, pulseaudio-utils (= ${binary:Version}) +Description: PulseAudio command line tools detached debugging symbols + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This package contains detached debugging symbols for the command line tools. + +Package: pulseaudio-esound-compat +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: esound, pulseaudio (<< 0.9.7) +Replaces: esound +Provides: esound +Description: PulseAudio ESD compatibility layer + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This package contains the ESD compatibility components and enables a + PulseAudio sound server to fully replace ESD. + +Package: pulseaudio-esound-compat-dbg +Architecture: any +Depends: ${misc:Depends}, pulseaudio-esound-compat (= ${binary:Version}) +Description: PulseAudio ESD compatibility layer debugging symbols + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This package contains debugging symbols for the ESD compatibility components. + +Package: pulseaudio-module-zeroconf +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: avahi-daemon +Description: Zeroconf module for PulseAudio sound server + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This module enables PulseAudio to publish available sinks and sources via + zeroconf (aka. Avahi, mdns). + . + The module is called module-zeroconf-publish. + +Package: pulseaudio-module-zeroconf-dbg +Architecture: any +Depends: ${misc:Depends}, pulseaudio-module-zeroconf (= ${binary:Version}) +Description: Zeroconf module for PulseAudio sound server debugging symbols + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This package contains detached debugging symbols for the zeroconf module. + +Package: pulseaudio-module-hal +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, hal +Description: HAL device detection module for PulseAudio sound server + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This module enables PulseAudio to detect new sound devices dynamically via + the HAL API. + . + The module is called module-hal-detect. + +Package: pulseaudio-module-hal-dbg +Architecture: any +Depends: ${misc:Depends}, pulseaudio-module-hal (= ${binary:Version}) +Description: HAL module for PulseAudio sound server debugging symbols + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This package contains debugging symbols for the HAL module for PulseAudio. + +Package: pulseaudio-module-lirc +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: lirc module for PulseAudio sound server + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This module enables the volume of a PulseAudio sink to be controlled when + buttons of an infrared remote control are pressed (through LIRC). + . + The module is called module-lirc. + +Package: pulseaudio-module-lirc-dbg +Architecture: any +Depends: ${misc:Depends}, pulseaudio-module-lirc (= ${binary:Version}) +Description: lirc module for PulseAudio sound server debugging symbols + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This package contains debugging symbols for the PulseAudio lirc module. + +Package: pulseaudio-module-gconf +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: gconf module for PulseAudio sound server + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This module enables PulseAudio to store additional configuration in gconf. + . + The module is called module-gconf. + +Package: pulseaudio-module-gconf-dbg +Architecture: any +Depends: ${misc:Depends}, pulseaudio-module-gconf (= ${binary:Version}) +Description: gconf module for PulseAudio sound server debugging symbols + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This package contains debugging symbols for the PulseAudio gconf module. + +Package: pulseaudio-module-x11 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, pulseaudio-utils +Recommends: gnome-audio +Description: X11 module for PulseAudio sound server + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This module enables PulseAudio to publish itself as the default sound + server to the X11 root window automatically upon startup. The is also a + module to playback a sound file in place of the X11 bell beep. + . + The modules are called module-x11-publish and module-x11-bell. + +Package: pulseaudio-module-x11-dbg +Architecture: any +Depends: ${misc:Depends}, pulseaudio-module-x11 (= ${binary:Version}) +Description: X11 module for PulseAudio sound server debugging symbols + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This package contains debugging symbols for the PulseAudio X11 modules. + +Package: libpulsecore4 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: pulseaudio +Description: PulseAudio sound server core + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This library provides core services to the PulseAudio daemon and modules + the run inside the daemon. + +Package: libpulse0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: pulseaudio +Description: PulseAudio client libraries + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + Client libraries used by applications that access a PulseAudio sound server + via PulseAudio's native interface. + +Package: libpulse0-dbg +Section: libs +Architecture: any +Depends: ${misc:Depends}, libpulse0 (= ${binary:Version}) +Description: PulseAudio client libraries detached debugging symbols + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This package contains detached debugging symbols for the PulseAudio native + interface client libraries. + +Package: libpulse-mainloop-glib0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: PulseAudio client libraries (glib support) + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + Client libraries used by applications that access a PulseAudio sound server + via PulseAudio's native interface. + . + This package adds support for glib2 client applications. + +Package: libpulse-mainloop-glib0-dbg +Architecture: any +Depends: ${misc:Depends}, libpulse-mainloop-glib0 (= ${binary:Version}) +Description: PulseAudio client libraries (glib support) debugging symbols + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This package contains detached debugging symbols for the PulseAudio native + interface glib support client libraries. + +Package: libpulse-browse0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: PulseAudio client libraries (zeroconf support) + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + Client libraries used by applications that access a PulseAudio sound server + via PulseAudio's native interface. + . + This package adds support for zeroconf (aka. Avahi, mdns) discovery of + PulseAudio sinks and sources by client applications. + +Package: libpulse-browse0-dbg +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: PulseAudio client libraries (zeroconf support) debugging symbols + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + This package contains detached debugging symbols for the PulseAudio native + interface zeroconf support client libraries. + +Package: libpulse-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, libpulse0 (= ${binary:Version}), libpulse-mainloop-glib0, libpulse-browse0, libx11-dev, x11proto-core-dev, libxt-dev, libglib2.0-dev, libavahi-client-dev +Description: PulseAudio client development headers and libraries + PulseAudio, previously known as Polypaudio, is a sound server for POSIX and + WIN32 systems. It is a drop in replacement for the ESD sound server with + much better latency, mixing/re-sampling quality and overall architecture. + . + Headers and libraries for developing applications that access a PulseAudio + sound server via PulseAudio's native interface. --- pulseaudio-0.9.7.orig/debian/libpulse-dev.install +++ pulseaudio-0.9.7/debian/libpulse-dev.install @@ -0,0 +1,10 @@ +usr/lib/libpulse.so +usr/lib/libpulse.a +usr/lib/libpulse-simple.so +usr/lib/libpulse-simple.a +usr/lib/libpulse-browse.so +usr/lib/libpulse-browse.a +usr/lib/libpulse-mainloop-glib.so +usr/lib/libpulse-mainloop-glib.a +usr/lib/pkgconfig/* +usr/include/pulse/* --- pulseaudio-0.9.7.orig/debian/pulseaudio-module-lirc.install +++ pulseaudio-0.9.7/debian/pulseaudio-module-lirc.install @@ -0,0 +1 @@ +usr/lib/pulse-*/modules/module-lirc.so --- pulseaudio-0.9.7.orig/debian/copyright +++ pulseaudio-0.9.7/debian/copyright @@ -0,0 +1,106 @@ +This package was debianized by CJ van den Berg on +Thu, 10 Aug 2006 15:59:43 +0200. + + It was downloaded from . + + Upstream Authors + ================ + + Lennart Poettering + Pierre Ossman , + through his employer Cendio + + Licensing + ========= + + The upstream license clarifies pretty well that the sources of pulseaudio are + LGPL (please see LGPL license grant below), but that some parts will be + effectively GPL since they rely on GPL libraries, quoting the upstream + LICENSE: + + """All PulseAudio source files are licensed under the GNU Lesser General + Public License. (see file LGPL for details) + + However, the server side links to the GPL-only library 'libsamplerate' + which practically downgrades the license of the server part to GPL (see + file GPL for details), exercising section 3 of the LGPL. + + Hence you should treat the client library ('libpulse') of PulseAudio as + being LGPL licensed and the server part ('libpulsecore') as being GPL + licensed. Since the PulseAudio daemon and the modules link to + 'libpulsecore' they are of course also GPL licensed. + + -- Lennart Poettering, April 20th, 2006.""" + + However, it should be noted that the file src/pulsecore/g711.c is public + domain with the following disclaimer: + +""" + * This source code is a product of Sun Microsystems, Inc. and is provided + * for unrestricted use. Users may copy or modify this source code without + * charge. + * + * SUN SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING + * THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR + * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. + * + * Sun source code is provided with no support and without any obligation on + * the part of Sun Microsystems, Inc. to assist in its use, correction, + * modification or enhancement. + * + * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE + * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY THIS SOFTWARE + * OR ANY PART THEREOF. + * + * In no event will Sun Microsystems, Inc. be liable for any lost revenue + * or profits or other special, indirect and consequential damages, even if + * Sun has been advised of the possibility of such damages. +""" + + and src/pulsecore/g711.h is Copyright (C) 2001 Chris Bagwell and comes with + the following license: +""" +** Permission to use, copy, modify, and distribute this software and its +** documentation for any purpose and without fee is hereby granted, provided +** that the above copyright notice appear in all copies and that both that +** copyright notice and this permission notice appear in supporting +** documentation. This software is provided "as is" without express or +** implied warranty. +""" + g711.c and g711.h were copied from sox. + + + Finally, pulseaudio embeds a copy of GNU libltdl, a system independent dlopen + wrapper for GNU libtool, but this isn't used in Debian. + + + LGPL License grant + ================== + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + + + Other copyrights + ================ + src/pulsecore/poll.c and poll.h are: + Copyright (C)1994,96,97,98,99,2000,2001,2004 Free Software Foundation, Inc. + Copyright (C) 2005, Cendio AB. + src/pulse/utf8.c is: + Copyright (C) 1999 Tom Tromey + Copyright (C) 2000 Red Hat, Inc. + --- pulseaudio-0.9.7.orig/debian/pulseaudio-esound-compat.links +++ pulseaudio-0.9.7/debian/pulseaudio-esound-compat.links @@ -0,0 +1 @@ +usr/bin/esdcompat usr/bin/esd --- pulseaudio-0.9.7.orig/debian/pulseaudio-module-hal.install +++ pulseaudio-0.9.7/debian/pulseaudio-module-hal.install @@ -0,0 +1,3 @@ +usr/lib/pulse-*/modules/libdbus-util.so +usr/lib/pulse-*/modules/module-hal-detect.so +usr/share/lintian/overrides/pulseaudio-module-hal --- pulseaudio-0.9.7.orig/debian/pulseaudio-dev.install +++ pulseaudio-0.9.7/debian/pulseaudio-dev.install @@ -0,0 +1,3 @@ +usr/lib/libpulsecore.so +usr/lib/libpulsecore.a +usr/include/pulsecore/* --- pulseaudio-0.9.7.orig/debian/pulseaudio-module-zeroconf.install +++ pulseaudio-0.9.7/debian/pulseaudio-module-zeroconf.install @@ -0,0 +1,4 @@ +usr/lib/pulse-*/modules/libavahi-wrap.so +usr/lib/pulse-*/modules/module-zeroconf-discover.so +usr/lib/pulse-*/modules/module-zeroconf-publish.so +usr/share/lintian/overrides/pulseaudio-module-zeroconf --- pulseaudio-0.9.7.orig/debian/watch +++ pulseaudio-0.9.7/debian/watch @@ -0,0 +1,8 @@ +# Control file for uscan +# Run the "uscan" command to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +http://0pointer.de/lennart/projects/pulseaudio/ pulseaudio-(.*)\.tar\.gz --- pulseaudio-0.9.7.orig/debian/manpages/esdcompat.1 +++ pulseaudio-0.9.7/debian/manpages/esdcompat.1 @@ -0,0 +1,55 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH PULSEAUDIO "1" "August 2006" "pulseaudio esd wrapper 0.9.5" "User Commands" +.SH NAME +pulseaudio \- manual page for pulseaudio esd wrapper 0.9.5 +.SH SYNOPSIS +.B esdcompat +[\fIoptions\fR] +.SH DESCRIPTION +pulseaudio esd wrapper 0.9.5 +.TP +\fB\-v\fR \fB\-\-version\fR +print version information +.TP +\fB\-h\fR \fB\-\-help\fR +show this help +.PP +Ignored directives: +.TP +\fB\-tcp\fR +use tcp/ip sockets in addition to unix domain +.TP +\fB\-promiscuous\fR +don't require authentication +.TP +\fB\-d\fR DEVICE +force esd to use sound device DEVICE +.TP +\fB\-b\fR +run server in 8 bit sound mode +.TP +\fB\-r\fR RATE +run server at sample rate of RATE +.TP +\fB\-as\fR SECS +free audio device after SECS of inactivity +.TP +\fB\-unix\fR +use unix domain sockets instead of tcp/ip +.TP +\fB\-public\fR +make tcp/ip access public (other than localhost) +.TP +\fB\-terminate\fR +terminate esd daemone after last client exits +.TP +\fB\-nobeeps\fR +disable startup beeps +.TP +\fB\-trust\fR +start esd even if use of /tmp/.esd can be insecure +.TP +\fB\-port\fR PORT +listen for connections at PORT (only for tcp/ip) +.HP +\fB\-bind\fR ADDRESS binds to ADDRESS (only for tcp/ip) --- pulseaudio-0.9.7.orig/debian/manpages/pulseaudio.1 +++ pulseaudio-0.9.7/debian/manpages/pulseaudio.1 @@ -0,0 +1,97 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH PULSEAUDIO "1" "August 2006" "pulseaudio 0.9.5" "User Commands" +.SH NAME +pulseaudio \- manual page for pulseaudio 0.9.5 +.SH DESCRIPTION +pulseaudio [options] +.SS "COMMANDS:" +.TP +\fB\-h\fR, \fB\-\-help\fR +Show this help +.TP +\fB\-\-version\fR +Show version +.TP +\fB\-\-dump\-conf\fR +Dump default configuration +.TP +\fB\-\-dump\-modules\fR +Dump list of available modules +.TP +\fB\-k\fR \fB\-\-kill\fR +Kill a running daemon +.TP +\fB\-\-check\fR +Check for a running daemon +.SS "OPTIONS:" +.TP +\fB\-\-system\fR[=\fIBOOL\fR] +Run as system\-wide instance +.TP +\fB\-D\fR, \fB\-\-daemonize\fR[=\fIBOOL\fR] +Daemonize after startup +.TP +\fB\-\-fail\fR[=\fIBOOL\fR] +Quit when startup fails +.TP +\fB\-\-high\-priority\fR[=\fIBOOL\fR] +Try to set high process priority +(only available as root) +.TP +\fB\-\-disallow\-module\-loading\fR[=\fIBOOL\fR] +Disallow module loading after startup +.TP +\fB\-\-exit\-idle\-time\fR=\fISECS\fR +Terminate the daemon when idle and this +time passed +.TP +\fB\-\-module\-idle\-time\fR=\fISECS\fR +Unload autoloaded modules when idle and +this time passed +.TP +\fB\-\-scache\-idle\-time\fR=\fISECS\fR +Unload autoloaded samples when idle and +this time passed +.TP +\fB\-\-log\-level\fR[=\fILEVEL\fR] +Increase or set verbosity level +.TP +\fB\-v\fR +Increase the verbosity level +.HP +\fB\-\-log\-target=\fR{auto,syslog,stderr} Specify the log target +.TP +\fB\-p\fR, \fB\-\-dl\-search\-path\fR=\fIPATH\fR +Set the search path for dynamic shared +objects (plugins) +.TP +\fB\-\-resample\-method\fR=\fI[METHOD]\fR +Use the specified resampling method +(one of src\-sinc\-medium\-quality, +src\-sinc\-best\-quality,src\-sinc\-fastest +src\-zero\-order\-hold,src\-linear,trivial) +.TP +\fB\-\-use\-pid\-file\fR[=\fIBOOL\fR] +Create a PID file +.TP +\fB\-\-no\-cpu\-limit\fR[=\fIBOOL\fR] +Do not install CPU load limiter on +platforms that support it. +.TP +\fB\-\-disable\-shm\fR[=\fIBOOL\fR] +Disable shared memory support. +.SS "STARTUP SCRIPT:" +.TP +\fB\-L\fR, \fB\-\-load=\fR"MODULE ARGUMENTS" +Load the specified plugin module with +the specified argument +.TP +\fB\-F\fR, \fB\-\-file\fR=\fIFILENAME\fR +Run the specified script +.TP +\fB\-C\fR +Open a command line on the running TTY +after startup +.TP +\fB\-n\fR +Don't load default script file --- pulseaudio-0.9.7.orig/debian/compat +++ pulseaudio-0.9.7/debian/compat @@ -0,0 +1 @@ +5 --- pulseaudio-0.9.7.orig/debian/libpulse0.shlibs +++ pulseaudio-0.9.7/debian/libpulse0.shlibs @@ -0,0 +1,2 @@ +libpulse 0 libpulse0 (>= 0.9.7) +libpulse-simple 0 libpulse0 --- pulseaudio-0.9.7.orig/debian/pulseaudio-module-gconf.install +++ pulseaudio-0.9.7/debian/pulseaudio-module-gconf.install @@ -0,0 +1,2 @@ +usr/lib/pulseaudio/pulse/gconf-helper +usr/lib/pulse-*/modules/module-gconf.so --- pulseaudio-0.9.7.orig/debian/libpulse-browse0.install +++ pulseaudio-0.9.7/debian/libpulse-browse0.install @@ -0,0 +1 @@ +usr/lib/libpulse-browse.so.* --- pulseaudio-0.9.7.orig/debian/libpulse0.install +++ pulseaudio-0.9.7/debian/libpulse0.install @@ -0,0 +1,3 @@ +etc/pulse/client.conf +usr/lib/libpulse.so.* +usr/lib/libpulse-simple.so.* --- pulseaudio-0.9.7.orig/debian/changelog +++ pulseaudio-0.9.7/debian/changelog @@ -0,0 +1,280 @@ +pulseaudio (0.9.7-3ubuntu1) hardy; urgency=low + + "Hail our new PulseAudio overlords (part one)." + + * Merge from Debian unstable. + * Apply Ubuntu-specific changes: + - debian/control: + + drop libasyncns-dev and libjack0.100.0-dev build-dependencies + since we don't build the jack plugin [yet]; + + add versioned lsb-base dependency to pulseaudio; + + keep pulseaudio installable by demoting some recommended + packages to suggested [retain libasound2-plugins, + libgstreamer-plugins-pulse0.10-0, and + pulseaudio-esound-compat. pulseaudio-module-hal, + pulseaudio-module-x11, libao-pulse, paprefs, and + padevchooser are currently in universe]; + + adhere to DebianMaintainerField spec; + - debian/rules: + + use multiuser instead of defaults in DEB_UPDATE_RCD_PARAMS. + * Drop obsolete Ubuntu-specific change: + - src/pulsecore/protocol-esound.c: applied upstream. + + -- Daniel T Chen Sat, 17 Nov 2007 00:10:48 +0000 + +pulseaudio (0.9.7-3) unstable; urgency=low + + [ CJ van den Berg ] + * debian/control: Add depends on -utils to -module-x11. (Closes: #450840) + + [ Sjoerd Simons ] + * Set pulseaudio setuid in postinst if the permissions aren't overriden by + dpkg-statoverride, instead of having the binary with suid perms in the deb + + -- Sjoerd Simons Fri, 16 Nov 2007 18:41:28 +0100 + +pulseaudio (0.9.7-2) unstable; urgency=low + + * Use pulseaudio (<< 0.9.7) instead of pulseaudio (< 0.9.7) in + -esound-compat + * debian/patches/0002-Fix-pa_readlink-to-put-a-0-in-the-right-location.patch: + + Added. Fix pa_readlink to put a \0 directly after the link string. Fixes + issues with clients using the alsa compatibility layer + * deb/patches/0003-Define-__NR_eventfd-on-arm-if-it-wasn-t-defined-yet.patch: + + Added. Define __NR_eventfd. Fixes FTBS on arm, because libc6-dev does + define SYS_eventfd but older versions of linux-libc-dev don't define + __NR_eventfd yet. + + -- Sjoerd Simons Sun, 04 Nov 2007 13:53:09 +0100 + +pulseaudio (0.9.7-1) unstable; urgency=low + + * New Upstream Version. (Closes: #446026, #436409) + * Drop all patches. All patches are merged upstream. + * debian/control: + + Replace ${Source-Version} with ${binary:Version}. + + Add XS-Vcs-* tags. + + Conflict pulseaudio < 0.9.7 in -esound-compat due to moved manpage. + * debian/rules: + + Add list-missing to catch new modules + + Remove all .la files. + * debian/overrides/pulseaudio: Update libpulsecore so version. + * debian/pulseaudio.install: + + Add new module-default-device-restore.so. + + Add new module-suspend-on-idle.so. + + Add new module-remap-sink.so. + + Add new module-ladspa-sink.so. + - Remove module-oss-mmap.so, removed upstream. + * debian/pulseaudio-module-x11.install: Add new module-x11-xsmp.so. + * debian/pulseaudio-module-zeroconf.install: Add new module-zeroconf- + discover.so. + * debian/pulseaudio-utils.install: Add pasuspender utility. + * debian/pulseaudio-esound-compat.links: Move esd link to pulseaudio- + esound-compat. + * debian/pulseaudio-esound-compat.manpages: Move esdcompat manpage to + pulseaudio-esound-compat. + * debian/libpulse0.shlibs: Add minimum version of 0.9.7 to libpulse0 shlibs. + * debian/patches: + + Added 0001-Set-ESD-socket-to-tmp-.esd-socket-to- match-up-with.patch + + -- CJ van den Berg Wed, 31 Oct 2007 15:31:44 +0100 + +pulseaudio (0.9.6-2) unstable; urgency=low + + * debian/control: + - Add -dbg packages. + - Make libcap-dev and libasound-dev arch specific build deps. + - Add recommends gnome-audio to pulseaudio-module-x11. (Closes: #437393) + - Make pulseaudio-module-zeroconf recommend avahi-daemon. + - Make pulseaudio-utils suggest avahi-daemon. (for pabrowse) + * debian/rules: + - Generate arch specific install files. (Closes: #430366) + - Install init script to start at 25 and stop at 15. (Closes: #428046) + * debian/overrides/pulseaudio: Update libpulsecore override to new + soversion. + * debian/copyright: Update e-mail address for Lennart Poettering. + * debian/patches: Reformat patch series. Add two new patches. + + 0003-Backported-padsp-improvements-from-upstream-trunk.patch + + 0004-New-realtime-safe-and-transport-free-JACK-module.patch + + -- CJ van den Berg Sun, 02 Sep 2007 20:22:19 +0200 + +pulseaudio (0.9.6-1ubuntu2) gutsy; urgency=low + + * fix esound max samplesize again to make sure teh login sound is playable + on networked connections. + + -- Oliver Grawert Thu, 28 Jun 2007 15:31:28 +0200 + +pulseaudio (0.9.6-1ubuntu1) gutsy; urgency=low + + * Merge from Debian unstable, remaining changes: + - debian/control: + + Add lsb-base (>= 3) to pulseaudio's dependencies, + + Adhere to DebianMaintainerField policy, + + Don't build-depend on libjack0.100.0-dev or libasyncns-dev, + - debian/patches/: Remove all Ubuntu-created patches (merged + upstream). + + -- Daniel T Chen Mon, 28 May 2007 22:30:44 +0100 + +pulseaudio (0.9.6-1) unstable; urgency=low + + * New Upstream Version. + + Fix remote DOS vulnerabilities. (CVE-2007-1804) + + Add support for suspended alsa sinks and sources. + + Correct parameter handling in esdcompat. (Closes: #414355) + + Handle ALSA frame size changes. (Closes: #423887) + + Don't unload module-hal-detect if HAL doesn't report any devices. + (Closes: #395893) + * debian/patches: Remove all patches merged upstream. + - 02_ifexists_else_endif.dpatch + - 03_r1352_firefox_workaround.dpatch + - 04_r1373_JavaSound_support.dpatch + - 05_t28_wrong-endian-convert.dpatch + - 06_pulseaudio-0.9.5-suspend.dpatch + * debian/rules: Port to CDBS. + * debian/patches: Rework patch series for quilt. + * debian/control: Add libatomic-ops-dev to Build-Depends. + + -- CJ van den Berg Mon, 28 May 2007 00:53:28 +0200 + +pulseaudio (0.9.5-7ubuntu1) gutsy; urgency=low + + * Merge from Debian unstable, remaining changes: + - debian/control: + + Add lsb-base (>= 3) to pulseaudio's dependencies, + + Adhere to DebianMaintainerField policy, + - debian/patches/: + + Add 10_fix_DoS_vulns.dpatch (pA ticket 67) and + 11_disallow_excessively_high_sampling_rates.dpatch, + + Drop 06_fix_suspend.dpatch in favour of + 06_pulseaudio-0.9.5-suspend.dpatch, + + Retain 07_fix_esdcompat_bashism.dpatch and + 09_fix_esd_max_samplesize.dpatch. + + -- Daniel T Chen Fri, 25 May 2007 01:32:39 -0400 + +pulseaudio (0.9.5-7) unstable; urgency=low + + * debian/control: Make pulseaudio-module-hal depend on hal, not just + libhal. (Closes: #411501) + + -- CJ van den Berg Mon, 19 Feb 2007 22:11:48 +0100 + +pulseaudio (0.9.5-6) unstable; urgency=low + + * debian/patches/06_pulseaudio-0.9.5-suspend.dpatch: + + Added. Handle -ESTRPIPE correctly. Allows pulseaudio to survive suspend + operations on ALSA devices (e.g. s2disk). Thanks to Tobias Diedrich. + (Closes: #406768) + + -- CJ van den Berg Mon, 12 Feb 2007 11:24:50 +0100 + +pulseaudio (0.9.5-5ubuntu4) feisty; urgency=low + + * add 09_fix_esd_max_samplesize.dpatch to make sure the login and logout + gnome sounds can be processed on remote connections. + + -- Oliver Grawert Tue, 6 Mar 2007 14:14:08 +0100 + +pulseaudio (0.9.5-5ubuntu3) feisty; urgency=low + + * debian/control: + - Add lsb-base (>= 3) to pulseaudio's dependencies, + - Adhere to DebianMaintainerField policy, + - Pull in fix from Debian's 0.9.5-7 adding hal to + pulseaudio-module-hal's dependencies, + * debian/pulseaudio.init: LSB-ify. + + -- Daniel T Chen Sun, 25 Feb 2007 02:30:31 -0500 + +pulseaudio (0.9.5-5ubuntu2) feisty; urgency=low + + * added 06_fix_suspend.dpatch from http://pulseaudio.org/ticket/26 + * added 07_fix_esdcompat_bashism.dpatch to avoid esdcompat trying to + shift an empty $1 on POSIX shells + + -- Oliver Grawert Tue, 30 Jan 2007 23:50:57 +0100 + +pulseaudio (0.9.5-5ubuntu1) feisty; urgency=low + + * Merge from Debian unstable, remaining change: + - debian/{control,rules}: Don't use jack or asyncns. + + -- Daniel T Chen Mon, 29 Jan 2007 10:36:35 -0500 + +pulseaudio (0.9.5-5) unstable; urgency=low + + * debian/control: Make Build-deps more specific. (Closes: #401111) + * debian/pulseaudio.init: Make sure files in /var/run/pulse exist before + calling chown and chmod. (Closes: #405869) + + -- CJ van den Berg Mon, 8 Jan 2007 23:02:53 +0100 + +pulseaudio (0.9.5-4ubuntu2) feisty; urgency=low + + * disable libasyncns to fix ftbfs + + -- Oliver Grawert Sat, 20 Jan 2007 11:10:59 +0100 + +pulseaudio (0.9.5-4ubuntu1) feisty; urgency=low + + * merge from debian unstable + * keep jack removal + + -- Oliver Grawert Tue, 28 Nov 2006 19:51:21 +0100 + +pulseaudio (0.9.5-4) unstable; urgency=low + + * Add comment about resampling methods and CPU consumption to + README.Debian (Closes: #391455) + * debian/patches/03_r1352_firefox_workaround.dpatch: + + Added. Fix padsp to work with firefox. Patch created from + SVN revision 1352. + * debian/patches/04_r1373_JavaSound_support.dpatch: + + Added. Fix padsp to work with JavaSound. Patch created from + SVN revision 1373. + * debian/patches/05_t28_wrong-endian-convert.dpatch: + + Added. Add additional sample conversions to sconv.c to support + BE <-> LE network audio. + Patch from http://www.pulseaudio.org/ticket/28 + + -- CJ van den Berg Wed, 18 Oct 2006 23:10:47 +0200 + +pulseaudio (0.9.5-3ubuntu1) feisty; urgency=low + + * indeed remove the jack plugin from debian/control as well + + -- Oliver Grawert Tue, 14 Nov 2006 21:05:29 +0100 + +pulseaudio (0.9.5-3ubuntu0) feisty; urgency=low + + * initial package + * disable jack + * disable asyncns + + -- Oliver Grawert Sun, 12 Nov 2006 20:00:18 +0100 + +pulseaudio (0.9.5-3) unstable; urgency=low + + * Add support for .ifexists configuration directive. + * Make default.pa use ifexists when loading optional modules. + * Recommend instead of Depend on pulseaudio-module-hal. (Closes: #391232) + * Recommend libasound2-plugins instead of -plugins-pulse. (Closes: #391254) + + -- CJ van den Berg Fri, 6 Oct 2006 01:12:05 +0200 + +pulseaudio (0.9.5-2) unstable; urgency=low + + * Add myself to uploaders + * Put libpulse-dev and libpulse0 in the right sections. + + -- Sjoerd Simons Tue, 3 Oct 2006 15:49:12 +0200 + +pulseaudio (0.9.5-1) unstable; urgency=low + + * Initial release (Closes: #378626) + + -- CJ van den Berg Mon, 28 Aug 2006 00:31:10 +0200 + --- pulseaudio-0.9.7.orig/debian/README.Debian +++ pulseaudio-0.9.7/debian/README.Debian @@ -0,0 +1,20 @@ +pulseaudio for Debian +--------------------- + +The pulseaudio executable is installed suid root. This is the recommended +configuration as it allows pulseaudio to run with realtime priority. After +grabbing the realtime capability, pulseaudio drops all other root +priviledges. Only users in the pulse-rt group are granted realtime +priviledges in this way. It is highly recommended that all users that will +be running pulseaudio should be add to the pulse-rt group to prevent +skipping and dropouts in audio output. You should also enable the +high-priority option in /etc/pulse/daemon.conf to ensure that pulseaudio is +started with realtime priority. + +PLEASE NOTE: PulseAudio's default configuration uses high quality sample +rate conversion that may be overly CPU intensive. If PulseAudio's CPU usage +is unacceptable on your hardware, please change the resample-method option +in /etc/pulse/daemon.conf to either src-linear or trivial. See daemon.conf +for more details. + + -- CJ van den Berg , Mon, 28 Aug 2006 00:31:10 +0200 --- pulseaudio-0.9.7.orig/debian/patches/series +++ pulseaudio-0.9.7/debian/patches/series @@ -0,0 +1,3 @@ +0001-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with.patch +0002-Fix-pa_readlink-to-put-a-0-in-the-right-location.patch +0003-Define-__NR_eventfd-on-arm-if-it-wasn-t-defined-yet.patch --- pulseaudio-0.9.7.orig/debian/patches/0001-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with.patch +++ pulseaudio-0.9.7/debian/patches/0001-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with.patch @@ -0,0 +1,22 @@ +From 4c1844dbd5fdd8128fc609764ecd7ef09a6a04ef Mon Sep 17 00:00:00 2001 +From: CJ van den Berg +Date: Wed, 31 Oct 2007 13:59:31 +0100 +Subject: [PATCH] Set ESD socket to /tmp/.esd/socket to match up with libesd + +--- + src/daemon/default.pa.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/daemon/default.pa.in b/src/daemon/default.pa.in +index 597993c..b09d0f2 100755 +--- a/src/daemon/default.pa.in ++++ b/src/daemon/default.pa.in +@@ -46,7 +46,7 @@ load-module module-detect + .endif + + ### Load several protocols +-load-module module-esound-protocol-unix ++load-module module-esound-protocol-unix socket="/tmp/.esd/socket" + load-module module-native-protocol-unix + + ### Network access (may be configured with paprefs, so leave this commented --- pulseaudio-0.9.7.orig/debian/patches/0003-Define-__NR_eventfd-on-arm-if-it-wasn-t-defined-yet.patch +++ pulseaudio-0.9.7/debian/patches/0003-Define-__NR_eventfd-on-arm-if-it-wasn-t-defined-yet.patch @@ -0,0 +1,24 @@ +From 546cf4b92fa968d9a5242921272ad09c26cda049 Mon Sep 17 00:00:00 2001 +From: Sjoerd Simons +Date: Sun, 4 Nov 2007 13:30:57 +0100 +Subject: [PATCH] Define __NR_eventfd on arm if it wasn't defined yet + +--- + src/pulsecore/fdsem.c | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +diff --git a/src/pulsecore/fdsem.c b/src/pulsecore/fdsem.c +index 927bf00..59eec18 100644 +--- a/src/pulsecore/fdsem.c ++++ b/src/pulsecore/fdsem.c +@@ -53,6 +53,10 @@ + #define __NR_eventfd 284 + #endif + ++#if !defined(__NR_eventfd) && defined(__arm__) ++#define __NR_eventfd (__NR_SYSCALL_BASE+351) ++#endif ++ + #if !defined(SYS_eventfd) && defined(__NR_eventfd) + #define SYS_eventfd __NR_eventfd + #endif --- pulseaudio-0.9.7.orig/debian/patches/0002-Fix-pa_readlink-to-put-a-0-in-the-right-location.patch +++ pulseaudio-0.9.7/debian/patches/0002-Fix-pa_readlink-to-put-a-0-in-the-right-location.patch @@ -0,0 +1,22 @@ +From c8c7a262a5a53ce1e8edbd5cca00b087d7e95d76 Mon Sep 17 00:00:00 2001 +From: Sjoerd Simons +Date: Sat, 3 Nov 2007 21:13:38 +0100 +Subject: [PATCH] Fix pa_readlink to put a \0 in the right location + +--- + src/pulsecore/core-util.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c +index b33241a..b2bc5f0 100644 +--- a/src/pulsecore/core-util.c ++++ b/src/pulsecore/core-util.c +@@ -1523,7 +1523,7 @@ char *pa_readlink(const char *p) { + } + + if ((size_t) n < l-1) { +- c[l-1] = 0; ++ c[n] = 0; + return c; + } + --- pulseaudio-0.9.7.orig/debian/pulseaudio-utils.install +++ pulseaudio-0.9.7/debian/pulseaudio-utils.install @@ -0,0 +1,11 @@ +usr/bin/pabrowse +usr/bin/pacat +usr/bin/pacmd +usr/bin/pactl +usr/bin/paplay +usr/bin/parec +usr/bin/padsp +usr/bin/pax11publish +usr/bin/pasuspender +usr/lib/libpulsedsp.so +usr/share/lintian/overrides/pulseaudio-utils --- pulseaudio-0.9.7.orig/debian/pulseaudio-esound-compat.install +++ pulseaudio-0.9.7/debian/pulseaudio-esound-compat.install @@ -0,0 +1,7 @@ +usr/bin/esdcompat +usr/lib/pulse-*/modules/libprotocol-esound.so +usr/lib/pulse-*/modules/module-esound-compat-spawnfd.so +usr/lib/pulse-*/modules/module-esound-compat-spawnpid.so +usr/lib/pulse-*/modules/module-esound-protocol-tcp.so +usr/lib/pulse-*/modules/module-esound-protocol-unix.so +usr/share/lintian/overrides/pulseaudio-esound-compat --- pulseaudio-0.9.7.orig/debian/pulseaudio.manpages +++ pulseaudio-0.9.7/debian/pulseaudio.manpages @@ -0,0 +1 @@ +debian/manpages/pulseaudio.1 --- pulseaudio-0.9.7.orig/debian/rules +++ pulseaudio-0.9.7/debian/rules @@ -0,0 +1,40 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/utils.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +common-build-arch:: + grep -v -e alsa -e evdev debian/pulseaudio.install > \ + debian/pulseaudio.install.kfreebsd-i386 + grep -v -e alsa -e evdev debian/pulseaudio.install > \ + debian/pulseaudio.install.kfreebsd-amd64 + +common-install-arch:: + find $(DEB_DESTDIR) -name "*.la" -delete + mkdir -p $(CURDIR)/debian/tmp/usr/share/lintian + cp -a $(CURDIR)/debian/overrides $(CURDIR)/debian/tmp/usr/share/lintian + +common-binary-post-install-arch:: list-missing + +clean:: + rm -f debian/pulseaudio.install.kfreebsd-i386 + rm -f debian/pulseaudio.install.kfreebsd-amd64 + +update-patch-series: + mkdir -p $(CURDIR)/debian/patches + rm -f $(CURDIR)/debian/patches/*.patch + git-format-patch -o $(CURDIR)/debian/patches patches ^upstream | \ + xargs -n 1 basename > $(CURDIR)/debian/patches/series + for patch in $$(ls $(CURDIR)/debian/patches/*.patch) ; \ + do \ + lines=$$(cat $$patch | wc -l) ; \ + head -n $$(($$lines - 3)) $$patch > $${patch}.chomped ; \ + mv $${patch}.chomped $$patch ; \ + done + +DEB_CONFIGURE_EXTRA_FLAGS = --with-realtime-group=pulse-rt +DEB_DH_MAKESHLIBS_ARGS_ALL = --exclude=usr/lib/pulse-0.9/modules +DEB_DH_INSTALL_ARGS = --sourcedir=$(CURDIR)/debian/tmp +DEB_UPDATE_RCD_PARAMS = multiuser 25 15 --- pulseaudio-0.9.7.orig/debian/pulseaudio-esound-compat.manpages +++ pulseaudio-0.9.7/debian/pulseaudio-esound-compat.manpages @@ -0,0 +1 @@ +debian/manpages/esdcompat.1 --- pulseaudio-0.9.7.orig/debian/pulseaudio.default +++ pulseaudio-0.9.7/debian/pulseaudio.default @@ -0,0 +1,14 @@ +# Start the PulseAudio sound server in system mode. +# (enables the pulseaudio init script) +# System mode is not the recommended way to run PulseAudio as it has some +# limitations (such as no shared memory access) and could potentially allow +# users to disconnect or redirect each others audio streams. +# 0 = don't start, 1 = start +PULSEAUDIO_SYSTEM_START=0 + +# Prevent users from dynamically loading modules into the PulseAudio sound +# server. Dynamic module loading enhances the flexibilty of the PulseAudio +# system, but may pose a security risk. +# 0 = no, 1 = yes +DISALLOW_MODULE_LOADING=1 + --- pulseaudio-0.9.7.orig/debian/pulseaudio.install +++ pulseaudio-0.9.7/debian/pulseaudio.install @@ -0,0 +1,59 @@ +etc/pulse/default.pa +etc/pulse/daemon.conf +usr/bin/pulseaudio +usr/lib/pulse-*/modules/libalsa-util.so +usr/lib/pulse-*/modules/libauthkey-prop.so +usr/lib/pulse-*/modules/libauthkey.so +usr/lib/pulse-*/modules/libcli.so +usr/lib/pulse-*/modules/libiochannel.so +usr/lib/pulse-*/modules/libioline.so +usr/lib/pulse-*/modules/libipacl.so +usr/lib/pulse-*/modules/liboss-util.so +usr/lib/pulse-*/modules/libpacket.so +usr/lib/pulse-*/modules/libparseaddr.so +usr/lib/pulse-*/modules/libpdispatch.so +usr/lib/pulse-*/modules/libprotocol-cli.so +usr/lib/pulse-*/modules/libprotocol-http.so +usr/lib/pulse-*/modules/libprotocol-native.so +usr/lib/pulse-*/modules/libprotocol-simple.so +usr/lib/pulse-*/modules/libpstream-util.so +usr/lib/pulse-*/modules/libpstream.so +usr/lib/pulse-*/modules/librtp.so +usr/lib/pulse-*/modules/libsocket-client.so +usr/lib/pulse-*/modules/libsocket-server.so +usr/lib/pulse-*/modules/libsocket-util.so +usr/lib/pulse-*/modules/libstrlist.so +usr/lib/pulse-*/modules/libtagstruct.so +usr/lib/pulse-*/modules/module-alsa-sink.so +usr/lib/pulse-*/modules/module-alsa-source.so +usr/lib/pulse-*/modules/module-cli-protocol-tcp.so +usr/lib/pulse-*/modules/module-cli-protocol-unix.so +usr/lib/pulse-*/modules/module-cli.so +usr/lib/pulse-*/modules/module-combine.so +usr/lib/pulse-*/modules/module-default-device-restore.so +usr/lib/pulse-*/modules/module-detect.so +usr/lib/pulse-*/modules/module-esound-sink.so +usr/lib/pulse-*/modules/module-http-protocol-tcp.so +usr/lib/pulse-*/modules/module-http-protocol-unix.so +usr/lib/pulse-*/modules/module-ladspa-sink.so +usr/lib/pulse-*/modules/module-match.so +usr/lib/pulse-*/modules/module-mmkbd-evdev.so +usr/lib/pulse-*/modules/module-native-protocol-fd.so +usr/lib/pulse-*/modules/module-native-protocol-tcp.so +usr/lib/pulse-*/modules/module-native-protocol-unix.so +usr/share/lintian/overrides/pulseaudio +usr/lib/pulse-*/modules/module-null-sink.so +usr/lib/pulse-*/modules/module-oss.so +usr/lib/pulse-*/modules/module-pipe-sink.so +usr/lib/pulse-*/modules/module-pipe-source.so +usr/lib/pulse-*/modules/module-remap-sink.so +usr/lib/pulse-*/modules/module-rescue-streams.so +usr/lib/pulse-*/modules/module-rtp-recv.so +usr/lib/pulse-*/modules/module-rtp-send.so +usr/lib/pulse-*/modules/module-simple-protocol-tcp.so +usr/lib/pulse-*/modules/module-simple-protocol-unix.so +usr/lib/pulse-*/modules/module-sine.so +usr/lib/pulse-*/modules/module-tunnel-sink.so +usr/lib/pulse-*/modules/module-tunnel-source.so +usr/lib/pulse-*/modules/module-suspend-on-idle.so +usr/lib/pulse-*/modules/module-volume-restore.so --- pulseaudio-0.9.7.orig/debian/pulseaudio.init +++ pulseaudio-0.9.7/debian/pulseaudio.init @@ -0,0 +1,68 @@ +#!/bin/sh -e +### BEGIN INIT INFO +# Provides: pulseaudio esound +# Required-Start: $local_fs $syslog dbus +# Required-Stop: $local_fs $syslog dbus +# Should-Start: dbus +# Should-Stop: dbus +# Default-Start: 2 3 4 5 +# Default-Stop: S 0 1 6 +# Short-Description: Start the PulseAudio sound server +# Description: System mode startup script for +# the PulseAudio sound server. +### END INIT INFO + +DAEMON=/usr/bin/pulseaudio +PIDFILE=/var/run/pulse/pid +PATH=/sbin:/bin:/usr/sbin:/usr/bin + +test -x $DAEMON || exit 0 + +. /lib/lsb/init-functions + +PULSEAUDIO_SYSTEM_START=0 +DISALLOW_MODULE_LOADING=1 +test -f /etc/default/pulseaudio && . /etc/default/pulseaudio +test "$PULSEAUDIO_SYSTEM_START" != "1" && exit 0 + +pulseaudio_start () { + log_begin_msg "Starting PulseAudio Daemon" + start-stop-daemon -x $DAEMON -p $PIDFILE --start -- --system --daemonize --high-priority --log-target=syslog --disallow-module-loading=$DISALLOW_MODULE_LOADING + if [ -e /var/run/pulse/.esd_auth ]; then + chown pulse:pulse-access /var/run/pulse/.esd_auth + chmod 640 /var/run/pulse/.esd_auth + fi + if [ -e /var/run/pulse/.pulse-cookie ]; then + chown pulse:pulse-access /var/run/pulse/.pulse-cookie + chmod 640 /var/run/pulse/.pulse-cookie + fi + log_end_msg $? +} + +pulseaudio_stop () { + log_begin_msg "Stopping PulseAudio Daemon" + start-stop-daemon -p $PIDFILE --stop || echo -n "... pulseaudio is not running" + log_end_msg $? +} + +case "$1" in + start|stop) + pulseaudio_${1} + ;; + restart|reload|force-reload) + pulseaudio_stop + pulseaudio_start + ;; + force-stop) + pulseaudio_stop + killall pulseaudio || true + sleep 2 + killall -9 pulseaudio || true + ;; + *) + echo "Usage: /etc/init.d/pulseaudio {start|stop|force-stop|restart|reload|force-reload}" + exit 1 + ;; +esac + +exit 0 --- pulseaudio-0.9.7.orig/debian/libpulsecore4.install +++ pulseaudio-0.9.7/debian/libpulsecore4.install @@ -0,0 +1 @@ +usr/lib/libpulsecore.so.* --- pulseaudio-0.9.7.orig/debian/pulseaudio.postrm +++ pulseaudio-0.9.7/debian/pulseaudio.postrm @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +if [ "$1" = "purge" ] ; then + deluser --quiet --system pulse > /dev/null || true + delgroup --quiet --system pulse-access > /dev/null || true + delgroup --quiet --system pulse-rt > /dev/null || true +fi + +exit 0 --- pulseaudio-0.9.7.orig/debian/pulseaudio.postinst +++ pulseaudio-0.9.7/debian/pulseaudio.postinst @@ -0,0 +1,48 @@ +#! /bin/sh +# postinst script for pulseaudio + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +PULSEAUDIO=/usr/bin/pulseaudio + +case "$1" in + configure) + if ! getent passwd pulse >/dev/null; then + adduser --disabled-password --quiet --system \ + --home /var/run/pulse --no-create-home\ + --gecos "PulseAudio daemon" --group pulse + adduser --quiet pulse audio + fi + if ! getent group pulse-access >/dev/null; then + addgroup --quiet --system pulse-access + fi + if ! getent group pulse-rt >/dev/null; then + addgroup --quiet --system pulse-rt + fi + + if ! dpkg-statoverride --list "$PULSEAUDIO" > /dev/null 2>&1; then + chmod 4755 "$PULSEAUDIO" + fi + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- pulseaudio-0.9.7.orig/debian/pulseaudio-module-x11.install +++ pulseaudio-0.9.7/debian/pulseaudio-module-x11.install @@ -0,0 +1,7 @@ +usr/lib/pulse-*/modules/libx11prop.so +usr/lib/pulse-*/modules/libx11wrap.so +usr/lib/pulse-*/modules/module-x11-bell.so +usr/lib/pulse-*/modules/module-x11-publish.so +usr/lib/pulse-*/modules/module-x11-xsmp.so +usr/share/lintian/overrides/pulseaudio-module-x11 +etc/xdg/autostart/pulseaudio-module-xsmp.desktop --- pulseaudio-0.9.7.orig/debian/overrides/pulseaudio-module-x11 +++ pulseaudio-0.9.7/debian/overrides/pulseaudio-module-x11 @@ -0,0 +1,2 @@ +pulseaudio-module-x11: binary-or-shlib-defines-rpath +pulseaudio-module-x11: desktop-entry-lacks-main-category /etc/xdg/autostart/pulseaudio-module-xsmp.desktop --- pulseaudio-0.9.7.orig/debian/overrides/pulseaudio-module-zeroconf +++ pulseaudio-0.9.7/debian/overrides/pulseaudio-module-zeroconf @@ -0,0 +1 @@ +pulseaudio-module-zeroconf: binary-or-shlib-defines-rpath --- pulseaudio-0.9.7.orig/debian/overrides/pulseaudio-module-hal +++ pulseaudio-0.9.7/debian/overrides/pulseaudio-module-hal @@ -0,0 +1 @@ +pulseaudio-module-hal: binary-or-shlib-defines-rpath --- pulseaudio-0.9.7.orig/debian/overrides/pulseaudio +++ pulseaudio-0.9.7/debian/overrides/pulseaudio @@ -0,0 +1,4 @@ +pulseaudio: setuid-binary usr/bin/pulseaudio 4755 root/root +pulseaudio: script-not-executable ./etc/pulse/default.pa +pulseaudio: description-starts-with-package-name +pulseaudio: binary-or-shlib-defines-rpath --- pulseaudio-0.9.7.orig/debian/overrides/pulseaudio-esound-compat +++ pulseaudio-0.9.7/debian/overrides/pulseaudio-esound-compat @@ -0,0 +1 @@ +pulseaudio-esound-compat: binary-or-shlib-defines-rpath --- pulseaudio-0.9.7.orig/debian/overrides/pulseaudio-utils +++ pulseaudio-0.9.7/debian/overrides/pulseaudio-utils @@ -0,0 +1,3 @@ +pulseaudio-utils: no-shlibs-control-file usr/lib/libpulsedsp.so +pulseaudio-utils: postinst-must-call-ldconfig usr/lib/libpulsedsp.so +pulseaudio-utils: package-name-doesnt-match-sonames libpulsedsp --- pulseaudio-0.9.7.orig/debian/libpulse-mainloop-glib0.install +++ pulseaudio-0.9.7/debian/libpulse-mainloop-glib0.install @@ -0,0 +1 @@ +usr/lib/libpulse-mainloop-glib.so.*