Johannes Obermayr <johannesoberm...@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.
pgpERh9vd8Jlt.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev