* [for master PATCH] gstreamer: Add missing FILES_PN to populate rootfs
@ 2014-11-26 8:31 Karthik Ramanan
2014-12-03 1:45 ` Denys Dmytriyenko
0 siblings, 1 reply; 3+ messages in thread
From: Karthik Ramanan @ 2014-11-26 8:31 UTC (permalink / raw)
To: meta-arago
All the libraries and binaries from GST, base-plugins,
good-plugins and bad-plugins need to be populated into
the target filesystem.
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
---
.../gstreamer/gst-plugins-package-mm-accel.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-package-mm-accel.inc b/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-package-mm-accel.inc
index a1c81f3..68f643c 100644
--- a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-package-mm-accel.inc
+++ b/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-package-mm-accel.inc
@@ -15,3 +15,5 @@ python split_gstreamer10_packages () {
do_split_packages(d, gst_libdir, 'libgst(.*)\.la$', d.expand('${PN}-%s-dev'), 'GStreamer plugin for %s (development files)', extra_depends=d.expand('${PN}-dev'))
do_split_packages(d, gst_libdir, 'libgst(.*)\.a$', d.expand('${PN}-%s-staticdev'), 'GStreamer plugin for %s (static development files)', extra_depends=d.expand('${PN}-staticdev'))
}
+
+FILES_${PN} += "${libdir}/gstreamer-0.10/*"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [for master PATCH] gstreamer: Add missing FILES_PN to populate rootfs
2014-11-26 8:31 [for master PATCH] gstreamer: Add missing FILES_PN to populate rootfs Karthik Ramanan
@ 2014-12-03 1:45 ` Denys Dmytriyenko
2014-12-05 7:01 ` Karthik Ramanan
0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2014-12-03 1:45 UTC (permalink / raw)
To: Karthik Ramanan; +Cc: meta-arago
On Wed, Nov 26, 2014 at 02:01:28PM +0530, Karthik Ramanan wrote:
> All the libraries and binaries from GST, base-plugins,
> good-plugins and bad-plugins need to be populated into
> the target filesystem.
NAK - this is not the correct way to do what you explain here!
The code I've added to this .inc file splits out all the libraries and plugins
into individual packages, similar to how it's done in the upstream gstreamer
recipes:
http://arago-project.org/git/?p=meta-arago.git;a=commitdiff;h=75b485f1208f605dd7da70bf61b0a078c9c863a8
You need to list necessary library packages in the corresponding packagegroup
to be added to the target filesystem. Or, alternatively, you can pull a "meta"
package that lists all produced libraries and plugins. packagegroup-arago-gst
does that already - it includes all gst-plugins-*-meta and that should already
be set to point to the corresponding "mm-accel" packages with necessary
PREFERRED_PROVIDER statements in arago-prefs.inc
Moreover, I don't see any files not being packaged, which would need to be
picked up by your below FILES_* statement. The only warning I see from bitbake
as related to gstreamer, are:
WARNING: QA Issue: gst-plugins-ducati: Files/directories were installed but not shipped
/usr/lib/gstreamer-0.10/.debug
/usr/lib/gstreamer-0.10/.debug/libgstducati.so
WARNING: QA Issue: gst-plugins-vpe: Files/directories were installed but not shipped
/usr/lib/gstreamer-0.10/.debug
/usr/lib/gstreamer-0.10/.debug/libgstvpe.so
/usr/lib/gstreamer-0.10/.debug/libgstperf.so
So, the question would be - what are you trying to fix here?
--
Denys
> Signed-off-by: Karthik Ramanan <a0393906@ti.com>
> ---
> .../gstreamer/gst-plugins-package-mm-accel.inc | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-package-mm-accel.inc b/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-package-mm-accel.inc
> index a1c81f3..68f643c 100644
> --- a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-package-mm-accel.inc
> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-package-mm-accel.inc
> @@ -15,3 +15,5 @@ python split_gstreamer10_packages () {
> do_split_packages(d, gst_libdir, 'libgst(.*)\.la$', d.expand('${PN}-%s-dev'), 'GStreamer plugin for %s (development files)', extra_depends=d.expand('${PN}-dev'))
> do_split_packages(d, gst_libdir, 'libgst(.*)\.a$', d.expand('${PN}-%s-staticdev'), 'GStreamer plugin for %s (static development files)', extra_depends=d.expand('${PN}-staticdev'))
> }
> +
> +FILES_${PN} += "${libdir}/gstreamer-0.10/*"
> --
> 1.7.9.5
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [for master PATCH] gstreamer: Add missing FILES_PN to populate rootfs
2014-12-03 1:45 ` Denys Dmytriyenko
@ 2014-12-05 7:01 ` Karthik Ramanan
0 siblings, 0 replies; 3+ messages in thread
From: Karthik Ramanan @ 2014-12-05 7:01 UTC (permalink / raw)
To: Denys Dmytriyenko; +Cc: meta-arago
On 03-Dec-14 7:15 AM, Denys Dmytriyenko wrote:
> On Wed, Nov 26, 2014 at 02:01:28PM +0530, Karthik Ramanan wrote:
>> All the libraries and binaries from GST, base-plugins,
>> good-plugins and bad-plugins need to be populated into
>> the target filesystem.
>
> NAK - this is not the correct way to do what you explain here!
>
> The code I've added to this .inc file splits out all the libraries and plugins
> into individual packages, similar to how it's done in the upstream gstreamer
> recipes:
>
> http://arago-project.org/git/?p=meta-arago.git;a=commitdiff;h=75b485f1208f605dd7da70bf61b0a078c9c863a8
>
>
> You need to list necessary library packages in the corresponding packagegroup
> to be added to the target filesystem. Or, alternatively, you can pull a "meta"
> package that lists all produced libraries and plugins. packagegroup-arago-gst
> does that already - it includes all gst-plugins-*-meta and that should already
> be set to point to the corresponding "mm-accel" packages with necessary
> PREFERRED_PROVIDER statements in arago-prefs.inc
>
>
> Moreover, I don't see any files not being packaged, which would need to be
> picked up by your below FILES_* statement. The only warning I see from bitbake
> as related to gstreamer, are:
>
> WARNING: QA Issue: gst-plugins-ducati: Files/directories were installed but not shipped
> /usr/lib/gstreamer-0.10/.debug
> /usr/lib/gstreamer-0.10/.debug/libgstducati.so
> WARNING: QA Issue: gst-plugins-vpe: Files/directories were installed but not shipped
> /usr/lib/gstreamer-0.10/.debug
> /usr/lib/gstreamer-0.10/.debug/libgstvpe.so
> /usr/lib/gstreamer-0.10/.debug/libgstperf.so
>
>
> So, the question would be - what are you trying to fix here?
>
Denys,
I tried your suggestion by making changes to the packagegroup to include
"packagegroup-arago-gst" and it worked fine. I will abandon this patch.
Thanks for your input.
Regards
Karthik
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-12-05 7:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-26 8:31 [for master PATCH] gstreamer: Add missing FILES_PN to populate rootfs Karthik Ramanan
2014-12-03 1:45 ` Denys Dmytriyenko
2014-12-05 7:01 ` Karthik Ramanan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.