[Pkg-wmaker-commits] [wmlongrun] 03/06: Imported Debian patch 0.3.0-pre1-4

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Dec 24 01:11:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmlongrun.

commit 07829f38f64caf473a7c70b5f53c0b464bbb3f93
Author: Francois Gurin <matrix at debian.org>
Date:   Fri Mar 18 21:22:33 2005 -0500

    Imported Debian patch 0.3.0-pre1-4
---
 config.guess           | 118 ++++++++++++++++++++++++++++++----------------
 config.sub             | 110 ++++++++++++++++++++++++++++++++-----------
 debian/changelog       |   7 +++
 debian/control         |   2 +-
 src/Makefile.am        |   3 ++
 src/Makefile.in        |   2 +-
 src/backdrop_led_g.xpm | 125 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/backdrop_off_g.xpm |  71 ++++++++++++++++++++++++++++
 src/backdrop_on_g.xpm  |  68 +++++++++++++++++++++++++++
 src/main.c             |  72 +++++++++++++++++++++-------
 10 files changed, 492 insertions(+), 86 deletions(-)

diff --git a/config.guess b/config.guess
index 1127162..8229471 100755
--- a/config.guess
+++ b/config.guess
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
-timestamp='2003-10-07'
+timestamp='2004-11-12'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -53,7 +53,7 @@ version="\
 GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
@@ -197,15 +197,21 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
 	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
 	echo "${machine}-${os}${release}"
 	exit 0 ;;
+    amd64:OpenBSD:*:*)
+	echo x86_64-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
     amiga:OpenBSD:*:*)
 	echo m68k-unknown-openbsd${UNAME_RELEASE}
 	exit 0 ;;
-    arc:OpenBSD:*:*)
-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
+    cats:OpenBSD:*:*)
+	echo arm-unknown-openbsd${UNAME_RELEASE}
 	exit 0 ;;
     hp300:OpenBSD:*:*)
 	echo m68k-unknown-openbsd${UNAME_RELEASE}
 	exit 0 ;;
+    luna88k:OpenBSD:*:*)
+    	echo m88k-unknown-openbsd${UNAME_RELEASE}
+	exit 0 ;;
     mac68k:OpenBSD:*:*)
 	echo m68k-unknown-openbsd${UNAME_RELEASE}
 	exit 0 ;;
@@ -221,25 +227,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     mvmeppc:OpenBSD:*:*)
 	echo powerpc-unknown-openbsd${UNAME_RELEASE}
 	exit 0 ;;
-    pmax:OpenBSD:*:*)
-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
     sgi:OpenBSD:*:*)
-	echo mipseb-unknown-openbsd${UNAME_RELEASE}
+	echo mips64-unknown-openbsd${UNAME_RELEASE}
 	exit 0 ;;
     sun3:OpenBSD:*:*)
 	echo m68k-unknown-openbsd${UNAME_RELEASE}
 	exit 0 ;;
-    wgrisc:OpenBSD:*:*)
-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
     *:OpenBSD:*:*)
 	echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
 	exit 0 ;;
+    *:ekkoBSD:*:*)
+	echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
+	exit 0 ;;
+    macppc:MirBSD:*:*)
+	echo powerppc-unknown-mirbsd${UNAME_RELEASE}
+	exit 0 ;;
+    *:MirBSD:*:*)
+	echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
+	exit 0 ;;
     alpha:OSF1:*:*)
-	if test $UNAME_RELEASE = "V4.0"; then
+	case $UNAME_RELEASE in
+	*4.0)
 		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
-	fi
+		;;
+	*5.*)
+	        UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+		;;
+	esac
 	# According to Compaq, /usr/sbin/psrinfo has been available on
 	# OSF/1 and Tru64 systems produced since 1995.  I hope that
 	# covers most systems running today.  This code pipes the CPU
@@ -277,14 +291,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
 	    "EV7.9 (21364A)")
 		UNAME_MACHINE="alphaev79" ;;
 	esac
+	# A Pn.n version is a patched version.
 	# A Vn.n version is a released version.
 	# A Tn.n version is a released field test version.
 	# A Xn.n version is an unreleased experimental baselevel.
 	# 1.2 uses "1.2" for uname -r.
-	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
-	exit 0 ;;
-    Alpha*:OpenVMS:*:*)
-	echo alpha-hp-vms
+	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
 	exit 0 ;;
     Alpha\ *:Windows_NT*:*)
 	# How do we know it's Interix rather than the generic POSIX subsystem?
@@ -307,6 +319,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     *:OS/390:*:*)
 	echo i370-ibm-openedition
 	exit 0 ;;
+    *:z/VM:*:*)
+	echo s390-ibm-zvmoe
+	exit 0 ;;
+    *:OS400:*:*)
+        echo powerpc-ibm-os400
+	exit 0 ;;
     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
 	echo arm-acorn-riscix${UNAME_RELEASE}
 	exit 0;;
@@ -327,7 +345,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     DRS?6000:unix:4.0:6*)
 	echo sparc-icl-nx6
 	exit 0 ;;
-    DRS?6000:UNIX_SV:4.2*:7*)
+    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
 	case `/usr/bin/uname -p` in
 	    sparc) echo sparc-icl-nx7 && exit 0 ;;
 	esac ;;
@@ -399,6 +417,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
         echo m68k-unknown-mint${UNAME_RELEASE}
         exit 0 ;;
+    m68k:machten:*:*)
+	echo m68k-apple-machten${UNAME_RELEASE}
+	exit 0 ;;
     powerpc:machten:*:*)
 	echo powerpc-apple-machten${UNAME_RELEASE}
 	exit 0 ;;
