[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#30216: marked as done (fvwm-common: include setup-background)



Your message dated Wed, 3 Feb 1999 05:50:31 +0100 (CET)
with message-id <Pine.LNX.4.02.9902030549350.17528-100000@vince>
and subject line Fixed.
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Ian Jackson
(administrator, Debian bugs database)

Received: (at submit) by bugs.debian.org; 1 Dec 1998 11:11:54 +0000
Received: (qmail 13092 invoked from network); 1 Dec 1998 11:11:53 -0000
Received: from hplb.hpl.hp.com (192.6.10.2)
  by master.debian.org with SMTP; 1 Dec 1998 11:11:53 -0000
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.8.6 (PHNE_14041)/8.8.6 HPLabs Bristol Relay) with ESMTP id LAA18231
	for <submit@bugs.debian.org>; Tue, 1 Dec 1998 11:11:33 GMT
Received: from rocher-d-1.hpl.hp.com by otter.hpl.hp.com with ESMTP
	(1.37.109.16/15.6+ISC) id AA234320687; Tue, 1 Dec 1998 11:11:27 GMT
Received: by hplb.hpl.hp.com
	via sendmail from stdin
	id <m0zkniJ-0022HpC@rocher-d-1.hpl.hp.com> (Debian Smail3.2.0.102)
	for submit@bugs.debian.org; Tue, 1 Dec 1998 11:11:27 +0000 (GMT) 
Date: Tue, 1 Dec 1998 11:11:27 +0000
From: David Rocher <davroc@hplb.hpl.hp.com>
To: submit@bugs.debian.org
Subject: fvwm-common: include setup-background
Message-Id: <19981201111126.D4424@rocher-d-1.hpl.hp.com>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary=wRRV7LY7NUeQGEoC
X-Mailer: Mutt 0.94.17i


--wRRV7LY7NUeQGEoC
Content-Type: text/plain; charset=us-ascii

package: fvwm-common
version: 2.0.46-BETA-3
severity: wishlist

Could you transfer setup-background from fvwm2 to fvwm-common and 
apply the patch to setup-background, please.

Like than, this script could be shared with fvwm95 to setup the 
background from system.fvwm95rc like system.fvwm2rc. the patch add
the choice of the package which call the script and use the right
path.

 David.

--wRRV7LY7NUeQGEoC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch

--- /usr/bin/setup-background	Sat May  2 19:06:37 1998
+++ setup-background	Tue Dec  1 11:04:59 1998
@@ -6,17 +6,24 @@
 #
 # Set the X root window to what the user prefers:
 #
-#	if ~/.fvwm2/background.xpm exists, do xpmroot for it,
-#	else if ~/.fvwm2/background.{gif,jpg} exists, do xsetbg for it,
-#	else if ~/.fvwm2/background.color exists, do xsetroot -solid for it,
-#	else do the same tests for /etc/X11/fvwm2
+#	if ~/.$PKG/background.xpm exists, do xpmroot for it,
+#	else if ~/.$PKG/background.{gif,jpg} exists, do xsetbg for it,
+#	else if ~/.$PKG/background.color exists, do xsetroot -solid for it,
+#	else do the same tests for /etc/X11/$PKG
 #
 
-xpmfile="$HOME/.fvwm2/background.xpm"
-giffile="$HOME/.fvwm2/background.gif"
-jpgfile="$HOME/.fvwm2/background.jpg"
-colorfile="$HOME/.fvwm2/background.color"
-listfile="$HOME/.fvwm2/background.list"
+if [ "x$1" != "x" ]
+then
+	PKG=$1
+else
+	PKG="fvwm2"
+fi
+
+xpmfile="$HOME/.$PKG/background.xpm"
+giffile="$HOME/.$PKG/background.gif"
+jpgfile="$HOME/.$PKG/background.jpg"
+colorfile="$HOME/.$PKG/background.color"
+listfile="$HOME/.$PKG/background.list"
 
 available()
 {
@@ -49,11 +56,11 @@
 [ -s $colorfile ] && xsetroot -solid `cat $colorfile` && exit 0
 [ -s $listfile ] && $viewer `randline $listfile` && exit 0
 
-xpmfile="/etc/X11/fvwm2/background.xpm"
-giffile="/etc/X11/fvwm2/background.gif"
-jpgfile="/etc/X11/fvwm2/background.jpg"
-colorfile="/etc/X11/fvwm2/background.color"
-listfile="/etc/X11/fvwm2/background.list"
+xpmfile="/etc/X11/$PKG/background.xpm"
+giffile="/etc/X11/$PKG/background.gif"
+jpgfile="/etc/X11/$PKG/background.jpg"
+colorfile="/etc/X11/$PKG/background.color"
+listfile="/etc/X11/$PKG/background.list"
 
 [ -s $xpmfile ] && xpmroot $xpmfile && exit 0
 [ -s $giffile ] && $viewer $giffile && exit 0

--wRRV7LY7NUeQGEoC--


Reply to: