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

Laurentiu Palcu laurentiu.palcu at intel.com
Tue Mar 12 09:25:03 PDT 2013


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



More information about the meta-intel mailing list