Your message dated Tue, 27 May 2014 21:46:35 +0000
with message-id <[email protected]>
and subject line Bug#732398: fixed in wmbattery 2.43
has caused the Debian Bug report #732398,
regarding wmbattery needs way of starting up as icon
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
732398: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732398
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wmbattery
Version: 2.42
Severity: wishlist
Tags: patch

It does not do this easily in a way that i understand under 'fvwm'.
Included is a patch which allows this from the command line.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.51-rt72 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wmbattery depends on:
ii  libapm1          3.2.2-14
ii  libc6            2.17-97
ii  libglib2.0-0     2.36.4-1
ii  libupower-glib1  0.9.23-2+b1
ii  libx11-6         2:1.6.2-1
ii  libxext6         2:1.3.2-1
ii  libxpm4          1:3.5.10-1
ii  upower           0.9.23-2+b1

wmbattery recommends no packages.

Versions of packages wmbattery suggests:
pn  wmaker  <none>

-- no debconf information
-*- mode: compilation; default-directory: "/usr/src/wmbattery/" -*-
Compilation started at Tue Dec 17 07:47:39

find . -name "*orig" -exec difforig {} -u \;
--- ./wmbattery.c.orig	2013-12-05 11:27:52.000000000 -0800
+++ ./wmbattery.c	2013-12-17 07:45:22.000000000 -0800
@@ -52,6 +52,7 @@
 int delay = 0;
 int always_estimate_remaining = 0;
 int granularity_estimate_remaining = 1;
+int initial_state = WithdrawnState;
 
 signed int low_pct = -1;
 signed int critical_pct = -1;
@@ -214,13 +215,14 @@
 	extern char *optarg;
 	
   	while (c != -1) {
-  		c=getopt(argc, argv, "hd:g:f:b:w:c:l:es:a:");
+  		c=getopt(argc, argv, "hd:g:if:b:w:c:l:es:a:");
 		switch (c) {
 		  case 'h':
 			printf("Usage: wmbattery [options]\n");
               		printf("\t-d <display>\tselects target display\n");
                		printf("\t-h\t\tdisplay this help\n");
                         printf("\t-g +x+y\t\tposition of the window\n");
+                        printf("\t-i start \n");
 			printf("\t-b num\t\tnumber of battery to display\n");
 			printf("\t-w secs\t\tseconds between updates\n");
 			printf("\t-l percent\tlow percentage\n");
@@ -245,6 +247,9 @@
 				}
 			}
 			break;
+		  case 'i':
+			initial_state = IconicState;
+			break;
 		  case 'b':
 			battnum = atoi(optarg);
 			break;
@@ -339,7 +344,7 @@
 	XShapeCombineMask(display, iconwin, ShapeBounding, 0, 0,
 			  pixmask, ShapeSet);
 	
-	wmhints.initial_state = WithdrawnState;
+	wmhints.initial_state = initial_state;
 	wmhints.icon_window = iconwin;
 	wmhints.icon_x = sizehints.x;
 	wmhints.icon_y = sizehints.y;
--- ./Makefile.orig	2013-12-05 11:27:52.000000000 -0800
+++ ./Makefile	2013-12-17 07:34:37.000000000 -0800
@@ -35,6 +35,8 @@
 	$(CC) $(CPPFLAGS) $(CFLAGS) $(shell pkg-config --cflags upower-glib) -c upower.c -o upower.o
 endif
 
+LIBS+=-lapm -lXext -lXpm
+
 wmbattery: $(OBJS)
 	$(CC) -o wmbattery $(LDFLAGS) $(OBJS) $(LIBS)
 

Compilation finished at Tue Dec 17 07:47:40

--- End Message ---
--- Begin Message ---
Source: wmbattery
Source-Version: 2.43

We believe that the bug you reported is fixed in the latest version of
wmbattery, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <[email protected]> (supplier of updated wmbattery package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 27 May 2014 16:01:34 -0400
Source: wmbattery
Binary: wmbattery
Architecture: source amd64
Version: 2.43
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <[email protected]>
Changed-By: Joey Hess <[email protected]>
Description: 
 wmbattery  - display laptop battery info, dockable in WindowMaker
Closes: 732398
Changes: 
 wmbattery (2.43) unstable; urgency=low
 .
   * Orphaned the package. It will probably be removed as it does not work with
     current kernels.
   * Added -i to display as icon. Thanks, Tovar Closes: #732398
Checksums-Sha1: 
 0787e8fb3e759d6a0dd64934004170d275aa6c8d 1606 wmbattery_2.43.dsc
 e2388393872ce9b395a0f26d23eff3cf567af0e2 39074 wmbattery_2.43.tar.gz
 68d7ba8327824423f3db9e2787342ff5441daffe 22728 wmbattery_2.43_amd64.deb
Checksums-Sha256: 
 5052fe155174ef346b4ed48b7d9e23c802ef907ac4b597cb7b1ef3d7a1a3828b 1606 
wmbattery_2.43.dsc
 da149c750b2afbadd9ec36c6f0da8a5807ee606121a121d51860f8c0472e88be 39074 
wmbattery_2.43.tar.gz
 2ff3d179c255993c5c7167d18699797738d3c101cdef28d738127a496cc7d97c 22728 
wmbattery_2.43_amd64.deb
Files: 
 2352224e8432046e72f5488f63a7f5aa 22728 x11 extra wmbattery_2.43_amd64.deb
 7ced4d649b3b55fd4a1dc106f4ccffcd 1606 x11 extra wmbattery_2.43.dsc
 2ae1a6576f461748e4468e112975be7f 39074 x11 extra wmbattery_2.43.tar.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBU4TweckQ2SIlEuPHAQIp/BAAtoQ7FSYMt1hcdeWAAQQtXqu0o9NsbMG5
i1fbEMIDdQfisTuO4E3AhGZwmDeChUGShNR0s0BTaAKdeV1V+6cR9zLmAeRM/25x
2VDXcaTZZurjCjE4i6MsgYdABVW64/dFw4VS7snKf/8TpgNqCl1qOBtDV/G6MSsp
3cBu5pissP7ug6PJbDJjlsXhk7nTdoeVSGsEVOR6900JpeiisCYzta2zwEtExc9s
dwAz8zi+kXQndcmGj8mpcEIHzI5bqYXSOMRpo9ofBo115VqpgPuINp+2j2Me0DE9
e3QV5oQsoREs++IAevxtsw71LkkWG1wccnzJHzev/jDU/rQ6yl+lmBknI2gIa4Ib
fBMLAjsP09lrsIPzLnqtWqPpU7hStRb2+hqoZjty966BK2Fn5aJpogJN3agEzOFK
iw7S3HCOLwHAcIdqfr1Q04zz9kCbuQBgf4RZfDYX855Oj6V+y8WT9uF1oTjPHUUm
pnkhbNn71KPIPWNtUcRkzKq85WYAK2O/MW8lg1I77wgjfYQfGMOLZ9IFA2Ekon/K
gpDXSlwLco76cuq4gowbtO/SQ8RKYzkmDoVl6MsaGrGdfEGXwsDHDIwXtuw1tiFN
Hmwv20Rz6EygB8HZAuofoGjCjz3jTlvK/O9LpswbgFIAaU9CL/xtAVRHqQwzKSZ3
h1JhOjauFMc=
=Nkl2
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to