@@ -734,7 +755,7 @@ EOF
 	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 	exit 0 ;;
     *:UNICOS/mp:*:*)
-	echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+	echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 	exit 0 ;;
     F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
 	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
@@ -742,6 +763,11 @@ EOF
         FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
         echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
         exit 0 ;;
+    5000:UNIX_System_V:4.*:*)
+        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
+        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+	exit 0 ;;
     i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
 	exit 0 ;;
@@ -752,21 +778,7 @@ EOF
 	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
 	exit 0 ;;
     *:FreeBSD:*:*)
-	# Determine whether the default compiler uses glibc.
-	eval $set_cc_for_build
-	sed 's/^	//' << EOF >$dummy.c
-	#include <features.h>
-	#if __GLIBC__ >= 2
-	LIBC=gnu
-	#else
-	LIBC=
-	#endif
-EOF
-	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
-	# GNU/KFreeBSD systems have a "k" prefix to indicate we are using
-	# FreeBSD's kernel, but not the complete OS.
-	case ${LIBC} in gnu) kernel_only='k' ;; esac
-	echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
+	echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
 	exit 0 ;;
     i*:CYGWIN*:*)
 	echo ${UNAME_MACHINE}-pc-cygwin
@@ -815,9 +827,18 @@ EOF
     cris:Linux:*:*)
 	echo cris-axis-linux-gnu
 	exit 0 ;;
+    crisv32:Linux:*:*)
+	echo crisv32-axis-linux-gnu
+	exit 0 ;;
+    frv:Linux:*:*)
+    	echo frv-unknown-linux-gnu
+	exit 0 ;;
     ia64:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit 0 ;;
+    m32r*:Linux:*:*)
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit 0 ;;
     m68*:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit 0 ;;
@@ -986,6 +1007,9 @@ EOF
     i*86:atheos:*:*)
 	echo ${UNAME_MACHINE}-unknown-atheos
 	exit 0 ;;
+	i*86:syllable:*:*)
+	echo ${UNAME_MACHINE}-pc-syllable
+	exit 0 ;;
     i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
 	echo i386-unknown-lynxos${UNAME_RELEASE}
 	exit 0 ;;
@@ -1055,9 +1079,9 @@ EOF
     M680?0:D-NIX:5.3:*)
 	echo m68k-diab-dnix
 	exit 0 ;;
-    M68*:*:R3V[567]*:*)
+    M68*:*:R3V[5678]*:*)
 	test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
-    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
+    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
 	OS_REL=''
 	test -r /etc/.relid \
 	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
@@ -1155,9 +1179,10 @@ EOF
 	echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
 	exit 0 ;;
     *:Darwin:*:*)
-	case `uname -p` in
+	UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
+	case $UNAME_PROCESSOR in
 	    *86) UNAME_PROCESSOR=i686 ;;
-	    powerpc) UNAME_PROCESSOR=powerpc ;;
+	    unknown) UNAME_PROCESSOR=powerpc ;;
 	esac
 	echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
 	exit 0 ;;
@@ -1172,7 +1197,7 @@ EOF
     *:QNX:*:4*)
 	echo i386-pc-qnx
 	exit 0 ;;
-    NSR-[DGKLNPTVWY]:NONSTOP_KERNEL:*:*)
+    NSR-?:NONSTOP_KERNEL:*:*)
 	echo nsr-tandem-nsk${UNAME_RELEASE}
 	exit 0 ;;
     *:NonStop-UX:*:*)
@@ -1216,6 +1241,19 @@ EOF
     SEI:*:*:SEIUX)
         echo mips-sei-seiux${UNAME_RELEASE}
 	exit 0 ;;
+    *:DragonFly:*:*)
+	echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+	exit 0 ;;
+    *:*VMS:*:*)
+    	UNAME_MACHINE=`(uname -p) 2>/dev/null`
+	case "${UNAME_MACHINE}" in
+	    A*) echo alpha-dec-vms && exit 0 ;;
+	    I*) echo ia64-dec-vms && exit 0 ;;
+	    V*) echo vax-dec-vms && exit 0 ;;
+	esac ;;
+    *:XENIX:*:SysV)
+	echo i386-pc-xenix
+	exit 0 ;;
 esac
 
 #echo '(No uname command or uname output not recognized.)' 1>&2
diff --git a/config.sub b/config.sub
index 79657cd..0f84ac2 100755
--- a/config.sub
+++ b/config.sub
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Configuration validation subroutine script.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
-timestamp='2003-10-07'
+timestamp='2004-11-30'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -70,7 +70,7 @@ Report bugs and patches to <config-patches at gnu.org>."
 version="\
 GNU config.sub ($timestamp)
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
@@ -118,7 +118,8 @@ esac
 # Here we must recognize all the valid KERNEL-OS combinations.
 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
 case $maybe_os in
-  nto-qnx* | linux-gnu* | linux-dietlibc | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
+  nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
+  kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
     os=-$maybe_os
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
     ;;
@@ -144,7 +145,7 @@ case $os in
 	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
 	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
 	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
-	-apple | -axis)
+	-apple | -axis | -knuth | -cray)
 		os=
 		basic_machine=$1
 		;;
@@ -236,7 +237,7 @@ case $basic_machine in
 	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 	| i370 | i860 | i960 | ia64 \
 	| ip2k | iq2000 \
-	| m32r | m68000 | m68k | m88k | mcore \
+	| m32r | m32rle | m68000 | m68k | m88k | mcore \
 	| mips | mipsbe | mipseb | mipsel | mipsle \
 	| mips16 \
 	| mips64 | mips64el \
@@ -261,12 +262,12 @@ case $basic_machine in
 	| pyramid \
 	| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 	| sh64 | sh64le \
