Commit graph

712 commits

Author SHA1 Message Date
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
Rodolfo García Peñas (kix) 1d92de9867 wmtime uses libdockapp
The dockapp wmtime uses the new version of libdockapp and do not use
libwmgeneral.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-15 09:52:19 +01:00
Rodolfo García Peñas (kix) f35a87796f wmmon uses libdockapp
The dockapp wmmon uses the new version of libdockapp and do not use
libwmgeneral.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-15 09:52:19 +01:00
Rodolfo García Peñas (kix) faae8b4f2f Include libwmgeneral in libdockapp
This patch includes the libwmgeneral library in the libdockapp
library.

The new library is now version 3 (previous was version 2) and it
includes the new include folder in $libdir/libdockapp.

The wmgeneral files were moved from the previous folder (libwmgeneral)
and the folder is now removed.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-15 09:52:19 +01:00
Rodolfo García Peñas (kix) 58f189b9ef wmtime uses wmgeneral
This patch show how to include the wmgeneral in a previous dockapps.

The change is easy, remove the wmgeneral folder an include the
-lwmgeneral in the libraries linking.
2015-08-13 19:35:17 +01:00
Rodolfo García Peñas (kix) 9b5756d5bd New library wmgeneral
This patch includes the library wmgeneral. The wmgeneral library
is used in a lot of dockapps:

$ find . -name wmgeneral
./wmkeys/wmgeneral
./wmtime/wmgeneral
./wmtz/wmgeneral
./wmsm.app/wmgeneral
./wmcpufreq/wmgeneral
./wmtv/src/wmgeneral
./wmSMPmon/wmgeneral
./wmckgmail/wmgeneral
./wmifs/wmgeneral
./wmbiff/wmgeneral
./wmfsm/wmgeneral
./wmsun/wmgeneral
./wmmon/wmgeneral
./wmitime/wmgeneral
./wmppp.app/wmgeneral

So, any change in the wmgeneral needs change a lot of dockapps.

I used the wmmon dockapp to move the wmgeneral and then I adjust the
wmmon to use the library. The library must be installed in the system
to build wmmon (wmmon uses the .h files) and is needed to run wmmon
(wmmon uses the libwmgeneral.so shared library).

I did not include any Changelog/README/... file to announce the change
in the libwmgeneral folder.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-13 19:33:19 +01:00
Doug Torrance 78109f686c Add wmforecast, wmstickynotes, and wmweather+ information for webpage.
These are the first non-hosted dockapps to appear.  (Note that wmstickynotes
and wmweather+ were previously removed.)
2015-06-15 23:13:09 +01:00