From be042d5676db79997607cbb58c576e866e51d690 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Aug 02 2006 04:20:07 +0000 Subject: auto-import 915resolution-0.5.2-1.fc5 on branch devel from 915resolution-0.5.2-1.fc5.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..a0bab7c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +915resolution-0.5.2.tar.gz diff --git a/915resolution.spec b/915resolution.spec new file mode 100644 index 0000000..e1041c5 --- /dev/null +++ b/915resolution.spec @@ -0,0 +1,65 @@ +Name: 915resolution +Version: 0.5.2 +Release: 1%{?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) + +# 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 +* 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/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/sources b/sources index e69de29..7c038cb 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a3441e5662c5ff1e00dc97de4487e8f8 915resolution-0.5.2.tar.gz