-	| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
+	| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
 	| strongarm \
 	| tahoe | thumb | tic4x | tic80 | tron \
 	| v850 | v850e \
 	| we32k \
-	| x86 | xscale | xstormy16 | xtensa \
+	| x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
 	| z8k)
 		basic_machine=$basic_machine-unknown
 		;;
@@ -299,7 +300,7 @@ case $basic_machine in
 	| avr-* \
 	| bs2000-* \
 	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
-	| clipper-* | cydra-* \
+	| clipper-* | craynv-* | cydra-* \
 	| d10v-* | d30v-* | dlx-* \
 	| elxsi-* \
 	| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
@@ -307,7 +308,7 @@ case $basic_machine in
 	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
 	| i*86-* | i860-* | i960-* | ia64-* \
 	| ip2k-* | iq2000-* \
-	| m32r-* \
+	| m32r-* | m32rle-* \
 	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
 	| m88110-* | m88k-* | mcore-* \
 	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
@@ -325,8 +326,9 @@ case $basic_machine in
 	| mipsisa64sb1-* | mipsisa64sb1el-* \
 	| mipsisa64sr71k-* | mipsisa64sr71kel-* \
 	| mipstx39-* | mipstx39el-* \
+	| mmix-* \
 	| msp430-* \
-	| none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
+	| none-* | np1-* | ns16k-* | ns32k-* \
 	| orion-* \
 	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
 	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
@@ -335,14 +337,14 @@ case $basic_machine in
 	| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
 	| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
-	| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
+	| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 	| tahoe-* | thumb-* \
 	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 	| tron-* \
 	| v850-* | v850e-* | vax-* \
 	| we32k-* \
-	| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
-	| xtensa-* \
+	| x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
+	| xstormy16-* | xtensa-* \
 	| ymp-* \
 	| z8k-*)
 		;;
@@ -362,6 +364,9 @@ case $basic_machine in
 		basic_machine=a29k-amd
 		os=-udi
 		;;
+    	abacus)
+		basic_machine=abacus-unknown
+		;;
 	adobe68k)
 		basic_machine=m68010-adobe
 		os=-scout
@@ -379,6 +384,9 @@ case $basic_machine in
 	amd64)
 		basic_machine=x86_64-pc
 		;;
+	amd64-*)
+		basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	amdahl)
 		basic_machine=580-amdahl
 		os=-sysv
@@ -438,12 +446,27 @@ case $basic_machine in
 		basic_machine=j90-cray
 		os=-unicos
 		;;
+	craynv)
+		basic_machine=craynv-cray
+		os=-unicosmp
+		;;
+	cr16c)
+		basic_machine=cr16c-unknown
+		os=-elf
+		;;
 	crds | unos)
 		basic_machine=m68k-crds
 		;;
+	crisv32 | crisv32-* | etraxfs*)
+		basic_machine=crisv32-axis
+		;;
 	cris | cris-* | etrax*)
 		basic_machine=cris-axis
 		;;
+	crx)
+		basic_machine=crx-unknown
+		os=-elf
+		;;
 	da30 | da30-*)
 		basic_machine=m68k-da30
 		;;
@@ -466,6 +489,10 @@ case $basic_machine in
 		basic_machine=m88k-motorola
 		os=-sysv3
 		;;
+	djgpp)
+		basic_machine=i586-pc
+		os=-msdosdjgpp
+		;;
 	dpx20 | dpx20-*)
 		basic_machine=rs6000-bull
 		os=-bosx
@@ -644,10 +671,6 @@ case $basic_machine in
 	mips3*)
 		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
 		;;
-	mmix*)
-		basic_machine=mmix-knuth
-		os=-mmixware
-		;;
 	monitor)
 		basic_machine=m68k-rom68k
 		os=-coff
@@ -728,10 +751,6 @@ case $basic_machine in
 	np1)
 		basic_machine=np1-gould
 		;;
-	nv1)
-		basic_machine=nv1-cray
-		os=-unicosmp
-		;;
 	nsr-tandem)
 		basic_machine=nsr-tandem
 		;;
@@ -743,6 +762,10 @@ case $basic_machine in
 		basic_machine=or32-unknown
 		os=-coff
 		;;
+	os400)
+		basic_machine=powerpc-ibm
+		os=-os400
+		;;
 	OSE68000 | ose68000)
 		basic_machine=m68000-ericsson
 		os=-ose
@@ -963,6 +986,10 @@ case $basic_machine in
 	tower | tower-32)
 		basic_machine=m68k-ncr
 		;;
+	tpf)
+		basic_machine=s390x-ibm
+		os=-tpf
+		;;
 	udi29k)
 		basic_machine=a29k-amd
 		os=-udi
@@ -1006,6 +1033,10 @@ case $basic_machine in
 		basic_machine=hppa1.1-winbond
 		os=-proelf
 		;;
+	xbox)
+		basic_machine=i686-pc
+		os=-mingw32
+		;;
 	xps | xps100)
 		basic_machine=xps100-honeywell
 		;;
@@ -1036,6 +1067,9 @@ case $basic_machine in
 	romp)
 		basic_machine=romp-ibm
 		;;
+	mmix)
+		basic_machine=mmix-knuth
+		;;
 	rs6000)
 		basic_machine=rs6000-ibm
 		;;
@@ -1058,7 +1092,7 @@ case $basic_machine in
 	sh64)
 		basic_machine=sh64-unknown
 		;;
-	sparc | sparcv9 | sparcv9b)
+	sparc | sparcv8 | sparcv9 | sparcv9b)
 		basic_machine=sparc-sun
 		;;
 	cydra)
