Commit graph

1169 commits

Author SHA1 Message Date
snow 91cc0594d9 Add envsys support 2020-05-01 20:18:30 -07:00
Doug Torrance bd69f80f59 wmcdplay: Add spaces between macro and string literals for C++11
We may get compile errors (e.g., [1]) otherwise.

[1] https://clang.debian.net/logs/2020-02-24-9.0.1/
    wmcdplay_1.1-2_unstable_clang9.0.1.log
2020-04-29 16:10:05 +01:00
Jeremy Sowden 7ffe884be2 wmmoonclock: bumped to 1.30.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2020-04-23 12:16:34 +01:00
Jeremy Sowden 766200a19f wmmoonclock: fix typo.
Patch by Doug from the Debian package.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2020-04-23 12:03:50 +01:00
Jeremy Sowden 7d50d4fdea wmmoonclock: add autogen.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2020-04-23 12:03:50 +01:00
Jeremy Sowden 19f9137056 wmmoonclock: fix multiple definitions of some global variables.
A number of variables are declared in a header with no explicit linkage.
This results in there being definitions of them in multiple object
files, which causes a link failure with GCC 10, since this uses
-fno-common by default.

Add `extern` to the header declarations and separate declarations with
no linkage in xutils.c where they are assigned.

Link: https://bugs.debian.org/957950
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2020-04-23 12:03:50 +01:00
Jeremy Sowden f3c5aa1780 wmmoonclock: mark some file-scope variables static.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2020-04-23 12:03:50 +01:00
Jeremy Sowden 9fda6b107a wmix: bump to 3.5.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2020-04-18 19:46:37 +01:00
Jeremy Sowden 7e43b2a679 wmix: fix multiple definitions of global variables.
The mixer API variables are declared in a header with no explicit
linkage.  This results in there being definitions of them in multiple
object files, which causes a link failure with GCC 10, since this
uses -fno-common by default.

Add `extern` to the header declarations and separate declarations with
no linkage in mixer.c where they are assigned.

Link: https://bugs.debian.org/957947
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2020-04-18 19:46:37 +01:00
Doug Torrance 554ab5db1b wmtv: Bump to version 0.6.7 2020-04-18 07:48:56 +01:00
Doug Torrance 65cb801d3f wmtv: Switch deprecated XKeycodeToKeysym to XkbKeycodeToKeysym 2020-04-18 07:48:56 +01:00
Doug Torrance 8e5ffd22e1 wmtv: Use extern when declaring global variables in header file.
Avoids a FTBFS when compiling with -fno-common, which will be default in
GCC 10.
2020-04-18 07:48:56 +01:00
Jeremy Sowden fc7e459a70 wmbiff: bump to 0.4.36.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2020-04-17 18:35:10 +01:00
Doug Torrance ffe97ca698 wmifinfo: Bump to version 0.11 2020-04-17 17:57:38 +01:00
Doug Torrance 342325db8e wmifinfo: Use extern when declaring global variables in header file.
Avoids a FTBFS when compiling with -fno-common, which will be default in
GCC 10.
2020-04-17 17:57:38 +01:00
Jeremy Sowden a09edcda9e Fix multiple definitions of display variable.
The display variable is declared in a header with no explicit linkage.
This results in there being multiple definitions of it in wmbiff.o and
libwmgeneral.a and a failure during linking with gcc 10.

Add `extern` to the header declaration and a separate declaration with no
linkage in wmgeneral.c where it is assigned.

Link: https://bugs.debian.org/957937
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2020-04-17 17:56:31 +01:00
Tilmann Hentze 51132ae7ee wmtop: patch for process name extraction on Linux
I received the following patch from Tilmann Hentze <0xcafe@directbox.com>
in an email:

> Hello,
> there are processes, that have space characters in their names, for example
> Firefoxe's "Web Content" process.
> The current sscanf line for Linux would only considers the first part of
> the process name, e.g. "Web" and cut off the rest.
> Attached patch should consider the complete process name between parentheses.

> Further I did not touch the handling of removal of "kdeinit", since
> I am not using KDE and am not sure if the assumptions in the source code
> are still valid.

> Best Regards,
> Tilmann.

Signed-off-by: Doug Torrance <dtorrance@piedmont.edu>
2020-03-31 08:16:24 +01:00
Jeremy Sowden 53bc19104a wmbattery: bump version to 2.54. 2019-11-01 16:09:31 +00:00
Jeremy Sowden 25dacf9256 wmbattery: fix a couple of potential memory-leaks.
In `cmd_crit`, if there is an allocation failure, we return from the
function immediately and leak any previously allocated memory.  Go to
the clean-up code at the end of the function instead.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-11-01 16:09:31 +00:00
Jeremy Sowden be9c86487d wmbattery: add dist target.
Running `make dist` creates a gzipped tar-ball.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-29 19:59:29 +00:00
Jeremy Sowden 71596e2c91 wmbattery: AC_INIT changes.
Change package-name to "wmbattery" and add bug-report e-mail address.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-29 19:59:29 +00:00
Jeremy Sowden c7b24f59af wmbattery: sunos fixes.
Add includes needed to get the sonypi ioctl code to compile on Solaris.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-29 19:59:29 +00:00
Jeremy Sowden 321b337e8f wmbattery: make distclean fixes.
Remove Makefile instead of obsolete makeinfo.

