[meta-freescale] [meta-fsl-arm][PATCH] gpu-viv-bin-mx6q: Adding support to install Wayland GPU libs

Abhijit Potnis abhijitpotnis at gmail.com
Wed Jul 24 10:57:28 PDT 2013


Hello Otavio,

Ya, Its very confusing ! :-)
The following snippet from the .inc file

    # We'll only have one backend here so we rename it to generic name
    # and avoid rework in other packages, when possible
    mv ${D}${libdir}/libEGL-${backend}.so ${D}${libdir}/libEGL.so.1
    ln -sf libEGL.so.1 ${D}${libdir}/libEGL.so
    mv ${D}${libdir}/libGAL-${backend}.so ${D}${libdir}/libGAL.so
    mv ${D}${libdir}/libVIVANTE-${backend}.so ${D}${libdir}/libVIVANTE.so



Renames all the -wl.so backend files to generic files. Like the
libGAL-wl.so is renamed to libGAL.so. Hence was my reason to say that the
default .pc files will do the job. The default .pc files are copied by this
piece of code in the present patch.

+        install -m 0644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig/egl.pc
+        install -m 0644 ${WORKDIR}/glesv1_cm.pc
${D}${libdir}/pkgconfig/glesv1_cm.pc
+        install -m 0644 ${WORKDIR}/glesv2.pc
${D}${libdir}/pkgconfig/glesv2.pc


Rest of the files pertaining to back-ends ( -x11.so, -fb.so ) other that
the one selected in DISTRO_FEATURE will be cleaned accordingly in the
do_install() step and what end up in the image are the .so's without the
backend suffix.

This is my understanding of the situation. I hope I haven't wrongly
analyzed this. Plz do let me know if I am wrong.

Regards,
Abhijit





On Wed, Jul 24, 2013 at 9:27 AM, Otavio Salvador <otavio at ossystems.com.br>wrote:

> On Wed, Jul 24, 2013 at 10:40 AM, Abhijit Potnis
> <abhijitpotnis at gmail.com> wrote:
> > Hello Otavio,
> >
> > I don't find a point to have separate pc files for _wl variant. The fb
> > default .pc files serve the purpose just right.
> > To compile Wayland applications, one will have to link to wayland-egl.so
> > separately. That will be provided by wayland-egl.pc file.
>
> Confusing; it seems we have -wl.so backend files. Which .pc files
> should we use for this case?
>
> > If you still think there is need for the same. Then I can send across a
> > patch incorporating that.
>
> I am trying to understand :-) I didn't  test wayland yet.
>
> --
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130724/ce38ba47/attachment.html>


More information about the meta-freescale mailing list