rpms/mesa/devel mesa-7.1-dri-drivers.patch, 1.6, 1.7 mesa.spec, 1.167, 1.168

Adam Jackson (ajax) fedora-extras-commits at redhat.com
Thu Feb 21 20:06:14 UTC 2008


Author: ajax

Update of /cvs/pkgs/rpms/mesa/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17143

Modified Files:
	mesa-7.1-dri-drivers.patch mesa.spec 
Log Message:
(victorious trombone noise)

mesa-7.1-dri-drivers.patch:

Index: mesa-7.1-dri-drivers.patch
===================================================================
RCS file: /cvs/pkgs/rpms/mesa/devel/mesa-7.1-dri-drivers.patch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- mesa-7.1-dri-drivers.patch	21 Feb 2008 18:10:11 -0000	1.6
+++ mesa-7.1-dri-drivers.patch	21 Feb 2008 20:05:41 -0000	1.7
@@ -1,16 +1,7 @@
 diff -up mesa-20080218/configure.ac.jx mesa-20080218/configure.ac
 --- mesa-20080218/configure.ac.jx	2008-02-18 12:01:51.000000000 -0500
 +++ mesa-20080218/configure.ac	2008-02-21 13:09:44.000000000 -0500
-@@ -448,6 +448,8 @@ dnl Just default to no EGL for now
- USING_EGL=0
- AC_SUBST(USING_EGL)
- 
-+echo ajax hates ppc
-+
- dnl Set DRI_DIRS, DEFINES and LIB_DEPS
- if test "$mesa_driver" = dri; then
-     # Use TLS in GLX?
-@@ -459,15 +461,12 @@ if test "$mesa_driver" = dri; then
+@@ -459,12 +459,7 @@
          PROGRAM_DIRS="egl"
      fi
  
@@ -19,16 +10,11 @@
 -        DRI_DIRS="i810 i915 i965 mach64 mga r128 r200 r300 radeon s3v \
 -            savage sis tdfx trident unichrome ffb"
 -    fi
-+    echo host_os $host_os host_cpu $host_cpu
  
      # Platform specific settings and drivers to build
      case "$host_os" in
      linux*)
-+	echo OMG LINUX
-         DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER"
-         DEFINES="$DEFINES -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS"
-         if test "x$driglx_direct" = xyes; then
-@@ -475,7 +474,7 @@ if test "$mesa_driver" = dri; then
+@@ -475,7 +470,7 @@
          fi
  
          case "$host_cpu" in
@@ -37,14 +23,13 @@
              # ffb, gamma, and sis are missing because they have not be
              # converted to use the new interface.  i810 are missing
              # because there is no x86-64 system where they could *ever*
-@@ -484,13 +483,16 @@ if test "$mesa_driver" = dri; then
+@@ -484,13 +479,15 @@
                  DRI_DIRS="i915 i965 mach64 mga r128 r200 r300 radeon \
                      savage tdfx unichrome"
              fi
 +	    DRI_DIRS="`echo $DRI_DIRS | sed 's/i810//g'`"
              ;;
          powerpc*)
-+	    echo OMG PPC
              # Build only the drivers for cards that exist on PowerPC.
              # At some point MGA will be added, but not yet.
              if test "x$DRI_DIRS" = x; then
@@ -55,7 +40,7 @@
              ;;
          esac
          ;;
-@@ -513,6 +515,12 @@ if test "$mesa_driver" = dri; then
+@@ -513,6 +510,12 @@
          fi
          ;;
      esac


Index: mesa.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mesa/devel/mesa.spec,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -r1.167 -r1.168
--- mesa.spec	21 Feb 2008 18:36:37 -0000	1.167
+++ mesa.spec	21 Feb 2008 20:05:41 -0000	1.168
@@ -30,7 +30,6 @@
 Patch0: mesa-7.1pre-osmesa-version.patch
 Patch1: mesa-7.1-dri-drivers.patch
 
-
 BuildRequires: pkgconfig autoconf automake
 %if %{with_dri}
 BuildRequires: libdrm-devel >= 2.4.0-0.4
@@ -185,7 +184,7 @@
 make clean
 
 # just to be sure...
-[ `find . -name \*.o | wc -l` -eq 0 ] || exit "make cleaner dammit"
+[ `find . -name \*.o | wc -l` -eq 0 ] || exit "make cleaner plz"
 
 # now build the rest of mesa
 %configure \
@@ -195,10 +194,6 @@
     --with-driver=%{driver} \
     --with-dri-driverdir=%{_libdir}/dri
 
-#echo "--- MESA CONFIGURATION ---"
-#cat configs/current
-#echo "--- END MESA CONFIGURATION ---"
-
 make #{?_smp_mflags}
 
 make -C progs/xdemos glxgears glxinfo




More information about the fedora-extras-commits mailing list