[Mesa-dev] [PATCH] Make it possible to install gl.pc and osmesa.pc together.

Eric Anholt eric at anholt.net
Mon Jul 9 12:50:22 PDT 2012

Johannes Obermayr <johannesobermayr at gmx.de> writes:

> Am Montag, 9. Juli 2012, 09:45:56 schrieb Eric Anholt:
>> osmesa didn't install gl.pc in the past as far as I can see, and I don't
>> think it should -- it's not a normal GL implementation, so you want to
>> be specifically looking for osmesa in your pkgconfig checks.
> Mesa-demos require gl.pc (line 28) and osmesa.pc (line 36):
> https://build.opensuse.org/package/view_file?file=Mesa-demos.spec&package=Mesa-demos&project=home:jobermayr
> Building Mesa with
> ./autogen.sh --host=i586-suse-linux-gnu --build=i586-suse-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-xvmc --enable-vdpau --enable-texture-float --enable-debug --enable-dri --enable-glx --enable-osmesa --with-dri-drivers=i915,i965,nouveau,r200,radeon,swrast --enable-gles1 --enable-gles2 --enable-openvg --enable-shared-glapi --with-gallium-drivers=i915,nouveau,r300,r600,svga,swrast --enable-gbm --enable-xorg --enable-xa --enable-gallium-egl --with-x --enable-gallium-llvm --enable-gallium-gbm --enable-gallium-g3dvl
> worked for almost a year until
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=39785488e6a3f6beeb58372b88d49274a76d02f4
> because both pc files were installed ...
> After that commit OBS bitched a missing gl.pc until I applied the
> patch.

OK, so your issue is about a Mesa build with osmesa and another GL
implementation, not about an osmesa-only build.  Your patch is fine with
me, then.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120709/5b9ae69a/attachment.pgp>

More information about the mesa-dev mailing list