Commits

Uelsk8s committed e4290da

added fedora patches sound-juicer

Comments (0)

Files changed (3)

var/vabs/sound-juicer/src/patches/gtk-build.patch

+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)

var/vabs/sound-juicer/src/patches/sound-juicer-2.32.0-drawable.patch

+--- sound-juicer-2.32.0/src/sj-main.c	2010-08-04 06:35:35.000000000 -0700
++++ sound-juicer-2.32.0/src/sj-main.c.new	2010-11-12 16:41:26.401868408 -0800
+@@ -49,6 +49,11 @@
+ #include "sj-play.h"
+ #include "sj-genres.h"
+ 
++/* gtk compatibility hack, remove when required gtk >= 2.91.0 */
++#if (!GTK_CHECK_VERSION(2,24,0) || (GTK_CHECK_VERSION(2,90,0) && !GTK_CHECK_VERSION(2,91,0)))
++#define gdk_window_get_display gdk_drawable_get_display
++#endif
++
+ gboolean on_delete_event (GtkWidget *widget, GdkEvent *event, gpointer user_data);
+ 
+ static void reread_cd (gboolean ignore_no_media);
+@@ -886,10 +891,10 @@
+ 
+   /* Set watch cursor */
+   if (realized) {
+-    cursor = gdk_cursor_new_for_display (gdk_drawable_get_display (window), GDK_WATCH);
++    cursor = gdk_cursor_new_for_display (gdk_window_get_display (window), GDK_WATCH);
+     gdk_window_set_cursor (window, cursor);
+     gdk_cursor_unref (cursor);
+-    gdk_display_sync (gdk_drawable_get_display (window));
++    gdk_display_sync (gdk_window_get_display (window));
+   }
+ 
+   /* Set statusbar message */

var/vabs/sound-juicer/src/patches/sound-juicer-2.32.0-profiles.patch

+--- sound-juicer-2.32.0/configure.in	2010-09-28 02:54:47.000000000 -0700
++++ sound-juicer-2.32.0/configure.in.new	2010-11-12 17:56:17.305920795 -0800
+@@ -55,7 +55,7 @@
+        GTK_REQUIRED=2.90.0
+        LIBBRASERO_MEDIA_PC=libbrasero-media3
+        LIBCANBERRA_GTK_PC=libcanberra-gtk3
+-       GNOME_MEDIA_PROFILES_PC=gnome-media-profiles-3.0
++       GNOME_MEDIA_PROFILES_PC=libgnome-media-profiles-3.0
+        ;;
+ esac
+ 
+--- sound-juicer-2.32.0/libjuicer/sj-extractor.c	2010-02-09 05:33:28.000000000 -0800
++++ sound-juicer-2.32.0/libjuicer/sj-extractor.c.new	2010-11-12 18:37:07.622546893 -0800
+@@ -30,7 +30,7 @@
+ #include <glib-object.h>
+ #include <gst/gst.h>
+ #include <gst/tag/tag.h>
+-#include <profiles/gnome-media-profiles.h>
++#include <libgnome-media-profiles/gnome-media-profiles.h>
+ #include "sj-extractor.h"
+ #include "sj-structures.h"
+ #include "sj-error.h"
+--- sound-juicer-2.32.0/src/sj-main.c	2010-08-04 06:35:35.000000000 -0700
++++ sound-juicer-2.32.0/src/sj-main.c.new2	2010-11-12 18:40:21.779342318 -0800
+@@ -33,7 +33,7 @@
+ #include <gconf/gconf-client.h>
+ #include <brasero-medium-selection.h>
+ #include <brasero-volume.h>
+-#include <profiles/gnome-media-profiles.h>
++#include <libgnome-media-profiles/gnome-media-profiles.h>
+ #include <gst/gst.h>
+ 
+ #include "bacon-message-connection.h"
+--- sound-juicer-2.32.0/src/sj-prefs.c	2010-05-26 15:53:08.000000000 -0700
++++ sound-juicer-2.32.0/src/sj-prefs.c.new	2010-11-12 18:40:30.304672876 -0800
+@@ -25,7 +25,7 @@
+ #include <string.h>
+ #include <gtk/gtk.h>
+ #include <gconf/gconf-client.h>
+-#include <profiles/gnome-media-profiles.h>
++#include <libgnome-media-profiles/gnome-media-profiles.h>
+ #include <brasero-drive-selection.h>
+ 
+ #include "sj-util.h"
+--- sound-juicer-2.32.0/libjuicer/sj-extractor.h	2010-02-09 05:33:28.000000000 -0800
++++ sound-juicer-2.32.0/libjuicer/sj-extractor.h.new	2010-11-12 18:51:04.945437028 -0800
+@@ -26,7 +26,7 @@
+ #include <glib.h>
+ #include <glib-object.h>
+ #include <gio/gio.h>
+-#include <profiles/audio-profile.h>
++#include <libgnome-media-profiles/audio-profile.h>
+ #include "sj-structures.h"
+ 
+ G_BEGIN_DECLS
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.