]> Chaos Git - misc/patchrepo.git/commitdiff
Add patch for gmpc
authorchaoskagami <chaos.kagami@gmail.com>
Wed, 13 Jan 2016 17:40:28 +0000 (12:40 -0500)
committerchaoskagami <chaos.kagami@gmail.com>
Wed, 13 Jan 2016 17:40:28 +0000 (12:40 -0500)
README.md
gmpc/gmpc-11.8.16-fix-annoyance.patch [new file with mode: 0644]

index 3f8e05df6a7d502652032e5bbadd7b37af0aebf8..dbbbd2d4afce8c17eab533140c1343ab23198657 100644 (file)
--- a/README.md
+++ b/README.md
@@ -8,9 +8,8 @@ They either fix a bug, fix a build, or change functionality. Point is, I have a
 I make every effort to slap documentation at the head of every patch, so read it.
 
 * aria2/
-    * aria2-1.19.0-leech.patch
-        * Adds a --disable-seed option. Does what you expect.
-        * Also applies on 1.19.1 and 1.19.2 with offset, and works.
+    * aria2-1.19.0-leech.patch (works - 1.19.2)
+        * Adds a --disable-seed option. Does what you expect. Now you too can be a leech with a wonderful 0.0 seed ratio (pfft.) This is custom.
 * wget/
     * wget-no-egd-libressl.patch
         * Removes reference to egd so libressl is usable.
@@ -26,8 +25,15 @@ I make every effort to slap documentation at the head of every patch, so read it
 * nss/
     * nss-3.20.1-tls_ecdhe_camellia_gcm.patch
         * Adds ECDHE-Camellia-GCM cipher suites to nss.
+        * Pale Moon forces internal nss now, so this is of limited utility, but disabling the check with PM allows to build against a patched system-nss.
 * wine/
-    * wine-1.7.54-force-laa-exec.patch
+    * wine-1.7.54-force-laa-exec.patch (works - 1.7.55)
         * Environment var 'WINE_FORCE_LARGEADDR' can be set to force a binary to run as if the LAA flag is set. Useful for some games that need dll injection to fix otherwise.
-    * wine-1.7.54-mmap-higher-memory.patch
+    * wine-1.7.54-mmap-higher-memory.patch (works - 1.7.55)
         * Environment var 'WINE_HIGHER_USERSPACE_MMAP' can be set to do allocation mapping starting at a higher location.
+    * wine-1.7.54-opengl-hooking-allow.patch (works - 1.7.55)
+        * WINE by default loads glSwapBuffers directly from libGL.so. This makes WINE use RTLD_NEXT so preloads can override glSwapBuffers.
+    * All of the above are compatible with staging, too.
+* gmpc/
+    * gmpc-*-fix-annoyance.patch
+        * Disables the annoying dialog when clearing the now playing queue. The average person clears now playing all the time. Seriously a design issue.
diff --git a/gmpc/gmpc-11.8.16-fix-annoyance.patch b/gmpc/gmpc-11.8.16-fix-annoyance.patch
new file mode 100644 (file)
index 0000000..5d1cb00
--- /dev/null
@@ -0,0 +1,30 @@
+I don't know about you, but the fact that an extra action
+is required to clear the now playing queue annoys me. Massively.
+
+This patch disables this 'do you want to clear' prompt on the now
+playing queue and just immediately clears it. I'm pretty sure if
+I right click 'Clear' I mean it. Bad design.
+
+--- gmpc-11.8.16/src/browsers/playlist3-current-playlist-browser.c     2011-08-16 23:09:55.000000000 -0400
++++ gmpc-11.8.16/src/browsers/playlist3-current-playlist-browser.c     2016-01-13 12:17:28.790894381 -0500
+@@ -1058,19 +1058,7 @@
+ }
+ static void pl3_current_playlist_browser_clear_playlist(void)
+ {
+-    GtkWidget *delete;
+-
+-    delete = gtk_button_new_from_stock(GTK_STOCK_CLEAR);
+-    g_signal_connect(G_OBJECT(delete),
+-            "clicked",
+-            G_CALLBACK(pl3_current_playlist_browser_clear_playlist_real),
+-            NULL);
+-
+-    /* show message */
+-    playlist3_message_show(pl3_messages,
+-            _("Are you sure you want to clear the play queue?")
+-            ,USER_FEEDBACK);
+-    playlist3_message_add_widget(pl3_messages, delete);
++    pl3_current_playlist_browser_clear_playlist_real(); // Look, guys. I'm not going to hit 'ok' every time I clear my fricken music. Sorry.
+ }
+ static void pl3_current_playlist_browser_shuffle_playlist(void)