[soundconverter] Rediff bad audio profiles patch (lp 911791).
Michael Schwendt
mschwendt at fedoraproject.org
Wed Jan 4 14:37:53 UTC 2012
commit 3d14a0319ec2b18414185bc3eb163a8dd9769090
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Wed Jan 4 15:37:49 2012 +0100
Rediff bad audio profiles patch (lp 911791).
soundconverter-2.0-rc4-gst-profile-bad.patch | 18 ++++++++++++++++++
soundconverter.spec | 8 +++++++-
2 files changed, 25 insertions(+), 1 deletions(-)
---
diff --git a/soundconverter-2.0-rc4-gst-profile-bad.patch b/soundconverter-2.0-rc4-gst-profile-bad.patch
new file mode 100644
index 0000000..404dad9
--- /dev/null
+++ b/soundconverter-2.0-rc4-gst-profile-bad.patch
@@ -0,0 +1,18 @@
+diff -Nur soundconverter-2.0-rc4-orig/soundconverter/ui.py soundconverter-2.0-rc4/soundconverter/ui.py
+--- soundconverter-2.0-rc4-orig/soundconverter/ui.py 2012-01-04 11:11:19.000000000 +0100
++++ soundconverter-2.0-rc4/soundconverter/ui.py 2012-01-04 15:27:33.032595075 +0100
+@@ -57,6 +57,14 @@
+ description = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/name")
+ extension = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/extension")
+ pipeline = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/pipeline")
++ if not description:
++ description = "-"
++ if not extension:
++ extension = ""
++ if not pipeline:
++ continue
++ if audio_profiles_dict.has_key(description):
++ continue
+ profile = description, extension, pipeline
+ audio_profiles_list.append(profile)
+ audio_profiles_dict[description] = profile
diff --git a/soundconverter.spec b/soundconverter.spec
index 4393e6d..7417c46 100644
--- a/soundconverter.spec
+++ b/soundconverter.spec
@@ -2,7 +2,7 @@
Name: soundconverter
Version: 2.0
-Release: 0.1.rc4%{?dist}
+Release: 0.2.rc4%{?dist}
Summary: Simple sound converter application for GNOME
Group: Applications/Multimedia
@@ -13,6 +13,8 @@ BuildArch: noarch
# lp 911759
Patch0: soundconverter-2.0-rc4-gstmodel.patch
+# lp 911791
+Patch1: soundconverter-2.0-rc4-gst-profile-bad.patch
BuildRequires: desktop-file-utils
BuildRequires: intltool gettext
@@ -52,6 +54,7 @@ writes anything the GStreamer library can.
%prep
%setup -q -n %{name}-%{tar_ver}
%patch0 -p1 -b .model-crash
+%patch1 -p1 -b .bz744596
%build
@@ -101,6 +104,9 @@ update-desktop-database &> /dev/null ||:
%changelog
+* Wed Jan 4 2012 Michael Schwendt <mschwendt at fedoraproject.org> - 2.0-0.2.rc4
+- Rediff bad audio profiles patch (lp 911791).
+
* Wed Jan 4 2012 Michael Schwendt <mschwendt at fedoraproject.org> - 2.0-0.1.rc4
- Patch GNOME Audio Profile preferences crash (lp 911759).
- Explicitly install to libdir=/usr/lib since this is still a noarch package.
More information about the scm-commits
mailing list