From 30302e50daaa73356f1d12da1609ff067ec7e6e7 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Dec 07 2006 02:52:13 +0000 Subject: resurrect, per RH#218339 --- diff --git a/915resolution.spec b/915resolution.spec new file mode 100644 index 0000000..645c13f --- /dev/null +++ b/915resolution.spec @@ -0,0 +1,74 @@ +Name: 915resolution +Version: 0.5.2 +Release: 3%{?dist} +Summary: Intel video BIOS hack to support certain resolutions + +Group: User Interface/X Hardware Support +License: Public Domain +URL: http://www.geocities.com/stomljen/ +Source0: http://www.geocities.com/stomljen/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# this doesn't make much sense on ppc. That, and it fails in build... +ExcludeArch: ppc + +# simple "get it going" instructions +Source100: README.fedora + +%description +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 necessary 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. + +915resolution is derived from the tool 855resolution. However, the code +differs substantially. 915resolution's code base is much simpler. +915resolution also allows the modification of bits per pixel. + +%prep +%setup -q + +# keep rpmlint from complaining.... +chmod -x dump_bios + +cp %{SOURCE100} . + +%build +make clean +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{_sbindir} +cp %{name} %{buildroot}%{_sbindir} + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt README* changes.log chipset_info.txt dump_bios +%{_sbindir}/* + + +%changelog +* Tue Aug 01 2006 Chris Weyl 0.5.2-3 +- excludearch ppc + +* Tue Aug 01 2006 Chris Weyl 0.5.2-2 +- bump for build & release + +* Thu Jul 27 2006 Chris Weyl 0.5.2-1 +- bump release +- add README.fedora + +* Tue Jun 13 2006 Chris Weyl 0.5.2-0 +- Initial spec file for F-E diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e2aa3ff --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: 915resolution +# $Id: Makefile,v 1.1 2006/08/02 04:19:54 cweyl Exp $ +NAME := 915resolution +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/README.fedora b/README.fedora new file mode 100644 index 0000000..058d4ad --- /dev/null +++ b/README.fedora @@ -0,0 +1,18 @@ +Some simple instructions on getting this going under Fedora Core. + +It's important to note that the invocation of this program needs to be done +at least once, at boot, to install the correct values in the video BIOS's RAM +copy. Executing 915resolution requires root privs. + +Note that the intel xorg drivers are supposed to deal with displaying to +non-bios modes "real soon now"; hence this setup technique. + +1. Read README.txt, in this directory... Figure out the proper invocation of + the binary for your hardware. +2. Edit /etc/rc.local. Include as a line in that file a call to + 915resolution; a la: + + /usr/sbin/915resolution .... + + Where .... is the proper parameters to pass 915resolution. + diff --git a/dead.package b/dead.package deleted file mode 100644 index 9efd50a..0000000 --- a/dead.package +++ /dev/null @@ -1,5 +0,0 @@ -This package is obsolete past FC5, as the intel xorg driver now deals with -exactly the circumstances this package was designed to work around. - -Chris Weyl -Wed Aug 2 14:20:47 PDT 2006 diff --git a/sources b/sources new file mode 100644 index 0000000..7c038cb --- /dev/null +++ b/sources @@ -0,0 +1 @@ +a3441e5662c5ff1e00dc97de4487e8f8 915resolution-0.5.2.tar.gz