@@ -1131,19 +1165,20 @@ case $os in
 	      | -aos* \
 	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
 	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
-	      | -hiux* | -386bsd* | -knetbsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
-	      | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
+	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
+	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
 	      | -chorusos* | -chorusrdb* \
 	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
-	      | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
+	      | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
 	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
 	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
 	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
-	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
+	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
 	# Remember, each alternative MUST END IN *, to match a version number.
 		;;
 	-qnx*)
@@ -1182,6 +1217,9 @@ case $os in
 	-opened*)
 		os=-openedition
 		;;
+        -os400*)
+		os=-os400
+		;;
 	-wince*)
 		os=-wince
 		;;
@@ -1203,6 +1241,9 @@ case $os in
 	-atheos*)
 		os=-atheos
 		;;
+	-syllable*)
+		os=-syllable
+		;;
 	-386bsd)
 		os=-bsd
 		;;
@@ -1225,6 +1266,9 @@ case $os in
 	-sinix*)
 		os=-sysv4
 		;;
+        -tpf*)
+		os=-tpf
+		;;
 	-triton*)
 		os=-sysv3
 		;;
@@ -1261,6 +1305,9 @@ case $os in
 	-kaos*)
 		os=-kaos
 		;;
+	-zvmoe)
+		os=-zvmoe
+		;;
 	-none)
 		;;
 	*)
@@ -1341,6 +1388,9 @@ case $basic_machine in
 	*-ibm)
 		os=-aix
 		;;
+    	*-knuth)
+		os=-mmixware
+		;;
 	*-wec)
 		os=-proelf
 		;;
@@ -1473,9 +1523,15 @@ case $basic_machine in
 			-mvs* | -opened*)
 				vendor=ibm
 				;;
+			-os400*)
+				vendor=ibm
+				;;
 			-ptx*)
 				vendor=sequent
 				;;
+			-tpf*)
+				vendor=ibm
+				;;
 			-vxsim* | -vxworks* | -windiss*)
 				vendor=wrs
 				;;
