1
0
forked from ports/contrib

ati: removed

This commit is contained in:
Jose V Beneyto 2010-05-25 11:21:46 +02:00
parent bb9c28f1fc
commit 3294cc162b
5 changed files with 0 additions and 224 deletions

View File

@ -1,70 +0,0 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/ati/
-rwxr--r-- root/root etc/ati/amdpcsdb.default
-rwxr--r-- root/root etc/ati/atiogl.xml
-rwxr--r-- root/root etc/ati/authatieventsd.sh
-rw-r--r-- root/root etc/ati/control
-rw-r--r-- root/root etc/ati/signature
drwxr-xr-x root/root etc/rc.d/
-rwxr-xr-x root/root etc/rc.d/atieventsd
drwxr-xr-x root/root lib/
drwxr-xr-x root/root lib/modules/
drwxr-xr-x root/root lib/modules/<kernel-version>/
drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/
drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/
drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/char/
drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/char/drm/
-rw-r--r-- root/root lib/modules/<kernel-version>/kernel/drivers/char/drm/fglrx.ko
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/amdcccle
-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/fglrx_xgamma
-rwxr-xr-x root/root usr/bin/fglrxinfo
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/GL/
-r--r--r-- root/root usr/include/GL/glATI.h
-r--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/
-r--r--r-- root/root usr/include/X11/extensions/fglrx_gamma.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/dri/
-rwxr-xr-x root/root usr/lib/dri/fglrx_dri.so
-rw-r--r-- root/root usr/lib/libAMDXvBA.cap
-rwxr-xr-x root/root usr/lib/libAMDXvBA.so.1.0
-rwxr-xr-x root/root usr/lib/libGL_so_1_2_ati
-rwxr-xr-x root/root usr/lib/libXvBAW.so.1.0
-rwxr-xr-x root/root usr/lib/libatiadlxx.so
-rw-r--r-- root/root usr/lib/libfglrx_dm.a
-rwxr-xr-x root/root usr/lib/libfglrx_dm.so.1.0
-rw-r--r-- root/root usr/lib/libfglrx_gamma.a
lrwxrwxrwx root/root usr/lib/libfglrx_gamma.so.1 -> /usr/lib/libfglrx_gamma.so.1.0
-rwxr-xr-x root/root usr/lib/libfglrx_gamma.so.1.0
-rw-r--r-- root/root usr/lib/libfglrx_pp.a
lrwxrwxrwx root/root usr/lib/libfglrx_pp.so.1 -> /usr/lib/libfglrx_pp.so.1.0
-rwxr-xr-x root/root usr/lib/libfglrx_pp.so.1.0
-rw-r--r-- root/root usr/lib/libfglrx_tvout.a
-rwxr-xr-x root/root usr/lib/libfglrx_tvout.so.1.0
drwxr-xr-x root/root usr/lib/xorg/
drwxr-xr-x root/root usr/lib/xorg/modules/
-rwxr-xr-x root/root usr/lib/xorg/modules/amdxmm.so
drwxr-xr-x root/root usr/lib/xorg/modules/drivers/
-rwxr-xr-x root/root usr/lib/xorg/modules/drivers/fglrx_drv.so
-rwxr--r-- root/root usr/lib/xorg/modules/esut.a
drwxr-xr-x root/root usr/lib/xorg/modules/extensions/
-rwxr-xr-x root/root usr/lib/xorg/modules/extensions/libdri_so_ati
-rwxr-xr-x root/root usr/lib/xorg/modules/extensions/libglx_so_ati
-rwxr-xr-x root/root usr/lib/xorg/modules/glesx.so
drwxr-xr-x root/root usr/lib/xorg/modules/linux/
-rwxr-xr-x root/root usr/lib/xorg/modules/linux/libfglrxdrm.so
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man8/
-r--r--r-- root/root usr/man/man8/atieventsd.8.gz
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

View File

@ -1,2 +0,0 @@
3875441c1e6f9bd7e0c2d006eb0708b3 ati-driver-installer-9-3-x86.x86_64.run
ff77a2be2912534c687b61f5e8888944 atieventsd

View File

