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
commit3ede56fb1cb015c326752b8e5f4d693a17183fb0 (patch)
tree80e4346efa7a0d89001c182ca5e61a04126efe81 /sys-apps/915resolution
parent+ homepage added (diff)
downloadgentoo-2-3ede56fb1cb015c326752b8e5f4d693a17183fb0.tar.gz
gentoo-2-3ede56fb1cb015c326752b8e5f4d693a17183fb0.tar.bz2
gentoo-2-3ede56fb1cb015c326752b8e5f4d693a17183fb0.zip
New package
(Portage version: 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..3f5a476c7554
--- /dev/null
+++ b/sys-apps/915resolution/Manifest
@@ -0,0 +1,24 @@
+AUX confd 544 RMD160 de0e0648907c0ed2873ecbb7819ded5cce8346e7 SHA1 9e014a8adc3de386f517857c931bb0a83db876af SHA256 2c74b671c54667508a616ee0175b80050709afabc44c705125306d96263cb763
+MD5 93839019f2818a04b416c6c0c17a7f80 files/confd 544
+RMD160 de0e0648907c0ed2873ecbb7819ded5cce8346e7 files/confd 544
+SHA256 2c74b671c54667508a616ee0175b80050709afabc44c705125306d96263cb763 files/confd 544
+AUX initd 601 RMD160 4814fd35cb6c54bd0db0ca6940cedc8546c166f2 SHA1 2026d668f0d941d1d813fb194577a6ebab501508 SHA256 50b60331d2c0a1cf1e932b871b8aa8dbfb19f61be5c6676eb00caad1b45be67b
+MD5 2a8c748dd5a1a2c0401c764b2f725f5e files/initd 601
+RMD160 4814fd35cb6c54bd0db0ca6940cedc8546c166f2 files/initd 601
+SHA256 50b60331d2c0a1cf1e932b871b8aa8dbfb19f61be5c6676eb00caad1b45be67b files/initd 601
+DIST 915resolution-0.5.2.tar.gz 21183 RMD160 722b352a83f41f0e9822ed4e096e8064f239dcc1 SHA1 9f26eb1b728ca0b2d28c948207b034a49b477089 SHA256 98827dd5adb5ffb5e415b2b28364033ffc173796555051ef52983ec5df77b6d4
+EBUILD 915resolution-0.5.2.ebuild 1015 RMD160 881c72e938de0ad22bdb2ca43fcc2219407b6adf SHA1 90519048903f364858d409c179734924c652eb17 SHA256 59051622f9b4d56ac186977c345b882aaa60e750cab8d9f5e50a85d5aab46d59
+MD5 4ec4ebdd27e7b125161df3e83dd409d0 915resolution-0.5.2.ebuild 1015
+RMD160 881c72e938de0ad22bdb2ca43fcc2219407b6adf 915resolution-0.5.2.ebuild 1015
+SHA256 59051622f9b4d56ac186977c345b882aaa60e750cab8d9f5e50a85d5aab46d59 915resolution-0.5.2.ebuild 1015
+MISC ChangeLog 207 RMD160 e69995829e7a9635365830c6edbc22ed69517479 SHA1 60268c9ec9fe84d179dbc5d66e88631451b7bf78 SHA256 438531b0eed20f4fa9156eaa9b9d98db5f5767961f13305bedb2716ced2f8488
+MD5 7484a8c5099f69e6d3cd45ac75236a80 ChangeLog 207
+RMD160 e69995829e7a9635365830c6edbc22ed69517479 ChangeLog 207
+SHA256 438531b0eed20f4fa9156eaa9b9d98db5f5767961f13305bedb2716ced2f8488 ChangeLog 207
+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>