Commit graph

918 commits

Author SHA1 Message Date
Johannes Holmberg 7678102e3b Better handling of configuration defaults for the new settings 2015-09-17 03:23:07 +01:00
Johannes Holmberg f28188a36b Improve monitor selection code
- Default to monitor 0 instead of failing if a crazy number is given
- Allow monitor to be specified by osdmonitor in the config file
2015-09-17 03:23:07 +01:00
Johannes Holmberg 3934bbe02f Add a command line option for choosing a monitor for osd display 2015-09-17 03:23:07 +01:00
Johannes Holmberg 5c08e40e12 Draw osd only on the primary monitor if randr extensions are available 2015-09-17 03:23:07 +01:00
Johannes Holmberg a0af850b29 Improve the osd update code
- More logical relationship between volume level and bar length
- No unnecessary drawing
- Volume bar shrinks properly even when volume is lowered very quickly
2015-09-17 03:23:07 +01:00
Johannes Holmberg 96ec41a88f Add native ALSA mixer support 2015-09-17 03:23:07 +01:00
Johannes Holmberg 5a441cd6de Fix a buffer overflow (how did this ever work?) 2015-09-17 03:23:07 +01:00
Doug Torrance 1f4e7e6178 wmbattery: Bump to version 2.50. 2015-08-30 21:24:10 +01:00
Doug Torrance 14526dd328 wmbattery: Free memory allocated by strdup.
This corrects a mistake in [1] noticed by Andrew Shadura [2].

[1] http://repo.or.cz/dockapps.git/commitdiff/29e5012
[2] https://github.com/d-torrance/wmbattery/commit/9f7be30#commitcomment-12965145
2015-08-30 21:24:10 +01:00
Doug Torrance 54b81ad2f6 wmsun: Bump to version 1.05. 2015-08-25 15:39:34 +01:00
Doug Torrance f7a4975e47 wmsun: Fix typos in manpage. 2015-08-25 15:39:34 +01:00
Doug Torrance 24649af391 wmsun: Expand README. 2015-08-25 15:39:34 +01:00
Doug Torrance b1af2eae67 wmppp.app: Bump to version 1.3.2. 2015-08-25 15:38:30 +01:00
Doug Torrance 559f73d745 wmppp.app: Add note about libdockapp to INSTALL. 2015-08-25 15:38:30 +01:00
Doug Torrance ed6f2efc00 wmifs: Bump to version 1.6. 2015-08-25 15:38:01 +01:00
Doug Torrance bde2e76fa2 wmifs: Add note about libdockapp to INSTALL. 2015-08-25 15:38:01 +01:00
Doug Torrance 84b9867ef5 wmtime: Bump to version 1.4. 2015-08-24 07:19:12 +01:00
Doug Torrance 5d9d82f5c4 wmtime: Add note about libdockapp to INSTALL. 2015-08-24 07:19:12 +01:00
Doug Torrance 703ea7fd6d wmbattery: Bump to version 2.49. 2015-08-24 07:18:02 +01:00
Doug Torrance 60476ab087 wmbattery: Add config.h.in to make distclean.
Its absence created a problem for the Debian package.  During the build,
dh_auto_clean results in a call to autoheader, which creates config.h.in.  If
this isn't then removed, we get a dpkg-source error.

Obtained from [1].

[1] https://sources.debian.net/src/wmbattery/2.48-1/debian/patches/clean_config.h.in.patch/
2015-08-24 07:18:02 +01:00
Doug Torrance 8d86fe394f wmload: Bump to version 0.9.7. 2015-08-24 07:17:16 +01:00
Doug Torrance 77359686b0 wmload: Fix -Wunused-result compiler warning.
Obtained from the Debian package [1].

[1] https://sources.debian.net/src/wmload/0.9.6-1/debian/patches/fix_unused_result.patch/
2015-08-24 07:17:16 +01:00
Doug Torrance 67052deb3c wmload: Bump _POSIX_C_SOURCE to 200112L.
Otherwise, we get the following warning during build.
 wmload.c: In function ‘GetLoad’:
 wmload.c:523:10: warning: incompatible implicit declaration of built-in function ‘rint’
    *usr = rint(Maximum * (float)(*usr)   /total);
           ^
Obtained from the Debian package [1].

[1] https://sources.debian.net/src/wmload/0.9.6-1/debian/patches/bump_POSIX_C_SOURCE.patch/
2015-08-24 07:17:16 +01:00
Doug Torrance fc030713c4 wmcalc: Bump to version 0.6. 2015-08-23 08:35:36 +01:00
Doug Torrance a0d989abdf wmcalc: Move changelog from README to new ChangeLog file. 2015-08-23 08:35:36 +01:00
Doug Torrance 65d994a688 wmcalc: Fix manpage spelling.
Avoid Lintian warning in the Debian package.  Obtained from [1].

[1] https://sources.debian.net/src/wmcalc/0.5-1/debian/patches/fix_manpage_spelling.patch/
2015-08-23 08:35:36 +01:00
Doug Torrance cdc66d640f wmcalc: Fix typo in Makefile.
Correctly create the directory /usr/share/man/man1 instead of
/usr/share/man/man1/man1.

Obtained from the Debian package [1].