@ -1,67 +0,0 @@
# Description: ATI Proprietary Linux Display Driver
# URL: http://www.ati.com/support/drivers/linux/radeon-linux.html
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
# Packager: Jose V Beneyto, sepen at users dot sourceforge dot net
# Depends on: mesa3d, gl-select
name=ati
version=9.3
release=1
source=(http://www2.ati.com/drivers/linux/$name-driver-installer-${version/./-}-x86.x86_64.run \
atieventsd)
build() {
chmod +x ${name}-driver-installer-${version/./-}-x86.x86_64.run
./$name-driver-installer-${version/./-}-x86.x86_64.run --extract $SRC/tmp
# force to build kernel
[ ! -z $KVER ] && sed -e "s|^uname_r=.*|uname_r=$KVER|g" \
-i $SRC/tmp/common/lib/modules/fglrx/build_mod/make.sh
# make
cd $SRC/tmp/common/lib/modules/fglrx/build_mod
ln -s $SRC/tmp/arch/x86/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4 .
chmod +x make.sh
./make.sh
# install kernel module
install -D -m 0644 $SRC/tmp/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko \
$PKG/lib/modules/`uname -r`/kernel/drivers/char/drm/fglrx.ko
# install xorg
install -d $PKG/usr/{bin,sbin}
install -m 0755 $SRC/tmp/arch/x86/usr/X11R6/bin/* $PKG/usr/bin
install -m 0755 $SRC/tmp/arch/x86/usr/sbin/* $PKG/usr/sbin
install -d $PKG/usr/lib/{dri,xorg/modules}
install -m 0644 $SRC/tmp/arch/x86/usr/X11R6/lib/*.* $PKG/usr/lib
install -m 0644 $SRC/tmp/arch/x86/usr/X11R6/lib/modules/dri/* $PKG/usr/lib/dri
mv $SRC/tmp/x740/usr/X11R6/lib/modules/* $PKG/usr/lib/xorg/modules
mv $SRC/tmp/common/usr/X11R6/include $PKG/usr
mv $SRC/tmp/common/usr/include/GL $PKG/usr/include
install -m 0755 $SRC/tmp/common/usr/sbin/atigetsysteminfo.sh $PKG/usr/sbin
sed -e 's|/usr/X11/XF86Config*||' -i $PKG/usr/sbin/atigetsysteminfo.sh
install -D -m 0444 $SRC/tmp/common/usr/share/man/man8/atieventsd.8 \
$PKG/usr/man/man8/atieventsd.8
mv $SRC/tmp/common/etc $PKG
rm -f $PKG/etc/ati/*logo*
# setup file modes
find $PKG/usr/lib -type f -name '*.so*' -exec chmod 0755 {} \;
find $PKG/usr/lib -type f -name '*.la' -exec chmod 0644 {} \;
find $PKG/usr/include -type f -name '*.h' -exec chmod 0444 {} \;
# finetune the installation
ln -sf /usr/lib/libfglrx_pp.so.1.0 $PKG/usr/lib/libfglrx_pp.so.1
ln -sf /usr/lib/libfglrx_gamma.so.1.0 $PKG/usr/lib/libfglrx_gamma.so.1
install -D -m 0755 $SRC/atieventsd $PKG/etc/rc.d/atieventsd
# required for use xorg-gl-select
mv $PKG/usr/lib/xorg/modules/extensions/libglx{.so,_so_ati}
mv $PKG/usr/lib/xorg/modules/extensions/libdri{.so,_so_ati}
mv $PKG/usr/lib/libGL{.so.1.2,_so_1_2_ati}
# patching file to avoid X11R6 paths
perl -pi -e "s/\0\/usr\/X11R6\/lib\/modules\/dri\0/\0\/usr\/lib\/dri\0padpadpadpadpa/" \
$PKG/usr/lib/libGL_so_1_2_ati
}

View File

@ -1,62 +0,0 @@
README for ati
*** NOTE for kernels 2.6.x ***
Check that you enabled the following config options:
Loadable Module Support --->
[*] Enable loadable module support
[*] Module unloading
Processor type and features --->
[*] MTRR (Memory Type Range Register) support
Device Drivers --->
Character Devices ---> (Graphics support for kernels up to 2.6.24.1)
<M> /dev/agpgart (AGP Support)
<M> Your_AGP_Chipset_Here
< > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
Kernel hacking --->
[*] Magic SysRq key
[*] Enable unused/obsolete exported symbols
*** NOTE for ati with udev ***
If using udev, add your user to the "video" group to be able to use 3D.
POST-INSTALL
Use opt/gl-select from ports to select the correct gl/glx
libraries and extensions like so:
# gl-select use ati
Also to configure your X server you can execute ati configurator like so:
# aticonfig --initial --input=/etc/X11/xorg.conf
And if you want, you can start the ati external events daemon at
/etc/rc.d/atieventsd, like so:
# service atieventsd start
POST-REMOVE
Use opt/gl-select from ports to revert to the xorg gl/glx libraries
and extensions like so:
# gl-select use xorg
When UPGRADING/DOWNGRADING the ati-driver port (where the version changes),
use gl-select to revert to xorg and then re-select ati in order to
refresh the libGLcore and libGL symlinks, like so:
# prt-get update ati
# gl-select use xorg; gl-select use ati

View File

@ -1,23 +0,0 @@
#!/bin/sh
#
# /etc/rc.d/atieventsd: start/stop ATI external events daemon
#
case $1 in
start)
/usr/sbin/atieventsd
;;
stop)
killall -q /usr/sbin/atieventsd
;;
restart)
$0 stop
sleep 2
$0 start
;;
*)
echo "usage: $0 [start|stop|restart]"
;;
esac
# End of File