summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerris McCormick <fmccor@gentoo.org>2006-05-06 17:50:38 +0000
committerFerris McCormick <fmccor@gentoo.org>2006-05-06 17:50:38 +0000
commit9a9ae67a69055e7aa5ea27f846eaaf9c97ff1329 (patch)
tree885503d01b97480e80aa70e824761fe941f6db1d /x11-misc
parentVersion bump, see bug #130479. (diff)
downloadhistorical-9a9ae67a69055e7aa5ea27f846eaaf9c97ff1329.tar.gz
historical-9a9ae67a69055e7aa5ea27f846eaaf9c97ff1329.tar.bz2
historical-9a9ae67a69055e7aa5ea27f846eaaf9c97ff1329.zip
Version bump. Proposed fix for Bug #132464 --- problems with afbinit and
'/cat/ -s'. Package-Manager: portage-2.1_pre10-r3
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/afbinit/ChangeLog9
-rw-r--r--x11-misc/afbinit/Manifest19
-rw-r--r--x11-misc/afbinit/afbinit-1.0.1-r4.ebuild43
-rw-r--r--x11-misc/afbinit/files/digest-afbinit-1.0.1-r43
-rw-r--r--x11-misc/afbinit/files/rc.afb-1.0.1-r4.patch60
5 files changed, 129 insertions, 5 deletions
diff --git a/x11-misc/afbinit/ChangeLog b/x11-misc/afbinit/ChangeLog
index 9f1b4c4de83b..3be343975b17 100644
--- a/x11-misc/afbinit/ChangeLog
+++ b/x11-misc/afbinit/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-misc/afbinit
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/afbinit/ChangeLog,v 1.13 2006/04/28 00:15:41 antarus Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/afbinit/ChangeLog,v 1.14 2006/05/06 17:50:38 fmccor Exp $
+
+*afbinit-1.0.1-r4 (06 May 2006)
+
+ 06 May 2006; Ferris McCormick <fmccor@gentoo.org>
+ +files/rc.afb-1.0.1-r4.patch, +afbinit-1.0.1-r4.ebuild:
+ Version bump. Proposed fix for Bug #132464 --- problems with afbinit and
+ '/cat/ -s'.
28 Apr 2006; Alec Warner <antarus@gentoo.org>
files/digest-afbinit-1.0.1-r2, Manifest:
diff --git a/x11-misc/afbinit/Manifest b/x11-misc/afbinit/Manifest
index 80055cc75da9..422cfb5ae9ab 100644
--- a/x11-misc/afbinit/Manifest
+++ b/x11-misc/afbinit/Manifest
@@ -6,6 +6,10 @@ AUX afbinit.init 354 RMD160 476a6079dff99b3f72d9a16bfebe6f448385c3fa SHA1 86f350
MD5 34f493b78ca8cca867093f1be6860683 files/afbinit.init 354
RMD160 476a6079dff99b3f72d9a16bfebe6f448385c3fa files/afbinit.init 354
SHA256 facd9acc8c135c0aa95106ecc67dd771969d688bc3084a066d980839dd0e985a files/afbinit.init 354
+AUX rc.afb-1.0.1-r4.patch 1595 RMD160 ef429c85d08e94691028a332ea6bc0cdac54203a SHA1 a7117e471b44b502d55e9e079fd5cbc2468a8225 SHA256 667105f3ef3b2b26baf4d2e52701e2e69fbcdc12a09119297538e5ade1a0bdb9 size 1595
+MD5 b6b96459639089109da5eb1f526fbc74 files/rc.afb-1.0.1-r4.patch 1595
+RMD160 ef429c85d08e94691028a332ea6bc0cdac54203a files/rc.afb-1.0.1-r4.patch 1595
+SHA256 667105f3ef3b2b26baf4d2e52701e2e69fbcdc12a09119297538e5ade1a0bdb9 files/rc.afb-1.0.1-r4.patch 1595
AUX rc.afb-1.0.1.patch 1594 RMD160 8708a80f12cc4b43e413bb2ceb77f8c3c852811d SHA1 ce9eff84486241f973e4102e0a93e9fc80a31047 SHA256 914de2c94af9e0b74814a975167953b93eba573e0a29ecf93a7bff4d41f4b6de size 1594
MD5 194a2423d8a3f0398f958d989f891c91 files/rc.afb-1.0.1.patch 1594
RMD160 8708a80f12cc4b43e413bb2ceb77f8c3c852811d files/rc.afb-1.0.1.patch 1594
@@ -19,10 +23,14 @@ EBUILD afbinit-1.0.1-r3.ebuild 1219 RMD160 1659c43e692f52c6a4fdab0e286b5fb9d6629
MD5 0fb2824ae853f742a347aaccc5092abc afbinit-1.0.1-r3.ebuild 1219
RMD160 1659c43e692f52c6a4fdab0e286b5fb9d6629948 afbinit-1.0.1-r3.ebuild 1219
SHA256 ee91a91a08ba73daee8f467712cf148c88d230515e3655312f372220a053fd0b afbinit-1.0.1-r3.ebuild 1219
-MISC ChangeLog 2984 RMD160 ce0b2251b1155ff3fe5dfca9377d12c0794ca0a7 SHA1 c3e311f1b5913f24ab3589e0bef965b539df1c85 SHA256 f24a6868392ca8ca75c111d23e1a6c285d585528411a7857ea41353997f7ff6f size 2984
-MD5 778fe889d8d440d9b61f20574d3a335c ChangeLog 2984
-RMD160 ce0b2251b1155ff3fe5dfca9377d12c0794ca0a7 ChangeLog 2984
-SHA256 f24a6868392ca8ca75c111d23e1a6c285d585528411a7857ea41353997f7ff6f ChangeLog 2984
+EBUILD afbinit-1.0.1-r4.ebuild 1221 RMD160 a6b6e3980aa9bda0c398ea17f3fb7752ab15baa0 SHA1 29809e0dcb7032e8fe520b33339f3298e70baf6e SHA256 9e45e362e523602e7cd562b4b28a19e8b700c51633acc267f5385614f2e91cbd size 1221
+MD5 788bffaeaf97e3b94d9941c45aeb4f35 afbinit-1.0.1-r4.ebuild 1221
+RMD160 a6b6e3980aa9bda0c398ea17f3fb7752ab15baa0 afbinit-1.0.1-r4.ebuild 1221
+SHA256 9e45e362e523602e7cd562b4b28a19e8b700c51633acc267f5385614f2e91cbd afbinit-1.0.1-r4.ebuild 1221
+MISC ChangeLog 3217 RMD160 431728bdf3a43307a64be0438d417b09384b56f3 SHA1 177e83ebdc433ab8a6b27e86275e4e6f495c6f3a SHA256 25091c9c2fc65145964dfd0ca98557ea0a4932dca19e5a3eb4ceee975546daa4 size 3217
+MD5 385f994698bfeb175cc22ac24e9c9497 ChangeLog 3217
+RMD160 431728bdf3a43307a64be0438d417b09384b56f3 ChangeLog 3217
+SHA256 25091c9c2fc65145964dfd0ca98557ea0a4932dca19e5a3eb4ceee975546daa4 ChangeLog 3217
MISC metadata.xml 165 RMD160 4ebc1c537fcebcb28586a47c958a7d0237f3bbcc SHA1 87fed26b774e4dd2226bea04c4bcc8ba39fcc4c3 SHA256 d7da9ed29b7afb87ac00580d48a49d248f89c92269e9a7791782dc72f4490aec size 165
MD5 9ba3ceca3ae81ec759fbb9a277c0e45c metadata.xml 165
RMD160 4ebc1c537fcebcb28586a47c958a7d0237f3bbcc metadata.xml 165
@@ -33,3 +41,6 @@ SHA256 07dd403ce6923ae6af4fa3a219483c4413f1d3b2541975517b14de8af99cf138 files/di
MD5 a824a8f086f340320f503e743a9871c5 files/digest-afbinit-1.0.1-r3 238
RMD160 6797b1248762351ad6fe871bf74e2ffe95a3efb9 files/digest-afbinit-1.0.1-r3 238
SHA256 07dd403ce6923ae6af4fa3a219483c4413f1d3b2541975517b14de8af99cf138 files/digest-afbinit-1.0.1-r3 238
+MD5 a824a8f086f340320f503e743a9871c5 files/digest-afbinit-1.0.1-r4 238
+RMD160 6797b1248762351ad6fe871bf74e2ffe95a3efb9 files/digest-afbinit-1.0.1-r4 238
+SHA256 07dd403ce6923ae6af4fa3a219483c4413f1d3b2541975517b14de8af99cf138 files/digest-afbinit-1.0.1-r4 238
diff --git a/x11-misc/afbinit/afbinit-1.0.1-r4.ebuild b/x11-misc/afbinit/afbinit-1.0.1-r4.ebuild
new file mode 100644
index 000000000000..5a209155e00e
--- /dev/null
+++ b/x11-misc/afbinit/afbinit-1.0.1-r4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/afbinit/afbinit-1.0.1-r4.ebuild,v 1.1 2006/05/06 17:50:38 fmccor Exp $
+
+inherit eutils
+
+DESCRIPTION="loads the microcode for Elite3D framebuffers to use X"
+HOMEPAGE="I dont have a home :("
+SRC_URI="http://cvs.gentoo.org/~weeve/files/${P}.tar.bz2"
+IUSE=""
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="-* ~sparc"
+
+DEPEND="virtual/libc"
+
+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
+ exeinto /etc/init.d ; newexe ${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/digest-afbinit-1.0.1-r4 b/x11-misc/afbinit/files/digest-afbinit-1.0.1-r4
new file mode 100644
index 000000000000..2463ee5c7015
--- /dev/null
+++ b/x11-misc/afbinit/files/digest-afbinit-1.0.1-r4
@@ -0,0 +1,3 @@
+MD5 e8fe8ac0fc16d942ff3b1508e8324e6a afbinit-1.0.1.tar.bz2 3288
+RMD160 3b401ce48ad3f135c2548b293df906dc7ddd6068 afbinit-1.0.1.tar.bz2 3288
+SHA256 3a9b246b34f9b518f2e9a143e5c9faacd0197baa4e5dd13f82ce3c336a3c285c afbinit-1.0.1.tar.bz2 3288
diff --git a/x11-misc/afbinit/files/rc.afb-1.0.1-r4.patch b/x11-misc/afbinit/files/rc.afb-1.0.1-r4.patch
new file mode 100644
index 000000000000..845be28b35f0
--- /dev/null
+++ b/x11-misc/afbinit/files/rc.afb-1.0.1-r4.patch
@@ -0,0 +1,60 @@
+--- rc.afb- 2004-05-27 17:59:23.549406000 +0000
++++ rc.afb 2004-05-27 18:32:34.709406000 +0000
+@@ -10,25 +10,44 @@
+ exit 0
+ fi
+
+-if [ `/bin/dmesg | /bin/grep -c "Elite 3D"` -eq 0 ]
++# The microcode loader binary and the microcode
++# itself must exist.
++if [ ! -x /usr/sbin/afbinit -o ! -f /usr/lib/afb.ucode ]
+ 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 ]
++# 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
+ fi
++##
++# OK, we're not kernel 2.4.x
++# try kernel 2.6.x
+
+-# Make FB device list.
+-afb_devs=`/bin/dmesg | /bin/egrep -i "Elite 3D" | /bin/sed 's/\:.*//'`
++if [ `/bin/dmesg | /bin/grep -c "ffb: 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
++ 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