From 5b4f79d9de707548f6e5549d4a38bc0fee45d585 Mon Sep 17 00:00:00 2001 From: peijiankang Date: Mon, 20 Jun 2022 10:52:03 +0800 Subject: [PATCH] fix translation error of pulseaudio --- ...-fix-translation-error-of-pulseaudio.patch | 25 +++++++++++++++++++ pulseaudio.spec | 6 ++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 0001-fix-translation-error-of-pulseaudio.patch diff --git a/0001-fix-translation-error-of-pulseaudio.patch b/0001-fix-translation-error-of-pulseaudio.patch new file mode 100644 index 0000000..eef8644 --- /dev/null +++ b/0001-fix-translation-error-of-pulseaudio.patch @@ -0,0 +1,25 @@ +From 71270658311ae22922dc98dad79b835f6d62e4bd Mon Sep 17 00:00:00 2001 +From: peijiankang +Date: Mon, 20 Jun 2022 10:48:08 +0800 +Subject: [PATCH] fix translation error of pulseaudio + +--- + src/modules/alsa/alsa-mixer.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/modules/alsa/alsa-mixer.c b/src/modules/alsa/alsa-mixer.c +index 7b755ce..49c3968 100644 +--- a/src/modules/alsa/alsa-mixer.c ++++ b/src/modules/alsa/alsa-mixer.c +@@ -2838,7 +2838,7 @@ static int path_verify(pa_alsa_path *p) { + if (p->device_port_type == PA_DEVICE_PORT_TYPE_UNKNOWN) + p->device_port_type = map->type; + if (!p->description) +- p->description = pa_xstrdup(map->description); ++ p->description = pa_xstrdup(_(map->description)); + } + + if (!p->description) { +-- +2.33.0 + diff --git a/pulseaudio.spec b/pulseaudio.spec index e70eb6e..e8df24a 100644 --- a/pulseaudio.spec +++ b/pulseaudio.spec @@ -6,7 +6,7 @@ Name: pulseaudio Summary: Improved Linux Sound Server Version: 15.0 -Release: 4 +Release: 5 License: LGPLv2+ URL: https://www.freedesktop.org/wiki/Software/PulseAudio Source0: https://freedesktop.org/software/pulseaudio/releases/pulseaudio-%{version}.tar.xz @@ -14,6 +14,7 @@ Source1: https://freedesktop.org/software/pulseaudio/releases/pulseaudio- Source5: default.pa-for-gdm Patch201: pulseaudio-autostart.patch +Patch202: 0001-fix-translation-error-of-pulseaudio.patch BuildRequires: meson BuildRequires: automake libtool gcc-c++ bash-completion @@ -233,6 +234,9 @@ exit 0 %{_datadir}/glib-2.0/schemas/org.freedesktop.pulseaudio.gschema.xml %changelog +* Mon Jun 20 2022 peijiankang - 15.0-5 +- fix translation error of pulseaudio + * Thu Feb 24 2022 tanyulong - 15.0-4 - fix Mplayer/mpv error -- Gitee