summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
author Heinz Wiesinger2010-05-12 11:48:00 +0200
committer Heinz Wiesinger2010-05-12 11:48:00 +0200
commit7de53caa6fb8583b33f72d84eec50083a1cd740a (patch)
tree4b76ff429cd63766989532e0de0fd516d9002662 /system
parentb35c2b61da11be176095c3acc0dfa0dbd7a44503 (diff)
downloadslackbuilds-7de53caa6fb8583b33f72d84eec50083a1cd740a.tar.gz
system/fglrx-driver: Removed from 12.2 repository
Diffstat (limited to 'system')
-rw-r--r--system/fglrx-driver/README11
-rw-r--r--system/fglrx-driver/README.SBo30
-rw-r--r--system/fglrx-driver/doinst.sh42
-rw-r--r--system/fglrx-driver/fglrx-driver.SlackBuild95
-rw-r--r--system/fglrx-driver/fglrx-driver.info8
-rw-r--r--system/fglrx-driver/fglrx-switch55
-rw-r--r--system/fglrx-driver/slack-desc19
7 files changed, 0 insertions, 260 deletions
diff --git a/system/fglrx-driver/README b/system/fglrx-driver/README
deleted file mode 100644
index 8dcf9e9aeb..0000000000
--- a/system/fglrx-driver/README
+++ /dev/null
@@ -1,11 +0,0 @@
-fglrx-driver (Server X Driver for ATI proprietary driver)
-
-This package contains the X Server driver, software and the
-documentation of ATI proprietary driver.
-
-You also need the kernel module package (fglrx-module) to complete the
-installation. You can find a SlackBuild for it at SlackBuilds.org.
-
-See the README.SBo file in this directory for further installation
-instructions (that file is also placed in the package documentation
-directory).
diff --git a/system/fglrx-driver/README.SBo b/system/fglrx-driver/README.SBo
deleted file mode 100644
index df555df5df..0000000000
--- a/system/fglrx-driver/README.SBo
+++ /dev/null
@@ -1,30 +0,0 @@
-README.SBo for fglrx-driver
-
-Once you install this package, you should execute as root
- fglrx-switch -fglrx
-
-You need to add this line to /etc/fstab if it's not already there:
- tmpfs /dev/shm tmpfs defaults 0 0
-and then mount /dev/shm as root.
-
-Finally, you need to edit /etc/X11/xorg.conf to make use of this driver.
-It's a good idea to read also "Configuring the X server", in the section
-"Setting up the 'fglrx' driver" at http://slackwiki.org/ATI_Graphics
-
-Also, if you upgrade this package(and fglrx-module) remember to unload
-the fglrx module(# modprobe -r fglrx) and load it again(# modprobe fglrx).
-
-If you are in an X session as a normal user or in some other desktop/wm than
-KDE or GNOME, you can do the following to run the ATI Catalyst Control Center:
- user@darkstart:~$ su
- root@darkstart:/home/user# xauth merge /home/user/.Xauthority
- root@darkstart:/home/user# export DISPLAY=:0.0
- root@darkstart:/home/user# amdcccle &
-or:
- user@darkstart:~$ xhost LOCAL:
- user@darkstart:~$ su
- root@darkstart:/home/user# export DISPLAY=:0.0
- root@darkstart:/home/user# amdcccle &
-
-Before you uninstall or upgrade this package, you should execute as root
- fglrx-switch -mesa
diff --git a/system/fglrx-driver/doinst.sh b/system/fglrx-driver/doinst.sh
deleted file mode 100644
index 9248b111c5..0000000000
--- a/system/fglrx-driver/doinst.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#! /bin/sh
-
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- [ ! -f $NEW ] && return
-
- # If there's no config file by that name, mv it over:
- if [ ! -f $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/ati/atiogl.xml.new;
-config etc/ati/authatieventsd.sh.new;
-
-( cd usr/lib ; rm -rf libfglrx_pp.so.1 )
-( cd usr/lib ; ln -sf libfglrx_pp.so.1.0 libfglrx_pp.so.1 )
-( cd usr/lib ; rm -rf libfglrx_gamma.so.1 )
-( cd usr/lib ; ln -sf libfglrx_gamma.so.1.0 libfglrx_gamma.so.1 )
-( cd usr/lib ; rm -rf libfglrx_gamma.so )
-( cd usr/lib ; ln -sf libfglrx_gamma.so.1.0 libfglrx_gamma.so )
-( cd usr/lib ; rm -rf libGL.so )
-( cd usr/lib ; ln -sf libGL.so.1.2 libGL.so )
-( cd usr/lib ; rm -rf libfglrx_dm.so )
-( cd usr/lib ; ln -sf libfglrx_dm.so.1.0 libfglrx_dm.so )
-( cd usr/lib ; rm -rf libfglrx_pp.so )
-( cd usr/lib ; ln -sf libfglrx_pp.so.1.0 libfglrx_pp.so )
-( cd usr/lib ; rm -rf libfglrx_dm.so.1 )
-( cd usr/lib ; ln -sf libfglrx_dm.so.1.0 libfglrx_dm.so.1 )
-( cd usr/lib ; rm -rf libfglrx_tvout.so )
-( cd usr/lib ; ln -sf libfglrx_tvout.so.1.0 libfglrx_tvout.so )
-( cd usr/lib ; rm -rf libGL.so.1 )
-( cd usr/lib ; ln -sf libGL.so.1.2 libGL.so.1 )
-( cd usr/lib ; rm -rf libfglrx_tvout.so.1 )
-( cd usr/lib ; ln -sf libfglrx_tvout.so.1.0 libfglrx_tvout.so.1 )
-
-# Correct mesa symlinks.
-ROOTLIBDIR='usr/lib' usr/sbin/fglrx-switch -mesa
diff --git a/system/fglrx-driver/fglrx-driver.SlackBuild b/system/fglrx-driver/fglrx-driver.SlackBuild
deleted file mode 100644
index be74b85533..0000000000
--- a/system/fglrx-driver/fglrx-driver.SlackBuild
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for fglrx-driver
-
-# Copyright (c) 2008, Antonio Hernández Blas <hba.nihilismus@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-# 1.- Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY
-# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# This script is just a binary repackaging.
-
-PRGNAM=fglrx-driver
-VERSION=8.512
-ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-SRCNAM=ati-driver-installer-8-7-x86.x86_64.run
-ATI_PKG=fglrx-x710-$VERSION-x86-1.tgz
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $PKG
-sh $CWD/$SRCNAM --buildpkg Slackware/Only_X || exit 1
-explodepkg $PKG/$ATI_PKG
-rm $PKG/$ATI_PKG
-chown -R root:root .
-
-# Move manpages and docs to their right place
-mv $PKG/usr/share/doc $PKG/usr
-mv $PKG/usr/doc/fglrx $PKG/usr/doc/$PRGNAM-$VERSION
-
-# This is the only file that exist in the system, so let's rename it.
-# Notes:
-# Once you have installed this package, use 'fglrx-switch -fglrx'
-# to set the correct libGL.so.1.2 for the fglrx driver.
-# Before you uninstall or upgrade this package, make use of 'fglrx-switch -mesa'
-# to return libs/symlinks as were.
-mv $PKG/usr/lib/libGL.so.1.2 $PKG/usr/lib/libGL.so.1.2-fglrx-driver
-
-# Add 'fglrx-switch'
-install -D -m 0755 $CWD/fglrx-switch $PKG/usr/sbin/fglrx-switch
-
-# Add 'kdesu' to the Exec line in the KDE desktop file, so you
-# can run de 'ATI Catalyst Control Center' as root in a different
-# X session user.
-sed -i 's/^Exec=amdcccle$/Exec=kdesu -i ccc_large.xpm amdcccle/' \
- $PKG/usr/share/applnk/amdcccle.kdelnk
-# Do the same, but with 'gksu', in GNOME desktop file
-sed -i 's/^Exec=amdcccle$/Exec=gksu amdcccle/' \
- $PKG/usr/share/gnome/apps/amdcccle.desktop
-
-# There's some fglrx sample code under $PKG/usr/src/ati, so lets
-# move it into docs dir
-mv $PKG/usr/src/ati $PKG/usr/doc/$PRGNAM-$VERSION
-rmdir $PKG/usr/src
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/README.SBo > $PKG/usr/doc/$PRGNAM-$VERSION/README.SBo
-
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-find $PKG/install -type f -exec chmod 644 {} \;
-
-# Fix permissions; there are some executable files and libs with mode 0744
-find $PKG/usr -type f -perm 744 -exec chmod 755 {} \;
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/system/fglrx-driver/fglrx-driver.info b/system/fglrx-driver/fglrx-driver.info
deleted file mode 100644
index 771a8c6ee0..0000000000
--- a/system/fglrx-driver/fglrx-driver.info
+++ /dev/null
@@ -1,8 +0,0 @@
-PRGNAM="fglrx-driver"
-VERSION="8.512"
-HOMEPAGE="http://ati.amd.com/support/drivers/linux/linux-radeon.html"
-DOWNLOAD="https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-7-x86.x86_64.run"
-MD5SUM="2d0788eaba71abcce6105ee659406721"
-MAINTAINER="Antonio Hernández Blas"
-EMAIL="hba.nihilismus@gmail.com"
-APPROVED="David Somero" \ No newline at end of file
diff --git a/system/fglrx-driver/fglrx-switch b/system/fglrx-driver/fglrx-switch
deleted file mode 100644
index 70942c20fa..0000000000
--- a/system/fglrx-driver/fglrx-switch
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/sh
-
-# fglrx-switch-0.1 - A sh script to switch between mesa package's own
-# libGL.so.1.2 and libGL.so.1.2 from fglrx-driver package.
-
-# Copyright (c) 2008, Antonio Hernández Blas <hba.nihilismus@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-# 1.- Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY
-# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-set -e
-
-ROOTLIBDIR=${ROOTLIBDIR:-/usr/lib}
-GLVER='1.2'
-
-if [ "$1" = '-fglrx' ]; then
- cd "$ROOTLIBDIR"
- rm -f libGL.so libGL.so.1 || true
- if [ -e libGL.so.$GLVER ] && [ -e libGL.so.$GLVER-fglrx-driver ]; then
- mv libGL.so.$GLVER libGL.so.$GLVER-mesa
- mv libGL.so.$GLVER-fglrx-driver libGL.so.$GLVER
- fi
- ln -sf libGL.so.$GLVER libGL.so
- ln -sf libGL.so.$GLVER libGL.so.1
-elif [ "$1" = '-mesa' ]; then
- cd "$ROOTLIBDIR"
- rm -f libGL.so libGL.so.1 || true
- if [ -e libGL.so.$GLVER ] && [ -e libGL.so.$GLVER-mesa ]; then
- mv libGL.so.$GLVER libGL.so.$GLVER-fglrx-driver
- mv libGL.so.$GLVER-mesa libGL.so.$GLVER
- fi
- ln -sf libGL.so.$GLVER libGL.so
- ln -sf libGL.so.$GLVER libGL.so.1
-else
- echo "Usage:"
- echo -e " fglrx-switch -fglrx : Switch to fglrx-driver libGL."
- echo -e " fglrx-switch -mesa : Switch to mesa libGL."
- echo ""
-fi
-
-# EOF
diff --git a/system/fglrx-driver/slack-desc b/system/fglrx-driver/slack-desc
deleted file mode 100644
index 2a9c23eccb..0000000000
--- a/system/fglrx-driver/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler-----------------------------------------------|
-fglrx-driver: fglrx-driver (Server X Driver for ATI proprietary driver)
-fglrx-driver:
-fglrx-driver: This package contains the X Server driver, software, and
-fglrx-driver: documentation of ATI's proprietary driver.
-fglrx-driver: You also need the fglrx-module package to complete the
-fglrx-driver: installation.
-fglrx-driver:
-fglrx-driver: Homepage: http://ati.amd.com
-fglrx-driver:
-fglrx-driver:
-fglrx-driver: