summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2006-07-22 17:29:44 +0000
committerPatrick McLean <chutzpah@gentoo.org>2006-07-22 17:29:44 +0000
commitc14898e554b60c93b6d5ad37903b7d790e4129f1 (patch)
treee0c6961d04d1a7a010c3d3d2b8ed477ff5283e1f /sys-apps/915resolution
parent+ homepage added (diff)
downloadhistorical-c14898e554b60c93b6d5ad37903b7d790e4129f1.tar.gz
historical-c14898e554b60c93b6d5ad37903b7d790e4129f1.tar.bz2
historical-c14898e554b60c93b6d5ad37903b7d790e4129f1.zip
New package
Package-Manager: portage-2.1.1_pre3-r1
Diffstat (limited to 'sys-apps/915resolution')
-rw-r--r--sys-apps/915resolution/915resolution-0.5.2.ebuild37
-rw-r--r--sys-apps/915resolution/ChangeLog7
-rw-r--r--sys-apps/915resolution/Manifest24
-rw-r--r--sys-apps/915resolution/files/confd19
-rw-r--r--sys-apps/915resolution/files/digest-915resolution-0.5.23
-rw-r--r--sys-apps/915resolution/files/initd32
-rw-r--r--sys-apps/915resolution/metadata.xml20
7 files changed, 142 insertions, 0 deletions
diff --git a/sys-apps/915resolution/915resolution-0.5.2.ebuild b/sys-apps/915resolution/915resolution-0.5.2.ebuild
new file mode 100644
index 000000000000..8c6ad5d189d4
--- /dev/null
+++ b/sys-apps/915resolution/915resolution-0.5.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/915resolution/915resolution-0.5.2.ebuild,v 1.1 2006/07/22 17:29:44 chutzpah Exp $
+
+DESCRIPTION="Utility to patch VBIOS of Intel 855 / 865 / 915 chipsets"
+HOMEPAGE="http://www.geocities.com/stomljen/"
+SRC_URI="http://www.geocities.com/stomljen/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_compile() {
+ emake || die "Compiliation failed."
+}
+
+src_install() {
+ dosbin ${PN}
+ newconfd "${FILESDIR}/confd" ${PN}
+ newinitd "${FILESDIR}/initd" ${PN}
+ dodoc README.txt changes.log chipset_info dump_bios
+}
+
+pkg_postinst() {
+ elog "${PN} alters your video BIOS in a non-permanent way, this means"
+ elog "that there is no risk of permanent damage to your video card, but"
+ elog "it also means that it must be run at every boot. To set it up, "
+ elog "edit /etc/conf.d/${PN} to add your configuration and type the"
+ elog "following command to add it the your defautl runlevel:"
+ elog
+ elog " \"rc-update add ${PN} default\""
+ elog
+}
diff --git a/sys-apps/915resolution/ChangeLog b/sys-apps/915resolution/ChangeLog
new file mode 100644
index 000000000000..325310800454
--- /dev/null
+++ b/sys-apps/915resolution/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for sys-apps/915resolution
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/915resolution/ChangeLog,v 1.1 2006/07/22 17:29:44 chutzpah Exp $
+
+ 22 Jul 2006; Patrick McLean <chutzpah@gentoo.org> ChangeLog:
+ Initial revision.
+
diff --git a/sys-apps/915resolution/Manifest b/sys-apps/915resolution/Manifest
new file mode 100644
index 000000000000..cd285cb0701b
--- /dev/null
+++ b/sys-apps/915resolution/Manifest
@@ -0,0 +1,24 @@
+AUX confd 642 RMD160 0b216a11eaa5c297034aeb736bb511750d141be9 SHA1 69dccdbfa8a0a21d8ab174c560c6830a44c9a44f SHA256 0569069a1c4b2cabe9bcd43f72c1ddb478f92f028de31c2427cc2f17a8e3431b
+MD5 1aac077f17cfb4895bfc05aac015a9f1 files/confd 642
+RMD160 0b216a11eaa5c297034aeb736bb511750d141be9 files/confd 642
+SHA256 0569069a1c4b2cabe9bcd43f72c1ddb478f92f028de31c2427cc2f17a8e3431b files/confd 642
+AUX initd 699 RMD160 842fbd97c0e94eb03a9fe3b1d6b37609427e300a SHA1 371488342193ed7d4ea8acb42e51c311ed18ff0d SHA256 ca7665a882bc6913da137efa681b8a14ac5c691e4e960aa35bf9dbf289f76131
+MD5 4b94e1ba80f6b8c81b1c9816978a5138 files/initd 699
+RMD160 842fbd97c0e94eb03a9fe3b1d6b37609427e300a files/initd 699
+SHA256 ca7665a882bc6913da137efa681b8a14ac5c691e4e960aa35bf9dbf289f76131 files/initd 699
+DIST 915resolution-0.5.2.tar.gz 21183 RMD160 722b352a83f41f0e9822ed4e096e8064f239dcc1 SHA1 9f26eb1b728ca0b2d28c948207b034a49b477089 SHA256 98827dd5adb5ffb5e415b2b28364033ffc173796555051ef52983ec5df77b6d4
+EBUILD 915resolution-0.5.2.ebuild 1128 RMD160 9406aae3bdbfee67f51a718cb46299ef98d4eeb1 SHA1 791e5f243bdd55589e0683425154dd82cd2affb8 SHA256 2ec3993aa9ba9f371c04b3126f2af1b1c53304f9d769c6c9578212b42bba7517
+MD5 fbbebd666b457e18c19ec30d36667a13 915resolution-0.5.2.ebuild 1128
+RMD160 9406aae3bdbfee67f51a718cb46299ef98d4eeb1 915resolution-0.5.2.ebuild 1128
+SHA256 2ec3993aa9ba9f371c04b3126f2af1b1c53304f9d769c6c9578212b42bba7517 915resolution-0.5.2.ebuild 1128
+MISC ChangeLog 303 RMD160 64a703ec1df9c7511d3eadf5c83ef1da8fae276e SHA1 212c23c1e89991b7edac5296afd8616e8710126e SHA256 e0ce1f23f70c3b173518d62618de2c80c22022f0480fee36aec113bc1e34600a
+MD5 13caa04034b0084e8f08755b6439f760 ChangeLog 303
+RMD160 64a703ec1df9c7511d3eadf5c83ef1da8fae276e ChangeLog 303
+SHA256 e0ce1f23f70c3b173518d62618de2c80c22022f0480fee36aec113bc1e34600a ChangeLog 303
+MISC metadata.xml 881 RMD160 ee2512f9c6e548f7207d1580bfdd49fff63c18c9 SHA1 dfedf75eb54306e1239afcc755bbe13caecbc73f SHA256 c47c6272a492e2c33a31f7d34660c7ee81b2d45ddcb62a50f8e7eb295962d769
+MD5 be1d758355885a0958ec4db89a454bea metadata.xml 881
+RMD160 ee2512f9c6e548f7207d1580bfdd49fff63c18c9 metadata.xml 881
+SHA256 c47c6272a492e2c33a31f7d34660c7ee81b2d45ddcb62a50f8e7eb295962d769 metadata.xml 881
+MD5 4796a2ce0e9d7cc0f16a63fb5038e352 files/digest-915resolution-0.5.2 256
+RMD160 0dc3039740106b490b01db11cc33adea5bdc37fb files/digest-915resolution-0.5.2 256
+SHA256 a9b1e1c8d39680132cb47bfb19be139315dccd0a537fb97cc3a03eae79bc1499 files/digest-915resolution-0.5.2 256
diff --git a/sys-apps/915resolution/files/confd b/sys-apps/915resolution/files/confd
new file mode 100644
index 000000000000..e7ddc7af2170
--- /dev/null
+++ b/sys-apps/915resolution/files/confd
@@ -0,0 +1,19 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/915resolution/files/confd,v 1.1 2006/07/22 17:29:44 chutzpah Exp $
+
+# Config file for /etc/init.d/915resolution
+# based on the config file included with sys-apps/855resolution
+
+# this example will replace mode "4c" with 1280x768x24
+replace=( "4c 1280 768 24" )
+
+# to replace more than one mode do something like this
+#replace=(
+# "4c 1280 768 24"
+# "5 1400 1050 16"
+#)
+
+# if you want to log the output add the file here.
+# this will be overwritten at every boot
+log="/var/log/915resolution"
diff --git a/sys-apps/915resolution/files/digest-915resolution-0.5.2 b/sys-apps/915resolution/files/digest-915resolution-0.5.2
new file mode 100644
index 000000000000..a8810e39eff6
--- /dev/null
+++ b/sys-apps/915resolution/files/digest-915resolution-0.5.2
@@ -0,0 +1,3 @@
+MD5 a3441e5662c5ff1e00dc97de4487e8f8 915resolution-0.5.2.tar.gz 21183
+RMD160 722b352a83f41f0e9822ed4e096e8064f239dcc1 915resolution-0.5.2.tar.gz 21183
+SHA256 98827dd5adb5ffb5e415b2b28364033ffc173796555051ef52983ec5df77b6d4 915resolution-0.5.2.tar.gz 21183
diff --git a/sys-apps/915resolution/files/initd b/sys-apps/915resolution/files/initd
new file mode 100644
index 000000000000..1ad70cb09b70
--- /dev/null
+++ b/sys-apps/915resolution/files/initd
@@ -0,0 +1,32 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/915resolution/files/initd,v 1.1 2006/07/22 17:29:44 chutzpah Exp $
+
+depend() {
+ before xdm
+}
+
+checkconfig() {
+ if [[ -z "${replace[*]}" ]]; then
+ eerror "You need to have at least one resolution to replace"
+ eerror "/etc/conf.d/915resolution"
+ return 1
+ fi
+
+ [[ "${log}" && -f "${log}" ]] && echo > "${log}"
+
+ return 0
+}
+
+start() {
+ checkconfig || return 1
+
+ ebegin "Patching video BIOS with new video modes."
+
+ for mode in "${replace[@]}"; do
+ 915resolution ${mode} >> ${log:-/dev/null} || retval=$?
+ done
+
+ eend ${retval}
+}
diff --git a/sys-apps/915resolution/metadata.xml b/sys-apps/915resolution/metadata.xml
new file mode 100644
index 000000000000..3e63be9552e5
--- /dev/null
+++ b/sys-apps/915resolution/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+ </maintainer>
+ <longdescription lang="en">
+ 915resolution is a tool to modify the video BIOS of the 800 and 900 series
+ Intel graphics chipsets. This includes the 845G, 855G, and 865G chipsets, as
+ well as 915G, 915GM, and 945G chipsets. This modification is neccessary to
+ allow the display of certain graphics resolutions for an Xorg or XFree86
+ graphics server.
+
+ 915resolution's modifications of the BIOS are transient. There is no risk of
+ permanent modification of the BIOS. This also means that 915resolution must be
+ run every time the computer boots inorder for it's changes to take effect.
+ </longdescription>
+</pkgmetadata>