Skip to contentSkip to conversation

rygel: update 0.42.4 -> 0.42.5

PATCH Markus Volk 1 participant 1 message Apr 24, 2024 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Resent this without changes because it looks like the first one got lost in nirvana

Quoted 91 lines · Markus Volk

- dont convert to systemd system service. rygel should be started as a user service. This is also a requirement to get it working in gnome-control-center

- build with PACKAGECONFIG media-export to make rygel work out of the box

Signed-off-by Markus Volk <[email protected] <mailto:[email protected]>>
---
 .../rygel/{rygel_0.42.4.bb => rygel_0.42.5.bb}    | 15 
+++------------
 1 file changed, 3 insertions(+), 12 deletions(-)
 rename meta-multimedia/recipes-connectivity/rygel/{rygel_0.42.4.bb 

=> rygel_0.42.5.bb} (83%)

meta-multimedia/recipes-connectivity/rygel/rygel_0.42.5.bb renamed from meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb +0 -0
similarity index 83%
rename from meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb
rename to meta-multimedia/recipes-connectivity/rygel/rygel_0.42.5.bb
index 4fbdce086..e79bd77a5 100644
@@ -20,7 +20,7 @@ inherit gnomebase features_check vala 

gobject-introspection gettext systemd

 # gobject-introspection is mandatory for libmediaart-2.0 and cannot 
be configured
 REQUIRED_DISTRO_FEATURES = "gobject-introspection-data x11"

-SRC_URI[archive.sha256sum] = "6310dfaa2d332b66119b9b020fad6a4bd27d9bc61faf780ca5ca0b62813303f7" +SRC_URI[archive.sha256sum] = "1133602d2e6710aade6b22aa98d93384c8d56396f344763413e96e0110b7d89f"

GIR_MESON_ENABLE_FLAG = 'enabled'
GIR_MESON_DISABLE_FLAG = 'disabled'

meta-multimedia/recipes-connectivity/rygel/rygel_0.42.5.bb renamed from meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb +0 -1
@@ -28,7 +28,7 @@ GIR_MESON_DISABLE_FLAG = 'disabled'
 EXTRA_OEMESON = "-Dengines=gstreamer 
-Dplugins=${@strip_comma('${RYGEL_PLUGINS}')}"
 PACKAGECONFIG:append = "${@bb.utils.contains 

<mailto:${@bb.utils.contains>("DISTRO_FEATURES", "x11", " gtk+3", "", d)}"

meta-multimedia/recipes-connectivity/rygel/rygel_0.42.5.bb renamed from meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb +1 -2
-PACKAGECONFIG ?= "external mpris ruih gst-launch"
+PACKAGECONFIG ?= "external mpris ruih gst-launch media-export"
 
 PACKAGECONFIG[external] = ""
 PACKAGECONFIG[mpris] = ""
@@ -60,16 +60,9 @@ do_install:append() {
        # Remove .la files for loadable modules
        rm -f ${D}/${libdir}/rygel-${LIBV}/engines/*.la
        rm -f ${D}/${libdir}/rygel-${LIBV}/plugins/*.la
-       if [ -e ${D}${nonarch_libdir}/systemd/user/rygel.service ]; 

then

meta-multimedia/recipes-connectivity/rygel/rygel_0.42.5.bb renamed from meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb +0 -2
-               mkdir -p ${D}${systemd_unitdir}/system
-               mv ${D}${nonarch_libdir}/systemd/user/rygel.service 

${D}${systemd_unitdir}/system
- rmdir --ignore-fail-on-non-empty
${D}${nonarch_libdir}/systemd/user \

meta-multimedia/recipes-connectivity/rygel/rygel_0.42.5.bb renamed from meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb +0 -4
-               ${D}${nonarch_libdir}/systemd \
-               ${D}${nonarch_libdir}
-       fi
 }
 
-FILES:${PN} += "${libdir}/rygel-${LIBV}/engines ${datadir}/dbus-1 

${datadir}/icons"
+FILES:${PN} += "${libdir}/rygel-${LIBV}/engines ${systemd_user_unitdir} ${datadir}/dbus-1 ${datadir}/icons"
FILES:${PN}-dbg += "${libdir}/rygel-${LIBV}/engines/.debug
${libdir}/rygel-${LIBV}/plugins/.debug"

PACKAGES += "${PN}-meta"

meta-multimedia/recipes-connectivity/rygel/rygel_0.42.5.bb renamed from meta-multimedia/recipes-connectivity/rygel/rygel_0.42.4.bb +0 -3
@@ -77,8 +70,6 @@ ALLOW_EMPTY:${PN}-meta = "1"
 
 PACKAGES_DYNAMIC = "${PN}-plugin-*"
 
-SYSTEMD_SERVICE:${PN} = "rygel.service"
-
 python populate_packages:prepend () {
     rygel_libdir = d.expand('${libdir}/rygel-${LIBV}')
     postinst = d.getVar('plugin_postinst')
--

2.44.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110139): <https://lists.openembedded.org/g/openembedded-devel/message/110139>
Mute This Topic: <https://lists.openembedded.org/mt/105715439/3618223>
Group Owner: [email protected] <mailto:[email protected]>
Unsubscribe: <https://lists.openembedded.org/g/openembedded-devel/unsub> [[email protected] <mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-