--- pulseaudio-0.9.5.orig/debian/pulseaudio-dev.install +++ pulseaudio-0.9.5/debian/pulseaudio-dev.install @@ -0,0 +1,3 @@ +usr/lib/libpulsecore.so +usr/lib/libpulsecore.a +usr/include/pulsecore/* --- pulseaudio-0.9.5.orig/debian/libpulse-mainloop-glib0.install +++ pulseaudio-0.9.5/debian/libpulse-mainloop-glib0.install @@ -0,0 +1 @@ +usr/lib/libpulse-mainloop-glib.so.* --- pulseaudio-0.9.5.orig/debian/pulseaudio-module-lirc.install +++ pulseaudio-0.9.5/debian/pulseaudio-module-lirc.install @@ -0,0 +1 @@ +usr/lib/pulse-*/modules/module-lirc.so --- pulseaudio-0.9.5.orig/debian/manpages/esdcompat.1 +++ pulseaudio-0.9.5/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.5.orig/debian/manpages/pulseaudio.1 +++ pulseaudio-0.9.5/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.5.orig/debian/pulseaudio.install +++ pulseaudio-0.9.5/debian/pulseaudio.install @@ -0,0 +1,57 @@ +etc/pulse/default.pa +etc/pulse/daemon.conf +usr/bin/pulseaudio +usr/lib/libpulsecore.so.* +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-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-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-mmap.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-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-volume-restore.so --- pulseaudio-0.9.5.orig/debian/pulseaudio.postrm +++ pulseaudio-0.9.5/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.5.orig/debian/pulseaudio.default +++ pulseaudio-0.9.5/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.5.orig/debian/pulseaudio.init +++ pulseaudio-0.9.5/debian/pulseaudio.init @@ -0,0 +1,62 @@ +#!/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 + +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 () { + echo -n "Starting PulseAudio Daemon: pulseaudio" + start-stop-daemon -x $DAEMON -p $PIDFILE --start -- --system --daemonize --high-priority --log-target=syslog --disallow-module-loading=$DISALLOW_MODULE_LOADING + chown pulse:pulse-access /var/run/pulse/.esd_auth + chmod 640 /var/run/pulse/.esd_auth + chown pulse:pulse-access /var/run/pulse/.pulse-cookie + chmod 640 /var/run/pulse/.pulse-cookie + echo "." +} + +pulseaudio_stop () { + echo -n "Stopping PulseAudio Daemon: pulseaudio" + start-stop-daemon -p $PIDFILE --stop || echo -n "... pulseaudio is not running" + echo "." +} + +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.5.orig/debian/pulseaudio-esound-compat.links +++ pulseaudio-0.9.5/debian/pulseaudio-esound-compat.links @@ -0,0 +1 @@ +usr/bin/esdcompat usr/bin/esd --- pulseaudio-0.9.5.orig/debian/overrides/pulseaudio-module-x11 +++ pulseaudio-0.9.5/debian/overrides/pulseaudio-module-x11 @@ -0,0 +1 @@ +pulseaudio-module-x11: binary-or-shlib-defines-rpath --- pulseaudio-0.9.5.orig/debian/overrides/pulseaudio-esound-compat +++ pulseaudio-0.9.5/debian/overrides/pulseaudio-esound-compat @@ -0,0 +1 @@ +pulseaudio-esound-compat: binary-or-shlib-defines-rpath --- pulseaudio-0.9.5.orig/debian/overrides/pulseaudio-module-zeroconf +++ pulseaudio-0.9.5/debian/overrides/pulseaudio-module-zeroconf @@ -0,0 +1 @@ +pulseaudio-module-zeroconf: binary-or-shlib-defines-rpath --- pulseaudio-0.9.5.orig/debian/overrides/pulseaudio-module-hal +++ pulseaudio-0.9.5/debian/overrides/pulseaudio-module-hal @@ -0,0 +1 @@ +pulseaudio-module-hal: binary-or-shlib-defines-rpath --- pulseaudio-0.9.5.orig/debian/overrides/pulseaudio-utils +++ pulseaudio-0.9.5/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.5.orig/debian/overrides/pulseaudio +++ pulseaudio-0.9.5/debian/overrides/pulseaudio @@ -0,0 +1,5 @@ +pulseaudio: setuid-binary usr/bin/pulseaudio 4755 root/root +pulseaudio: script-not-executable ./etc/pulse/default.pa +pulseaudio: description-starts-with-package-name +pulseaudio: package-name-doesnt-match-sonames libpulsecore2 +pulseaudio: binary-or-shlib-defines-rpath --- pulseaudio-0.9.5.orig/debian/pulseaudio-module-x11.install +++ pulseaudio-0.9.5/debian/pulseaudio-module-x11.install @@ -0,0 +1,5 @@ +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/share/lintian/overrides/pulseaudio-module-x11 --- pulseaudio-0.9.5.orig/debian/pulseaudio-module-hal.install +++ pulseaudio-0.9.5/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.5.orig/debian/pulseaudio.postinst +++ pulseaudio-0.9.5/debian/pulseaudio.postinst @@ -0,0 +1,42 @@ +#! /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 + +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 + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- pulseaudio-0.9.5.orig/debian/control +++ pulseaudio-0.9.5/debian/control @@ -0,0 +1,197 @@ +Source: pulseaudio +Section: sound +Priority: optional +Maintainer: CJ van den Berg +Uploaders: Sjoerd Simons +Build-Depends: debhelper (>= 5), dpatch, autotools-dev, m4, libltdl3-dev, + liboil-dev, libsamplerate-dev, libsndfile-dev, libx11-dev, + x11proto-core-dev, libxt-dev, libcap-dev, libasound-dev, libglib2.0-dev, + libavahi-client-dev, libwrap0-dev, + liblircclient-dev, libgconf2-dev, libhal-dev +Standards-Version: 3.7.2 + +Package: pulseaudio +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser +Recommends: pulseaudio-module-hal, pulseaudio-module-x11, libasound2-plugins +Suggests: pulseaudio-utils, paprefs, pavumeter, pavucontrol, padevchooser, + paman, libgstreamer-plugins-pulse0.10-0, libao-pulse, + pulseaudio-esound-compat +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 jackd, multicast-rtp + lirc and avahi, just to name a few. + . + This package contains the daemon and basic module set. + +Package: pulseaudio-utils +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +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-esound-compat +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: esound +Replaces: esound +Provides: esound +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. + . + This package contains the ESD compatibility components and enables a + PulseAudio sound server to fully replace ESD. + +Package: pulseaudio-module-zeroconf +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +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-hal +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +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-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-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-x11 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +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: 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: libpulse-mainloop-glib0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +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. + . + This package adds support for glib2 client applications. + +Package: libpulse-browse0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +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. + . + This package adds support for zeroconf (aka. Avahi, mdns) discovery of + PulseAudio sinks and sources by client applications. + +Package: libpulse-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, libpulse0 (= ${Source-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.5.orig/debian/pulseaudio.manpages +++ pulseaudio-0.9.5/debian/pulseaudio.manpages @@ -0,0 +1,2 @@ +debian/manpages/pulseaudio.1 +debian/manpages/esdcompat.1 --- pulseaudio-0.9.5.orig/debian/copyright +++ pulseaudio-0.9.5/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.5.orig/debian/compat +++ pulseaudio-0.9.5/debian/compat @@ -0,0 +1 @@ +5 --- pulseaudio-0.9.5.orig/debian/README.Debian +++ pulseaudio-0.9.5/debian/README.Debian @@ -0,0 +1,10 @@ +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 realtime group are granted realtime +priviledges in this way. + + -- CJ van den Berg , Mon, 28 Aug 2006 00:31:10 +0200 --- pulseaudio-0.9.5.orig/debian/watch +++ pulseaudio-0.9.5/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.5.orig/debian/changelog +++ pulseaudio-0.9.5/debian/changelog @@ -0,0 +1,36 @@ +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.5.orig/debian/libpulse0.install +++ pulseaudio-0.9.5/debian/libpulse0.install @@ -0,0 +1,3 @@ +etc/pulse/client.conf +usr/lib/libpulse.so.* +usr/lib/libpulse-simple.so.* --- pulseaudio-0.9.5.orig/debian/libpulse-browse0.install +++ pulseaudio-0.9.5/debian/libpulse-browse0.install @@ -0,0 +1 @@ +usr/lib/libpulse-browse.so.* --- pulseaudio-0.9.5.orig/debian/patches/01_use_ifexists_in_default_pa.dpatch +++ pulseaudio-0.9.5/debian/patches/01_use_ifexists_in_default_pa.dpatch @@ -0,0 +1,47 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_use_ifexists_in_default_pa.dpatch by CJ van den Berg +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: use .ifexists meta command to load optional modules only if available + +@DPATCH@ + +diff -Nru pulseaudio-0.9.5-orig/src/daemon/default.pa.in pulseaudio-0.9.5/src/daemon/default.pa.in +--- pulseaudio-0.9.5-orig/src/daemon/default.pa.in 2006-08-25 14:08:11.000000000 +0200 ++++ pulseaudio-0.9.5/src/daemon/default.pa.in 2006-10-06 02:32:56.761435138 +0200 +@@ -26,12 +26,18 @@ + #load-module module-null-sink + #load-module module-pipe-sink + ++.ifexists /usr/lib/pulse-0.9/modules/module-hal-detect.so ++ + ### Automatically load driver modules depending on the hardware available + load-module module-hal-detect + ++.else ++ + ### Alternatively use the static hardware detection module (for systems that + ### lack HAL support +-#load-module module-detect ++load-module module-detect ++ ++.endif + + ### Load audio drivers automatically on access + #add-autoload-sink output module-oss device="/dev/dsp" sink_name=output source_name=input +@@ -41,8 +47,14 @@ + #add-autoload-sink output module-alsa-sink sink_name=output + #add-autoload-source input module-alsa-source source_name=input + +-### Load several protocols ++.ifexists /usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so ++ ++### Load esound protocol + load-module module-esound-protocol-unix ++ ++.endif ++ ++### Load native protocol + load-module module-native-protocol-unix + + ### Network access (may be configured with paprefs, so leave this commented --- pulseaudio-0.9.5.orig/debian/patches/00list +++ pulseaudio-0.9.5/debian/patches/00list @@ -0,0 +1,2 @@ +01_use_ifexists_in_default_pa.dpatch +02_ifexists_else_endif.dpatch --- pulseaudio-0.9.5.orig/debian/patches/02_ifexists_else_endif.dpatch +++ pulseaudio-0.9.5/debian/patches/02_ifexists_else_endif.dpatch @@ -0,0 +1,124 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_ifexists_else_endif.dpatch by CJ van den Berg +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: add support for .ifexists, .else and .endif meta commands + +@DPATCH@ + +diff -Nru pulseaudio-0.9.5-orig/src/pulsecore/cli-command.c pulseaudio-0.9.5/src/pulsecore/cli-command.c +--- pulseaudio-0.9.5-orig/src/pulsecore/cli-command.c 2006-08-19 18:25:38.000000000 +0200 ++++ pulseaudio-0.9.5/src/pulsecore/cli-command.c 2006-10-06 02:08:00.446876784 +0200 +@@ -28,6 +28,7 @@ + #include + #include + #include ++#include + + #include + +@@ -63,6 +64,13 @@ + #define INCLUDE_META ".include" + #define FAIL_META ".fail" + #define NOFAIL_META ".nofail" ++#define IFEXISTS_META ".ifexists" ++#define ELSE_META ".else" ++#define ENDIF_META ".endif" ++ ++#define IFSTATE_NONE 0 ++#define IFSTATE_TRUE 1 ++#define IFSTATE_FALSE 2 + + /* Prototypes for all available commands */ + static int pa_cli_command_exit(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, int *fail); +@@ -953,7 +961,7 @@ + return 0; + } + +-int pa_cli_command_execute_line(pa_core *c, const char *s, pa_strbuf *buf, int *fail) { ++int pa_cli_command_execute_line_stateful(pa_core *c, const char *s, pa_strbuf *buf, int *fail, int *ifstate) { + const char *cs; + + cs = s+strspn(s, whitespace); +@@ -961,6 +969,25 @@ + if (*cs == '#' || !*cs) + return 0; + else if (*cs == '.') { ++ if (!strcmp(cs, ELSE_META)) { ++ if (!ifstate || *ifstate == IFSTATE_NONE) { ++ pa_strbuf_printf(buf, "Meta command %s is not valid in this context\n", cs); ++ return -1; ++ } else if (*ifstate == IFSTATE_TRUE) ++ *ifstate = IFSTATE_FALSE; ++ else ++ *ifstate = IFSTATE_TRUE; ++ return 0; ++ } else if (!strcmp(cs, ENDIF_META)) { ++ if (!ifstate || *ifstate == IFSTATE_NONE) { ++ pa_strbuf_printf(buf, "Meta command %s is not valid in this context\n", cs); ++ return -1; ++ } else ++ *ifstate = IFSTATE_NONE; ++ return 0; ++ } ++ if (ifstate && *ifstate == IFSTATE_FALSE) ++ return 0; + if (!strcmp(cs, FAIL_META)) + *fail = 1; + else if (!strcmp(cs, NOFAIL_META)) +@@ -974,6 +1001,21 @@ + + if (pa_cli_command_execute_file(c, filename, buf, fail) < 0) + if (*fail) return -1; ++ } else if (l == sizeof(IFEXISTS_META)-1 && !strncmp(cs, IFEXISTS_META, l)) { ++ if (!ifstate) { ++ pa_strbuf_printf(buf, "Meta command %s is not valid in this context\n", cs); ++ return -1; ++ } else if (*ifstate != IFSTATE_NONE) { ++ pa_strbuf_printf(buf, "Nested %s commands not supported\n", cs); ++ return -1; ++ } else { ++ const char *filename = cs+l+strspn(cs+l, whitespace); ++ ++ if (access(filename, F_OK) == 0) ++ *ifstate = IFSTATE_TRUE; ++ else ++ *ifstate = IFSTATE_FALSE; ++ } + } else { + pa_strbuf_printf(buf, "Invalid meta command: %s\n", cs); + if (*fail) return -1; +@@ -984,6 +1026,9 @@ + int unknown = 1; + size_t l; + ++ if (ifstate && *ifstate == IFSTATE_FALSE) ++ return 0; ++ + l = strcspn(cs, whitespace); + + for (command = commands; command->name; command++) +@@ -1011,9 +1056,14 @@ + return 0; + } + ++int pa_cli_command_execute_line(pa_core *c, const char *s, pa_strbuf *buf, int *fail) { ++ return pa_cli_command_execute_line_stateful(c, s, buf, fail, NULL); ++} ++ + int pa_cli_command_execute_file(pa_core *c, const char *fn, pa_strbuf *buf, int *fail) { + char line[256]; + FILE *f = NULL; ++ int ifstate = IFSTATE_NONE; + int ret = -1; + assert(c && fn && buf); + +@@ -1028,7 +1078,7 @@ + char *e = line + strcspn(line, linebreak); + *e = 0; + +- if (pa_cli_command_execute_line(c, line, buf, fail) < 0 && *fail) ++ if (pa_cli_command_execute_line_stateful(c, line, buf, fail, &ifstate) < 0 && *fail) + goto fail; + } + --- pulseaudio-0.9.5.orig/debian/pulseaudio-utils.install +++ pulseaudio-0.9.5/debian/pulseaudio-utils.install @@ -0,0 +1,10 @@ +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/lib/libpulsedsp.so +usr/share/lintian/overrides/pulseaudio-utils --- pulseaudio-0.9.5.orig/debian/libpulse-dev.install +++ pulseaudio-0.9.5/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.5.orig/debian/pulseaudio-module-gconf.install +++ pulseaudio-0.9.5/debian/pulseaudio-module-gconf.install @@ -0,0 +1,2 @@ +usr/lib/pulse/gconf-helper +usr/lib/pulse-*/modules/module-gconf.so --- pulseaudio-0.9.5.orig/debian/rules +++ pulseaudio-0.9.5/debian/rules @@ -0,0 +1,110 @@ +#!/usr/bin/make -f +export DH_OPTIONS + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +CONFIGURE_FLAGS = --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib CFLAGS="$(CFLAGS)" --with-realtime-group=pulse-rt --disable-jack --disable-asyncns + +ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) + CONFIGURE_FLAGS += --build=$(DEB_BUILD_GNU_TYPE) +else + CONFIGURE_FLAGS += --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) +endif + +config.status: patch-stamp configure + dh_testdir + ./configure $(CONFIGURE_FLAGS) + +#Architecture +build: build-arch build-indep + +build-arch: build-arch-stamp +build-arch-stamp: config.status + $(MAKE) + touch $@ + +build-indep: build-indep-stamp +build-indep-stamp: config.status + touch $@ + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP# + + -$(MAKE) distclean +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + dh_clean + +patch: patch-stamp +patch-stamp: + dpatch apply-all + touch patch-stamp + +unpatch: + dpatch deapply-all + rm -rf patch-stamp debian/patched + +install: install-indep install-arch +install-indep: +# dh_testdir +# dh_testroot +# dh_clean -k -i +# dh_installdirs -i +# dh_install -i --sourcedir=$(CURDIR)/debian/tmp + +install-arch: + dh_testdir + dh_testroot + dh_clean -k -s + dh_installdirs -s + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + find $(CURDIR)/debian/tmp -name "*.la" | xargs rm + rm $(CURDIR)/debian/tmp/usr/lib/libpulsecore.so + rm $(CURDIR)/debian/tmp/usr/lib/libpulsecore.a + rm -R $(CURDIR)/debian/tmp/usr/include/pulsecore + mkdir -p $(CURDIR)/debian/tmp/usr/share/lintian + cp -a $(CURDIR)/debian/overrides $(CURDIR)/debian/tmp/usr/share/lintian + dh_install -s --sourcedir=$(CURDIR)/debian/tmp --fail-missing + +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installman + dh_installinit + dh_link + dh_strip + dh_compress + dh_fixperms --exclude=usr/bin/pulseaudio + dh_makeshlibs --exclude=usr/lib/pulse-0.9/modules + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: build-indep install-indep +# $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +binary-arch: build-arch install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch patch --- pulseaudio-0.9.5.orig/debian/pulseaudio-module-zeroconf.install +++ pulseaudio-0.9.5/debian/pulseaudio-module-zeroconf.install @@ -0,0 +1,3 @@ +usr/lib/pulse-*/modules/libavahi-wrap.so +usr/lib/pulse-*/modules/module-zeroconf-publish.so +usr/share/lintian/overrides/pulseaudio-module-zeroconf --- pulseaudio-0.9.5.orig/debian/pulseaudio-esound-compat.install +++ pulseaudio-0.9.5/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.5.orig/config.guess +++ pulseaudio-0.9.5/config.guess @@ -1,10 +1,9 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, -# Inc. +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2006-07-02' +timestamp='2006-02-23' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -211,7 +210,7 @@ echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) - echo powerpc-unknown-mirbsd${UNAME_RELEASE} + echo powerppc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} @@ -771,8 +770,6 @@ case ${UNAME_MACHINE} in pc98) echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - amd64) - echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac @@ -783,6 +780,9 @@ i*:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; + i*:MSYS_NT-*:*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 @@ -790,10 +790,10 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - x86:Interix*:[3456]*) + x86:Interix*:[345]*) echo i586-pc-interix${UNAME_RELEASE} exit ;; - EM64T:Interix*:[3456]*) + EM64T:Interix*:[345]*) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) @@ -831,9 +831,6 @@ arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; - avr32*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; @@ -992,7 +989,7 @@ LIBC=gnulibc1 # endif #else - #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__sun) LIBC=gnu #else LIBC=gnuaout --- pulseaudio-0.9.5.orig/config.sub +++ pulseaudio-0.9.5/config.sub @@ -1,10 +1,9 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, -# Inc. +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2006-07-02' +timestamp='2006-02-23' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -241,7 +240,7 @@ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ @@ -249,8 +248,7 @@ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ - | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | mcore \ + | m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -276,11 +274,11 @@ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ - | spu | strongarm \ + | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b \ + | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ @@ -288,6 +286,9 @@ | z8k) basic_machine=$basic_machine-unknown ;; + m32c) + basic_machine=$basic_machine-unknown + ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown @@ -317,7 +318,7 @@ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* | avr32-* \ + | avr-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ @@ -328,7 +329,7 @@ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ - | m32c-* | m32r-* | m32rle-* \ + | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ @@ -357,11 +358,11 @@ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ @@ -372,6 +373,8 @@ | ymp-* \ | z8k-*) ;; + m32c-*) + ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) @@ -1125,7 +1128,7 @@ sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; - sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) + sparc | sparcv8 | sparcv9 | sparcv9b) basic_machine=sparc-sun ;; cydra) @@ -1214,7 +1217,7 @@ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers*) + | -skyos* | -haiku* | -rdos*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1366,9 +1369,6 @@ # system, and we'll never get to this point. case $basic_machine in - spu-*) - os=-elf - ;; *-acorn) os=-riscix1.2 ;; @@ -1378,9 +1378,9 @@ arm*-semi) os=-aout ;; - c4x-* | tic4x-*) - os=-coff - ;; + c4x-* | tic4x-*) + os=-coff + ;; # This must come before the *-dec entry. pdp10-*) os=-tops20