diff --git a/debian/changelog b/debian/changelog
index a64e6b3..c185c7e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+wmlongrun (0.3.0-pre1-4) unstable; urgency=low
+
+  * Applied patch to support >1ghz speeds (closes: #277066)
+  * Updated standards version 
+
+ -- Francois Gurin <matrix at debian.org>  Fri, 18 Mar 2005 21:22:33 -0500
+
 wmlongrun (0.3.0-pre1-3) unstable; urgency=low
 
   * New maintainer, closes: #210791 
diff --git a/debian/control b/debian/control
index 48045fa..3430609 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: x11
 Priority: optional
 Maintainer: Francois Gurin <matrix at debian.org>
 Build-Depends: debhelper (>> 3.0.0), xlibs-dev
-Standards-Version: 3.5.2
+Standards-Version: 3.6.1.1
 
 Package: wmlongrun
 Architecture: any
diff --git a/src/Makefile.am b/src/Makefile.am
index 4719d4f..7cbce1c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -10,6 +10,9 @@ wmlongrun_SOURCES =   \
 	backdrop_off.xpm \
 	backdrop_on.xpm \
 	backdrop_led.xpm \
+	backdrop_off_g.xpm \
+        backdrop_on_g.xpm \
+	backdrop_led_g.xpm \
 	parts.xpm
 
 EXTRA_wmlongrun_SOURCES = \
diff --git a/src/Makefile.in b/src/Makefile.in
index 03df266..ce182a4 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -76,7 +76,7 @@ X_LIBRARY_PATH = @X_LIBRARY_PATH@
 
 bin_PROGRAMS = wmlongrun
 
-wmlongrun_SOURCES =  	longrun_ at OS@.c 	longrun.h 	main.c 	dockapp.c 	dockapp.h 	common.h 	backdrop_off.xpm 	backdrop_on.xpm 	backdrop_led.xpm 	parts.xpm
+wmlongrun_SOURCES =  	longrun_ at OS@.c 	longrun.h 	main.c 	dockapp.c 	dockapp.h 	common.h 	backdrop_off.xpm 	backdrop_on.xpm 	backdrop_led.xpm	backdrop_off_g.xpm      backdrop_on_g.xpm       backdrop_led_g.xpm	parts.xpm
 
 
 EXTRA_wmlongrun_SOURCES =  	longrun_linux.c 	longrun_freebsd.c
diff --git a/src/backdrop_led_g.xpm b/src/backdrop_led_g.xpm
new file mode 100644
index 0000000..ae81cdb
--- /dev/null
+++ b/src/backdrop_led_g.xpm
@@ -0,0 +1,125 @@
+/* XPM */
+static char * backdrop_led_g_xpm[] = {
+"58 58 64 1",
+" 	c None",
+".	c #000000",
+"+	c #646464",
+"@	c #202020",
+"#	c #C7C7C7",
+"$	c #004941",
+"%	c #188A86",
+"&	c #20B2AE",
+"*	c #273B00",
+"=	c #293B00",
+"-	c #2A3A00",
+";	c #2B3A00",
+">	c #2C3900",
+",	c #2D3800",
+"'	c #2E3800",
+")	c #2F3700",
+"!	c #303600",
+"~	c #313600",
+"{	c #323500",
+"]	c #333400",
+"^	c #343400",
+"/	c #353300",
+"(	c #363200",
+"_	c #373200",
+":	c #383100",
+"<	c #393000",
+"[	c #3A3000",
+"}	c #3B2F00",
+"|	c #3C2E00",
+"1	c #3D2E00",
+"2	c #3E2D00",
+"3	c #3F2C00",
+"4	c #402C00",
+"5	c #412B00",
+"6	c #422A00",
+"7	c #432A00",
+"8	c #452900",
+"9	c #462900",
+"0	c #472800",
+"a	c #482700",
+"b	c #492700",
+"c	c #4A2600",
+"d	c #4B2500",
+"e	c #4C2500",
+"f	c #4D2400",
+"g	c #4E2300",
+"h	c #4F2300",
+"i	c #502200",
+"j	c #512100",
+"k	c #522100",
+"l	c #532000",
+"m	c #541F00",
+"n	c #551F00",
+"o	c #561E00",
+"p	c #571D00",
+"q	c #581D00",
+"r	c #591C00",
+"s	c #5A1B00",
+"t	c #5B1B00",
+"u	c #5C1A00",
+"v	c #5D1900",
+"w	c #5E1900",
+"x	c #5F1800",
+"y	c #601700",
+".........................................................+",
+".@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.#",
+".@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#",
+".@@@@$$$$$$$$$$$$$$$$$$$$@@@@@@@$$$$$$$$$$$$$$$$$$$$@@@@@#",
+".@@@$$$$$$$$$$$$$$$$$$$$$$@@@@@$$$$$$$$$$$$$$$$$$$$$$@@@@#",
+".@@$$$@@@@$$$@@@@$$$@@@@$$$@@@$$@@@@@$$$@@@@$$@$@@@$$$@@@#",
+".@@$$@@$$@@$@@$$@@$@@$$@@$$@@@$$@@$$@@$@@$$@@$@@@$@@$$@@@#",
+".@@$$@@$$@@$@@$$$$$@@$$@@$$@@@$$@@$$@@$@@$$@@$@@$$@@$$@@@#",
+".@@$$@@@@@@$@@$$$$$@@$$@@$$@@@$$@@$$@@$@@@@@@$@@$$$$$$@@@#",
+".@@$$@@$$$$$@@$$$$$@@$$@@$$@@@$$@@@@@$$@@$$$$$@@$$$$$$@@@#",
+".@@$$@@$$$$$@@$$@@$@@$$@@$$@@@$$@@$$$$$@@$$$$$@@$$$$$$@@@#",
+".@@$$$@@@@@$$@@@@$$$@@@@$$$@@@$$@@$$$$$$@@@@@$@@$$$$$$@@@#",
+".@@@$$$$$$$$$$$$$$$$$$$$$$@@@@@$$$$$$$$$$$$$$$$$$$$$$@@@@#",
+".@@@@$$$$$$$$$$$$$$$$$$$$@@@@@@@$$$$$$$$$$$$$$$$$$$$@@@@@#",
+".@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#",
+".@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#",
+"+#########################################################",
+"                                                          ",
+"                                                          ",
+".........................................................+",
+".@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#",
+".@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#",
+".@@@@$$$$$@@@@$$$$$@@@@$$$$$@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#",
+".@@@$@@@@@$@@$@@@@@$@@$@@@@@$@@@@@@@@@@@@@@@@@@@@@@@@@@@@#",
+".@@@$@@@@@$@@$@@@@@$@@$@@@@@$@@@@@@@@@@@@@@@@@@@@@@@@@@@@#",
+".@@@$@@@@@$@@$@@@@@$@@$@@@@@$@@@@@@@@@@@@@@@@@@@@@@@@@@@@#",
+".@@@$@@@@@$@@$@@@@@$@@$@@@@@$@@%&&&&&&@@%$$$$%@@$$$$@@@@@#",
+".@@@$@@@@@$@@$@@@@@$@@$@@@@@$@@&@@@@@@@@&@@@@&@$@@@@$@@@@#",
+".@@@@$$$$$@@@@$$$$$@@@@$$$$$@@@&@@@@@@@@&@@@@&@$@@@@$@@@@#",
+".@@@$@@@@@$@@$@@@@@$@@$@@@@@$@@&@@@@@@@@&@@@@&@$@@@@$@@@@#",
+".@@@$@@@@@$@@$@@@@@$@@$@@@@@$@@&@@@@@@@@%&&&&%@%&&&&%@@@@#",
+".@@@$@@@@@$@@$@@@@@$@@$@@@@@$@@&@@@&&%@@%@@@@%@$@@&@$@@@@#",
+".@@@$@@@@@$@@$@@@@@$@@$@@@@@$@@&@@@@@&@@&@@@@&@$@&@@$@@@@#",
+".@@@$@@@@@$@@$@@@@@$@@$@@@@@$@@&@@@@@&@@&@@@@&@$&@@@$@@@@#",
+".@@@@$$$$$@@&@$$$$$@@@@$$$$$@@@&&&&&&&@@%$$$$%@%&&&&%@@@@#",
+".@@@@@@@@@@&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#",
+".@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#",
+"+#########################################################",
+"                                                          ",
+"                                                          ",
+".........................................................+",
+".*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopqrstuvwxy#",
+".*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopqrstuvwxy#",
+".*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopqrstuvwxy#",
+".*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopqrstuvwxy#",
+".*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopqrstuvwxy#",
+".*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopqrstuvwxy#",
+".*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopqrstuvwxy#",
+".*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopqrstuvwxy#",
+".*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopqrstuvwxy#",
+".*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopqrstuvwxy#",
+".*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopqrstuvwxy#",
+".*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopqrstuvwxy#",
+".*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopqrstuvwxy#",
+".*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopqrstuvwxy#",
+".*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopqrstuvwxy#",
+".*=-;>,')!~{]^/(_:<[}|1234567890abcdefghijklmnopqrstuvwxy#",
+"+#########################################################"};
diff --git a/src/backdrop_off_g.xpm b/src/backdrop_off_g.xpm
new file mode 100644
index 0000000..008097a
--- /dev/null
+++ b/src/backdrop_off_g.xpm
@@ -0,0 +1,71 @@
+/* XPM */
+static char * backdrop_off_g_xpm[] = {
+"58 58 10 1",
+" 	c None",
+".	c #020202",
+"+	c #0A0A0A",
+"@	c #484C46",
+"#	c #DEDEDE",
+"$	c #7C827C",
+"%	c #8E968A",
+"&	c #767C6F",
+"*	c #3E463E",
+"=	c #5E665A",
+"  ......................................................  ",
+" .++++++++++++++++++++++++++++++++++++++++++++++++++++++. ",
+".++@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.#",
+".+@@$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$.#",
+".+@$$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%.#",
+".+@$%%%&&&&&&&&&&&&&&&&&&&&%%%%%%&&&&&&&&&&&&&&&&&&&&%%%.#",
+".+@$%%&&&&&&&&&&&&&&&&&&&&&&%%%%&&&&&&&&&&&&&&&&&&&&&&%%.#",
+".+@$%&&&%%%%&&&%%%%&&&%%%%&&&%%&&%%%%%&&&%%%%&&%&%%%&&&%.#",
+".+@$%&&%%&&%%&%%&&%%&%%&&%%&&%%&&%%&&%%&%%&&%%&%%%&%%&&%.#",
+".+@$%&&%%&&%%&%%&&&&&%%&&%%&&%%&&%%&&%%&%%&&%%&%%&&%%&&%.#",
+".+@$%&&%%%%%%&%%&&&&&%%&&%%&&%%&&%%&&%%&%%%%%%&%%&&&&&&%.#",
+".+@$%&&%%&&&&&%%&&&&&%%&&%%&&%%&&%%%%%&&%%&&&&&%%&&&&&&%.#",
+".+@$%&&%%&&&&&%%&&%%&%%&&%%&&%%&&%%&&&&&%%&&&&&%%&&&&&&%.#",
+".+@$%&&&%%%%%&&%%%%&&&%%%%&&&%%&&%%&&&&&&%%%%%&%%&&&&&&%.#",
+".+@$%%&&&&&&&&&&&&&&&&&&&&&&%%%%&&&&&&&&&&&&&&&&&&&&&&%%.#",
+".+@$%%%&&&&&&&&&&&&&&&&&&&&%%%%%%&&&&&&&&&&&&&&&&&&&&%%%.#",
+".+@$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%.#",
+".+@$%*************************************************%%.#",
+".+@$%*************************************************=%.#",
+".+@$%%=================================================%.#",
+".+@$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%.#",
+".+@$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%.#",
+".+@$%%%&&&&&%%%%&&&&&%%%%&&&&&%%%%%%%%%%%%%%%%%%%%%%%%%%.#",
+".+@$%%&%%%%%&%%&%%%%%&%%&%%%%%&%%%%%%%%%%%%%%%%%%%%%%%%%.#",
+".+@$%%&%%%%%&%%&%%%%%&%%&%%%%%&%%%%%%%%%%%%%%%%%%%%%%%%%.#",
+".+@$%%&%%%%%&%%&%%%%%&%%&%%%%%&%%%%%%%%%%%%%%%%%%%%%%%%%.#",
+".+@$%%&%%%%%&%%&%%%%%&%%&%%%%%&%%%%%%%%%%%%%%%%%%%%%%%%%.#",
+".+@$%%&%%%%%&%%&%%%%%&%%&%%%%%&%%.......%%.%%%.%%%%%%%%%.#",
+".+@$%%%&&&&&%%%%&&&&&%%%%&&&&&%%%.%%%%%%%%.%%%.%%%%%%%%%.#",
+".+@$%%&%%%%%&%%&%%%%%&%%&%%%%%&%%.%%%%%%%%.%%%.%%%%%%%%%.#",
+".+@$%%&%%%%%&%%&%%%%%&%%&%%%%%&%%.%%%%%%%%.%%%.%%.....%%.#",
+".+@$%%&%%%%%&%%&%%%%%&%%&%%%%%&%%.%%%...%%.....%%%%%.%%%.#",
+".+@$%%&%%%%%&%%&%%%%%&%%&%%%%%&%%.%%%%%.%%.%%%.%%%%.%%%%.#",
+".+@$%%&%%%%%&%%&%%%%%&%%&%%%%%&%%.%%%%%.%%.%%%.%%%.%%%%%.#",
+".+@$%%%&&&&&%%.%&&&&&%%%%&&&&&%%%.......%%.%%%.%%.....%%.#",
+".+@$%%%%%%%%%.%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%.#",
+".+@$%*************************************************%%.#",
+".+@$%*************************************************=%.#",
+".+@$%%=================================================%.#",
+".+@$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%.#",
+".+@$%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%%.#",
+".+@$%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%%.#",
+".+@$%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%%.#",
+".+@$%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%%.#",
+".+@$%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%%.#",
+".+@$%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%%.#",
+".+@$%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%%.#",
+".+@$%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%%.#",
+".+@$%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%%.#",
+".+@$%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%%.#",
+".+@$%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%%.#",
+".+@$%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%%.#",
+".+@$%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%%.#",
+".+@$%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%%.#",
+".+@$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%.#",
+".+@$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%..#",
+" .......................................................# ",
+"  ######################################################  "};
diff --git a/src/backdrop_on_g.xpm b/src/backdrop_on_g.xpm
new file mode 100644
index 0000000..5ba2394
--- /dev/null
+++ b/src/backdrop_on_g.xpm
@@ -0,0 +1,68 @@
+/* XPM */
+static char * backdrop_on_g_xpm[] = {
+"58 58 7 1",
+" 	c None",
+".	c #020202",
+"+	c #6EC63B",
+"@	c #DEDEDE",
+"#	c #6CB237",
+"$	c #3E463E",
+"%	c #000000",
+"  ......................................................  ",
+" .++++++++++++++++++++++++++++++++++++++++++++++++++++++. ",
+".++++++++++++++++++++++++++++++++++++++++++++++++++++++++@",
+".++++++++++++++++++++++++++++++++++++++++++++++++++++++++@",
+".++++++++++++++++++++++++++++++++++++++++++++++++++++++++@",
+".++++++####################++++++####################++++@",
+".+++++######################++++######################+++@",
+".++++###++++###++++###++++###++##+++++###++++##+#+++###++@",
+".++++##++##++#++##++#++##++##++##++##++#++##++#+++#++##++@",
+".++++##++##++#++#####++##++##++##++##++#++##++#++##++##++@",
+".++++##++++++#++#####++##++##++##++##++#++++++#++######++@",
+".++++##++#####++#####++##++##++##+++++##++#####++######++@",
+".++++##++#####++##++#++##++##++##++#####++#####++######++@",
+".++++###+++++##++++###++++###++##++######+++++#++######++@",
+".+++++######################++++######################+++@",
+".++++++####################++++++####################++++@",
+".++++++++++++++++++++++++++++++++++++++++++++++++++++++++@",
+".++++$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$+++@",
+".++++$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#++@",
+".+++++#################################################++@",
+".++++++++++++++++++++++++++++++++++++++++++++++++++++++++@",
+".++++++++++++++++++++++++++++++++++++++++++++++++++++++++@",
+".++++++#####++++#####++++#####+++++++++++++++++++++++++++@",
+".+++++#+++++#++#+++++#++#+++++#++++++++++++++++++++++++++@",
+".+++++#+++++#++#+++++#++#+++++#++++++++++++++++++++++++++@",
+".+++++#+++++#++#+++++#++#+++++#++++++++++++++++++++++++++@",
+".+++++#+++++#++#+++++#++#+++++#++++++++++++++++++++++++++@",
+".+++++#+++++#++#+++++#++#+++++#++.......++.+++.++++++++++@",
+".++++++#####++++#####++++#####+++.++++++++.+++.++++++++++@",
+".+++++#+++++#++#+++++#++#+++++#++.++++++++.+++.++++++++++@",
+".+++++#+++++#++#+++++#++#+++++#++.++++++++.+++.++.....+++@",
+".+++++#+++++#++#+++++#++#+++++#++.+++...++.....+++++.++++@",
+".+++++#+++++#++#+++++#++#+++++#++.+++++.++.+++.++++.+++++@",
+".+++++#+++++#++#+++++#++#+++++#++.+++++.++.+++.+++.++++++@",
+".++++++#####++.+#####++++#####+++.......++.+++.++.....+++@",
+".++++++++++++.+++++++++++++++++++++++++++++++++++++++++++@",
+".++++$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$+++@",
+".++++$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#++@",
+".+++++#################################################++@",
+".++++++++++++++++++++++++++++++++++++++++++++++++++++++++@",
+".++++#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+++@",
+".++++#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+++@",
+".++++#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+++@",
+".++++#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+++@",
+".++++#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+++@",
+".++++#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+++@",
+".++++#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+++@",
+".++++#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+++@",
+".++++#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+++@",
+".++++#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+++@",
+".++++#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+++@",
+".++++#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+++@",
+".++++#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+++@",
+".++++#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+++@",
+".++++++++++++++++++++++++++++++++++++++++++++++++++++++++@",
+".++++++++++++++++++++++++++++++++++++++++++++++++++++++++@",
+" %++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
+"  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@  "};
diff --git a/src/main.c b/src/main.c
index 59deb89..dcda3cd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -38,6 +38,9 @@
 #include "backdrop_on.xpm"
 #include "backdrop_off.xpm"
 #include "backdrop_led.xpm"
+#include "backdrop_on_g.xpm"
+#include "backdrop_off_g.xpm"
+#include "backdrop_led_g.xpm"
 #include "parts.xpm"
 
 #define SIZE	58
@@ -49,6 +52,9 @@ Pixmap pixmap;
 Pixmap backdrop_on;
 Pixmap backdrop_off;
 Pixmap backdrop_led;
+Pixmap backdrop_on_g;
+Pixmap backdrop_off_g;
+Pixmap backdrop_led_g;
 Pixmap parts;
 Pixmap mask;
 static char	*display_name = "";
@@ -88,11 +94,15 @@ int main(int argc, char **argv)
     /* change raw xpm data to pixmap */
     if (dockapp_iswindowed)
 	backdrop_on_xpm[1] = backdrop_off_xpm[1] = WINDOWED_BG;
+    	backdrop_on_g_xpm[1] = backdrop_off_g_xpm[1] = WINDOWED_BG;
     if (!is_led_style) {
 	dockapp_xpm2pixmap(backdrop_on_xpm, &backdrop_on, &mask, colors,ncolor);
 	dockapp_xpm2pixmap(backdrop_off_xpm, &backdrop_off, NULL, NULL, 0);
+   	dockapp_xpm2pixmap(backdrop_on_g_xpm, &backdrop_on_g, &mask, colors,ncolor);
+	dockapp_xpm2pixmap(backdrop_off_g_xpm, &backdrop_off_g, NULL, NULL, 0);
     } else {
 	dockapp_xpm2pixmap(backdrop_led_xpm, &backdrop_led, &mask, colors, ncolor);
+    	dockapp_xpm2pixmap(backdrop_led_g_xpm, &backdrop_led_g, &mask, colors, ncolor);
     }
     dockapp_xpm2pixmap(parts_xpm, &parts, NULL, colors, ncolor);
     /* shape window */
@@ -152,14 +162,15 @@ static void update(void)
     static int mhz;		/* LongRun frequency */
     static int voltz;		/* LongRun voltage */
 
-    int digit1 = 0, digit10 = 0, digit100 = 0;
+    int digit1 = 0, digit10 = 0, digit100 = 0, digit1000=0;
 
     longrun_get_stat(&percent, &flags, &mhz, &voltz);
 
-    digit100 = mhz / 100;
-    digit10 = (mhz - digit100 * 100) / 10;
-    digit1 = mhz - digit100 * 100 - digit10 * 10;
-
+    digit1000 = mhz / 1000;
+    digit100 = (mhz - digit1000 * 1000) / 100;
+    digit10 = (mhz - digit1000 * 1000 - digit100 * 100) / 10;
+    digit1 = mhz - digit1000 * 1000 - digit100 * 100 - digit10 * 10;
+    
     /* LCD interface */
     if (!is_led_style) {
 	int y_lrmode = 0, y_gauge = 0, y_digit = 0;
@@ -167,13 +178,23 @@ static void update(void)
 	/* clear */
 	switch (backlight) {
 	    case LIGHTON:
-		dockapp_copyarea(backdrop_on, pixmap, 0, 0, 58, 58, 0, 0);
+		if (digit1000==0) {
+			dockapp_copyarea(backdrop_on, pixmap, 0, 0, 58, 58, 0, 0);
+		}
+		else {
+			dockapp_copyarea(backdrop_on_g, pixmap, 0, 0, 58, 58, 0, 0);
+		}
 		y_lrmode = 11;
 		y_gauge = 14;
 		y_digit = 13;
 		break;
 	    case LIGHTOFF:
-		dockapp_copyarea(backdrop_off, pixmap, 0, 0, 58, 58, 0, 0);
+		if (digit1000==0) {
+			dockapp_copyarea(backdrop_off, pixmap, 0, 0, 58, 58, 0, 0);
+		}
+		else {
+			dockapp_copyarea(backdrop_off_g, pixmap, 0, 0, 58, 58, 0, 0);
+		}
 		break;
 	}
 
@@ -190,18 +211,29 @@ static void update(void)
 	}
 
 	/* draw digit (frequency) */
-	dockapp_copyarea(parts, pixmap, digit100*7,y_digit+33,  7,13,   6,22);
-	dockapp_copyarea(parts, pixmap,  digit10*7,y_digit+33,  7,13,  15,22);
-	dockapp_copyarea(parts, pixmap,   digit1*7,y_digit+33,  7,13,  24,22);
-
+	if (digit1000==0) {
+		dockapp_copyarea(parts, pixmap, digit100*7,y_digit+33,  7,13,   6,22);
+		dockapp_copyarea(parts, pixmap,  digit10*7,y_digit+33,  7,13,  15,22);
+		dockapp_copyarea(parts, pixmap,   digit1*7,y_digit+33,  7,13,  24,22);
+	}
+	else {
+		dockapp_copyarea(parts, pixmap, digit1000*7,y_digit+33,  7,13,   6,22);
+                dockapp_copyarea(parts, pixmap,  digit100*7,y_digit+33,  7,13,  15,22);
+                dockapp_copyarea(parts, pixmap,   digit10*7,y_digit+33,  7,13,  24,22);
+	}
 	/* draw level gauge */
 	dockapp_copyarea(parts, pixmap, 0,y_gauge+72, 49*percent/100,14,5,40);
     }
 
     /* LED interface */
     else {
-	dockapp_copyarea(backdrop_led, pixmap, 0, 0, 58, 58, 0, 0);
-	/* longrun flags (performance or economy) */
+	if (!digit1000) {
+		dockapp_copyarea(backdrop_led, pixmap, 0, 0, 58, 58, 0, 0);
+	}
+	else {
+		dockapp_copyarea(backdrop_led_g, pixmap, 0, 0, 58, 58, 0, 0);
+	}
+		/* longrun flags (performance or economy) */
 	switch (flags) {
 	case LONGRUN_FLAGS_PEFORMANCE:
 	    dockapp_copyarea(parts, pixmap, 24, 22, 24, 11, 30, 3);
@@ -214,10 +246,16 @@ static void update(void)
 	}
 
 	/* draw digit (frequency) */
-	dockapp_copyarea(parts, pixmap, digit100*7,59,  7,13,   4,22);
-	dockapp_copyarea(parts, pixmap,  digit10*7,59,  7,13,  13,22);
-	dockapp_copyarea(parts, pixmap,   digit1*7,59,  7,13,  22,22);
-
+	if (digit1000==0) {
+		dockapp_copyarea(parts, pixmap, digit100*7,59,  7,13,   4,22);
+		dockapp_copyarea(parts, pixmap,  digit10*7,59,  7,13,  13,22);
+		dockapp_copyarea(parts, pixmap,   digit1*7,59,  7,13,  22,22);
+	}
+	else {
+		dockapp_copyarea(parts, pixmap, digit1000*7,59,  7,13,   4,22);
+	        dockapp_copyarea(parts, pixmap,  digit100*7,59,  7,13,  13,22);
+	        dockapp_copyarea(parts, pixmap,   digit10*7,59,  7,13,  22,22);
+	}
 	/* draw level gauge */
 	dockapp_copyarea(parts, pixmap, 0, 100, 56 * percent / 100, 16, 1, 41);
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmlongrun.git



More information about the Pkg-wmaker-commits mailing list