[arch-commits] Commit in rygel/trunk (3 files)

Jan Steffens heftig at gemini.archlinux.org
Sun Jan 9 10:34:12 UTC 2022


    Date: Sunday, January 9, 2022 @ 10:34:11
  Author: heftig
Revision: 434004

0.40.3-1

Modified:
  rygel/trunk/PKGBUILD
Deleted:
  rygel/trunk/0001-tracker3-Don-t-create-connection-in-static-construct.patch
  rygel/trunk/0002-tracker3-Correct-graph-name-for-video-items.patch

-----------------------------------------------------------------+
 0001-tracker3-Don-t-create-connection-in-static-construct.patch |   40 ----------
 0002-tracker3-Correct-graph-name-for-video-items.patch          |   22 -----
 PKGBUILD                                                        |   20 ++---
 3 files changed, 8 insertions(+), 74 deletions(-)

Deleted: 0001-tracker3-Don-t-create-connection-in-static-construct.patch
===================================================================
--- 0001-tracker3-Don-t-create-connection-in-static-construct.patch	2022-01-09 10:20:08 UTC (rev 434003)
+++ 0001-tracker3-Don-t-create-connection-in-static-construct.patch	2022-01-09 10:34:11 UTC (rev 434004)
@@ -1,40 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
-Date: Wed, 13 Oct 2021 17:33:05 +0000
-Subject: [PATCH] tracker3: Don't create connection in static constructor
-
-bus_new will wait for work in the GDBus thread to be completed. However,
-further type initialization in the GDBus thread will block on the GType
-class_init_rec_mutex we're already holding and we end up in a deadlock.
----
- .../tracker3/rygel-tracker-root-container.vala   | 16 ++++++++--------
- 1 file changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/src/plugins/tracker3/rygel-tracker-root-container.vala b/src/plugins/tracker3/rygel-tracker-root-container.vala
-index c5d3b25a55d6..c7f722a81ce8 100644
---- a/src/plugins/tracker3/rygel-tracker-root-container.vala
-+++ b/src/plugins/tracker3/rygel-tracker-root-container.vala
-@@ -34,15 +34,15 @@ public class Rygel.Tracker.RootContainer : Rygel.SimpleContainer {
- 
-     public static Sparql.Connection connection;
- 
--    static construct {
--        try {
--            RootContainer.connection = Sparql.Connection.bus_new (TRACKER_SERVICE, null);
--        } catch (Error err) {
--            error ("Failed to connect to tracker: %s", err.message);
--        }
--    }
--
-     public RootContainer (string title) {
-+        if (RootContainer.connection == null) {
-+            try {
-+                RootContainer.connection = Sparql.Connection.bus_new (TRACKER_SERVICE, null);
-+            } catch (Error err) {
-+                error ("Failed to connect to tracker: %s", err.message);
-+            }
-+        }
-+
-         base.root (title);
- 
-         if (this.get_bool_config_without_error ("share-music")) {

Deleted: 0002-tracker3-Correct-graph-name-for-video-items.patch
===================================================================
--- 0002-tracker3-Correct-graph-name-for-video-items.patch	2022-01-09 10:20:08 UTC (rev 434003)
+++ 0002-tracker3-Correct-graph-name-for-video-items.patch	2022-01-09 10:34:11 UTC (rev 434004)
@@ -1,22 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
-Date: Wed, 13 Oct 2021 17:55:24 +0000
-Subject: [PATCH] tracker3: Correct graph name for video items
-
----
- src/plugins/tracker3/rygel-tracker-video-item-factory.vala | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/plugins/tracker3/rygel-tracker-video-item-factory.vala b/src/plugins/tracker3/rygel-tracker-video-item-factory.vala
-index bed04c711eaf..7a765cf772bd 100644
---- a/src/plugins/tracker3/rygel-tracker-video-item-factory.vala
-+++ b/src/plugins/tracker3/rygel-tracker-video-item-factory.vala
-@@ -42,7 +42,7 @@ public class Rygel.Tracker.VideoItemFactory : ItemFactory {
-     private const string CATEGORY = "nmm:Video";
-     private const string CATEGORY_IRI = "http://www.tracker-project.org/" +
-                                         "temp/nmm#Video";
--    private const string GRAPH = "tracker:Videos";
-+    private const string GRAPH = "tracker:Video";
- 
-     public VideoItemFactory () {
-         var upload_folder = Environment.get_user_special_dir

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-09 10:20:08 UTC (rev 434003)
+++ PKGBUILD	2022-01-09 10:34:11 UTC (rev 434004)
@@ -2,8 +2,8 @@
 # Contributor: Balló György <ballogyor+arch at gmail dot com>
 
 pkgname=rygel
-pkgver=0.40.2
-pkgrel=3
+pkgver=0.40.3
+pkgrel=1
 epoch=1
 pkgdesc="UPnP AV MediaServer and MediaRenderer"
 url="https://wiki.gnome.org/Projects/Rygel"
@@ -21,24 +21,18 @@
             'tumbler: Thumbnailing service')
 backup=(etc/rygel.conf)
 groups=(gnome)
-_commit=4cc71529e53acaae16957d38a6565396a7ebf6b4  # tags/rygel-0.40.2^0
-source=("git+https://gitlab.gnome.org/GNOME/rygel.git#commit=$_commit"
-        0001-tracker3-Don-t-create-connection-in-static-construct.patch
-        0002-tracker3-Correct-graph-name-for-video-items.patch)
-sha256sums=('SKIP'
-            '888f5e0c23a677521074523b262e19de6f859f8bf44d614429fb75d2f960c4c3'
-            '17ef15116014dda19f6887b8d84b55876f998ed9f660f381f2636a92b63ada46')
+_commit=2f6c64911bc8bf7ced81be22db905a66b30c2eb6  # tags/rygel-0.40.3^0
+source=("git+https://gitlab.gnome.org/GNOME/rygel.git#commit=$_commit")
+sha256sums=('SKIP')
 
 pkgver() {
   cd $pkgname
-  git describe --tags | sed 's/^RYGEL//;s/^rygel-//;s/_/./g;s/-/+/g'
+  git describe --tags | sed 's/^RYGEL_//;s/^rygel-//;s/_/./g;s/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
   cd $pkgname
   git cherry-pick -n d0410cccf6af55e16d3ba9400ad5e9f703313739
-  git apply -3 ../0001-tracker3-Don-t-create-connection-in-static-construct.patch
-  git apply -3 ../0002-tracker3-Correct-graph-name-for-video-items.patch
 }
 
 build() {
@@ -53,3 +47,5 @@
 package() {
   meson install -C build --destdir "$pkgdir"
 }
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list