[sound-juicer] fix the build

Matthias Clasen mclasen at fedoraproject.org
Wed Sep 29 01:32:43 UTC 2010


commit 0350d1f8f5d90a60df0b218f4c51593b32a633c4
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Tue Sep 28 21:31:33 2010 -0400

    fix the build

 gtk-build.patch   |   12 ++++++++++++
 sound-juicer.spec |    4 ++++
 2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/gtk-build.patch b/gtk-build.patch
new file mode 100644
index 0000000..1f672c4
--- /dev/null
+++ b/gtk-build.patch
@@ -0,0 +1,12 @@
+diff -up sound-juicer-2.32.0/src/sj-main.c.gtk-build sound-juicer-2.32.0/src/sj-main.c
+--- sound-juicer-2.32.0/src/sj-main.c.gtk-build	2010-09-28 21:29:27.603472020 -0400
++++ sound-juicer-2.32.0/src/sj-main.c	2010-09-28 21:28:16.154471988 -0400
+@@ -113,7 +113,7 @@ sj_stock_init (void)
+ 
+   static const GtkStockItem sj_stock_items[] =
+   {
+-    { SJ_STOCK_EXTRACT, N_("E_xtract"), GDK_CONTROL_MASK, GDK_Return, NULL }
++    { SJ_STOCK_EXTRACT, N_("E_xtract"), GDK_CONTROL_MASK, GDK_KEY_Return, NULL }
+   };
+ 
+   if (initialized)
diff --git a/sound-juicer.spec b/sound-juicer.spec
index d1a35a6..bc21f98 100644
--- a/sound-juicer.spec
+++ b/sound-juicer.spec
@@ -16,6 +16,9 @@ Source:		http://download.gnome.org/sources/sound-juicer/2.32/%{name}-%{version}.
 URL:		http://www.burtonini.com/blog/computers/sound-juicer
 Requires:	cdparanoia
 
+# https://bugzilla.gnome.org/show_bug.cgi?id=630868
+Patch0: gtk-build.patch
+
 Requires(pre): GConf2 >= %{gconf_version}
 Requires(post): GConf2 >= %{gconf_version}
 Requires(preun): GConf2 >= %{gconf_version}
@@ -48,6 +51,7 @@ GStreamer-based CD ripping tool. Saves audio CDs to Ogg/vorbis.
 
 %prep
 %setup -q
+%patch0 -p1 -b .gtk-build
 
 %build
 # work around a gstreamer problem where it


More information about the scm-commits mailing list