--- 915resolution-0.5.orig/debian/compat +++ 915resolution-0.5/debian/compat @@ -0,0 +1 @@ +4 --- 915resolution-0.5.orig/debian/dirs +++ 915resolution-0.5/debian/dirs @@ -0,0 +1 @@ +/etc/acpi/resume.d --- 915resolution-0.5.orig/debian/etc/acpi/resume.d/49-915-resolution-set.sh +++ 915resolution-0.5/debian/etc/acpi/resume.d/49-915-resolution-set.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +if [ -x /usr/sbin/915resolution ]; then + . /etc/default/915resolution + if [ "$MODE" != "" ] && [ "$XRESO" != "" ] && [ "$YRESO" != "" ]; then + /etc/init.d/915resolution start; + fi +fi --- 915resolution-0.5.orig/debian/control +++ 915resolution-0.5/debian/control @@ -0,0 +1,29 @@ +Source: 915resolution +Section: x11 +Priority: extra +Maintainer: Steffen Joeris +Build-Depends: cdbs, debhelper (>= 4.1.0) +Standards-Version: 3.6.2 + +Package: 915resolution +Architecture: i386 amd64 kfreebsd-i386 +Depends: ${shlibs:Depends}, ${misc:Depends} +Replaces: 855resolution +Conflicts: 855resolution +Provides: 855resolution +Description: resolution modify tool for Intel graphic chipset + 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. + If you want to automatically set the resolution on each boot + and before X is launched, see /usr/share/doc/915resolution/README.Debian + for information about configuring the provided initscript. + . + Web site: http://www.geocities.com/stomljen/ --- 915resolution-0.5.orig/debian/docs +++ 915resolution-0.5/debian/docs @@ -0,0 +1,2 @@ +chipset_info.txt +README.txt --- 915resolution-0.5.orig/debian/915resolution.init +++ 915resolution-0.5/debian/915resolution.init @@ -0,0 +1,48 @@ +#! /bin/sh + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +PROG=/usr/sbin/915resolution +NAME=915resolution +DESC=915resolution + +test -x $DAEMON || exit 0 + +# Include 915resolution defaults if available +if [ -f /etc/default/915resolution ] ; then + . /etc/default/915resolution +fi +if [ "$MODE" = "" ] || [ "$XRESO" = "" ] || [ "$YRESO" = "" ] ; then + echo "*** Your 915resolution hasn't been configured! ***" + echo "Please read /usr/share/doc/915resolution/README.Debian and define" + echo "MODE, XRESO, and YRESO." + exit 0 +fi + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + $PROG $MODE $XRESO $YRESO $BIT + echo "$NAME." + ;; + stop) + #echo -n "Stopping $DESC: " + #echo "$NAME." + ;; + restart|force-reload) + #echo -n "Stopping $DESC: " + #echo "$NAME." + echo -n "Starting $DESC: " + $PROG $MODE $XRESO $YRESO $BIT + echo "$NAME." + ;; + *) + N=/etc/init.d/$NAME + # echo "Usage: $N start" >&2 + echo "Usage: $N start" >&2 + exit 1 + ;; +esac + +exit 0 --- 915resolution-0.5.orig/debian/rules +++ 915resolution-0.5/debian/rules @@ -0,0 +1,69 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + -$(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + install -D -m 755 915resolution $(CURDIR)/debian/915resolution/usr/sbin/915resolution + install -D -m 755 debian/49-915-resolution-set.sh $(CURDIR)/debian/915resolution/etc/acpi/resume.d/49-915-resolution-set.sh + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installinit + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- 915resolution-0.5.orig/debian/copyright +++ 915resolution-0.5/debian/copyright @@ -0,0 +1,22 @@ +This package was debianized by Steffen Joeris on +Thu, 10 Nov 2005 11:33:30 +0100. + +It was downloaded from http://www.geocities.com/stomljen/download.html + +Copyright Holder: Steve Tomljenovic + +License: + +This source code is into the public domain. + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR THE CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --- 915resolution-0.5.orig/debian/49-915-resolution-set.sh +++ 915resolution-0.5/debian/49-915-resolution-set.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +if [ -x /usr/sbin/915resolution ]; then + . /etc/default/915resolution + if [ "$MODE" != "" ] && [ "$XRESO" != "" ] && [ "$YRESO" != "" ]; then + /etc/init.d/915resolution start; + fi +fi --- 915resolution-0.5.orig/debian/README.Debian +++ 915resolution-0.5/debian/README.Debian @@ -0,0 +1,59 @@ +915resolution for Debian +------------------------ + +915resolution changes the resolution of an available vbios mode. + +1. First, you need to check available modes by: + +# 915resolution -l + +2. You will get a mode list such as: + +Intel 800/900 Series VBIOS Hack : version 0.4.7 + +Chipset: 915GM +BIOS: TYPE 1 +Mode Table Offset: $C0000 + $269 +Mode Table Entries: 36 + +Mode 30 : 640x480, 8 bits/pixel +Mode 32 : 800x600, 8 bits/pixel +Mode 34 : 1024x768, 8 bits/pixel +Mode 38 : 1280x1024, 8 bits/pixel +Mode 3a : 1600x1200, 8 bits/pixel +Mode 3c : 1280x768, 8 bits/pixel +Mode 41 : 640x480, 16 bits/pixel +Mode 43 : 800x600, 16 bits/pixel +Mode 45 : 1024x768, 16 bits/pixel +Mode 49 : 1280x1024, 16 bits/pixel +Mode 4b : 1600x1200, 16 bits/pixel +Mode 4d : 1280x768, 16 bits/pixel +Mode 50 : 640x480, 32 bits/pixel +Mode 52 : 800x600, 32 bits/pixel +Mode 54 : 1024x768, 32 bits/pixel +Mode 58 : 1280x1024, 32 bits/pixel +Mode 5a : 1600x1200, 32 bits/pixel +Mode 5c : 1280x768, 32 bits/pixel + +3. Write the mode number and resolution which you want to use to + /etc/default/915resolution. For example: + +MODE=3c +XRESO=1400 +YRESO=1050 + +# optional setting +BIT=32 + +4. Reboot or run "/etc/init.d/915resolution start" by hand. + +5. To use specified resolution, you need to modify your X configuration + file (If you use Xorg, it's /etc/X11/xorg.conf) + +SubSection "Display" + Depth 24 + Modes "1400x1050" "1024x768" "800x600" "640x480" +EndSubSection + + + -- Steffen Joeris , Thu, 10 Nov 2005 12:02:41 +0100 --- 915resolution-0.5.orig/debian/915resolution.8 +++ 915resolution-0.5/debian/915resolution.8 @@ -0,0 +1,34 @@ +.TH 915resolution 8 "November 10, 2005" 915resolution 8 +.SH NAME +915resolution \- resolution modify tool for Intel graphic chipset +.SH SYNOPSIS +.B 915resolution [-f file] [-c chipset] [-l] [mode X Y] [bits/pixel] +.SH DESCRIPTION +This manual page documents briefly the +.B 915resolution +program. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. + \fB915resolution\fP 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. +.SH OPTIONS +For more information, see /usr/share/doc/915resolution/README.Debian . +.TP +.B \-f +Use an alternate file (THIS IS USED FOR DEBUG PURPOSES). +.TP +.B \-c +Force chipset type (THIS IS USED FOR DEBUG PURPOSES). +.TP +.B \-l +Display the modes found in the video BIOS. +.SH AUTHOR +915resolution was written by Steve Tomljenovic stomljen@yahoo.com +.PP +This manual page was written by Steffen Joeris , +for the Debian project (but may be used by others). --- 915resolution-0.5.orig/debian/915resolution.default +++ 915resolution-0.5/debian/915resolution.default @@ -0,0 +1,17 @@ +# +# 915resolution default +# +# find free modes by /usr/sbin/915resolution -l +# and set it to MODE +# +MODE= +# +# and set resolutions for the mode. +# +XRESO= +YRESO= +# +# We can also set the pixel mode. +# Please note that this is optional, +# you can also leave this value blank. +BIT= --- 915resolution-0.5.orig/debian/915resolution.manpages +++ 915resolution-0.5/debian/915resolution.manpages @@ -0,0 +1 @@ +debian/915resolution.8 --- 915resolution-0.5.orig/debian/915resolution.postinst +++ 915resolution-0.5/debian/915resolution.postinst @@ -0,0 +1,19 @@ +#!/bin/sh + +# only do remaining stuff if we're being called to configure the package +if [ "$1" != "configure" ] +then + exit 0 +fi + +if [ -x "/etc/init.d/915resolution" ]; then + update-rc.d 915resolution defaults 12 >/dev/null + if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then + invoke-rc.d 915resolution start || exit 0 + else + /etc/init.d/915resolution start || exit 0 + fi +fi + + +exit 0 \ No newline at end of file --- 915resolution-0.5.orig/debian/changelog +++ 915resolution-0.5/debian/changelog @@ -0,0 +1,35 @@ +915resolution (0.5-1ubuntu2) dapper; urgency=low + + * Run 915resolution on acpi resume (Malone #31156) + + -- Matthew Garrett Mon, 20 Feb 2006 13:24:44 +0000 + +915resolution (0.5-1ubuntu1) dapper; urgency=low + + * Install rc.d with a 12 priority. Malone bug: 6089 + + -- Hubert Figuiere Sat, 24 Dec 2005 00:45:29 -0500 + +915resolution (0.5-1) unstable; urgency=low + + * new upstream release + * provide the color mode option + so it can be specified by configuration (Closes: #342346) + * updated the README.Debian + * now the package also provides 855resolution + * switch from cdbs to normal debhelper + + -- Steffen Joeris Wed, 7 Dec 2005 11:42:31 +0100 + +915resolution (0.4.8-1) unstable; urgency=low + + * new upstream release + + -- Steffen Joeris Mon, 21 Nov 2005 11:18:05 +0100 + +915resolution (0.4.7-1) unstable; urgency=low + + * Initial release (Closes: #338530) + + -- Steffen Joeris Thu, 10 Nov 2005 11:33:30 +0100 +