Patchwork gstreamer1.0-plugins-base: fix missing rprovides

login
register
mail settings
Submitter Matthieu CRAPET
Date Dec. 16, 2013, 3:41 p.m.
Message ID <8672BB614B4CCA40A6B3BDD6FD82050B4D569AD6@COSNADEXC13.usr.ingenico.loc>
Download mbox | patch
Permalink /patch/63399/
State New
Headers show

Comments

Matthieu CRAPET - Dec. 16, 2013, 3:41 p.m.
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@ingenico.com] 
Envoyé : vendredi 13 décembre 2013 11:50
À : openembedded-core@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(+)
Ross Burton - Dec. 16, 2013, 4:54 p.m.
On 16 December 2013 15:41, Matthieu CRAPET <Matthieu.CRAPET@ingenico.com> wrote:
> 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

Patch

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)} \