diff options
author | David Seifert <soap@gentoo.org> | 2018-01-01 23:40:50 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2018-01-01 23:40:50 +0100 |
commit | fd9be3c3ed4a8d9ed4ebeefa9515d3d5a9b88e4f (patch) | |
tree | 5de089aa2bf95add094251c8d6e99540d3b796ed /x11-misc | |
parent | sci-misc/nco: Remove old (diff) | |
download | gentoo-fd9be3c3ed4a8d9ed4ebeefa9515d3d5a9b88e4f.tar.gz gentoo-fd9be3c3ed4a8d9ed4ebeefa9515d3d5a9b88e4f.tar.bz2 gentoo-fd9be3c3ed4a8d9ed4ebeefa9515d3d5a9b88e4f.zip |
package.mask: Treeclean ancient X.org packages
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/afbinit/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/afbinit/afbinit-1.0.1-r7.ebuild | 43 | ||||
-rw-r--r-- | x11-misc/afbinit/files/afbinit-mmap-1.0.1.patch | 20 | ||||
-rw-r--r-- | x11-misc/afbinit/files/afbinit.init | 13 | ||||
-rw-r--r-- | x11-misc/afbinit/files/rc.afb-1.0.1-r7.patch | 62 | ||||
-rw-r--r-- | x11-misc/afbinit/metadata.xml | 9 |
6 files changed, 0 insertions, 148 deletions
diff --git a/x11-misc/afbinit/Manifest b/x11-misc/afbinit/Manifest deleted file mode 100644 index e0b621e6863f..000000000000 --- a/x11-misc/afbinit/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST afbinit-1.0.1.tar.bz2 3288 BLAKE2B 790d2a2bbb3bf5778a2720bd40cbdfc930531b762fff3e779eaae661ee1b72792ae51d358ff28f4068b37bf6b20c2941e1f82af8fc72ea10fde9b5bd6f6d8180 SHA512 5cb654ea8572cca3906bf9ecb583165eb4742f67c433e01f81e5f9a238988d3c9f8a8206c9520054ebd74b673c5c1ffef573e5946119d9f2bb1a3154bfe7afaf diff --git a/x11-misc/afbinit/afbinit-1.0.1-r7.ebuild b/x11-misc/afbinit/afbinit-1.0.1-r7.ebuild deleted file mode 100644 index 53c60c7ec8c7..000000000000 --- a/x11-misc/afbinit/afbinit-1.0.1-r7.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils - -DESCRIPTION="loads the microcode for Elite3D framebuffers to use X" -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" -SRC_URI="mirror://gentoo/${P}.tar.bz2" -IUSE="" - -LICENSE="GPL-1" -SLOT="0" -KEYWORDS="-* sparc" - -RDEPEND="${DEPEND} - sys-apps/util-linux" - -src_unpack() { - unpack ${A} - ## - # Patch rc.afb to handle both kernels 2.4.x and 2.6.x - einfo "Patching to handle both kernel 2.4.x and 2.6.x style afb identification" - cd "${S}" - epatch "${FILESDIR}"/rc.afb-${PVR}.patch || die "Cannot patch rc.afb init script" - einfo 'Patching afbinit.c to use MMAP_PUBLIC (needed for kernels > 2.6.14)' - epatch "${FILESDIR}"/afbinit-mmap-${PV}.patch || die "Cannot patch for mmap" -} - -src_compile() { - emake || die "make failed" -} - -src_install() { - dosbin afbinit - dosbin rc.afb - newinitd "${FILESDIR}"/afbinit.init afbinit -} - -pkg_postinst() { - einfo "To use afbinit, you'll need the AFB microcode." - einfo "This is available via a Solaris install at /usr/lib/afb.ucode" - einfo "or via sun.com" -} diff --git a/x11-misc/afbinit/files/afbinit-mmap-1.0.1.patch b/x11-misc/afbinit/files/afbinit-mmap-1.0.1.patch deleted file mode 100644 index 43a16c0cbf49..000000000000 --- a/x11-misc/afbinit/files/afbinit-mmap-1.0.1.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- afbinit.c- 2006-01-31 15:21:31.000000000 +0000 -+++ afbinit.c 2006-01-31 15:22:23.000000000 +0000 -@@ -236,7 +236,7 @@ - /* MMAP the registers. */ - uregs = mmap(0, 0x2000, - PROT_READ | PROT_WRITE, -- MAP_PRIVATE, -+ MAP_SHARED, - afb_fd, - 0x04000000); - if (uregs == (void *)-1L) { -@@ -246,7 +246,7 @@ - - kregs = mmap(0, 0x2000, - PROT_READ | PROT_WRITE, -- MAP_PRIVATE, -+ MAP_SHARED, - afb_fd, - 0x0bc04000); - if (kregs == (void *)-1L) { diff --git a/x11-misc/afbinit/files/afbinit.init b/x11-misc/afbinit/files/afbinit.init deleted file mode 100644 index eb77118e7e01..000000000000 --- a/x11-misc/afbinit/files/afbinit.init +++ /dev/null @@ -1,13 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - before xdm -} - -start() { - ebegin "Loading afbinit" - /usr/sbin/rc.afb - eend $? "Failed to load afbinit" -} diff --git a/x11-misc/afbinit/files/rc.afb-1.0.1-r7.patch b/x11-misc/afbinit/files/rc.afb-1.0.1-r7.patch deleted file mode 100644 index 37f5f40d1a6a..000000000000 --- a/x11-misc/afbinit/files/rc.afb-1.0.1-r7.patch +++ /dev/null @@ -1,62 +0,0 @@ ---- rc.afb- 1999-09-08 06:42:36.000000000 +0000 -+++ rc.afb 2008-03-18 17:55:11.000000000 +0000 -@@ -10,11 +10,6 @@ - exit 0 - fi - --if [ `/bin/dmesg | /bin/grep -c "Elite 3D"` -eq 0 ] --then -- exit 0 --fi -- - # The microcode loader binary and the microcode - # itself must exist. - if [ ! -x /usr/sbin/afbinit -o ! -f /usr/lib/afb.ucode ] -@@ -22,13 +17,38 @@ - exit 0 - fi - --# Make FB device list. --afb_devs=`/bin/dmesg | /bin/egrep -i "Elite 3D" | /bin/sed 's/\:.*//'` -+# Make FB device list, depending on which kind of kernel we have. -+# First, try kernel 2.4.x -+ -+if [ `/bin/dmesg | /bin/grep -c "Elite 3D"` -gt 0 ] -+then -+ -+ afb_devs=`/bin/dmesg | /bin/egrep -i "Elite 3D" | /bin/sed 's/\:.*//'` -+ -+ # Load microcode onto each card. -+ for AFB in ${afb_devs} -+ do -+ echo -n "${AFB}: Loading Elite3D microcode... " -+ /usr/sbin/afbinit /dev/${AFB} /usr/lib/afb.ucode -+ echo "done." -+ done -+ exit 0 -+else -+## -+# OK, we're not kernel 2.4.x -+# try kernel 2.6.x -+ -+## if [ `/bin/dmesg | /bin/grep -c "AFB"` -gt 0 ] -+## then - --# Load microcode onto each card. --for AFB in ${afb_devs} --do -- echo -n "${AFB}: Loading Elite3D microcode... " -- /usr/sbin/afbinit /dev/${AFB} /usr/lib/afb.ucode -- echo "done." --done -+ [[ -e /proc/fb ]] || exit 0 -+ afb_devs=`/bin/more -s /proc/fb | /bin/egrep -i "Elite 3D" | /bin/sed 's/\ .*//'` -+ # Load microcode onto each card. -+ for AFB in ${afb_devs} -+ do -+ echo -n "/dev/fb${AFB}: Loading Elite3D microcode... " -+ /usr/sbin/afbinit /dev/fb${AFB} /usr/lib/afb.ucode -+ echo "done." -+ done -+ exit 0 -+fi diff --git a/x11-misc/afbinit/metadata.xml b/x11-misc/afbinit/metadata.xml deleted file mode 100644 index 6fa5bc8b3252..000000000000 --- a/x11-misc/afbinit/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - - <maintainer type="project"> - <email>sparc@gentoo.org</email> - <name>Gentoo Linux SPARC Development</name> - </maintainer> -</pkgmetadata> |