Remove autom4te.cache.

Don't remove configure or config.h.in.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-29 19:59:29 +00:00
Jeremy Sowden 8b920811e7 wmbattery: bump version to 2.53.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-29 07:00:36 +00:00
Jeremy Sowden 2ac2f67351 wmbattery: use lower-case prefixes for PKG_CHECK_MODULES checks.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-29 07:00:36 +00:00
Jeremy Sowden d8d0a025e7 wmbattery: add --enable-hal and --enable-upower.
By default, upower is enabled and hal is disabled.

Fixes: 7434685dae ("wmbattery: use PKG_CHECK_MODULES, rather than calling pkg-config explicitly.")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-29 07:00:36 +00:00
Jeremy Sowden 6db6e92db3 wmbattery: bump version to 2.52.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-28 07:25:39 +00:00
Jeremy Sowden 5d49d2f071 wmbattery: add .gitignore.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-28 07:25:39 +00:00
Jeremy Sowden 37a58aa3eb wmbattery: use PKG_CHECK_MODULES for X libraries and headers.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-28 07:25:39 +00:00
Jeremy Sowden 7434685dae wmbattery: use PKG_CHECK_MODULES, rather than calling pkg-config explicitly.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-28 07:25:39 +00:00
Jeremy Sowden 08912c26f3 wmbattery: use CPPFLAGS for defining preprocessor macros.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-28 07:25:39 +00:00
Jeremy Sowden bf484198ea wmbattery: add $datarootdir to Makefile.in.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-28 07:25:39 +00:00
Jeremy Sowden 7c37451d58 wmbattery: move Makefile to Makefile.in, inline the contents of makeinfo.in and remove it.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-28 07:25:39 +00:00
Jeremy Sowden 90c467e3d2 wmbattery: remove rules generating autoconf artefacts.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-28 07:25:39 +00:00
Jeremy Sowden e8dd632d9b wmbattery: add autogen.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-28 07:25:39 +00:00
Jeremy Sowden f802c222bb wmbattery: move labels to the beginning of the line.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-28 07:25:39 +00:00
Jeremy Sowden 8cefc3925d wmbattery: fix format-specifier.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-28 07:25:39 +00:00
Jeremy Sowden 67e3ecd074 fookb: add autogen.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-05 15:29:33 +01:00
Jeremy Sowden 4766043a48 fookb: bumped to 4.1. 2019-10-03 23:18:15 +01:00
Jeremy Sowden d467d2c22e fookb: add default parameter values.
If there is no config-file in $HOME, use a default parameter value
instead of complaining and exiting.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-10-03 23:18:15 +01:00
Jeremy Sowden f6531a0130 wmix: fixed some typo's.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-07-27 15:05:06 +01:00
Jeremy Sowden 4bd558d111 wmix: bumped to 3.4.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-07-27 12:03:53 +01:00
Jeremy Sowden adf8b97d7b wmbiff: bumped to 0.4.35.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-07-23 22:40:50 +01:00
Jeremy Sowden 804f88f90b wmbiff: updated AUTHORS.
Added Doug Torrance and myself to the list.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-07-23 22:40:50 +01:00
Jeremy Sowden 0ad05f5d78 wmbiff: added support for TLS SNI.
From Debian bug #917993:

  From: Nye Liu <nyet@nyet.org>
  Subject: wmbiff: gmail (and many other IMAP servers) now require SNI
  Date: Tue, 01 Jan 2019 18:33:51 -0800

  wmbiff/gmail imap4: Need new connection to ***@gmail.com@imap.gmail.com
  wmbiff/gmail comm: certificate passed time check.
  wmbiff/gmail comm: server's certificate (OU=No SNI provided\; please fix your client.,CN=invalid2.invalid) does not match its hostname (imap.gmail.com).
  wmbiff/gmail comm: server's certificate does not match its hostname.
  wmbiff/gmail comm: to ignore this error, run wmbiff with the -skip-certificate-check option

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-07-23 15:38:49 +01:00
Jeremy Sowden 241ad5eae9 wmbiff: bumped to 0.4.34.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-07-22 23:08:13 +01:00
Michael Shriver 005d0a491d Updated GetKP script with current NOAA URLs +other bug fixes 2019-07-17 13:39:24 +01:00
Jeremy Sowden 2ec13c2f6f wmbiff: use one for-loop when creating backing XPM.
Fixes static analysis warning about uninitialized value.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-07-14 17:35:21 +01:00
Jeremy Sowden 70ceed6e38 wmbiff: fixed possible null-pointer dereference.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-07-14 17:35:21 +01:00
Jeremy Sowden de97a44cb4 wmbiff: fixed leaks.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2019-07-14 17:35:21 +01:00