[1] https://sources.debian.net/src/wmcalc/0.5-1/debian/patches/fix_makefile_typo.patch/
2015-08-23 08:35:36 +01:00
Doug Torrance 66ea05ae67 wmcalc: Increase significant digits.
Patch by Antony Gelberg <antony@wayforth.co.uk> to fix Debian bug #320597 [1].
Obtained from the Debian package [2].

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=320597
[2] https://sources.debian.net/src/wmcalc/0.5-1/debian/patches/10_bts-320597_increase_significant_digits.patch/
2015-08-23 08:35:36 +01:00
Doug Torrance f6689b791e wmfsm: Bump to version 0.36. 2015-08-21 08:24:26 +01:00
Doug Torrance 2be3432290 wmfsm: Handle errors related to the HOME environment variable.
In particular, if HOME is undefined, then a segmentation fault will occur.
Also, if HOME is at least 245 characters, then a buffer overflow will occur.
We check for these conditions and exit with an error message instead.

Patch obtained from Debian package [1].

[1] https://sources.debian.net/src/wmfsm/0.35-1/debian/patches/handle_HOME_errors.patch/
2015-08-21 08:24:26 +01:00
Doug Torrance 6fb80be9e0 wmfsm: Lengthen the buffer for mount options to decrease the likelihood of a stack buffer overflow. 2015-08-21 08:24:26 +01:00
Doug Torrance fcee42b130 wmfsm: Move wmfsm_master.xpm from make clean to make distclean; otherwise make && make clean && make fails. 2015-08-21 08:24:26 +01:00
Doug Torrance 6defe46c0d wmfsm: Add note about libdockapp to README. 2015-08-21 08:24:26 +01:00
Doug Torrance eb6581aef1 wmitime: Bump to version 0.5. 2015-08-21 08:23:15 +01:00
Doug Torrance 984f1b7e1b wmitime: Add note about libdockapp to README. 2015-08-21 08:23:15 +01:00
Rodolfo García Peñas (kix) 6957f3efdc wmbiff: FTBFS with initialize_gnutls
The first argument for the function initialize_gnutls is an intptr_t
so wmbiff fails to build from source. This patch changes the current
int to intptr_t.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-16 11:40:20 +01:00
Rodolfo García Peñas (kix) 91fc6b9f12 wmitime uses libdockapp
wmitime uses now the new library libdockapp that includes the old
wmgeneral library.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-16 09:41:07 +01:00
Rodolfo García Peñas (kix) 5855afaf43 wmppp.app uses libdockapp
wmppp.app uses now the new library libdockapp that includes the old
wmgeneral library.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-16 09:41:07 +01:00
Rodolfo García Peñas (kix) 65a02b285b wmfsm uses libdockapp
wmfsm uses now the new library libdockapp that includes the old
wmgeneral library.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-16 09:41:07 +01:00
Rodolfo García Peñas (kix) 0af57fbbce wmsun uses libdockapp
wmsun uses now the new library libdockapp that includes the old
wmgeneral library.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-16 09:41:07 +01:00
Rodolfo García Peñas (kix) 5a3e03c192 wmifs uses libdockapp
wmifs uses now the new library libdockapp that includes the old
wmgeneral library.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-16 09:41:07 +01:00
Rodolfo García Peñas (kix) efd9fa24df wmckgmail uses libdockapp
wmckgmail uses now the new library libdockapp that includes the old
wmgeneral library.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-16 09:41:07 +01:00
Rodolfo García Peñas (kix) 9ebf8529e1 wmSMPmon uses libdockapp
wmSMPmon uses now the new library libdockapp that includes the old
wmgeneral library.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-16 09:41:07 +01:00
Rodolfo García Peñas (kix) 3d161ac5a2 wmtv uses libdockapp
wmtv uses now the new library libdockapp that includes the old
wmgeneral library.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-16 09:41:07 +01:00
Rodolfo García Peñas (kix) f30211d5b0 wmcpufreq uses libdockapp
wmcpufreq uses now the new library libdockapp that includes the old
wmgeneral library.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-16 09:41:07 +01:00
Rodolfo García Peñas (kix) aaca491556 wmsm uses libdockapp
wmsm uses now the new library libdockapp that includes the old
wmgeneral library.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-16 09:41:07 +01:00
Rodolfo García Peñas (kix) dc6672388f wmtz uses libdockapp
wmtz uses now the new library libdockapp that includes the old
wmgeneral library.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-16 09:41:07 +01:00
Rodolfo García Peñas (kix) 45a1f786ff wmtz FTBFS
This patch solves the FTBFS problems with wmtz:
- Default switch without code.
- Broken line.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-16 09:41:07 +01:00
Rodolfo García Peñas (kix) 204f7e50de wmkeys uses libdockapp
wmkeys uses now the new library libdockapp that includes the old
wmgeneral library.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-16 09:41:07 +01:00
Rodolfo García Peñas (kix) 4fad0812e8 wmkeys compilation bugs
This patch solves a bug and a warning:

- The dockapp wmkeys uses the getline function, that is the same
  function provided by stdio.h. This patch changes the function
  name to getline_wmkeys.
- The main function returns void, and should return integer. This
  patch includes the return 0 at the function end and it changes
  the function prototype.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-16 09:41:07 +01:00