# When bootstrapping an arch, omit the -demos subpackage. # S390 doesn't have video cards, so it's not much use building DRI there. %ifarch s390 s390x %define with_dri 0 %define driver xlib %else %define with_dri 1 %define driver dri %endif %define _default_patch_fuzz 2 %define manpages gl-manpages-1.0.1 %define xdriinfo xdriinfo-1.0.2 %define gitdate 20081220 #% define snapshot Summary: Mesa graphics libraries Name: mesa Version: 7.3 Release: 5%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.mesa3d.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: http://downloads.sf.net/mesa3d/MesaLib-%{version}.tar.bz2 Source1: http://downloads.sf.net/mesa3d/MesaDemos-%{version}.tar.bz2 #Source0: http://www.mesa3d.org/beta/MesaLib-%{version}%{?snapshot}.tar.bz2 #Source1: http://www.mesa3d.org/beta/MesaDemos-%{version}%{?snapshot}.tar.bz2 #Source0: %{name}-%{gitdate}.tar.bz2 Source2: %{manpages}.tar.bz2 Source3: make-git-snapshot.sh Source5: http://www.x.org/pub/individual/app/%{xdriinfo}.tar.bz2 Patch0: mesa-7.1-osmesa-version.patch Patch2: mesa-7.1-nukeglthread-debug.patch Patch3: mesa-no-mach64.patch Patch5: radeon-rewrite.patch Patch7: mesa-7.1-link-shared.patch Patch9: intel-revert-vbl.patch Patch12: mesa-7.1-disable-intel-classic-warn.patch Patch13: mesa-7.3-965-texture-size.patch BuildRequires: pkgconfig autoconf automake %if %{with_dri} BuildRequires: libdrm-devel >= 2.4.0-0.21 BuildRequires: kernel-headers >= 2.6.27-0.305.rc5.git6 %endif BuildRequires: libXxf86vm-devel BuildRequires: expat-devel >= 2.0 BuildRequires: xorg-x11-proto-devel >= 7.1-10 BuildRequires: makedepend BuildRequires: libselinux-devel BuildRequires: libXext-devel BuildRequires: freeglut-devel BuildRequires: libXfixes-devel BuildRequires: libXdamage-devel BuildRequires: libXi-devel BuildRequires: libXmu-devel BuildRequires: elfutils %description Mesa %package libGL Summary: Mesa libGL runtime libraries and DRI drivers Group: System Environment/Libraries Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Provides: libGL %if %{with_dri} Requires: libdrm >= 2.4.0-0.21 Requires: mesa-dri-drivers%{?_isa} = %{version}-%{release} Conflicts: xorg-x11-server-Xorg < 1.4.99.901-14 %endif %description libGL Mesa libGL runtime library. %if %{with_dri} %package dri-drivers Summary: Mesa-based DRI drivers Group: User Interface/X Hardware Support %description dri-drivers Mesa-based DRI drivers. %endif %package libGL-devel Summary: Mesa libGL development package Group: Development/Libraries Requires: mesa-libGL = %{version}-%{release} Requires: libX11-devel Provides: libGL-devel Conflicts: xorg-x11-proto-devel <= 7.2-12 %description libGL-devel Mesa libGL development package %package libGLU Summary: Mesa libGLU runtime library Group: System Environment/Libraries Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Provides: libGLU %description libGLU Mesa libGLU runtime library %package libGLU-devel Summary: Mesa libGLU development package Group: Development/Libraries Requires: mesa-libGLU = %{version}-%{release} Requires: libGL-devel Provides: libGLU-devel %description libGLU-devel Mesa libGLU development package %package libOSMesa Summary: Mesa offscreen rendering libraries Group: System Environment/Libraries Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Provides: libOSMesa %description libOSMesa Mesa offscreen rendering libraries %package libOSMesa-devel Summary: Mesa offscreen rendering development package Group: Development/Libraries Requires: mesa-libOSMesa = %{version}-%{release} %description libOSMesa-devel Mesa offscreen rendering development package %package -n glx-utils Summary: GLX utilities Group: Development/Libraries %description -n glx-utils The glx-utils package provides the glxinfo and glxgears utilities. %package demos Summary: Mesa demos Group: Development/Libraries %description demos This package provides some demo applications for testing Mesa. %prep %setup -q -n Mesa-%{version}%{?snapshot} -b0 -b1 -b2 -b5 #%setup -q -n mesa-%{gitdate} -b2 -b5 %patch0 -p1 -b .osmesa %patch2 -p1 -b .intel-glthread %patch3 -p0 -b .no-mach64 %patch5 -p1 -b .radeon-rewrite %patch7 -p1 -b .dricore %patch9 -p1 -b .intel-vbl %patch12 -p1 -b .intel-nowarn %patch13 -p1 -b .965-texture # Hack the demos to use installed data files sed -i 's,../images,%{_libdir}/mesa-demos-data,' progs/demos/*.c sed -i 's,geartrain.dat,%{_libdir}/mesa-demos-data/&,' progs/demos/geartrain.c sed -i 's,isosurf.dat,%{_libdir}/mesa-demos-data/&,' progs/demos/isosurf.c sed -i 's,terrain.dat,%{_libdir}/mesa-demos-data/&,' progs/demos/terrain.c %build autoreconf --install export CFLAGS="$RPM_OPT_FLAGS -fvisibility=hidden -Os" export CXXFLAGS="$RPM_OPT_FLAGS -fvisibility=hidden -Os" # first, build the osmesa variants. XXX this is overkill. osmesa32 is # sufficient to render to any of the channel sizes, according to the # docs. should fix this someday. %configure --with-driver=osmesa --with-osmesa-bits=8 --enable-selinux make %{_smp_mflags} SRC_DIRS=mesa mv %{_lib} osmesa8 make clean %configure --with-driver=osmesa --with-osmesa-bits=16 --enable-selinux make %{_smp_mflags} SRC_DIRS=mesa mv %{_lib} osmesa16 make clean %configure --with-driver=osmesa --with-osmesa-bits=32 --enable-selinux make %{_smp_mflags} SRC_DIRS=mesa mv %{_lib} osmesa32 make clean # just to be sure... [ `find . -name \*.o | wc -l` -eq 0 ] || exit 1 # XXX should get visibility working again post-dricore. export CFLAGS="$RPM_OPT_FLAGS -Os" export CXXFLAGS="$RPM_OPT_FLAGS -Os" # now build the rest of mesa %configure \ --enable-selinux \ --disable-glw \ --disable-glut \ --disable-gl-osmesa \ --with-driver=%{driver} \ --with-dri-driverdir=%{_libdir}/dri make #{?_smp_mflags} make -C progs/xdemos glxgears glxinfo make %{?_smp_mflags} -C progs/demos pushd ../%{xdriinfo} %configure make %{?_smp_mflags} popd pushd ../%{manpages} %configure make %{?_smp_mflags} popd %install rm -rf $RPM_BUILD_ROOT # core libs and headers, but not drivers. make install DESTDIR=$RPM_BUILD_ROOT DRI_DIRS= # just the DRI drivers that are sane %if %{with_dri} install -d $RPM_BUILD_ROOT%{_libdir}/dri install -m 0755 -t $RPM_BUILD_ROOT%{_libdir}/dri %{_lib}/libdricore.so >& /dev/null for f in i810 i915 i965 mach64 mga r128 r200 r300 radeon savage sis swrast tdfx unichrome; do so=%{_lib}/${f}_dri.so test -e $so && echo $so done | xargs install -m 0755 -t $RPM_BUILD_ROOT%{_libdir}/dri >& /dev/null || : %endif # strip out undesirable headers pushd $RPM_BUILD_ROOT%{_includedir}/GL rm [a-fh-np-wyz]*.h gg*.h glf*.h popd # XXX demos, since they don't install automatically. should fix that. install -d $RPM_BUILD_ROOT%{_bindir} install -m 0755 progs/xdemos/glxgears $RPM_BUILD_ROOT%{_bindir} install -m 0755 progs/xdemos/glxinfo $RPM_BUILD_ROOT%{_bindir} find progs/demos/ -type f -perm /0111 | xargs install -m 0755 -t $RPM_BUILD_ROOT/%{_bindir} # bah, name conflicts mv $RPM_BUILD_ROOT/%{_bindir}/{rain,mesa-rain} install -d $RPM_BUILD_ROOT/%{_libdir}/mesa-demos-data install -m 0644 progs/images/*.rgb $RPM_BUILD_ROOT/%{_libdir}/mesa-demos-data install -m 0644 progs/demos/*.dat $RPM_BUILD_ROOT/%{_libdir}/mesa-demos-data # and osmesa mv osmesa*/* $RPM_BUILD_ROOT%{_libdir} pushd ../%{xdriinfo} make %{?_smp_mflags} install DESTDIR=$RPM_BUILD_ROOT popd # man pages pushd ../%{manpages} make %{?_smp_mflags} install DESTDIR=$RPM_BUILD_ROOT popd # this keeps breaking, check it early. note that the exit from eu-ftr is odd. #pushd $RPM_BUILD_ROOT%{_libdir} #for i in *.so ; do # eu-findtextrel $i && exit 1 #done %clean rm -rf $RPM_BUILD_ROOT %check %post libGL -p /sbin/ldconfig %postun libGL -p /sbin/ldconfig %post libGLU -p /sbin/ldconfig %postun libGLU -p /sbin/ldconfig %post libOSMesa -p /sbin/ldconfig %postun libOSMesa -p /sbin/ldconfig %files libGL %defattr(-,root,root,-) %{_libdir}/libGL.so.1 %{_libdir}/libGL.so.1.2 %if %{with_dri} %files dri-drivers %defattr(-,root,root,-) %dir %{_libdir}/dri %{_libdir}/dri/libdricore.so %{_libdir}/dri/*_dri.so %endif %files libGL-devel %defattr(-,root,root,-) %{_includedir}/GL/gl.h %{_includedir}/GL/gl_mangle.h %{_includedir}/GL/glext.h %{_includedir}/GL/glx.h %{_includedir}/GL/glx_mangle.h %{_includedir}/GL/glxext.h %dir %{_includedir}/GL/internal %{_includedir}/GL/internal/dri_interface.h %{_libdir}/libGL.so %{_libdir}/pkgconfig/dri.pc %{_libdir}/pkgconfig/gl.pc %{_datadir}/man/man3/gl[^uX]*.3gl* %{_datadir}/man/man3/glX*.3gl* %files libGLU %defattr(-,root,root,-) %{_libdir}/libGLU.so.1 %{_libdir}/libGLU.so.1.3.* %files libGLU-devel %defattr(-,root,root,-) %{_libdir}/libGLU.so %{_libdir}/pkgconfig/glu.pc %{_includedir}/GL/glu.h %{_includedir}/GL/glu_mangle.h %{_datadir}/man/man3/glu*.3gl* %files libOSMesa %defattr(-,root,root,-) %{_libdir}/libOSMesa.so.6* %{_libdir}/libOSMesa16.so.6* %{_libdir}/libOSMesa32.so.6* %files libOSMesa-devel %defattr(-,root,root,-) %{_includedir}/GL/osmesa.h %{_libdir}/libOSMesa.so %{_libdir}/libOSMesa16.so %{_libdir}/libOSMesa32.so %files -n glx-utils %defattr(-,root,root,-) %{_bindir}/glxgears %{_bindir}/glxinfo %{_bindir}/xdriinfo %{_datadir}/man/man1/xdriinfo.1* %files demos %defattr(-,root,root,-) %{_bindir}/arbfplight %{_bindir}/arbfslight %{_bindir}/arbocclude %{_bindir}/bounce %{_bindir}/clearspd %{_bindir}/copypix %{_bindir}/cubemap %{_bindir}/drawpix %{_bindir}/engine %{_bindir}/fbo_firecube %{_bindir}/fire %{_bindir}/fogcoord %{_bindir}/fplight %{_bindir}/fslight %{_bindir}/gamma %{_bindir}/gearbox %{_bindir}/gears %{_bindir}/geartrain %{_bindir}/glinfo %{_bindir}/gloss %{_bindir}/glslnoise %{_bindir}/gltestperf %{_bindir}/glutfx %{_bindir}/ipers %{_bindir}/isosurf %{_bindir}/lodbias %{_bindir}/morph3d %{_bindir}/multiarb %{_bindir}/paltex %{_bindir}/pointblast %{_bindir}/mesa-rain %{_bindir}/ray %{_bindir}/readpix %{_bindir}/reflect %{_bindir}/renormal %{_bindir}/shadowtex %{_bindir}/singlebuffer %{_bindir}/spectex %{_bindir}/spriteblast %{_bindir}/stex3d %{_bindir}/streaming_rect %{_bindir}/teapot %{_bindir}/terrain %{_bindir}/tessdemo %{_bindir}/texcyl %{_bindir}/texdown %{_bindir}/texenv %{_bindir}/texobj %{_bindir}/trispd %{_bindir}/tunnel %{_bindir}/tunnel2 %{_bindir}/vao_demo %{_bindir}/winpos %{_libdir}/mesa-demos-data %changelog * Mon Feb 23 2009 Adam Jackson 7.3-5 - libGL Requires: mesa-dri-drivers%%{?_isa}. Gets both 32 and 64 bit drivers installed on multilib systems, so 32-bit clients get DRI. * Mon Feb 23 2009 Dave Airlie 7.3-4 - radeon: merge radeon-rewrite branch, drop old r300 bufmgr * Sat Feb 21 2009 Adam Jackson 7.3-3 - Merge review cleanups (#226136) * Mon Feb 09 2009 Adam Jackson 7.3-2 - mesa-7.3-965-texture-size.patch: Bump maximum 965 texture size. (#483674) * Sun Feb 08 2009 Adam Jackson 7.3-1 - Mesa 7.3 * Tue Jan 20 2009 Kristian Høgsberg 7.3-0.5 - Update to 7.3.0 rc3. * Mon Dec 22 2008 Dave Airlie 7.3-0.4 - r300-bufmgr.patch: remove start/end offset properly + r500 FP * Sun Dec 21 2008 Dave Airlie 7.3-0.3 - r300-bufmgr.patch: make radeon/r200 work * Sun Dec 21 2008 Dave Airlie 7.3-0.2 - intel-fix-sarea-define.patch - workaround wrong define - intel-triple-remove.patch - remove triple buffering * Sat Dec 20 2008 Dave Airlie 7.3-0.1 - Mesa rebase to upstream + new r300 bufmgr code (may need more work) * Thu Oct 23 2008 Dave Airlie 7.2-0.13 - r300-bufmgr.patch - fix aperture sizing issues - should make compiz work better * Mon Oct 20 2008 Adam Jackson 7.2-0.12 - Disable the textrel check for the moment. * Mon Oct 20 2008 Adam Jackson 7.2-0.11 - Build with --enable-selinux. Don't know how this got dropped... * Mon Oct 20 2008 Adam Jackson 7.2-0.10 - Be extra paranoid about textrels at the end of %%build * Sun Oct 19 2008 Dave Airlie 7.2-0.9 - r300: re-enable zerocopy TFP for non-kms system - r300: fix sw fallbacks on !kms + fix debug * Tue Oct 14 2008 Adam Jackson - spec-only fix: exit builtin needs a numeric arg, not string. * Mon Oct 13 2008 Dave Airlie 7.2-0.8 - r300-bufmgr.patch - fix sw fallbacks + kernel texture error. * Thu Oct 9 2008 Kristian Høgsberg - 7.2-0.7 - Actually add patch. * Thu Oct 9 2008 Kristian Høgsberg - 7.2-0.6 - Fix black shadows in compiz (fix from Eric Anholt, bugs.fd.o #17233) * Wed Oct 01 2008 Dave Airlie 7.2-0.5 - fix drm requires * Wed Oct 01 2008 Dave Airlie 7.2-0.4 - rebase to new upstream + r300 bufmgr code - openarena under kms works now * Mon Sep 29 2008 Adam Jackson 7.2-0.3 - Add xdriinfo. (#464388) * Fri Sep 12 2008 Dave Airlie 7.2-0.2 - intel stop vbl default for now * Fri Sep 05 2008 Dave Airlie 7.2-0.1 - latest snapshot - r300 bufmgr code - stop building mach64, patch around some intel issues * Thu Aug 28 2008 Dave Airlie 7.1-0.38 - latest Mesa snapshot - re-enable tex offset - add r300 command buffer support on top of snapshot - fix mesa build on intel driver * Fri Jun 27 2008 Adam Jackson 7.1-0.37 - Drop mesa-source subpackage. Man that feels good. * Fri Jun 27 2008 Adam Jackson 7.1-0.36 - Today's snapshot. - Package swrast_dri for the new X world order. - Split DRI drivers to their own subpackage. * Thu Jun 12 2008 Dave Airlie 7.1-0.35 - Update mesa to latest git snapshot - drop patches merged upstream * Wed Jun 04 2008 Adam Jackson 7.1-0.34 - Link libdricore with gcc instead of ld, so we automagically pick up the ld --build-id flags. * Wed May 28 2008 Dave Airlie 7.1-0.33 - Add initial r500 3D driver * Tue May 13 2008 Adam Jackson 7.1-0.32 - Update dri2proto requirement. (#446166) * Sat May 10 2008 Dave Airlie 7.1-0.31 - Bring in a bunch of fixes from upstream, missing rs690 pci id, - DRI2 + modeset + 965 + compiz + alt-tab fixed. * Wed May 07 2008 Dave Airlie 7.1-0.30 - fix googleearth on Intel 965 (#443930) - disable classic warning to avoid people reporting it. * Mon May 05 2008 Dave Airlie 7.1-0.29 - mesa-7.1-f9-intel-and-radeon-fixes.patch - Update mesa package with cherrypicked fixes from master. - Fixes numerous i965 3D issues - Fixes compiz on rs48x and rs690 radeon chipsets * Fri Apr 18 2008 Dave Airlie 7.1-0.28 - okay fire me now - I swear it runs compiz really well... - fix more bugs on 965 * Fri Apr 18 2008 Dave Airlie 7.1-0.27 - why yes, that is a brown paper bag - fix glxgears on 965 * Fri Apr 18 2008 Dave Airlie 7.1-0.26 - fix compiz alt-tab crashing on out of the box intel driver - some other upstream bugfixes as well * Tue Apr 15 2008 Dave Airlie 7.1-0.25 - Rebase to latest upstream - drop patches applied there. * Sat Apr 12 2008 Dennis Gilmore 7.1-0.24 - add patch so that we only build dri drivers on sparc that are remotely useful. sis driver breaks the build and the intel ones will never exist * Thu Apr 10 2008 Adam Jackson 7.1-0.23 - mesa-7.1-link-shared.patch: Make a libdricore.so from libmesa.a, install it into %%_libdir/dri, and link the DRI drivers against it. Drops ~20M from the installed system (not including debuginfo). Inspired by a similar patch in openSUSE but reworked to be compatible with the OSMesa build. * Wed Apr 09 2008 Adam Jackson 7.1-0.22 - mesa-7.1-visual-crash.patch: Fix a segfault if DRI unavailable. - mesa-7.1-fbconfig-fix.patch: Fix fbconfig comparisons. - mesa-7.1-dri2.patch: Fix a header path. - Add buildreqs for the demos that suddenly stopped compiling. * Mon Mar 31 2008 Kristian Høgsberg - 7.1-0.21 - Update git snapshot to pull in DRI2 direct rendering. - Add conflicts for xservers that don't understand the new DRI driver interface. * Tue Mar 11 2008 Kristian Høgsberg - 7.1-0.20 - Looks like the TexOffset extension does not work, disable for now. - Bump to 20080311 snapshot to get DRI2 tfp fixes. * Mon Mar 3 2008 Kristian Høgsberg - 7.1-0.19 - Bump to latest git snapshot. - Drop mesa-7.1-dri-drivers.patch, it's upstream. - Require libdrm-devel >= 2.4.0-0.5 * Mon Mar 03 2008 Dave Airlie 7.1-0.18 - fix i915 build due to symbol visibility * Tue Feb 26 2008 Adam Jackson 7.1-0.17 - Fix OSMesa symlink bug. (#424545) - Build OSMesa with -Os to be slightly less bloaty. - Re-add osmesa.h to libOSMesa-devel. - Really restore -fvisibility=hidden. * Thu Feb 21 2008 Adam Jackson 7.1-0.16 - Fix build on powerpc and amd64. - Disable %%_smp_mflags for DRI drivers for now. * Mon Feb 18 2008 Adam Jackson 7.1-0.15 - Today's git snapshot, additional headers for DRI2 love. * Fri Feb 15 2008 Adam Jackson 7.1-0.14 - Fix build on lib64 machines. * Fri Feb 15 2008 Adam Jackson 7.1-0.13 - Restore -fvisibility=hidden. - Fix autotooling. * Fri Feb 15 2008 Adam Jackson 7.1-0.12 - Fix file conflict with bsd-games on /usr/bin/rain. * Fri Feb 15 2008 Adam Jackson 7.1-0.11 - Today's git snapshot. - Massive spec overhaul to use new buildsystem. * Tue Feb 12 2008 Adam Jackson 7.1-0.10 - mesa-7.1-sis-ia64.patch: Fix sis driver on ia64. (#432428) * Mon Feb 11 2008 Adam Jackson 7.1-0.9 - mesa-7.1-ia64-build-fix.patch: Fix build on ia64. (#427558) * Tue Jan 22 2008 Adam Jackson 7.1-0.8 - Enable i915 DRI on E7221. (Carlos Martín, #425790) * Mon Jan 21 2008 Adam Jackson - Make the demo seddery prettier. * Tue Dec 04 2007 Dave Airlie 7.1-0.7 - Remove references to libgl symbol from i915 * Thu Nov 30 2007 Dave Airlie 7.1-0.6 - Rebuild against a new libdrm * Tue Nov 27 2007 Adam Jackson 7.1-0.5 - Rebase to today's git snapshot. - Try even harder to not build or the Mesa glut. * Thu Nov 15 2007 Tom "spot" Callaway 7.1-0.4 - link libOSMesa* against libselinux * Mon Nov 12 2007 Adam Jackson 7.1-0.3 - Drop xserver 1.1 source compatibility. * Wed Nov 07 2007 Dave Airlie 7.1-0.2 - fix DRI driver directory * Thu Nov 01 2007 Adam Jackson 7.1-0.1 - Fix EVR, 7.1pre > 7.1, that would have been bad. - Fix %%setup to match. * Thu Nov 01 2007 Dave Airlie 7.1pre-0 - rebase Mesa to 7.1pre 74ced1e67f286a5e71e9877bc6844b2af5b9ab8d * Thu Oct 18 2007 Dave Airlie 7.0.1-7 - mesa-7.0.1-stable-branch.patch - Updated with more fixes from stable - mesa-7.0.1-r300-fix-writemask.patch - fix r300 fragprog writemask - mesa-7.0.1-r200-settexoffset.patch - add zero-copy TFP support for r200 * Fri Sep 28 2007 Dave Airlie 7.0.1-6 - mesa-7.0.1-stable-branch.patch - Updated to close to 7.0.2-rc1 - This contains the fixes made to the upstream Mesa stable branch including fixes for 965 vblank interrupt issues along with a fix in the kernel - remove patches that already upstream. - mesa-6.5.2-hush-synthetic-visual-warning.patch - dropped - mesa-7.0-i-already-defined-glapi-you-twit.patch - dropped - mesa-7.0.1-965-sampler-crash.patch - dropped * Thu Sep 06 2007 Adam Jackson 7.0.1-5 - mesa-7.0.1-965-sampler-crash.patch: Fix a crash with 965 in Torcs. (#262941) * Tue Aug 28 2007 Adam Jackson 7.0.1-4 - Rebuild for new libexpat. * Wed Aug 15 2007 Dave Airlie - 7.0.1-3 - mesa-7.0.1-stable-branch.patch - Add patches from stable branch includes support for some Intel chipsets - mesa-7.0-use_master-r300.patch - Add r300 driver from master * Tue Aug 14 2007 Dave Airlie - 7.0.1-2 - missing build requires for Xfixes-devel and Xdamage-devel * Mon Aug 13 2007 Dave Airlie - 7.0.1-1 - Rebase to upstream 7.0.1 release - ajax provided patches: for updated selinux awareness, build config - gl visibility and picify were fixed upstream - OS mesa library version are 6.5.3 not 7.0.1 - spec fix * Wed Jul 25 2007 Jesse Keating - 6.5.2-16 - Rebuild for RH #249435 * Tue Jul 24 2007 Adam Jackson 6.5.2-15 - Add dri_interface.h to mesa-libGL-devel, and conflict with xorg-x11-proto-devel versions that attempted to provide it. * Tue Jul 10 2007 Adam Jackson 6.5.2-14 - Add mesa-demos subpackage. (#247252) * Mon Jul 09 2007 Adam Jackson 6.5.2-13 - mesa-6.5.2-radeon-backports-231787.patch: One more fix for r300. (#231787) * Mon Jul 09 2007 Adam Jackson 6.5.2-12 - Don't install header files for APIs that we don't provide. (#247390) * Fri Jul 06 2007 Adam Jackson 6.5.2-11 - mesa-6.5.2-via-respect-my-cliplist.patch: Backport a via fix. (#247254) * Tue Apr 10 2007 Adam Jackson 6.5.2-10 - mesa-6.5.2-radeon-backports-231787.patch: Backport various radeon bugfixes from git. (#231787) * Wed Apr 04 2007 Adam Jackson 6.5.2-9 - mesa-6.5.2-bindcontext-paranoia.patch: Paper over a crash when doBindContext fails, to avoid, for example, crashing the server when using tdfx but without glide3 installed. * Thu Mar 08 2007 Adam Jackson 6.5.2-8 - Hush the (useless) warning about the synthetic visual not being supported. * Fri Mar 02 2007 Adam Jackson 6.5.2-7 - mesa-6.5.2-picify-dri-drivers.patch: Attempt to make the DRI drivers PIC. - mesa-6.5.1-build-config.patch: Apply RPM_OPT_FLAGS to OSMesa too. * Mon Feb 26 2007 Adam Jackson 6.5.2-6 - mesa-6.5.2-libgl-visibility.patch: Fix non-exported GLX symbols (#229808) - Require a sufficiently new libdrm at runtime too - Make the arch macros do something sensible in the general case * Tue Feb 20 2007 Adam Jackson 6.5.2-5 - General spec cleanups - Require current libdrm - Build with -fvisibility=hidden - Redo the way mesa-source is generated - Add %%{?_smp_mflags} where appropriate * Mon Dec 18 2006 Adam Jackson 6.5.2-4 - Add i915tex and mach64 to the install set. * Tue Dec 12 2006 Adam Jackson 6.5.2-3 - mesa-6.5.2-xserver-1.1-source-compat.patch: Add some source-compatibility defines to dispatch.h so the X server will continue to build. * Mon Dec 4 2006 Adam Jackson 6.5.2-2.fc6 - Fix OSMesa file listing to use %%version for DSO number. Note that this will still break on Mesa 7; oh well. - Deleted file: directfbgl.h * Sun Dec 3 2006 Kristian Høgsberg 6.5.2-1.fc6 - Update to 6.5.2. * Mon Oct 16 2006 Kristian - 6.5.1-8.fc6 - Add i965-interleaved-arrays-fix.patch to fix (#209318). * Sat Sep 30 2006 Soren Sandmann - 6.5.1-7.fc6 - Update to gl-manpages-1.0.1.tar.bz2 which doesn't use symlinks. (#184547) * Sat Sep 30 2006 Soren Sandmann - 6.5.1-7.fc6 - Remove . after popd; add .gz in %%files section. (#184547) * Sat Sep 30 2006 Soren Sandmann - Use better tarball for gl man pages. (#184547) * Fri Sep 29 2006 Kristian - 6.5.1-6.fc6 - Add -fno-strict-aliasing to compiler flags for i965 driver. - Add post-6.5.1-i965-fixes.patch backport of i965 fixes from mesa CVS. * Fri Sep 29 2006 Soren Sandmann - 6.5.1-5.fc6 - Give the correct path for man page file lists. * Thu Sep 28 2006 Soren Sandmann - 6.5.1-5.fc6 - Add GL man pages from X R6.9. (#184547) * Mon Sep 25 2006 Adam Jackson - 6.5.1-4.fc6 - mesa-6.5.1-build-config.patch: Add -lselinux to osmesa builds. (#207767) * Wed Sep 20 2006 Kristian Høgsberg - 6.5.1-3.fc6 - Bump xorg-x11-proto-devel BuildRequires to 7.1-8 so we pick up the latest GLX_EXT_texture_from_pixmap opcodes. * Wed Sep 20 2006 Kristian Høgsberg - 6.5.1-2.fc6 - Remove mesa-6.5-drop-static-inline.patch. * Tue Sep 19 2006 Kristian Høgsberg 6.5.1-1.fc6 - Bump to 6.5.1 final release. - Drop libGLw subpackage, it is now in Fedora Extras (#188974) and tweak mesa-6.5.1-build-config.patch to not build libGLw. - Drop mesa-6.5.1-r300-smooth-line.patch, the smooth line fallback can now be prevented by enabling disable_lowimpact_fallback in /etc/drirc. - Drop mesa-6.4.1-radeon-use-right-texture-format.patch, now upstream. - Drop mesa-6.5-drop-static-inline.patch, workaround no longer necessary. * Thu Sep 7 2006 Kristian Høgsberg - Drop unused mesa-modular-dri-dir.patch. * Tue Aug 29 2006 Kristian Høgsberg - 6.5.1-0.rc2.fc6 - Rebase to 6.5.1 RC2. - Get rid of redhat-mesa-driver-install and redhat-mesa-target helper scripts and clean up specfile a bit. * Mon Aug 28 2006 Kristian Høgsberg - 6.5.1-0.rc1.2.fc6 - Drop upstreamed patches mesa-6.5-texture-from-pixmap-fixes.patch and mesa-6.5-tfp-fbconfig-attribs.patch and fix mesa-6.4.1-radeon-use-right-texture-format.patch to not break 16bpp transparency. * Fri Aug 25 2006 Adam Jackson - 6.5.1-0.rc1.1.fc6 - mesa-6.5.1-build-config.patch: Add i965 to x86-64 config. * Wed Aug 23 2006 Kristian Høgsberg - 6.5.1-0.rc1.fc6 - Bump to 6.5.1 RC1. * Tue Aug 22 2006 Kristian Høgsberg 6.5-26.20060818cvs.fc6 - Pull the vtxfmt patch into the selinux-awareness patch, handle exec mem heap init failure correctly by releasing mutex. * Tue Aug 22 2006 Adam Jackson 6.5-25.20060818cvs.fc6 - mesa-6.5.1-r300-smooth-line.patch: Added, fakes smooth lines with aliased lines on R300+ cards, makes Google Earth tolerable. - mesa-6.5-force-r300.patch: Resurrect. * Tue Aug 22 2006 Adam Jackson 6.5-24.20060818cvs.fc6 - mesa-6.5.1-radeon-vtxfmt-cleanup-properly.patch: Fix a segfault on context destruction when selinux is enabled. * Mon Aug 21 2006 Adam Jackson 6.5-23.20060818cvs.fc6 - redhat-mesa-driver-install: Reenable installing the tdfx driver. (#203295) * Fri Aug 18 2006 Adam Jackson 6.5-22.20060818cvs.fc6 - Update to pre-6.5.1 snapshot. - Re-add libOSMesa{,16,32}. (#186366) - Add BuildReq: on libXp-devel due to openmotif header insanity. * Sun Aug 13 2006 Florian La Roche 6.5-21.fc6 - fix one Requires: to use the correct mesa-libGLw name * Thu Jul 27 2006 Mike A. Harris 6.5-20.fc6 - Conditionalized libGLw inclusion with new with_libGLw macro defaulting to 1 (enabled) for now, however since nothing in Fedora Core uses libGLw anymore, we will be transitioning libGLw to an external package maintained in Fedora Extras soon. * Wed Jul 26 2006 Kristian Høgsberg 6.5-19.fc5.aiglx - Build for fc5 aiglx repo. * Tue Jul 25 2006 Adam Jackson 6.5-19.fc6 - Disable TLS dispatch, it is selinux-hostile. * Tue Jul 25 2006 Adam Jackson 6.5-18.fc6 - mesa-6.5-fix-glxinfo-link.patch: lib64 fix. * Tue Jul 25 2006 Adam Jackson 6.5-17.fc6 - mesa-6.5-fix-linux-indirect-build.patch: Added. - mesa-6.5-fix-glxinfo-link.patch: Added. - Build libOSMesa never instead of inconsistently; to be fixed later. - Updates to redhat-mesa-target: - Always select linux-indirect when not building for DRI - Enable DRI to be built on PPC64 (still disabled in the spec file though) - MIT licence boilerplate * Tue Jul 25 2006 Mike A. Harris 6.5-16.fc6 - Remove glut-devel dependency, as nothing actually uses it that we ship. - Added mesa-6.5-dont-libglut-me-harder-ok-thx-bye.patch to prevent libglut and other libs from being linked into glxgears/glxinfo even though they are not actually used. This was the final package linking to freeglut in Fedora Core, blocking freeglut from being moved to Extras. - Commented all of the virtual provides in the spec file to document clearly how they should be used by other developers in specifying build and runtime dependencies when packaging software which links to libGL, libGLU, and libGLw. (#200069) * Mon Jul 24 2006 Adam Jackson 6.5-15.fc6 - Attempt to add selinux awareness; check if we can map executable memory and fail softly if not. Removes the need for allow_execmem from huge chunks of the desktop. - Disable the r300 gart fix for not compiling. * Mon Jul 24 2006 Kristian Høgsberg 6.5-14.fc6 - Add mesa-6.5-r300-free-gart-mem.patch to make r300 driver free gart memory on context destroy. * Wed Jul 12 2006 Jesse Keating 6.5-13.1.fc6 - rebuild * Wed Jul 05 2006 Mike A. Harris 6.5-13.fc6 - Added mesa-6.5-fix-opt-flags-bug197640.patch as 2nd attempt to fix OPT_FLAGS for (#197640). - Ensure that redhat-mesa-driver-install creates $DRIMODULE_DESTDIR with mode 0755. * Wed Jul 05 2006 Mike A. Harris 6.5-12.fc6 - Maybe actually, you know, apply the mesa-6.5-glx-use-tls.patch as that might help to you know, actually solve the problem. Duh. - Use {dist} tag in Release field now. * Wed Jul 05 2006 Mike A. Harris 6.5-11 - Added mesa-6.5-glx-use-tls.patch to hopefully get -DGLX_USE_TLS to really work this time due to broken upstream linux-dri-* configs. (#193979) - Pass RPM_OPT_FLAGS via OPT_FLAGS instead of via CFLAGS also for (#193979) * Mon Jun 19 2006 Mike A. Harris 6.5-10 - Bump libdrm-devel dep to trigger new ExclusiveArch test with the new package. - Use Fedora Extras style BuildRoot tag. - Added "Requires(post): /sbin/ldconfig" and postun to all runtime lib packages. * Mon Jun 12 2006 Kristian Høsberg 6.5-9 - Add mesa-6.5-fix-pbuffer-dispatch.patch to fix pbuffer marshalling code. * Mon May 29 2006 Kristian Høgsberg 6.5-8 - Bump for rawhide build. * Mon May 29 2006 Kristian Høgsberg 6.5-7 - Update mesa-6.5-texture-from-pixmap-fixes.patch to include new tokens and change tfp functions to return void. Yes, a new mesa snapshot would be nice. * Wed May 17 2006 Mike A. Harris 6.5-6 - Add "BuildRequires: makedepend" for bug (#191967) * Tue Apr 11 2006 Kristian Høgsberg 6.5-5 - Bump for fc5 build. * Tue Apr 11 2006 Adam Jackson 6.5-4 - Disable R300_FORCE_R300 hack for wider testing. * Mon Apr 10 2006 Kristian Høgsberg 6.5-3 - Add mesa-6.5-noexecstack.patch to prevent assembly files from making libGL.so have executable stack. * Mon Apr 10 2006 Kristian Høgsberg 6.5-2 - Bump for fc5 build. - Bump libdrm requires to 2.0.1. * Sat Apr 01 2006 Kristian Høgsberg 6.5-1 - Update to mesa 6.5 snapshot. - Use -MG for generating deps and some files are not yet symlinked at make depend time. - Drop mesa-6.4.2-dprintf-to-debugprintf-for-bug180122.patch and mesa-6.4.2-xorg-server-uses-bad-datatypes-breaking-AMD64-fdo5835.patch as these are upstream now. - Drop mesa-6.4.1-texture-from-drawable.patch and add mesa-6.5-texture-from-pixmap-fixes.patch. - Update mesa-modular-dri-dir.patch to apply. - Widen libGLU glob. - Reenable r300 driver install. - Widen libOSMesa glob. - Go back to patching config/linux-dri, add mesa-6.5-build-config.patch, drop mesa-6.3.2-build-configuration-v4.patch. - Disable sis dri driver for now, only builds on x86 and x86-64. * Fri Mar 24 2006 Kristian Høgsberg 6.4.2-7 - Set ARCH_FLAGS=-DGLX_USE_TLS to enable TLS for GL contexts. * Wed Mar 01 2006 Karsten Hopp 6.4.2-6 - Buildrequires: libXt-devel (#183479) * Sat Feb 25 2006 Mike A. Harris 6.4.2-5 - Disable the expeimental r300 DRI driver, as it has turned out to cause instability and system hangs for many users. * Wed Feb 22 2006 Adam Jackson 6.4.2-4 - rebuilt * Sun Feb 19 2006 Ray Strode 6.4.2-3 - enable texture-from-drawable patch - add glut-devel dependency * Fri Feb 10 2006 Jesse Keating - 6.4.2-2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Mike A. Harris 6.4.2-2 - Added new "glx-utils" subpackage with glxgears and glxinfo (#173510) - Added mesa-6.4.2-dprintf-to-debugprintf-for-bug180122.patch to workaround a Mesa namespace conflict with GNU_SOURCE (#180122) - Added mesa-6.4.2-xorg-server-uses-bad-datatypes-breaking-AMD64-fdo5835.patch as an attempt to fix bugs (#176976,176414,fdo#5835) - Enabled inclusion of the *EXPERIMENTAL UNSUPPORTED* r300 DRI driver on x86, x86_64, and ppc architectures, however the 2D Radeon driver will soon be modified to require the user to manually turn experimental DRI support on with Option "dri" in xorg.conf to test it out and report all X bugs that occur while using it directly to X.Org bugzilla. (#179712) - Use "libOSMesa.so.6.4.0604*" glob in file manifest, to avoid having to update it each upstream release. * Sat Feb 04 2006 Mike A. Harris 6.4.2-1 - Updated to Mesa 6.4.2 - Use "libGLU.so.1.3.0604*" glob in file manifest, to avoid having to update it each upstream release. * Tue Jan 24 2006 Mike A. Harris 6.4.1-5 - Added missing "BuildRequires: expat-devel" for bug (#178525) - Temporarily disabled mesa-6.4.1-texture-from-drawable.patch, as it fails to compile on at least ia64, and possibly other architectures. * Tue Jan 17 2006 Kristian Høgsberg 6.4.1-4 - Add mesa-6.4.1-texture-from-drawable.patch to implement protocol support for GLX_EXT_texture_from_drawable extension. * Sat Dec 24 2005 Mike A. Harris 6.4.1-3 - Manually copy libGLw headers that Mesa forgets to install, to fix (#173879). - Added mesa-6.4.1-libGLw-enable-motif-support.patch to fix (#175251). - Removed "Conflicts" lines from libGL package, as they are "Obsoletes" now. - Do not rename swrast libGL .so version, as it is the OpenGL version. * Tue Dec 20 2005 Mike A. Harris 6.4.1-2 - Rebuild to ensure libGLU gets rebuilt with new gcc with C++ compiler fixes. - Changed the 3 devel packages to use Obsoletes instead of Conflicts for the packages the files used to be present in, as this is more friendy for OS upgrades. - Added "Requires: libX11-devel" to mesa-libGL-devel package (#173712) - Added "Requires: libGL-devel" to mesa-libGLU-devel package (#175253) * Sat Dec 17 2005 Mike A. Harris 6.4.1-1 - Updated MesaLib tarball to version 6.4.1 from Mesa project for X11R7 RC4. - Added pkgconfig dependency. - Updated "BuildRequires: libdrm-devel >= 2.0-1" - Added Obsoletes lines to all the subpackages to have cleaner upgrades. - Added mesa-6.4.1-amd64-assyntax-fix.patch to work around a build problem on AMD64, which is fixed in the 6.4 branch of Mesa CVS. - Conditionalize libOSMesa inclusion, and default to not including it for now. * Fri Dec 09 2005 Jesse Keating 6.4-5.1 - rebuilt * Sun Nov 20 2005 Jeremy Katz 6.4-5 - fix directory used for loading dri modules (#173679) - install dri drivers as executable so they get stripped (#173292) * Thu Nov 03 2005 Mike A. Harris 6.4-4 - Wrote redhat-mesa-source-filelist-generator to dynamically generate the files to be included in the mesa-source subpackage, to minimize future maintenance. - Fixed detection and renaming of software mesa .so version. * Wed Nov 02 2005 Mike A. Harris 6.4-3 - Hack: autodetect if libGL was given .so.1.5* and rename it to 1.2 for consistency on all architectures, and to avoid upgrade problems if we ever disable DRI on an arch and then re-enable it later. * Wed Nov 02 2005 Mike A. Harris 6.4-2 - Added mesa-6.4-multilib-fix.patch to instrument and attempt to fix Mesa bin/installmesa script to work properly with multilib lib64 architectures. - Set and export LIB_DIR and INCLUDE_DIR in spec file 'install' section, and invoke our modified bin/installmesa directly instead of using "make install". - Remove "include/GL/uglglutshapes.h", as it uses the GLUT license, and seems like an extraneous file anyway. - Conditionalize the file manifest to include libGL.so.1.2 on DRI enabled builds, but use libGL.so.1.5.060400 instead on DRI disabled builds, as this is how upstream builds the library, although it is not clear to me why this difference exists yet (which was not in Xorg 6.8.2 Mesa). * Thu Oct 27 2005 Mike A. Harris 6.4-1 - Updated to new upstream MesaLib-6.4 - Updated libGLU.so.1.3.060400 entry in file manifest - Updated "BuildRequires: libdrm-devel >= 1.0.5" to pick up fixes for the unichrome driver. * Tue Sep 13 2005 Mike A. Harris 6.3.2-6 - Fix redhat-mesa-driver-install and spec file to work right on multilib systems. * Mon Sep 05 2005 Mike A. Harris 6.3.2-5 - Fix mesa-libGL-devel to depend on mesa-libGL instead of mesa-libGLU. - Added virtual "Provides: libGL..." entries for each subpackage as relevant. * Mon Sep 05 2005 Mike A. Harris 6.3.2-4 - Added the mesa-source subpackage, which contains part of the Mesa source code needed by other packages such as the X server to build stuff. * Mon Sep 05 2005 Mike A. Harris 6.3.2-3 - Added Conflicts/Obsoletes lines to all of the subpackages to make upgrades from previous OS releases, and piecemeal upgrades work as nicely as possible. * Mon Sep 05 2005 Mike A. Harris 6.3.2-2 - Wrote redhat-mesa-target script to simplify mesa build target selection. - Wrote redhat-mesa-driver-install to install the DRI drivers and simplify per-arch conditionalization, etc. * Sun Sep 04 2005 Mike A. Harris 6.3.2-1 - Initial build.