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
593a6266ea
wmload: Bump to version 0.9.6.
2015-04-15 16:41:44 +01:00
Doug Torrance
7cc19cb1cc
wmload: Clarify copyright information.
...
Add copyright header to wmload.c and COPYING file, obtained from
https://www.gnu.org/licenses/gpl-2.0.txt .
2015-04-15 16:41:44 +01:00
Doug Torrance
39a4b7b58f
wmload: Bump to version 0.9.5.
...
Skipping 0.9.3 and 0.9.4 since they've essentially already been released as
asload.
2015-04-07 09:01:41 +01:00
Doug Torrance
4f64133cbe
wmload: Replace deprecated usleep with nanosleep.
2015-04-07 09:01:40 +01:00
Doug Torrance
8f06836b0f
wmload: Cast data from client message event to Atom for comparison.
...
Fixes -Wsign-compare compiler warning.
2015-04-07 08:54:08 +01:00
Doug Torrance
04a36b3ae4
wmload: Check if Execute string is empty by testing first character.
...
Fixes "the address of ‘Execute’ will always evaluate as ‘true’ [-Waddress]"
warning.
2015-04-07 08:54:07 +01:00
Doug Torrance
615412876a
wmload: Remove ">/dev/console" from default command to execute on click.
...
Otherwise, user may receive "permission denied" errors.
2015-04-07 08:54:07 +01:00
Doug Torrance
6ff9ad80f5
wmload: Include sys/wait.h.
...
Needed to fix "implicit declaration of function ‘waitpid’" warning
introduced after merging asload-0.9.4.
2015-04-07 08:54:07 +01:00
Doug Torrance
4aedbc5823
wmload: Remove trailing whitespace.
2015-04-07 08:54:07 +01:00
Doug Torrance
d5e87688a3
wmload: Incorporate changes from asload-0.9.4.
...
Obtained from [1].
[1] http://tigr.net/afterstep/download/asload/asload-0.9.4.tar.gz
2015-04-07 08:54:07 +01:00
Doug Torrance
eec170c034
wmload: Incorporate changes from asload-0.9.3.
...
Obtained from [1].
[1] http://tigr.net/afterstep/download/asload/asload-0.9.3.tar.gz
2015-04-07 08:54:07 +01:00
Doug Torrance
920a4b8c3b
wmload: Pass XCreateBitmapFromData a pointer to char as expected.
...
Previously, a pointer to an unsigned char was passed, causing a "pointer
targets differ in signedness [-Wpointer-sign]" warning.
2015-04-07 08:54:07 +01:00
Doug Torrance
6ee0dc71aa
wmload: Add more missing headers.
...
Fixes -Wimplicit-function-declaration warnings.
2015-04-07 08:54:07 +01:00
Doug Torrance
44bf7d58e4
wmload: Add missing format arguments to fprintf().
...
Fixes "format not a string literal and no format arguments
[-Wformat-security]" warnings.
2015-04-07 08:54:07 +01:00
Doug Torrance
b3196ffdb4
wmload: Add missing headers.
...
Fixes "incompatible implicit declaration of built-in function" warnings.
2015-04-07 08:54:07 +01:00
Doug Torrance
9694733979
wmload: Add version 0.9.2 to repository.
...
Obtained from [1].
[1] http://snapshot.debian.org/archive/debian-archive/20090802T004153Z/debian/pool/main/w/wmload/wmload_0.9.2.orig.tar.gz
2015-04-07 08:54:07 +01:00