[meta-intel] [PATCH 0/2] upgrade libva & libva-intel-driver

Kamble, Nitin A nitin.a.kamble at intel.com
Tue Mar 12 09:42:37 PDT 2013



> -----Original Message-----
> From: Palcu, Laurentiu
> Sent: Tuesday, March 12, 2013 9:25 AM
> To: Kamble, Nitin A
> Cc: Burton, Ross; meta-intel at yoctoproject.org
> Subject: Re: [meta-intel] [PATCH 0/2] upgrade libva & libva-intel-driver
> 
> On Tue, Mar 12, 2013 at 05:10:08PM +0200, Kamble, Nitin A wrote:
> >
> > Hi Laurentiu,
> >   You can create the patch for the affected libraries as Ross has mentioned
> in the other email on this thread.
> > If more .pc fixes are needed for EMGD, I will take look at that.
> >
> > Thanks,
> > Nitin
> This approach might be trickier than I first thought... And that's because,
> apart from the usual fields (like Cflags, Libs) which are easy to fill in, there are
> a few harder ones: Require, Require.private, Libs.private. I'm not 100% I can
> do that without having access to EMGD project source code... I can inspect
> the .so file to see the libraries it depends on but, again, I cannot guarantee I'll
> have it perfectly right.
> 
> For example I've been looking at the mesa EGL implementation and, from
> the .pc file, I have this:
> 
> Requires.private:  libdrm >= 2.4.24 x11 xext xdamage xfixes x11-xcb xcb-glx
> >= 1.8.1 xxf86vm
> Libs.private: -lm -lpthread -ldl
> 
> Inspecting the libEGL.so, I get the following list:
> 
> 0x0000000000000001 (NEEDED)             Shared library: [libX11-xcb.so.1]
> 0x0000000000000001 (NEEDED)             Shared library: [libxcb-dri2.so.0]
> 0x0000000000000001 (NEEDED)             Shared library: [libxcb-xfixes.so.0]
> 0x0000000000000001 (NEEDED)             Shared library: [libxcb-render.so.0]
> 0x0000000000000001 (NEEDED)             Shared library: [libxcb-shape.so.0]
> 0x0000000000000001 (NEEDED)             Shared library: [libgbm.so.1]
> 0x0000000000000001 (NEEDED)             Shared library: [libglapi.so.0]
> 0x0000000000000001 (NEEDED)             Shared library: [libX11.so.6]
> 0x0000000000000001 (NEEDED)             Shared library: [libxcb.so.1]
> 0x0000000000000001 (NEEDED)             Shared library: [libXau.so.6]
> 0x0000000000000001 (NEEDED)             Shared library: [libXdmcp.so.6]
> 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
> 0x0000000000000001 (NEEDED)             Shared library: [libudev.so.0]
> 0x0000000000000001 (NEEDED)             Shared library: [librt.so.1]
> 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
> 0x0000000000000001 (NEEDED)             Shared library: [libdrm.so.2]
> 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
> 
> In the list above, I cannot see libXext.so, yet "xext" appears in
> Requires.private package list... Also, I don't know if there is any need for
> certain library versions (see libdrm here).
> 
> Anyway, I can start looking into the EMGD .so files and come up with some pc
> files. Hopefully, they'll work.
> 
> Thanks,
> Laurentiu


Hi Laurentiu,
  Thanks for looking into this. As EMGD is closed source, we will not be able to look into it's sources. The best we can do is reverse engineering what you are already doing.  I understand it is hard to get it perfect from this way. But I guess we can get something working at least. And improve it as we go forward.

BTW I am also pinging the EMGD team who develops the EMGD packages, to start looking into these pkgconfig issues. If we can get some pkgconfig files from them, then we can avoid all this guess work. But I am not expecting anything from them quickly.

  
Nitin




More information about the meta-intel mailing list