gst-plugins-gl: Add dependencies on libjpeg, libpng
PATCH v2 1/1 gst-plugins-gl: Add dependencies on libjpeg, libpng
There's a tight dependency on libjpeg.so.8 and libpng16.so.16 inside of the libgstopengl.so library:
~/objdump -x myimage/1.0-r0/rootfs/usr/lib/gstreamer-0.10/libgstopengl.so \
| grep NEED
NEEDED libgstgl-0.10.so.1 NEEDED libgstcontroller-0.10.so.0 NEEDED libgstfsl-0.10.so.0 NEEDED libipu.so.0 NEEDED librt.so.1 NEEDED libgstvideo-0.10.so.0 NEEDED libgstbase-0.10.so.0 NEEDED libgstinterfaces-0.10.so.0 NEEDED libgstreamer-0.10.so.0 NEEDED libgobject-2.0.so.0 NEEDED libffi.so.6 NEEDED libgmodule-2.0.so.0 NEEDED libgthread-2.0.so.0 NEEDED libxml2.so.2 NEEDED libdl.so.2 NEEDED libglib-2.0.so.0 NEEDED libpthread.so.0 NEEDED libGLESv2.so.2 NEEDED libEGL.so.1 NEEDED libpng16.so.16 NEEDED libz.so.1 NEEDED libjpeg.so.8 NEEDED libm.so.6 NEEDED libc.so.6 VERNEED 0x00001de4 VERNEEDNUM 0x00000003
--- recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bbappend | 1 + 1 file changed, 1 insertion(+)
recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bbappend +1 -0
@@ -3,6 +3,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" PRINC := "${@int(PRINC) + 4}" +DEPENDS += "jpeg libpng" DEPENDS_append_mx6 = " gst-fsl-plugin gpu-viv-bin-mx6q" SRC_URI_append_mx6 = " file://IMX_MMCODEC_3.0.35_4.0.0.patch"
Signature · 1 line
1.8.1.2
Quoted 54 lines · Eric Nelson
There's a tight dependency on libjpeg.so.8 and libpng16.so.16 inside of the libgstopengl.so library:
~/objdump -x myimage/1.0-r0/rootfs/usr/lib/gstreamer-0.10/libgstopengl.so \
| grep NEEDNEEDED libgstgl-0.10.so.1 NEEDED libgstcontroller-0.10.so.0 NEEDED libgstfsl-0.10.so.0 NEEDED libipu.so.0 NEEDED librt.so.1 NEEDED libgstvideo-0.10.so.0 NEEDED libgstbase-0.10.so.0 NEEDED libgstinterfaces-0.10.so.0 NEEDED libgstreamer-0.10.so.0 NEEDED libgobject-2.0.so.0 NEEDED libffi.so.6 NEEDED libgmodule-2.0.so.0 NEEDED libgthread-2.0.so.0 NEEDED libxml2.so.2 NEEDED libdl.so.2 NEEDED libglib-2.0.so.0 NEEDED libpthread.so.0 NEEDED libGLESv2.so.2 NEEDED libEGL.so.1 NEEDED libpng16.so.16 NEEDED libz.so.1 NEEDED libjpeg.so.8 NEEDED libm.so.6 NEEDED libc.so.6 VERNEED 0x00001de4 VERNEEDNUM 0x00000003Change-Id Ieec9824d8fb3883265148e228bc7d374ba4f755bSigned-off-by Eric Nelson <[email protected]>--- recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bbappend | 1 + 1 file changed, 1 insertion(+)recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bbappend +1
-1@@ -3,6 +3,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" PRINC := "${@int(PRINC) + 4}" +DEPENDS += "jpeg libpng" DEPENDS_append_mx6 = " gst-fsl-plugin gpu-viv-bin-mx6q" SRC_URI_append_mx6 = " file://IMX_MMCODEC_3.0.35_4.0.0.patch" --1.8.1.2
Quoted 4 lines
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 32 lines · Eric Nelson
There's a tight dependency on libjpeg.so.8 and libpng16.so.16 inside of the libgstopengl.so library:
~/objdump -x myimage/1.0-r0/rootfs/usr/lib/gstreamer-0.10/libgstopengl.so \
| grep NEEDNEEDED libgstgl-0.10.so.1 NEEDED libgstcontroller-0.10.so.0 NEEDED libgstfsl-0.10.so.0 NEEDED libipu.so.0 NEEDED librt.so.1 NEEDED libgstvideo-0.10.so.0 NEEDED libgstbase-0.10.so.0 NEEDED libgstinterfaces-0.10.so.0 NEEDED libgstreamer-0.10.so.0 NEEDED libgobject-2.0.so.0 NEEDED libffi.so.6 NEEDED libgmodule-2.0.so.0 NEEDED libgthread-2.0.so.0 NEEDED libxml2.so.2 NEEDED libdl.so.2 NEEDED libglib-2.0.so.0 NEEDED libpthread.so.0 NEEDED libGLESv2.so.2 NEEDED libEGL.so.1 NEEDED libpng16.so.16 NEEDED libz.so.1 NEEDED libjpeg.so.8 NEEDED libm.so.6 NEEDED libc.so.6 VERNEED 0x00001de4 VERNEEDNUM 0x00000003
Quoted 2 lines
Change-Id Ieec9824d8fb3883265148e228bc7d374ba4f755bSigned-off-by Eric Nelson <[email protected]>
I am sorry to didn't find this before but this is not a meta-fsl-arm specific fix. Instead this should be send to OE-Core and modify the .bb file.
I checked the source:
.../gst-plugins-gl-0.10.3% git grep ljpeg configure.ac configure.ac:JPEG_LIBS="$LIBS -ljpeg-mmx"
configure.ac: JPEG_LIBS="-ljpeg"
.../gst-plugins-gl-0.10.3% git grep lpng configure.ac .../gst-plugins-gl-0.10.3% git grep png configure.ac configure.ac:dnl libpng is optional configure.ac:PKG_CHECK_MODULES(LIBPNG, libpng >= 1.0, HAVE_PNG=yes, HAVE_PNG=no) configure.ac: AC_DEFINE(HAVE_PNG, [1] , [Use libpng])
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Thanks Otavio,
Quoted 17 lines · Otavio Salvador
Quoted 8 lines · Eric Nelson
There's a tight dependency on libjpeg.so.8 and libpng16.so.16 inside of the libgstopengl.so library:
<snip>
Change-Id Ieec9824d8fb3883265148e228bc7d374ba4f755bSigned-off-by Eric Nelson <[email protected]>I am sorry to didn't find this before but this is not a meta-fsl-arm specific fix. Instead this should be send to OE-Core and modify the .bb file.
I checked the source:
Quoted 9 lines
.../gst-plugins-gl-0.10.3% git grep ljpeg configure.ac configure.ac:JPEG_LIBS="$LIBS -ljpeg-mmx"
configure.ac: JPEG_LIBS="-ljpeg"
.../gst-plugins-gl-0.10.3% git grep lpng configure.ac .../gst-plugins-gl-0.10.3% git grep png configure.ac configure.ac:dnl libpng is optional configure.ac:PKG_CHECK_MODULES(LIBPNG, libpng >= 1.0, HAVE_PNG=yes, HAVE_PNG=no) configure.ac:AC_DEFINE(HAVE_PNG, [1] , [Use libpng])
I'm going to need to re-test this. It looks like 'jpeg' is already expressed as a dependency:
Regards,
Eric
Quoted 18 lines · Eric Nelson
Quoted 6 lines · Otavio Salvador
I am sorry to didn't find this before but this is not a meta-fsl-arm specific fix. Instead this should be send to OE-Core and modify the .bb file.
I checked the source:
Quoted 10 lines
.../gst-plugins-gl-0.10.3% git grep ljpeg configure.ac configure.ac:JPEG_LIBS="$LIBS -ljpeg-mmx"
configure.ac: JPEG_LIBS="-ljpeg" .../gst-plugins-gl-0.10.3% git grep lpng configure.ac .../gst-plugins-gl-0.10.3% git grep png configure.ac configure.ac:dnl libpng is optional configure.ac:PKG_CHECK_MODULES(LIBPNG, libpng >= 1.0, HAVE_PNG=yes, HAVE_PNG=no)
configure.ac:AC_DEFINE(HAVE_PNG, [1] , [Use libpng])
Quoted 4 lines
I'm going to need to re-test this. It looks like 'jpeg' is already expressed as a dependency:
Yes; right.
So it lacking png dependency; seems to be the only real issue here.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://projetos.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 20 lines · Otavio Salvador
Quoted 18 lines · Eric Nelson
Quoted 16 lines · Otavio Salvador
I am sorry to didn't find this before but this is not a meta-fsl-arm specific fix. Instead this should be send to OE-Core and modify the .bb file.
I checked the source:
.../gst-plugins-gl-0.10.3% git grep ljpeg configure.ac configure.ac:JPEG_LIBS="$LIBS -ljpeg-mmx"
configure.ac: JPEG_LIBS="-ljpeg" .../gst-plugins-gl-0.10.3% git grep lpng configure.ac .../gst-plugins-gl-0.10.3% git grep png configure.ac configure.ac:dnl libpng is optional configure.ac:PKG_CHECK_MODULES(LIBPNG, libpng >= 1.0, HAVE_PNG=yes, HAVE_PNG=no)
configure.ac:AC_DEFINE(HAVE_PNG, [1] , [Use libpng])
Quoted 9 lines
Quoted 4 lines
I'm going to need to re-test this. It looks like 'jpeg' is already expressed as a dependency:
Yes; right.
So it lacking png dependency; seems to be the only real issue here.
Well, maybe.
For some reason, neither libpng nor libjpeg was installed in my rootfs.
I'll do a clean build and look more closely the next time.
I'm also confused about how things linked in the first place.
Both of those libraries must have been present during the configure and build steps, but neither made into the filesystem and I'm not sure why.
In my first attempt to pull in the gl-plugin, I added it via local.conf. Perhaps that's the root cause and I'll try to confirm things...
Regards,
Eric
Quoted 41 lines · Eric Nelson
Quoted 23 lines · Otavio Salvador
Quoted 21 lines · Eric Nelson
Quoted 6 lines · Otavio Salvador
I am sorry to didn't find this before but this is not a meta-fsl-arm specific fix. Instead this should be send to OE-Core and modify the .bb file.
I checked the source:
Quoted 10 lines
.../gst-plugins-gl-0.10.3% git grep ljpeg configure.ac configure.ac:JPEG_LIBS="$LIBS -ljpeg-mmx"
configure.ac: JPEG_LIBS="-ljpeg" .../gst-plugins-gl-0.10.3% git grep lpng configure.ac .../gst-plugins-gl-0.10.3% git grep png configure.ac configure.ac:dnl libpng is optional configure.ac:PKG_CHECK_MODULES(LIBPNG, libpng >= 1.0, HAVE_PNG=yes, HAVE_PNG=no)
configure.ac:AC_DEFINE(HAVE_PNG, [1] , [Use libpng])I'm going to need to re-test this. It looks like 'jpeg' is already expressed as a dependency:
Quoted 7 lines
Quoted 2 lines
Yes; right.
So it lacking png dependency; seems to be the only real issue here.
Well, maybe.
For some reason, neither libpng nor libjpeg was installed in my rootfs.
I'll do a clean build and look more closely the next time.
I'm also confused about how things linked in the first place.
Quoted 8 lines
Both of those libraries must have been present during the configure and build steps, but neither made into the filesystem and I'm not sure why.
In my first attempt to pull in the gl-plugin, I added it via local.conf. Perhaps that's the root cause and I'll try to confirm things...
I confirmed that this is not a problem with a clean build.
Sorry for the noise, and please disregard the patch.