[OE-core] [PATCH] gstreamer1.0-plugins-base: fix missing rprovides

Matthieu CRAPET Matthieu.CRAPET at ingenico.com
Mon Dec 16 15:41:20 UTC 2013


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

> 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

> 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:Matthieu.Crapet at ingenico.com] 
Envoyé : vendredi 13 décembre 2013 11:50
À : openembedded-core at lists.openembedded.org
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(+)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc
index ebfa7cd..697b5bd 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc
@@ -7,6 +7,7 @@ DEPENDS += "freetype liboil util-linux"
 
 inherit gettext
 
+PACKAGES_DYNAMIC =+ "^libgst.*"
 
 PACKAGECONFIG ??= " \
     ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
-- 
1.8.2.1




More information about the Openembedded-core mailing list