diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/ati-utils/.footprint.i686 | 86 | ||||
-rw-r--r-- | base/ati-utils/.footprint.x86_64 | 86 | ||||
-rw-r--r-- | base/ati-utils/.md5sum.i686 | 1 | ||||
-rw-r--r-- | base/ati-utils/.md5sum.x86_64 | 1 | ||||
-rwxr-xr-x | base/ati-utils/Pkgfile | 127 | ||||
-rw-r--r-- | base/ati-utils/pre-install | 3 |
6 files changed, 304 insertions, 0 deletions
diff --git a/base/ati-utils/.footprint.i686 b/base/ati-utils/.footprint.i686 new file mode 100644 index 000000000..7f77bf1ba --- /dev/null +++ b/base/ati-utils/.footprint.i686 @@ -0,0 +1,86 @@ +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 +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/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/ +-rw-r--r-- root/root usr/share/licenses/ati-utils/ATI_LICENSE.TXT +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/base/ati-utils/.footprint.x86_64 b/base/ati-utils/.footprint.x86_64 new file mode 100644 index 000000000..7f77bf1ba --- /dev/null +++ b/base/ati-utils/.footprint.x86_64 @@ -0,0 +1,86 @@ +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 +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/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/ +-rw-r--r-- root/root usr/share/licenses/ati-utils/ATI_LICENSE.TXT +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/base/ati-utils/.md5sum.i686 b/base/ati-utils/.md5sum.i686 new file mode 100644 index 000000000..5199c9163 --- /dev/null +++ b/base/ati-utils/.md5sum.i686 @@ -0,0 +1 @@ +ff901cfa828006e25e9d6718a515b5c0 ati-driver-installer-11-6-x86.x86_64.run diff --git a/base/ati-utils/.md5sum.x86_64 b/base/ati-utils/.md5sum.x86_64 new file mode 100644 index 000000000..5199c9163 --- /dev/null +++ b/base/ati-utils/.md5sum.x86_64 @@ -0,0 +1 @@ +ff901cfa828006e25e9d6718a515b5c0 ati-driver-installer-11-6-x86.x86_64.run diff --git a/base/ati-utils/Pkgfile b/base/ati-utils/Pkgfile new file mode 100755 index 000000000..8ef0af8eb --- /dev/null +++ b/base/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=11.6 +release=1 +[ "`uname -m`" == "i686" ] && _ARCH=x86 +[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64 +source=(http://www2.ati.com/drivers/linux/ati-driver-installer-${version/./-}-x86.x86_64.run) + +build() { + sh ati-driver-installer-${version/./-}-x86.x86_64.run --extract ati + + # 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 ati/xpic/usr/X11R6/lib/modules + elif [ "`uname -m`" == "x86_64" ]; then + cd ati/xpic_64/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/ati/arch/x86/usr + _lib=lib + elif [ "`uname -m`" == "x86_64" ]; then + cd $SRC/ati/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/ati/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/base/ati-utils/pre-install b/base/ati-utils/pre-install new file mode 100644 index 000000000..a1ee5214f --- /dev/null +++ b/base/ati-utils/pre-install @@ -0,0 +1,3 @@ +if ( pkginfo -i | grep libgl > /dev/null ) ; then + pkgrm libgl +fi |