public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/rygel/, net-misc/rygel/files/
@ 2023-04-20 12:16 Pacho Ramos
  0 siblings, 0 replies; only message in thread
From: Pacho Ramos @ 2023-04-20 12:16 UTC (permalink / raw
  To: gentoo-commits

commit:     d6e42ca7076f71dad456b545136550bfd0b9fe20
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 20 12:15:41 2023 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu Apr 20 12:15:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6e42ca7

net-misc/rygel: Fix endless loop

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 .../rygel/files/rygel-0.42.2-endless-loop.patch    | 25 ++++++
 net-misc/rygel/rygel-0.42.2-r2.ebuild              | 92 ++++++++++++++++++++++
 2 files changed, 117 insertions(+)

diff --git a/net-misc/rygel/files/rygel-0.42.2-endless-loop.patch b/net-misc/rygel/files/rygel-0.42.2-endless-loop.patch
new file mode 100644
index 000000000000..7249115dc100
--- /dev/null
+++ b/net-misc/rygel/files/rygel-0.42.2-endless-loop.patch
@@ -0,0 +1,25 @@
+From 9be98b0c4b343abb24e6a2a598ba0084c2d65337 Mon Sep 17 00:00:00 2001
+From: Jens Georg <mail@jensge.org>
+Date: Thu, 20 Apr 2023 07:22:07 +0000
+Subject: [PATCH] core: Fix endless loop in NS lookup
+
+Fixes #228
+---
+ src/librygel-core/rygel-xml-utils.vala | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/librygel-core/rygel-xml-utils.vala b/src/librygel-core/rygel-xml-utils.vala
+index f347a271..aedf0545 100644
+--- a/src/librygel-core/rygel-xml-utils.vala
++++ b/src/librygel-core/rygel-xml-utils.vala
+@@ -40,6 +40,7 @@ public class Rygel.XMLUtils {
+             if (ns->prefix == prefix) {
+                 return ns;
+             }
++            ns = ns->next;
+         }
+ 
+         assert_not_reached ();
+-- 
+GitLab
+

diff --git a/net-misc/rygel/rygel-0.42.2-r2.ebuild b/net-misc/rygel/rygel-0.42.2-r2.ebuild
new file mode 100644
index 000000000000..a7eba617c665
--- /dev/null
+++ b/net-misc/rygel/rygel-0.42.2-r2.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org meson systemd vala xdg
+
+DESCRIPTION="Rygel is an open source UPnP/DLNA MediaServer"
+HOMEPAGE="https://wiki.gnome.org/Projects/Rygel"
+
+LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk gtk-doc +introspection +sqlite tracker test transcode"
+RESTRICT="!test? ( test )"
+
+# x11-libs/libX11 from qa-vdb
+DEPEND="
+	>=net-libs/gupnp-1.5.2:1.6=[vala]
+	>=dev-libs/libgee-0.8:0.8=
+	>=net-libs/gssdp-1.5.0:1.6=[vala]
+	>=dev-libs/glib-2.62.0:2
+	>=dev-libs/libxml2-2.7:2
+	>=net-libs/gupnp-av-0.14.1:=[vala]
+	>=media-libs/gupnp-dlna-0.9.4:2.0=
+	>=net-libs/libsoup-3:3.0
+	sqlite? (
+		>=dev-db/sqlite-3.5:3
+		dev-libs/libunistring:=
+	)
+	>=media-libs/gstreamer-1.20:1.0
+	>=media-libs/gst-plugins-base-1.20:1.0
+	media-libs/gstreamer-editing-services:1.0
+	>=media-libs/libmediaart-0.7:2.0[vala]
+	media-plugins/gst-plugins-soup:1.0
+	x11-libs/gdk-pixbuf:2
+	>=sys-apps/util-linux-2.20
+	x11-misc/shared-mime-info
+	introspection? ( >=dev-libs/gobject-introspection-1.33.4:= )
+	tracker? ( app-misc/tracker:3=[vala(+)] )
+	transcode? (
+		media-libs/gst-plugins-bad:1.0
+		media-plugins/gst-plugins-twolame:1.0
+		media-plugins/gst-plugins-libav:1.0
+	)
+	gtk? ( >=x11-libs/gtk+-3.22:3 )
+
+	x11-libs/libX11
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	$(vala_depend)
+	app-text/docbook-xml-dtd:4.5
+	>=sys-devel/gettext-0.19.7
+	virtual/pkgconfig
+"
+# Maintainer only
+#   app-text/docbook-xsl-stylesheets
+#	>=dev-lang/vala-0.36
+#   dev-libs/libxslt
+
+PATCHES=(
+	# https://gitlab.gnome.org/GNOME/rygel/-/issues/228
+	"${FILESDIR}/${P}-endless-loop.patch"
+)
+
+src_prepare() {
+	vala_setup
+	default
+	# Disable test triggering call to gst-plugins-scanner which causes
+	# sandbox issues when plugins such as clutter are installed
+	#sed -e 's/return rygel_playbin_renderer_test_main (argv, argc);/return 0;/' \
+	#	-i tests/rygel-playbin-renderer-test.c || die
+
+	#default
+}
+
+src_configure() {
+	local emesonargs=(
+		$(meson_use gtk-doc api-docs)
+		-Dman_pages=true
+		-Dsystemd-user-units-dir=$(systemd_get_userunitdir)
+		-Dplugins=gst-launch$(use sqlite && echo ",lms,media-export")$(use tracker && echo ",tracker3")
+		-Dengines=gstreamer
+		-Dexamples=false
+		$(meson_use test tests)
+		-Dgstreamer=enabled
+		$(meson_feature gtk)
+		$(meson_feature introspection)
+	)
+	meson_src_configure
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-20 12:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-20 12:16 [gentoo-commits] repo/gentoo:master commit in: net-misc/rygel/, net-misc/rygel/files/ Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox