[meta-freescale] [meta-fsl-arm][PATCH v2] gst-plugins-gl: Add dependencies on libjpeg, libpng

Eric Nelson eric.nelson at boundarydevices.com
Fri Jul 26 11:43:45 PDT 2013


On 07/26/2013 11:33 AM, Otavio Salvador wrote:
> On Fri, Jul 26, 2013 at 3:17 PM, Eric Nelson
> <eric.nelson at boundarydevices.com> wrote:
>> On 07/26/2013 09:18 AM, Otavio Salvador wrote:
>>> 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])
>>>
>>
>> I'm going to need to re-test this. It looks like 'jpeg' is
>> already expressed as a dependency:
>>
>> http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb?h=dylan
>
> 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



More information about the meta-freescale mailing list