[Pkg-pulseaudio-devel] [SCM] pulseaudio packaging branch, master, updated. debian/0.9.7-3-6-g3addc2b
neurocyte-guest at users.alioth.debian.org
neurocyte-guest at users.alioth.debian.org
Sun Nov 18 19:52:11 UTC 2007
The branch, master has been updated
via 3addc2bd2c200349db37901416cb74d62280b0a2 (commit)
from 61b54e5ec51a8c716022beabd2bf638c5e2bac0c (commit)
- Shortlog ------------------------------------------------------------
3addc2b LSB-ify pulseaudio init script
Summary of changes:
debian/changelog | 5 +++++
debian/control | 3 ++-
debian/pulseaudio.init | 10 ++++++----
3 files changed, 13 insertions(+), 5 deletions(-)
-----------------------------------------------------------------------
Details of changes:
commit 3addc2bd2c200349db37901416cb74d62280b0a2
Author: Daniel T Chen <crimsun at ubuntu.com>
Date: Sun Nov 18 20:50:46 2007 +0100
LSB-ify pulseaudio init script
diff --git a/debian/changelog b/debian/changelog
index d5cee71..1d63870 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
pulseaudio (0.9.7-4) UNRELEASED; urgency=low
+ [ CJ van den Berg ]
* debian/overrides/pulseaudio: Remove override for setuid-binary.
* debian/control:
+ Change the priority of all -dbg packages to extra.
@@ -8,6 +9,10 @@ pulseaudio (0.9.7-4) UNRELEASED; urgency=low
* debian/patches:
+ Added 0004-Double-esound-maximum-sample-size.patch from Ubuntu.
+ [Daniel T Chen]
+ * debian/control: Add lsb-base (>= 3) to pulseaudio's dependencies.
+ * debian/pulseaudio.init: LSB-ify.
+
-- CJ van den Berg <cj at vdbonline.com> Sun, 18 Nov 2007 20:37:43 +0100
pulseaudio (0.9.7-3) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 48ae30f..4cef194 100644
--- a/debian/control
+++ b/debian/control
@@ -18,7 +18,8 @@ XS-Vcs-Browser: http://git.debian.org/?p=pkg-pulseaudio/pulseaudio.git
Package: pulseaudio
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, libltdl3 (>= 1.5.24-1)
+Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, lsb-base (>= 3),
+ libltdl3 (>= 1.5.24-1)
Recommends: pulseaudio-module-hal, pulseaudio-module-x11,
libasound2-plugins, libgstreamer-plugins-pulse0.10-0,
pulseaudio-esound-compat, paprefs, padevchooser
diff --git a/debian/pulseaudio.init b/debian/pulseaudio.init
index dd5a6fb..211edbc 100755
--- a/debian/pulseaudio.init
+++ b/debian/pulseaudio.init
@@ -18,13 +18,15 @@ 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 () {
- echo -n "Starting PulseAudio Daemon: pulseaudio"
+ 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
@@ -34,13 +36,13 @@ pulseaudio_start () {
chown pulse:pulse-access /var/run/pulse/.pulse-cookie
chmod 640 /var/run/pulse/.pulse-cookie
fi
- echo "."
+ log_end_msg $?
}
pulseaudio_stop () {
- echo -n "Stopping PulseAudio Daemon: pulseaudio"
+ log_begin_msg "Stopping PulseAudio Daemon"
start-stop-daemon -p $PIDFILE --stop || echo -n "... pulseaudio is not running"
- echo "."
+ log_end_msg $?
}
case "$1" in
--
pulseaudio packaging
More information about the Pkg-pulseaudio-devel
mailing list