[SCM] Debian packaging for jack-audio-connection-kit branch, master.jackd1, updated. debian/0.118+svn3796-3-54-g676d2dc
adiknoth-guest at users.alioth.debian.org
adiknoth-guest at users.alioth.debian.org
Mon Jun 14 18:40:18 UTC 2010
The following commit has been merged in the master.jackd1 branch:
commit 6191433c8dd1918a17540e80ac1464ab3e40acd4
Author: Adrian Knoth <adi at drcomp.erfurt.thur.de>
Date: Mon Jun 14 20:31:23 2010 +0200
Backport RT prio changes from jackd2.
diff --git a/debian/audio.conf b/debian/audio.conf
new file mode 100644
index 0000000..7081b4a
--- /dev/null
+++ b/debian/audio.conf
@@ -0,0 +1,11 @@
+# Provided by the jackd package.
+#
+# Changes to this file will be preserved.
+#
+# If you want to enable/disable realtime permissions, run
+#
+# dpkg-reconfigure -p high jackd
+
+ at audio - rtprio 95
+ at audio - memlock unlimited
+#@audio - nice -19
diff --git a/debian/jackd1.install b/debian/jackd1.install
index 5a9945b..f5655cf 100644
--- a/debian/jackd1.install
+++ b/debian/jackd1.install
@@ -6,3 +6,4 @@ debian/tmp/usr/lib/jack/jack_dummy.so
debian/tmp/usr/lib/jack/jack_net.so
debian/tmp/usr/lib/jack/jack_oss.so
debian/bash_completion.d etc
+debian/audio.conf etc/security/limits.d
diff --git a/debian/jackd1.postinst b/debian/jackd1.postinst
index 70f82e0..6cb11b5 100644
--- a/debian/jackd1.postinst
+++ b/debian/jackd1.postinst
@@ -7,23 +7,10 @@ CONFIG_FILE=/etc/security/limits.d/audio.conf
db_get jackd/tweak_rt_limits
if [ $RET = "true" ]; then
- mkdir -p $(dirname $CONFIG_FILE)
- cat > $CONFIG_FILE << EOF
-# generated by jackd's postinst.
-#
-# Do not edit this file by hand, use
-#
-# dpkg-reconfigure -p high jackd1
-#
-# instead.
- at audio - rtprio 99
- at audio - memlock unlimited
-#@audio - nice -19
-EOF
-
+ mv ${CONFIG_FILE}.disabled ${CONFIG_FILE} || true
else
# user doesn't want RT prio
- rm -rf $CONFIG_FILE
+ mv $CONFIG_FILE ${CONFIG_FILE}.disabled || true
fi
#DEBHELPER#
--
Debian packaging for jack-audio-connection-kit
More information about the pkg-multimedia-commits
mailing list