[gnome-apps-nightly] Rhythmbox: Fix compilation with GStreamer master



commit c124c6e77c09cc31f0bfecab6af78e4efc77af9c
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Oct 9 13:27:03 2017 +0200

    Rhythmbox: Fix compilation with GStreamer master
    
    See https://bugzilla.gnome.org/show_bug.cgi?id=788706

 0001-fmradio-Fix-build-with-GStreamer-master.patch |   32 ++++++++++++++++++++
 org.gnome.Rhythmbox3.json                          |    4 ++
 2 files changed, 36 insertions(+), 0 deletions(-)
---
diff --git a/0001-fmradio-Fix-build-with-GStreamer-master.patch 
b/0001-fmradio-Fix-build-with-GStreamer-master.patch
new file mode 100644
index 0000000..e260ea6
--- /dev/null
+++ b/0001-fmradio-Fix-build-with-GStreamer-master.patch
@@ -0,0 +1,32 @@
+From 847a97bf46096db4bd93828e8a95dcaae11817c3 Mon Sep 17 00:00:00 2001
+From: Bastien Nocera <hadess hadess net>
+Date: Mon, 9 Oct 2017 13:11:47 +0200
+Subject: [PATCH] fmradio: Fix build with GStreamer master
+
+The plugin description is not supposed to be a string constant, but an
+unescaped string, to be concatenated with function names.
+
+This used to be acceptable (though would have warned), but breaks with
+the GStreamer 1.13 development branch.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=788706
+---
+ plugins/fmradio/rb-fm-radio-gst-src.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/plugins/fmradio/rb-fm-radio-gst-src.c b/plugins/fmradio/rb-fm-radio-gst-src.c
+index 09d709c28..88abdaf35 100644
+--- a/plugins/fmradio/rb-fm-radio-gst-src.c
++++ b/plugins/fmradio/rb-fm-radio-gst-src.c
+@@ -178,7 +178,7 @@ plugin_init (GstPlugin *plugin)
+ 
+ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
+                  GST_VERSION_MINOR,
+-                 "rbsilencesrc",
++                 rbsilencesrc,
+                  "element to output silence",
+                  plugin_init,
+                  VERSION,
+-- 
+2.14.2
+
diff --git a/org.gnome.Rhythmbox3.json b/org.gnome.Rhythmbox3.json
index 2d77c40..7a933c0 100644
--- a/org.gnome.Rhythmbox3.json
+++ b/org.gnome.Rhythmbox3.json
@@ -85,6 +85,10 @@
                 {
                     "type": "git",
                     "url": "https://git.gnome.org/browse/rhythmbox";
+                },
+                {
+                    "type": "patch",
+                    "path": "0001-fmradio-Fix-build-with-GStreamer-master.patch"
                 }
             ]
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]