diff options
author | Ferris McCormick <fmccor@gentoo.org> | 2006-01-31 17:04:43 +0000 |
---|---|---|
committer | Ferris McCormick <fmccor@gentoo.org> | 2006-01-31 17:04:43 +0000 |
commit | f58a2baa783e56c3b1e908979b97cfecdbd005ad (patch) | |
tree | 6cbc15bcce28ac482fedcf7d5ff61ba4bc0e1e76 /x11-misc/afbinit | |
parent | Mark 0.17 stable on alpha (diff) | |
download | historical-f58a2baa783e56c3b1e908979b97cfecdbd005ad.tar.gz historical-f58a2baa783e56c3b1e908979b97cfecdbd005ad.tar.bz2 historical-f58a2baa783e56c3b1e908979b97cfecdbd005ad.zip |
Version bump to support kernels > 2.6.14, and to rename patch files to
reflect that patches are revision-neutral. Change is required because
of kernel change in afb driver. (Thanks to Jurij Smakov and Debian Linux
for sparc.)
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'x11-misc/afbinit')
-rw-r--r-- | x11-misc/afbinit/ChangeLog | 13 | ||||
-rw-r--r-- | x11-misc/afbinit/Manifest | 27 | ||||
-rw-r--r-- | x11-misc/afbinit/afbinit-1.0.1-r2.ebuild | 6 | ||||
-rw-r--r-- | x11-misc/afbinit/afbinit-1.0.1-r3.ebuild | 43 | ||||
-rw-r--r-- | x11-misc/afbinit/files/afbinit-mmap-1.0.1.patch | 20 | ||||
-rw-r--r-- | x11-misc/afbinit/files/digest-afbinit-1.0.1-r3 | 3 | ||||
-rw-r--r-- | x11-misc/afbinit/files/rc.afb-1.0.1.patch (renamed from x11-misc/afbinit/files/rc.afb-1.0.1-r2.patch) | 0 |
7 files changed, 105 insertions, 7 deletions
diff --git a/x11-misc/afbinit/ChangeLog b/x11-misc/afbinit/ChangeLog index 7a3c010793e9..d33353e44aa8 100644 --- a/x11-misc/afbinit/ChangeLog +++ b/x11-misc/afbinit/ChangeLog @@ -1,6 +1,17 @@ # 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.10 2006/01/15 16:08:00 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/afbinit/ChangeLog,v 1.11 2006/01/31 17:04:43 fmccor Exp $ + +*afbinit-1.0.1-r3 (31 Jan 2006) + + 31 Jan 2006; Ferris McCormick <fmccor@gentoo.org> + -files/rc.afb-1.0.1-r2.patch, +files/afbinit-mmap-1.0.1.patch, + +files/rc.afb-1.0.1.patch, afbinit-1.0.1-r2.ebuild, + +afbinit-1.0.1-r3.ebuild: + Version bump to support kernels > 2.6.14, and to rename patch files to + reflect that patches are revision-neutral. Change is required because + of kernel change in afb driver. (Thanks to Jurij Smakov and Debian Linux + for sparc.) 15 Jan 2006; Krzysiek Pawlik <nelchael@gentoo.org> -afbinit-1.0.1.ebuild, -afbinit-1.0.1-r1.ebuild: diff --git a/x11-misc/afbinit/Manifest b/x11-misc/afbinit/Manifest index 979732170ce1..59823ce512c9 100644 --- a/x11-misc/afbinit/Manifest +++ b/x11-misc/afbinit/Manifest @@ -1,6 +1,27 @@ -MD5 3659bb919107cdf93b5db26a85dab859 ChangeLog 1878 -MD5 567295d2515c5530fe088cdcb39f996f afbinit-1.0.1-r2.ebuild 1067 +MD5 7fc70c7cd827c8ceebcf0f88a7a7de42 ChangeLog 2344 +RMD160 1946910789114fac73f9247e455b09ed11a004bb ChangeLog 2344 +SHA256 d7fec5d35a7628982a049e69d16de35bce6088f48c88bfa133a47567e59b9e53 ChangeLog 2344 +MD5 bf8a88cac212df9720b3ba8891aaa039 afbinit-1.0.1-r2.ebuild 1066 +RMD160 ddea911531d69f6d242178d2182561f02e51efaf afbinit-1.0.1-r2.ebuild 1066 +SHA256 d552c85e29d3e60f38cbc53996c9c8bdd4892561ddf469c67c4982f98e71b13e afbinit-1.0.1-r2.ebuild 1066 +MD5 8b90116d772482f6524799b9e99242ef afbinit-1.0.1-r3.ebuild 1220 +RMD160 d54ab88a68996bab5dab356d0f43faabe722fd63 afbinit-1.0.1-r3.ebuild 1220 +SHA256 54271d1f4eee1973ca48ae4d658d6ef66019857acdace942649423b429b73e80 afbinit-1.0.1-r3.ebuild 1220 +MD5 163fa6473d133463880116d9d914a0a0 files/afbinit-mmap-1.0.1.patch 503 +RMD160 ee6b2ccd972f984b7b37894d8674f96696315925 files/afbinit-mmap-1.0.1.patch 503 +SHA256 db68c9c298f71ee5d00915bb866b02067d8297e1703187843d4fd5d470834be3 files/afbinit-mmap-1.0.1.patch 503 MD5 34f493b78ca8cca867093f1be6860683 files/afbinit.init 354 +RMD160 476a6079dff99b3f72d9a16bfebe6f448385c3fa files/afbinit.init 354 +SHA256 facd9acc8c135c0aa95106ecc67dd771969d688bc3084a066d980839dd0e985a files/afbinit.init 354 MD5 90bf5556bac035420dd69ae4466ff9a2 files/digest-afbinit-1.0.1-r2 64 -MD5 194a2423d8a3f0398f958d989f891c91 files/rc.afb-1.0.1-r2.patch 1594 +RMD160 838fbfc44b140a380b85ceeb9249f02832487721 files/digest-afbinit-1.0.1-r2 64 +SHA256 4dcc89d3f4741346c968cb1eac9b8712f24f73d9a849a89e591fe41c530361a0 files/digest-afbinit-1.0.1-r2 64 +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 194a2423d8a3f0398f958d989f891c91 files/rc.afb-1.0.1.patch 1594 +RMD160 8708a80f12cc4b43e413bb2ceb77f8c3c852811d files/rc.afb-1.0.1.patch 1594 +SHA256 914de2c94af9e0b74814a975167953b93eba573e0a29ecf93a7bff4d41f4b6de files/rc.afb-1.0.1.patch 1594 MD5 9ba3ceca3ae81ec759fbb9a277c0e45c metadata.xml 165 +RMD160 4ebc1c537fcebcb28586a47c958a7d0237f3bbcc metadata.xml 165 +SHA256 d7da9ed29b7afb87ac00580d48a49d248f89c92269e9a7791782dc72f4490aec metadata.xml 165 diff --git a/x11-misc/afbinit/afbinit-1.0.1-r2.ebuild b/x11-misc/afbinit/afbinit-1.0.1-r2.ebuild index 12bd0e10c45d..01e70c1f5d20 100644 --- a/x11-misc/afbinit/afbinit-1.0.1-r2.ebuild +++ b/x11-misc/afbinit/afbinit-1.0.1-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# 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-r2.ebuild,v 1.5 2004/10/22 19:19:26 fmccor Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/afbinit/afbinit-1.0.1-r2.ebuild,v 1.6 2006/01/31 17:04:43 fmccor Exp $ inherit eutils @@ -21,7 +21,7 @@ src_unpack() { # 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" + epatch ${FILESDIR}/rc.afb-${PV}.patch || die "Cannot patch rc.afb init script" } src_compile() { diff --git a/x11-misc/afbinit/afbinit-1.0.1-r3.ebuild b/x11-misc/afbinit/afbinit-1.0.1-r3.ebuild new file mode 100644 index 000000000000..2c7fc7b7ba36 --- /dev/null +++ b/x11-misc/afbinit/afbinit-1.0.1-r3.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-r3.ebuild,v 1.1 2006/01/31 17:04:43 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-${PV}.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/afbinit-mmap-1.0.1.patch b/x11-misc/afbinit/files/afbinit-mmap-1.0.1.patch new file mode 100644 index 000000000000..43a16c0cbf49 --- /dev/null +++ b/x11-misc/afbinit/files/afbinit-mmap-1.0.1.patch @@ -0,0 +1,20 @@ +--- 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/digest-afbinit-1.0.1-r3 b/x11-misc/afbinit/files/digest-afbinit-1.0.1-r3 new file mode 100644 index 000000000000..2463ee5c7015 --- /dev/null +++ b/x11-misc/afbinit/files/digest-afbinit-1.0.1-r3 @@ -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-r2.patch b/x11-misc/afbinit/files/rc.afb-1.0.1.patch index 6244a4f2e40c..6244a4f2e40c 100644 --- a/x11-misc/afbinit/files/rc.afb-1.0.1-r2.patch +++ b/x11-misc/afbinit/files/rc.afb-1.0.1.patch |