[Pkg-pulseaudio-devel] [SCM] pulseaudio packaging branch, master, updated. debian/0.9.10-1-3-ge28652c

sjoerd at users.alioth.debian.org sjoerd at users.alioth.debian.org
Sat May 10 20:02:48 UTC 2008


The branch, master has been updated
       via  e28652cd9fb8c16efb2f6d14d93f0ec92f706fc3 (commit)
      from  ddc05c5d35fe620d8f7d27bea1af6b578329bb4e (commit)


- Shortlog ------------------------------------------------------------
e28652c debian/patches/0005-Reduce-RT-prio-logging-severity.patch

Summary of changes:
 debian/changelog                                   |    5 +++-
 .../0005-Reduce-RT-prio-logging-severity.patch     |   26 ++++++++++++++++++++
 debian/patches/series                              |    1 +
 3 files changed, 31 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
Details of changes:

commit e28652cd9fb8c16efb2f6d14d93f0ec92f706fc3
Author: Sjoerd Simons <sjoerd at luon.net>
Date:   Sat May 10 22:02:44 2008 +0200

    debian/patches/0005-Reduce-RT-prio-logging-severity.patch
    
    * debian/patches/0005-Reduce-RT-prio-logging-severity.patch
      - Added. Reduce the priority of the RT warnings. Not running with RT
      priorities is the default.

diff --git a/debian/changelog b/debian/changelog
index b9cdfde..acc863a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,8 +7,11 @@ pulseaudio (0.9.10-2) UNRELEASED; urgency=low
     - Added. Load module-gconf before module-volume-restore and
     module-device-restore. Otherwise setting virtual sinks/sources as default
     won't be persistent
+  * debian/patches/0005-Reduce-RT-prio-logging-severity.patch
+    - Added. Reduce the priority of the RT warnings. Not running with RT
+    priorities is the default.
 
- -- Sjoerd Simons <sjoerd at debian.org>  Sat, 10 May 2008 18:35:53 +0200
+ -- Sjoerd Simons <sjoerd at debian.org>  Sat, 10 May 2008 22:01:14 +0200
 
 pulseaudio (0.9.10-1) unstable; urgency=low
 
diff --git a/debian/patches/0005-Reduce-RT-prio-logging-severity.patch b/debian/patches/0005-Reduce-RT-prio-logging-severity.patch
new file mode 100644
index 0000000..7626ffd
--- /dev/null
+++ b/debian/patches/0005-Reduce-RT-prio-logging-severity.patch
@@ -0,0 +1,26 @@
+From 44a4f2b01915544994bdff805d4b0a163f3454d0 Mon Sep 17 00:00:00 2001
+From: Sjoerd Simons <sjoerd at luon.net>
+Date: Sat, 10 May 2008 21:59:57 +0200
+Subject: [PATCH] Reduce RT prio logging severity
+
+---
+ src/daemon/main.c |    5 +++--
+ 1 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/src/daemon/main.c b/src/daemon/main.c
+index 1b6fe3f..74d1350 100644
+--- a/src/daemon/main.c
++++ b/src/daemon/main.c
+@@ -449,9 +449,10 @@ int main(int argc, char *argv[]) {
+             suid_root = real_root = FALSE;
+ 
+             if (conf->high_priority || conf->realtime_scheduling)
+-                pa_log_notice("Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:\n"
++                pa_log_info("Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:\n"
+                               "We are not in group '"PA_REALTIME_GROUP"' and PolicyKit refuse to grant us priviliges. Dropping SUID again.\n"
+-                              "For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of '"PA_REALTIME_GROUP"', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.");
++                              "For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of '"PA_REALTIME_GROUP"', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.\n"
++                              "Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.");
+         }
+ 
+     } else {
diff --git a/debian/patches/series b/debian/patches/series
index f46d847..9e5b23d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 0002-Fix-library-search-path-to-include-lib-and-usr-lib.patch
 0003-Define-PULSE_INTERNAL.patch
 0004-load-module-gconf-earlier.patch
+0005-Reduce-RT-prio-logging-severity.patch

-- 
pulseaudio packaging



More information about the Pkg-pulseaudio-devel mailing list