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

Johannes Obermayr johannesobermayr at gmx.de
Mon Jul 9 10:45:38 PDT 2012


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120709/ec0a84c3/attachment.html>


More information about the mesa-dev mailing list