[gnome-build-meta/alatiera/41-alpha: 7/9] add rygel patch




commit bddf693c8adf53bfaf24b84f33803d08ebd7b9f7
Author: Jordan Petridis <jordan centricular com>
Date:   Fri Jul 16 23:37:25 2021 +0300

    add rygel patch

 elements/core/rygel.bst                            |  2 ++
 .../528f0ca5ab5c3c19aa7ee10e68bba88088028ec1.patch | 39 ++++++++++++++++++++++
 2 files changed, 41 insertions(+)
---
diff --git a/elements/core/rygel.bst b/elements/core/rygel.bst
index 43018013..cb963820 100644
--- a/elements/core/rygel.bst
+++ b/elements/core/rygel.bst
@@ -3,6 +3,8 @@ sources:
 - kind: tar
   url: gnome_downloads:rygel/0.40/rygel-0.40.1.tar.xz
   ref: 4240d777599c8cd09e67da44ccb395d0a6dc78479d809cd6219822c5b568a32d
+- kind: patch
+  path: files/rygel/528f0ca5ab5c3c19aa7ee10e68bba88088028ec1.patch
 build-depends:
 - sdk/vala.bst
 - freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
diff --git a/files/rygel/528f0ca5ab5c3c19aa7ee10e68bba88088028ec1.patch 
b/files/rygel/528f0ca5ab5c3c19aa7ee10e68bba88088028ec1.patch
new file mode 100644
index 00000000..ba44088d
--- /dev/null
+++ b/files/rygel/528f0ca5ab5c3c19aa7ee10e68bba88088028ec1.patch
@@ -0,0 +1,39 @@
+From 528f0ca5ab5c3c19aa7ee10e68bba88088028ec1 Mon Sep 17 00:00:00 2001
+From: Jens Georg <mail jensge org>
+Date: Thu, 10 Jun 2021 21:59:05 +0200
+Subject: [PATCH] media-export: Adapt to GUPnP vapi changes
+
+---
+ meson.build                                                   | 4 ++--
+ .../media-export/rygel-media-export-dvd-container.vala        | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 48301dce..ee612921 100644
+--- a/meson.build
++++ b/meson.build
+@@ -76,7 +76,7 @@ gtkdoc = dependency('gtk-doc', required : false)
+ 
+ glib_minimal_version = '>= 2.56'
+ 
+-gupnp = dependency('gupnp-1.2', version : '>= 1.1')
++gupnp = dependency('gupnp-1.2', version : '>= 1.3')
+ gee = dependency('gee-0.8', version: '>= 0.8.0')
+ gssdp = dependency('gssdp-1.2', version : '>= 1.1')
+ glib = dependency('glib-2.0', version : glib_minimal_version)
+diff --git a/src/plugins/media-export/rygel-media-export-dvd-container.vala 
b/src/plugins/media-export/rygel-media-export-dvd-container.vala
+index d1cb38b7..a692c30c 100644
+--- a/src/plugins/media-export/rygel-media-export-dvd-container.vala
++++ b/src/plugins/media-export/rygel-media-export-dvd-container.vala
+@@ -54,7 +54,7 @@ internal class Rygel.MediaExport.DVDContainer : SimpleContainer, UpdatableObject
+                                         Xml.ParserOption.NOWARNING |
+                                         Xml.ParserOption.NOBLANKS |
+                                         Xml.ParserOption.NONET);
+-        this.doc = new GUPnP.XMLDoc (doc);
++        this.doc = new GUPnP.XMLDoc ((owned) doc);
+ 
+         var context = new Xml.XPath.Context (this.doc.get_doc ());
+         var xpo = context.eval ("/lsdvd/track");
+-- 
+GitLab
+


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