Skip to contentSkip to conversation

gstreamer1.0-plugins-base: fix missing rprovides

PATCH In review Matthieu Crapet 2 participants 3 messages Dec 13, 2013 – Dec 16, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gstreamer1.0-plugins-base: fix missing rprovides

split_gstreamer10_packages creates libgst* packages which are missing in PACKAGES list.

---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc +1 -0
index ebfa7cd..697b5bd 100644
@@ -7,6 +7,7 @@ DEPENDS += "freetype liboil util-linux"
 
 inherit gettext
 
+PACKAGES_DYNAMIC =+ "^libgst.*"
 
 PACKAGECONFIG ??= " \
     ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
Signature · 1 line
1.8.2.1
#1 lore raw

Hi,

My previous patch is wrong.

I've seen libgst* packages in gstreamer1.0-plugins-base & gstreamer1.0-plugins-bad. I'm using directly libgst* packages from a third party plugin.

I've thought changing gstreamer1.0-plugins.inc (instead of gstreamer1.0-plugins-base.inc):
-PACKAGES_DYNAMIC = "^${PN}-.*"
+PACKAGES_DYNAMIC = "^${PN}-.* ^libgst.*"

But unfortunately this introduces a nasty (but not fatal) warning message. For examples:

NOTE: multiple providers are available for runtime libgstaudio-1.0 (gstreamer1.0-plugins-bad, gstreamer1.0-plugins-base, gstreamer1.0-plugins-good)
NOTE: consider defining a PREFERRED_PROVIDER entry to match libgstaudio-1.0

Quoted 1 line

libgstaudio-1.0 is only provided by gstreamer1.0-plugins-base

NOTE: multiple providers are available for runtime libgstmpegts-1.0 (gstreamer1.0-plugins-bad, gstreamer1.0-plugins-base, gstreamer1.0-plugins-good)
NOTE: consider defining a PREFERRED_PROVIDER entry to match libgstmpegts-1.0

Quoted 1 line

libgstmpegts-1.0 is only provided by gstreamer1.0-plugins-bad

Is this a side effect of PACKAGES_DYNAMIC with empty package?

Regards,
M

-----Message d'origine-----
De : Matthieu Crapet [mailto:[email protected]] Envoyé : vendredi 13 décembre 2013 11:50
À : [email protected]
Cc : Matthieu CRAPET
Objet : [PATCH] gstreamer1.0-plugins-base: fix missing rprovides

split_gstreamer10_packages creates libgst* packages which are missing in PACKAGES list.

---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc +1 -0
index ebfa7cd..697b5bd 100644
@@ -7,6 +7,7 @@ DEPENDS += "freetype liboil util-linux"
 
 inherit gettext
 
+PACKAGES_DYNAMIC =+ "^libgst.*"
 
 PACKAGECONFIG ??= " \
     ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
Signature · 1 line
1.8.2.1
#2 lore raw
Quoted 2 lines · Matthieu CRAPET

NOTE: multiple providers are available for runtime libgstaudio-1.0 (gstreamer1.0-plugins-bad, gstreamer1.0-plugins-base, gstreamer1.0-plugins-good)
NOTE: consider defining a PREFERRED_PROVIDER entry to match libgstaudio-1.0

Looks a lot like the GStreamer recipes should use PACKAGES_DYNAMIC for just the plugins and manually package the libraries.

Ross