[Lunar-commits] r20174 - in moonbase/branches/crater/xorg-7.0/x11-drivers: . xf86-video-fglrx

Auke Kok sofar at lunar-linux.org
Tue May 23 00:32:27 UTC 2006


Author: sofar
Date: 2006-05-23 00:32:25 +0000 (Tue, 23 May 2006)
New Revision: 20174

Added:
   moonbase/branches/crater/xorg-7.0/x11-drivers/xf86-video-fglrx/
   moonbase/branches/crater/xorg-7.0/x11-drivers/xf86-video-fglrx/BUILD
   moonbase/branches/crater/xorg-7.0/x11-drivers/xf86-video-fglrx/DEPENDS
   moonbase/branches/crater/xorg-7.0/x11-drivers/xf86-video-fglrx/DETAILS
   moonbase/branches/crater/xorg-7.0/x11-drivers/xf86-video-fglrx/PRE_BUILD
Log:
New version of the ati fglrx driver that installs properly with xorg-7.0.0 =^)


Added: moonbase/branches/crater/xorg-7.0/x11-drivers/xf86-video-fglrx/BUILD
===================================================================
--- moonbase/branches/crater/xorg-7.0/x11-drivers/xf86-video-fglrx/BUILD	                        (rev 0)
+++ moonbase/branches/crater/xorg-7.0/x11-drivers/xf86-video-fglrx/BUILD	2006-05-23 00:32:25 UTC (rev 20174)
@@ -0,0 +1,35 @@
+(
+
+  export X_VERSION="x690"
+
+  KERNEL_VERSION=$(grep UTS_RELEASE /usr/src/linux/include/linux/version.h  | cut -d'"' -f2)
+  if echo $KERNEL_VERSION | grep -q '^2.6' ; then
+    MOD_EXT=ko
+  else
+    MOD_EXT=o
+  fi
+
+  chown -R root:root . &&
+  find . -type d -exec chmod 755 {} \; &&
+
+  # hacked together:
+  cd $SOURCE_DIRECTORY/lib/modules/fglrx/build_mod &&
+  sh make.sh &&
+  prepare_install &&
+  cd $SOURCE_DIRECTORY/lib/modules/fglrx &&
+  mkdir -p /lib/modules/${KERNEL_VERSION}/drivers/char/drm &&
+  mkdir -p /lib/modules/${KERNEL_VERSION}/drivers/char/agp &&
+  install -m 644 fglrx.${KERNEL_VERSION}.${MOD_EXT} /lib/modules/${KERNEL_VERSION}/drivers/char/drm/fglrx.${MOD_EXT} &&
+  install -m 644 fglrx_agp.${KERNEL_VERSION}.${MOD_EXT} /lib/modules/${KERNEL_VERSION}/drivers/char/agp/fglrx_agp.${MOD_EXT} &&
+  cd $SOURCE_DIRECTORY &&
+  install -m755 usr/X11R6/bin/fgl* /usr/bin/ &&
+  install -m755 usr/X11R6/bin/aticonfig /usr/bin/ &&
+  install -m644 usr/X11R6/include/X11/extensions/fglrx_gamma.h \
+  	/usr/include/X11/extensions/ &&
+  cp -a usr/X11R6/lib/lib* /usr/lib/ &&
+  cp -a usr/X11R6/lib/modules/* /usr/lib/xorg/modules/ &&
+  install usr/include/GL/glxATI.h /usr/include/GL/ &&
+  install usr/include/GL/glATI.h /usr/include/GL/ &&
+  gather_docs usr/share/doc/fglrx
+
+) > $C_FIFO 2>&1

Added: moonbase/branches/crater/xorg-7.0/x11-drivers/xf86-video-fglrx/DEPENDS
===================================================================
--- moonbase/branches/crater/xorg-7.0/x11-drivers/xf86-video-fglrx/DEPENDS	                        (rev 0)
+++ moonbase/branches/crater/xorg-7.0/x11-drivers/xf86-video-fglrx/DEPENDS	2006-05-23 00:32:25 UTC (rev 20174)
@@ -0,0 +1,2 @@
+depends rpmunpack
+depends libstdc++5

Added: moonbase/branches/crater/xorg-7.0/x11-drivers/xf86-video-fglrx/DETAILS
===================================================================
--- moonbase/branches/crater/xorg-7.0/x11-drivers/xf86-video-fglrx/DETAILS	                        (rev 0)
+++ moonbase/branches/crater/xorg-7.0/x11-drivers/xf86-video-fglrx/DETAILS	2006-05-23 00:32:25 UTC (rev 20174)
@@ -0,0 +1,19 @@
+          MODULE=xf86-video-fglrx
+         VERSION=8.24.8
+         LICENSE=proprietary
+          SOURCE=fglrx_6_8_0-$VERSION-1.i386.rpm
+      SOURCE_URL=$MIRROR_URL
+      SOURCE_VFY=sha1:fe3c561da7aabd167d74091bdac99f5ef0753520
+        WEB_SITE=http://www.ati.com/
+         ENTERED=20060522
+         UPDATED=20060522
+           SHORT="proprietary ati driver for xorg7"
+cat << EOF
+Proprietary X.Org driver for the ATI 8500 and 9x00 series. Contains
+binary kernel module (fglrx.o) and ATI's X11 tools, includes and GLX
+header files. This driver will provide 3D acceleration for most
+7xxx and 9xxx cards, including the 'radeon' cards.
+
+An alternative GPL driver is in the XOrg-drm module, but that one
+does not support all FireGL cards.
+EOF

Added: moonbase/branches/crater/xorg-7.0/x11-drivers/xf86-video-fglrx/PRE_BUILD
===================================================================
--- moonbase/branches/crater/xorg-7.0/x11-drivers/xf86-video-fglrx/PRE_BUILD	                        (rev 0)
+++ moonbase/branches/crater/xorg-7.0/x11-drivers/xf86-video-fglrx/PRE_BUILD	2006-05-23 00:32:25 UTC (rev 20174)
@@ -0,0 +1,5 @@
+mk_source_dir $SOURCE_DIRECTORY &&
+cd $SOURCE_DIRECTORY &&
+rpmunpack $SOURCE_CACHE/$SOURCE &&
+gunzip $(echo $SOURCE | sed 's:i386.rpm$:cpio.gz:') &&
+cpio -i --no-absolute-filenames --make-directories < $(echo $SOURCE | sed 's:i386.rpm:cpio:')



More information about the Lunar-commits mailing list