[pulseaudio] 01/01: Fix pulseaudio failure to load in some non-English locales

Luke Yelavich themuso-guest at moszumanska.debian.org
Tue Apr 21 04:39:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

themuso-guest pushed a commit to branch ubuntu
in repository pulseaudio.

commit d27ab582928dcf51ccedc00832bfcb6a99fbb18b
Author: David Henningsson <david.henningsson at canonical.com>
Date:   Mon Apr 20 16:19:10 2015 +0200

    Fix pulseaudio failure to load in some non-English locales
---
 debian/changelog                    |  8 ++++++++
 debian/patches/0099-pa_yes_no.patch | 17 +++++++++++++++++
 debian/patches/series               |  1 +
 3 files changed, 26 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index db533ca..99eeda7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+pulseaudio (1:6.0-0ubuntu6) vivid; urgency=medium
+
+  * debian/patches/0099-pa-yes-no.patch:
+    - Fix pulseaudio failure to load in some non-English
+    locales (LP: #1445358)
+
+ -- David Henningsson <david.henningsson at canonical.com>  Mon, 20 Apr 2015 16:19:10 +0200
+
 pulseaudio (1:6.0-0ubuntu5) vivid; urgency=medium
 
   * debian/patches/0211-corking-a-sink-input-stream-when-stalled.patch:
diff --git a/debian/patches/0099-pa_yes_no.patch b/debian/patches/0099-pa_yes_no.patch
new file mode 100644
index 0000000..ae07b22
--- /dev/null
+++ b/debian/patches/0099-pa_yes_no.patch
@@ -0,0 +1,17 @@
+Subject: Fix PulseAudio failure on some non-English locales
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1445358
+Author: Simos Xenitellis
+
+diff --git a/src/pulsecore/core-util.h b/src/pulsecore/core-util.h
+index dcdc40e..e6be901 100644
+--- a/src/pulsecore/core-util.h
++++ b/src/pulsecore/core-util.h
+@@ -90,7 +90,7 @@ int pa_parse_boolean(const char *s) PA_GCC_PURE;
+ int pa_parse_volume(const char *s, pa_volume_t *volume);
+ 
+ static inline const char *pa_yes_no(bool b) {
+-    return b ? _("yes") : _("no");
++    return b ? "yes" : "no";
+ }
+ 
+ static inline const char *pa_strnull(const char *x) {
diff --git a/debian/patches/series b/debian/patches/series
index 2722a53..bfd3520 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,6 +5,7 @@
 0016-nodisplay-autostart.patch
 0022-inotify-wrapper-Quit-daemon-if-pid-file-is-removed.patch
 0023-fixing_snd_mixer_poll_descriptors_count_when_zero.patch
+0099-pa_yes_no.patch
 
 # Ubuntu touch stuff
 0202-dont-probe-ucm.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-pulseaudio/pulseaudio.git



More information about the pkg-pulseaudio-devel mailing list