diff options
author | tnut <tnut at nutyx dot org> | 2012-04-16 02:34:00 +0200 |
---|---|---|
committer | tnut <tnut at nutyx dot org> | 2012-04-16 02:34:00 +0200 |
commit | 67e2026fb5d9c6f9b63ddcce7a1c2c70be0e05fe (patch) | |
tree | 4c426539f033e5cd07d51410d2ab5152c27413c9 | |
parent | df9a5091e5315086309a71b91dbd3caa0722bcfe (diff) | |
download | nutyx-extra-67e2026fb5d9c6f9b63ddcce7a1c2c70be0e05fe.tar.gz nutyx-extra-67e2026fb5d9c6f9b63ddcce7a1c2c70be0e05fe.tar.bz2 nutyx-extra-67e2026fb5d9c6f9b63ddcce7a1c2c70be0e05fe.tar.xz nutyx-extra-67e2026fb5d9c6f9b63ddcce7a1c2c70be0e05fe.zip |
ati-utils, retour dans extra
-rw-r--r-- | ati-utils/.footprint.i686 | 89 | ||||
-rw-r--r-- | ati-utils/.footprint.x86_64 | 89 | ||||
-rw-r--r-- | ati-utils/.md5sum.i686 | 1 | ||||
-rw-r--r-- | ati-utils/.md5sum.x86_64 | 1 | ||||
-rwxr-xr-x | ati-utils/Pkgfile | 127 | ||||
-rw-r--r-- | ati-utils/pre-install | 3 |
6 files changed, 310 insertions, 0 deletions
diff --git a/ati-utils/.footprint.i686 b/ati-utils/.footprint.i686 new file mode 100644 index 000000000..327da57d6 --- /dev/null +++ b/ati-utils/.footprint.i686 @@ -0,0 +1,89 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/X11/ +drwxr-xr-x root/root etc/X11/xorg.conf.d/ +-rw-r--r-- root/root etc/X11/xorg.conf.d/30-ati.conf +drwxr-xr-x root/root etc/ati/ +-rw-r--r-- root/root etc/ati/amdpcsdb.default +-rw-r--r-- root/root etc/ati/atiogl.xml +-rwxr-xr-x root/root etc/ati/authatieventsd.sh +-rw-r--r-- root/root etc/ati/control +-rw-r--r-- root/root etc/ati/logo.xbm.example +-rw-r--r-- root/root etc/ati/logo_mask.xbm.example +-rw-r--r-- root/root etc/ati/signature +drwxr-xr-x root/root etc/rc.d/ +drwxr-xr-x root/root etc/rc.d/init.d/ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/amdcccle +-rw-r--r-- root/root usr/bin/amdupdaterandrconfig +-rwxr-xr-x root/root usr/bin/aticonfig +-rwxr-xr-x root/root usr/bin/atiodcli +-rwxr-xr-x root/root usr/bin/atiode +-rwxr-xr-x root/root usr/bin/fgl_glxgears +-rwxr-xr-x root/root usr/bin/fglrxinfo +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/GL/ +-rw-r--r-- root/root usr/include/GL/glATI.h +-rw-r--r-- root/root usr/include/GL/glxATI.h +drwxr-xr-x root/root usr/include/X11/ +drwxr-xr-x root/root usr/include/X11/extensions/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/X11/ +drwxr-xr-x root/root usr/lib/X11/modules/ +-rwxr-xr-x root/root usr/lib/X11/modules/amdxmm.so +drwxr-xr-x root/root usr/lib/X11/modules/dri/ +-rwxr-xr-x root/root usr/lib/X11/modules/dri/fglrx_dri.so +drwxr-xr-x root/root usr/lib/X11/modules/drivers/ +-rwxr-xr-x root/root usr/lib/X11/modules/drivers/fglrx_drv.so +drwxr-xr-x root/root usr/lib/X11/modules/extensions/ +drwxr-xr-x root/root usr/lib/X11/modules/extensions/fglrx/ +-rwxr-xr-x root/root usr/lib/X11/modules/extensions/fglrx/fglrx-libglx.so +lrwxrwxrwx root/root usr/lib/X11/modules/extensions/libglx.so -> /usr/lib/X11/modules/extensions/fglrx/fglrx-libglx.so +-rwxr-xr-x root/root usr/lib/X11/modules/glesx.so +drwxr-xr-x root/root usr/lib/X11/modules/linux/ +-rwxr-xr-x root/root usr/lib/X11/modules/linux/libfglrxdrm.so +drwxr-xr-x root/root usr/lib/dri/ +lrwxrwxrwx root/root usr/lib/dri/fglrx_dri.so -> /usr/lib/X11/modules/dri/fglrx_dri.so +lrwxrwxrwx root/root usr/lib/fglrx-libGL.so.1.2 -> /usr/lib/fglrx/fglrx-libGL.so.1.2 +drwxr-xr-x root/root usr/lib/fglrx/ +-rwxr-xr-x root/root usr/lib/fglrx/fglrx-libGL.so.1.2 +lrwxrwxrwx root/root usr/lib/fglrx/libGL.so.1.2 -> /usr/lib/fglrx/fglrx-libGL.so.1.2 +-rw-r--r-- root/root usr/lib/libAMDXvBA.cap +lrwxrwxrwx root/root usr/lib/libAMDXvBA.so -> libAMDXvBA.so.1.0 +lrwxrwxrwx root/root usr/lib/libAMDXvBA.so.1 -> libAMDXvBA.so.1.0 +-rwxr-xr-x root/root usr/lib/libAMDXvBA.so.1.0 +lrwxrwxrwx root/root usr/lib/libGL.so -> /usr/lib/fglrx/fglrx-libGL.so.1.2 +lrwxrwxrwx root/root usr/lib/libGL.so.1 -> /usr/lib/fglrx/fglrx-libGL.so.1.2 +lrwxrwxrwx root/root usr/lib/libGL.so.1.2 -> /usr/lib/fglrx/fglrx-libGL.so.1.2 +-rwxr-xr-x root/root usr/lib/libOpenCL.so.1 +-rwxr-xr-x root/root usr/lib/libSlotMaximizerAg.so +-rwxr-xr-x root/root usr/lib/libSlotMaximizerBe.so +lrwxrwxrwx root/root usr/lib/libXvBAW.so -> libXvBAW.so.1.0 +lrwxrwxrwx root/root usr/lib/libXvBAW.so.1 -> libXvBAW.so.1.0 +-rwxr-xr-x root/root usr/lib/libXvBAW.so.1.0 +-rwxr-xr-x root/root usr/lib/libamdocl32.so +-rwxr-xr-x root/root usr/lib/libatiadlxx.so +-rwxr-xr-x root/root usr/lib/libaticalcl.so +-rwxr-xr-x root/root usr/lib/libaticaldd.so +-rwxr-xr-x root/root usr/lib/libaticalrt.so +lrwxrwxrwx root/root usr/lib/libatiuki.so -> libatiuki.so.1.0 +lrwxrwxrwx root/root usr/lib/libatiuki.so.1 -> libatiuki.so.1.0 +-rwxr-xr-x root/root usr/lib/libatiuki.so.1.0 +-rw-r--r-- root/root usr/lib/libfglrx_dm.a +lrwxrwxrwx root/root usr/lib/libfglrx_dm.so -> libfglrx_dm.so.1.0 +lrwxrwxrwx root/root usr/lib/libfglrx_dm.so.1 -> libfglrx_dm.so.1.0 +-rwxr-xr-x root/root usr/lib/libfglrx_dm.so.1.0 +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/amdnotifyui +-rwxr-xr-x root/root usr/sbin/atieventsd +-rwxr-xr-x root/root usr/sbin/atigetsysteminfo.sh +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/applications/ +drwxr-xr-x root/root usr/share/ati/ +drwxr-xr-x root/root usr/share/ati/amdcccle/ +drwxr-xr-x root/root usr/share/licenses/ +drwxr-xr-x root/root usr/share/licenses/ati-utils/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/atieventsd.8.gz +drwxr-xr-x root/root usr/share/pixmaps/ diff --git a/ati-utils/.footprint.x86_64 b/ati-utils/.footprint.x86_64 new file mode 100644 index 000000000..f4be519ad --- /dev/null +++ b/ati-utils/.footprint.x86_64 @@ -0,0 +1,89 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/X11/ +drwxr-xr-x root/root etc/X11/xorg.conf.d/ +-rw-r--r-- root/root etc/X11/xorg.conf.d/30-ati.conf +drwxr-xr-x root/root etc/ati/ +-rw-r--r-- root/root etc/ati/amdpcsdb.default +-rw-r--r-- root/root etc/ati/atiogl.xml +-rwxr-xr-x root/root etc/ati/authatieventsd.sh +-rw-r--r-- root/root etc/ati/control +-rw-r--r-- root/root etc/ati/logo.xbm.example +-rw-r--r-- root/root etc/ati/logo_mask.xbm.example +-rw-r--r-- root/root etc/ati/signature +drwxr-xr-x root/root etc/rc.d/ +drwxr-xr-x root/root etc/rc.d/init.d/ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/amdcccle +-rw-r--r-- root/root usr/bin/amdupdaterandrconfig +-rwxr-xr-x root/root usr/bin/aticonfig +-rwxr-xr-x root/root usr/bin/atiodcli +-rwxr-xr-x root/root usr/bin/atiode +-rwxr-xr-x root/root usr/bin/fgl_glxgears +-rwxr-xr-x root/root usr/bin/fglrxinfo +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/GL/ +-rw-r--r-- root/root usr/include/GL/glATI.h +-rw-r--r-- root/root usr/include/GL/glxATI.h +drwxr-xr-x root/root usr/include/X11/ +drwxr-xr-x root/root usr/include/X11/extensions/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/X11/ +drwxr-xr-x root/root usr/lib/X11/modules/ +-rwxr-xr-x root/root usr/lib/X11/modules/amdxmm.so +drwxr-xr-x root/root usr/lib/X11/modules/dri/ +-rwxr-xr-x root/root usr/lib/X11/modules/dri/fglrx_dri.so +drwxr-xr-x root/root usr/lib/X11/modules/drivers/ +-rwxr-xr-x root/root usr/lib/X11/modules/drivers/fglrx_drv.so +drwxr-xr-x root/root usr/lib/X11/modules/extensions/ +drwxr-xr-x root/root usr/lib/X11/modules/extensions/fglrx/ +-rwxr-xr-x root/root usr/lib/X11/modules/extensions/fglrx/fglrx-libglx.so +lrwxrwxrwx root/root usr/lib/X11/modules/extensions/libglx.so -> /usr/lib/X11/modules/extensions/fglrx/fglrx-libglx.so +-rwxr-xr-x root/root usr/lib/X11/modules/glesx.so +drwxr-xr-x root/root usr/lib/X11/modules/linux/ +-rwxr-xr-x root/root usr/lib/X11/modules/linux/libfglrxdrm.so +drwxr-xr-x root/root usr/lib/dri/ +lrwxrwxrwx root/root usr/lib/dri/fglrx_dri.so -> /usr/lib/X11/modules/dri/fglrx_dri.so +lrwxrwxrwx root/root usr/lib/fglrx-libGL.so.1.2 -> /usr/lib/fglrx/fglrx-libGL.so.1.2 +drwxr-xr-x root/root usr/lib/fglrx/ +-rwxr-xr-x root/root usr/lib/fglrx/fglrx-libGL.so.1.2 +lrwxrwxrwx root/root usr/lib/fglrx/libGL.so.1.2 -> /usr/lib/fglrx/fglrx-libGL.so.1.2 +-rw-r--r-- root/root usr/lib/libAMDXvBA.cap +lrwxrwxrwx root/root usr/lib/libAMDXvBA.so -> libAMDXvBA.so.1.0 +lrwxrwxrwx root/root usr/lib/libAMDXvBA.so.1 -> libAMDXvBA.so.1.0 +-rwxr-xr-x root/root usr/lib/libAMDXvBA.so.1.0 +lrwxrwxrwx root/root usr/lib/libGL.so -> /usr/lib/fglrx/fglrx-libGL.so.1.2 +lrwxrwxrwx root/root usr/lib/libGL.so.1 -> /usr/lib/fglrx/fglrx-libGL.so.1.2 +lrwxrwxrwx root/root usr/lib/libGL.so.1.2 -> /usr/lib/fglrx/fglrx-libGL.so.1.2 +-rwxr-xr-x root/root usr/lib/libOpenCL.so.1 +-rwxr-xr-x root/root usr/lib/libSlotMaximizerAg.so +-rwxr-xr-x root/root usr/lib/libSlotMaximizerBe.so +lrwxrwxrwx root/root usr/lib/libXvBAW.so -> libXvBAW.so.1.0 +lrwxrwxrwx root/root usr/lib/libXvBAW.so.1 -> libXvBAW.so.1.0 +-rwxr-xr-x root/root usr/lib/libXvBAW.so.1.0 +-rwxr-xr-x root/root usr/lib/libamdocl64.so +-rwxr-xr-x root/root usr/lib/libatiadlxx.so +-rwxr-xr-x root/root usr/lib/libaticalcl.so +-rwxr-xr-x root/root usr/lib/libaticaldd.so +-rwxr-xr-x root/root usr/lib/libaticalrt.so +lrwxrwxrwx root/root usr/lib/libatiuki.so -> libatiuki.so.1.0 +lrwxrwxrwx root/root usr/lib/libatiuki.so.1 -> libatiuki.so.1.0 +-rwxr-xr-x root/root usr/lib/libatiuki.so.1.0 +-rw-r--r-- root/root usr/lib/libfglrx_dm.a +lrwxrwxrwx root/root usr/lib/libfglrx_dm.so -> libfglrx_dm.so.1.0 +lrwxrwxrwx root/root usr/lib/libfglrx_dm.so.1 -> libfglrx_dm.so.1.0 +-rwxr-xr-x root/root usr/lib/libfglrx_dm.so.1.0 +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/amdnotifyui +-rwxr-xr-x root/root usr/sbin/atieventsd +-rwxr-xr-x root/root usr/sbin/atigetsysteminfo.sh +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/applications/ +drwxr-xr-x root/root usr/share/ati/ +drwxr-xr-x root/root usr/share/ati/amdcccle/ +drwxr-xr-x root/root usr/share/licenses/ +drwxr-xr-x root/root usr/share/licenses/ati-utils/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/atieventsd.8.gz +drwxr-xr-x root/root usr/share/pixmaps/ diff --git a/ati-utils/.md5sum.i686 b/ati-utils/.md5sum.i686 new file mode 100644 index 000000000..ce6da26dd --- /dev/null +++ b/ati-utils/.md5sum.i686 @@ -0,0 +1 @@ +7764bd0343ed542a8e0ebed05e347865 amd-driver-installer-12-2-x86.x86_64.run diff --git a/ati-utils/.md5sum.x86_64 b/ati-utils/.md5sum.x86_64 new file mode 100644 index 000000000..ce6da26dd --- /dev/null +++ b/ati-utils/.md5sum.x86_64 @@ -0,0 +1 @@ +7764bd0343ed542a8e0ebed05e347865 amd-driver-installer-12-2-x86.x86_64.run diff --git a/ati-utils/Pkgfile b/ati-utils/Pkgfile new file mode 100755 index 000000000..1cdc0c4bf --- /dev/null +++ b/ati-utils/Pkgfile @@ -0,0 +1,127 @@ +# Description: Utilitaire pour cartes graphiques ATI +# URL: http://www.nvidia.com/object/unix.html +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: + +name=ati-utils +version=12.2 +release=1 +[ "`uname -m`" == "i686" ] && _ARCH=x86 +[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64 +source=(http://www2.ati.com/drivers/linux/amd-driver-installer-${version/./-}-x86.x86_64.run) + +build() { + sh amd-driver-installer-${version/./-}-x86.x86_64.run --extract amd + + # Installation des librairies et utilitaires spécifiques à l'architecture + install -m755 -d $PKG/etc/ati + install -m755 -d $PKG/etc/rc.d/init.d/ + + install -m755 -d $PKG/usr/lib/dri + install -m755 -d $PKG/usr/lib/X11/modules/{dri,drivers,extensions/fglrx,linux} + + install -m755 -d $PKG/usr/{include,bin,sbin,lib/fglrx} + install -m755 -d $PKG/usr/include/X11/extensions + install -m755 -d $PKG/usr/include/GL + + install -m755 -d $PKG/usr/share/{applications,ati/amdcccle} + install -m755 -d $PKG/usr/share/licenses/$name + install -m755 -d $PKG/usr/share/man/man8 + install -m755 -d $PKG/usr/share/pixmaps + if [ "`uname -m`" == "i686" ]; then + cd amd/xpic/usr/X11R6/lib/modules + elif [ "`uname -m`" == "x86_64" ]; then + cd amd/xpic_64a/usr/X11R6/lib64/modules + fi + # install -m644 *.a $PKG/usr/lib/X11/modules/ + install -m755 *.so $PKG/usr/lib/X11/modules/ + install -m755 drivers/*.so $PKG/usr/lib/X11/modules/drivers/ + install -m755 linux/*.so $PKG/usr/lib/X11/modules/linux/ + + install -m755 extensions/fglrx/fglrx-libglx.so \ + $PKG/usr/lib/X11/modules/extensions/fglrx/fglrx-libglx.so + ln -s /usr/lib/X11/modules/extensions/fglrx/fglrx-libglx.so \ + $PKG/usr/lib/X11/modules/extensions/libglx.so + + if [ "`uname -m`" == "i686" ]; then + cd $SRC/amd/arch/x86/usr + _lib=lib + elif [ "`uname -m`" == "x86_64" ]; then + cd $SRC/amd/arch/x86_64/usr + _lib=lib64 + fi + install -m755 X11R6/bin/* $PKG/usr/bin/ + install -m755 sbin/* $PKG/usr/sbin/ + install -m755 X11R6/${_lib}/fglrx/fglrx-libGL.so.1.2 $PKG/usr/lib/fglrx + ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 $PKG/usr/lib/fglrx/libGL.so.1.2 + ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 $PKG/usr/lib/fglrx-libGL.so.1.2 + ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 $PKG/usr/lib/libGL.so.1.2 + ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 $PKG/usr/lib/libGL.so.1 + ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 $PKG/usr/lib/libGL.so + install -m755 X11R6/${_lib}/libAMDXvBA.so.1.0 $PKG/usr/lib/ + ln -snf libAMDXvBA.so.1.0 $PKG/usr/lib/libAMDXvBA.so.1 + ln -snf libAMDXvBA.so.1.0 $PKG/usr/lib/libAMDXvBA.so + install -m755 X11R6/${_lib}/libatiadlxx.so $PKG/usr/lib/ + install -m755 X11R6/${_lib}/libfglrx_dm.so.1.0 $PKG/usr/lib/ + install -m755 X11R6/${_lib}/libXvBAW.so.1.0 $PKG/usr/lib/ + ln -snf libXvBAW.so.1.0 $PKG/usr/lib/libXvBAW.so.1 + ln -snf libXvBAW.so.1.0 $PKG/usr/lib/libXvBAW.so + install -m644 X11R6/${_lib}/*.a $PKG/usr/lib/ + install -m644 X11R6/${_lib}/*.cap $PKG/usr/lib/ + install -m755 X11R6/${_lib}/modules/dri/*.so $PKG/usr/lib/X11/modules/dri/ + install -m755 ${_lib}/*.so* $PKG/usr/lib/ + + ln -snf /usr/lib/X11/modules/dri/fglrx_dri.so $PKG/usr/lib/dri/fglrx_dri.so + ln -snf libfglrx_dm.so.1.0 $PKG/usr/lib/libfglrx_dm.so.1 + ln -snf libfglrx_dm.so.1.0 $PKG/usr/lib/libfglrx_dm.so + ln -snf libatiuki.so.1.0 $PKG/usr/lib/libatiuki.so.1 + ln -snf libatiuki.so.1.0 $PKG/usr/lib/libatiuki.so + + cd $SRC/amd/common + + install -m644 usr/X11R6/bin/amdupdaterandrconfig $PKG/usr/bin/ + install -m644 usr/include/GL/*.h $PKG/usr/include/GL/ + install -m755 usr/sbin/*.sh $PKG/usr/sbin/ + install -m644 usr/share/man/man8/*.8 $PKG/usr/share/man/man8/ + + install -m644 etc/ati/* $PKG/etc/ati/ + chmod 755 $PKG/etc/ati/authatieventsd.sh +# install -m755 $SRC/atieventsd.sh $PKG/etc/rc.d/init.d/atieventsd + +# install -m644 $SRC/ati/ATI_LICENSE.TXT $PKG/usr/share/licenses/$name/ + mkdir -p $PKG/etc/X11/xorg.conf.d + cat > $PKG/etc/X11/xorg.conf.d/30-ati.conf << "EOF" +Section "ServerLayout" + Identifier "aticonfig Layout" + Screen 0 "aticonfig-Screen[0]-0" 0 0 +EndSection + +Section "Module" +EndSection + +Section "Monitor" + Identifier "aticonfig-Monitor[0]-0" + Option "VendorName" "ATI Proprietary Driver" + Option "ModelName" "Generic Autodetecting Monitor" + Option "DPMS" "true" +EndSection + +Section "Device" + Identifier "aticonfig-Device[0]-0" + Driver "fglrx" + BusID "PCI:1:0:0" +EndSection + +Section "Screen" + Identifier "aticonfig-Screen[0]-0" + Device "aticonfig-Device[0]-0" + Monitor "aticonfig-Monitor[0]-0" + DefaultDepth 24 + SubSection "Display" + Viewport 0 0 + Depth 24 + EndSubSection +EndSection +EOF +} diff --git a/ati-utils/pre-install b/ati-utils/pre-install new file mode 100644 index 000000000..a1ee5214f --- /dev/null +++ b/ati-utils/pre-install @@ -0,0 +1,3 @@ +if ( pkginfo -i | grep libgl > /dev/null ) ; then + pkgrm libgl +fi |