Specify extra paths
PATCH 1/1 Specify extra paths
Some layers have gstreamer plugin recipes which include the .inc files from OE-Core but they do not get to find the patch that is being forced by the .inc file and ends up with errors like
WARNING: /mnt/oe/meta-qcom/recipes-multimedia/gstreamer/gstreamer1.0-plugins-v4l2.bb: Unable to get checksum for gstreamer1.0-plugins-v4l2 SRC_URI entry 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch: file could not be fo und
This path prepend fixes it
--- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc +1 -0
@@ -28,6 +28,7 @@ EXTRA_OECONF = " \ --disable-examples \ " +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI_append = " file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch" delete_pkg_m4_file() {
Signature · 1 line
1.8.3.1
Quoted 5 lines · Khem Raj
Some layers have gstreamer plugin recipes which include the .inc files from OE-Core but they do not get to find the patch that is being forced by the .inc file and ends up with errors like
Bad commit message as you don't specify the module.
But should this SRC_URI_append be in the common plugins.inc anyway? Are there out-of-tree modules that don't use gst-common and so the patch won't apply?
Ross
Quoted 10 lines · Ross
On 18 August 2016 at 17:41, Khem Raj <[email protected] <mailto:[email protected]>> wrote:
Some layers have gstreamer plugin recipes which include
the .inc files from OE-Core but they do not get to find
the patch that is being forced by the .inc file and
ends up with errors like
Quoted 3 lines
Bad commit message as you don't specify the module.
But should this
SRC_URI_appendbe in the common plugins.inc anyway? Are there out-of-tree modules that don't use gst-common and so the patch won't apply?
yes there are see
https://github.com/ndechesne/meta-qcom/blob/master/recipes-multimedia/gstreamer/gstreamer1.0-plugins-v4l2.bb <https://github.com/ndechesne/meta-qcom/blob/master/recipes-multimedia/gstreamer/gstreamer1.0-plugins-v4l2.bb>
Quoted 2 lines
Ross
Quoted 7 lines · Khem Raj
Some layers have gstreamer plugin recipes which include the .inc files from OE-Core but they do not get to find the patch that is being forced by the .inc file and ends up with errors like
WARNING:
/mnt/oe/meta-qcom/recipes-multimedia/gstreamer/gstreamer1.0-plugins-v4l2.bb: Unable to get checksum for gstreamer1.0-plugins-v4l2SRC_URIentry 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch: file could not be fo und
Isn't it better to move this SRC_URI_append to the individual .bb files?
Other versions of plugins might not be able to apply this .patch and such recipes will need to use SRC_URI_remove (or SRC_URI with override) to get rid of this.
Quoted 28 lines
This path prepend fixes it
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc | 1 + 1 file changed, 1 insertion(+)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc +1
-0@@ -28,6 +28,7 @@ EXTRA_OECONF = " \ --disable-examples \ " +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI_append = " file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch" delete_pkg_m4_file() {Signature · 7 lines
1.8.3.1 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 9 lines · Martin Jansa
Quoted 5 lines · Khem Raj
Some layers have gstreamer plugin recipes which include the .inc files from OE-Core but they do not get to find the patch that is being forced by the .inc file and ends up with errors like
Quoted 8 lines
Quoted 2 lines
WARNING:
/mnt/oe/meta-qcom/recipes-multimedia/gstreamer/gstreamer1.0-plugins-v4l2.bb: Unable to get checksum for gstreamer1.0-plugins-v4l2SRC_URIentry 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch: file could not be fo undIsn't it better to move this
SRC_URI_appendto the individual .bb files?Other versions of plugins might not be able to apply this .patch and such recipes will need to use
SRC_URI_remove(orSRC_URIwith override) to get rid of this.
I thought of doing that, but then this patch is needed for g-ir to work in cross env. may be its better to also expose the SRCREV and SRC_URI or common repo in the inc file in case where external plugins would like to override that, then they will automatically remove the patch too.
Quoted 32 lines
Quoted 24 lines
This path prepend fixes it
Signed-off-by Khem Raj <[email protected]>---
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc | 1 +1 file changed, 1 insertion(+)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc +0
-0@@ -28,6 +28,7 @@ EXTRA_OECONF = " \ --disable-examples \"
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI_append= " file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch"
delete_pkg_m4_file(){
--
1.8.3.1Quoted 5 lines
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core--
Martin 'JaMa' Jansa jabber: [email protected]