Torrance, Douglas [Tue, 17 Jan 2023 11:25:59 +0000 (17 11:25 +0000)]
wmusic: Bump to version 2.1.0
Torrance, Douglas [Tue, 17 Jan 2023 11:25:59 +0000 (17 11:25 +0000)]
wmusic: Update copyright header
Torrance, Douglas [Tue, 17 Jan 2023 11:25:58 +0000 (17 11:25 +0000)]
wmusic: Switch player with eject button
Torrance, Douglas [Tue, 17 Jan 2023 11:25:58 +0000 (17 11:25 +0000)]
wmusic: Switch player when current player is disconnected.
Torrance, Douglas [Tue, 17 Jan 2023 11:25:58 +0000 (17 11:25 +0000)]
wmusic: Clear all errors when finished with them.
Torrance, Douglas [Tue, 17 Jan 2023 11:25:58 +0000 (17 11:25 +0000)]
wmusic: Fix major memory leak; don't always create new players
Calling g_main_context_iteration will update the existing player.
Closes: #42
Torrance, Douglas [Tue, 17 Jan 2023 11:25:57 +0000 (17 11:25 +0000)]
wmusic: Use playerctl_player_set_volume instead of "volume" property
Old behavior was deprecated.
Torrance, Douglas [Tue, 17 Jan 2023 11:25:57 +0000 (17 11:25 +0000)]
wmusic: Free memory used by length and position strings
Torrance, Douglas [Tue, 17 Jan 2023 11:25:57 +0000 (17 11:25 +0000)]
wmusic: Use "player-status" property instead of "status".
"status" was deprecated in version 2. Also simpler since this is an
enum and not a string. This fixes a memory leak since we weren't
freeing the string.
Torrance, Douglas [Tue, 17 Jan 2023 11:25:56 +0000 (17 11:25 +0000)]
wmusic: Don't cut off first character of player name.
Torrance, Douglas [Sun, 15 Jan 2023 03:38:49 +0000 (15 03:38 +0000)]
libdockapp: Free string to fix memory leak in DAWarning and DAError
Torrance, Douglas [Sun, 15 Jan 2023 03:38:49 +0000 (15 03:38 +0000)]
libdockapp: Free string to fix memory leak in DACreateIcon
Jeremy Sowden [Fri, 26 Aug 2022 08:03:59 +0000 (26 09:03 +0100)]
wmhdplop: update change-log and bump version
Jeremy Sowden [Fri, 26 Aug 2022 08:03:58 +0000 (26 09:03 +0100)]
wmhdplop: build: add quoting and maintainer e-mail address to `AC_INIT`
Jeremy Sowden [Fri, 26 Aug 2022 08:03:57 +0000 (26 09:03 +0100)]
wmhdplop: build: fix obsolete usage of `AC_OUTPUT`
These days `AC_OUTPUT` takes no arguments, and one uses `AC_CONFIG_FILES` to
indicate the files to be generated from their .in precursors.
Jeremy Sowden [Fri, 26 Aug 2022 08:03:56 +0000 (26 09:03 +0100)]
wmhdplop: build: remove `AC_HEADER_STDC`
It's obsolete.
Jeremy Sowden [Fri, 26 Aug 2022 08:03:55 +0000 (26 09:03 +0100)]
wmhdplop: build: replace `AM_CONFIG_HEADER`
It is obsolete and has been superseded by `AC_CONFIG_HEADERS`.
Jeremy Sowden [Fri, 26 Aug 2022 08:03:54 +0000 (26 09:03 +0100)]
wmhdplop: build: use pkg-config to configure imlib2
imlib2 has had pkg-config support for many years, and recent versions no longer
contain imlib2-config.
Jeremy Sowden [Fri, 26 Aug 2022 08:03:53 +0000 (26 09:03 +0100)]
wmhdplop: add .gitignore
Jeremy Sowden [Fri, 3 Jun 2022 19:25:59 +0000 (3 20:25 +0100)]
wmbattery: bump version to 2.56 and update change-log.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Jeremy Sowden [Fri, 3 Jun 2022 19:25:58 +0000 (3 20:25 +0100)]
wmbattery: add config.sub and config.guess to dist tar-ball
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Jeremy Sowden [Fri, 3 Jun 2022 19:25:57 +0000 (3 20:25 +0100)]
wmbattery: remove install-sh
Let autoreconf create it.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Jeremy Sowden [Fri, 3 Jun 2022 16:46:20 +0000 (3 17:46 +0100)]
wmbattery: bump version and update change-log
Jeremy Sowden [Fri, 3 Jun 2022 16:46:19 +0000 (3 17:46 +0100)]
wmbattery: update .gitignore
Jeremy Sowden [Fri, 3 Jun 2022 16:46:18 +0000 (3 17:46 +0100)]
wmbattery: avoid truncating ACPI info
Hitherto, the following code has been used to read from ACPI files:
end = read(fd, buf, sizeof(buf));
buf[end - 1] = '\0';
This can cause problems, if we read the whole file and there is no new-line:
$ cat /sys/module/acpi/parameters/acpica_version
20190816$
In this case, the '\0' will overwrite the last digit, leading to spurious
error reports:
ACPI subsystem
2019081 too is old, consider upgrading to
20011018.
Instead, read one fewer byte and write the '\0' at the next index:
end = read(fd, buf, sizeof(buf) - 1);
buf[end] = '\0';
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Jeremy Sowden [Fri, 3 Jun 2022 16:46:17 +0000 (3 17:46 +0100)]
wmbattery: avoid truncating ACPI file paths
Instead of writing the static `SYSFS_PATH` string to a buffer, and
passing the buffer to `opendir`, remove the buffer and pass the static
string directly.
Instead of using a fixed size for the ACPI file path buffer, size it
based on the sizes of the arguments that snprintf will write to it.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Jeremy Sowden [Fri, 3 Jun 2022 16:46:16 +0000 (3 17:46 +0100)]
wmbattery: update configure.ac
Run configure.scan and update accordingly.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Jeremy Sowden [Fri, 3 Jun 2022 16:46:15 +0000 (3 17:46 +0100)]
wmbattery: quote autoconf macro arguments
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Jeremy Sowden [Fri, 3 Jun 2022 16:46:14 +0000 (3 17:46 +0100)]
wmbattery: remove superfluous Makefile rules
The default '%.o : %c' rule suffices for simplehal.c and upower.c.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Jeremy Sowden [Fri, 3 Jun 2022 16:46:13 +0000 (3 17:46 +0100)]
wmbattery: pass `--install` to autoreconf
Torrance, Douglas [Thu, 14 Oct 2021 01:35:22 +0000 (14 01:35 +0000)]
wmix: Fix for inaccurate volume adjustments
This has been applied to the Debian package since version 3.1 in 2006.
Authored-By: Dan Pascu <dan@ag-projects.com>
Doug Torrance [Wed, 13 Oct 2021 01:43:34 +0000 (12 21:43 -0400)]
wmbiff: Convert AUTHORS from ISO-8859-1 to UTF-8.
Torrance, Douglas [Sun, 10 Oct 2021 15:22:41 +0000 (10 15:22 +0000)]
wmtv: Fix typo
Torrance, Douglas [Sun, 10 Oct 2021 10:47:54 +0000 (10 10:47 +0000)]
wmcliphist: fix FTCBFS by making pkg-config configurable.
Authored-By: Helmut Grohne <helmut@subdivi.de>
Bug: https://bugs.debian.org/941312
Torrance, Douglas [Sun, 10 Oct 2021 10:47:52 +0000 (10 10:47 +0000)]
wmcliphist: Fix -Wmaybe-uninitialized compiler warning.
In particular, the following warning:
wmcliphist.c: In function 'main':
wmcliphist.c:386:11: warning: 'icon_file' may be used uninitialized in this function
[-Wmaybe-uninitialized]
surface = cairo_image_surface_create_from_png(icon_file);
^
Torrance, Douglas [Sun, 10 Oct 2021 10:01:04 +0000 (10 10:01 +0000)]
wmhdplop: Fix "misleadingly indented" compiler warnings.
Torrance, Douglas [Sun, 10 Oct 2021 10:01:03 +0000 (10 10:01 +0000)]
wmhdplop: Fix typos.
Torrance, Douglas [Sat, 9 Oct 2021 13:46:54 +0000 (9 13:46 +0000)]
wmifinfo: Use CC as default value for LD Makefile variable
wmifinfo fails to cross build from source, because its Makefile uses
two variables (CC and LD) to supply the compiler, but dh_auto_build
only passes the former.
Authored-By: Helmut Grohne <helmut@subdivi.de>
Bug: https://bugs.debian.org/929758
poikilos [Sun, 26 Sep 2021 13:20:27 +0000 (26 09:20 -0400)]
Note necessary changes to the configure line in a new readme.md in the repo root. Add .gitignore files (safely: The repo's root .gitignore doesn't ignore files that are present rather than generated as of current versions of any apps). Resolves #36.
Co-authored-by: OldCoder <1663134+OldCoder@users.noreply.github.com>
poikilos [Sun, 26 Sep 2021 13:20:26 +0000 (26 09:20 -0400)]
Fix multiple definitions errors - resolves #34
Co-authored-by: OldCoder <1663134+OldCoder@users.noreply.github.com>
poikilos [Sun, 26 Sep 2021 13:20:25 +0000 (26 09:20 -0400)]
Add autoreconf input files and .gitignore. resolves #33
poikilos [Sun, 26 Sep 2021 13:20:24 +0000 (26 09:20 -0400)]
Rename the old Makefile.
Torrance, Douglas [Mon, 6 Sep 2021 13:35:00 +0000 (6 13:35 +0000)]
wmressel: Bump to version 0.10
Torrance, Douglas [Mon, 6 Sep 2021 13:35:00 +0000 (6 13:35 +0000)]
wmressel: Check return values from XF86VidMode* for submenus
If these functions fail to get the video mode information, then later
code may cause bad things to happen, e.g., "munmap_chunk(): invalid
pointer "when freeing vm_modelines.
Torrance, Douglas [Mon, 6 Sep 2021 13:35:00 +0000 (6 13:35 +0000)]
wmressel: Display error message if XF86VidModeGetModeLine fails
Otherwise, the program crashes with a floating point exception when we
try to divide by 0 in the call to BlitNum a few lines later.
Torrance, Douglas [Mon, 6 Sep 2021 13:34:59 +0000 (6 13:34 +0000)]
wmressel: Use correct type for dotclock from XF86VidModeModeInfo
Torrance, Douglas [Mon, 6 Sep 2021 02:06:37 +0000 (6 02:06 +0000)]
wmressel: Increase buffer size for string to avoid compiler warning.
Torrance, Douglas [Mon, 6 Sep 2021 02:06:37 +0000 (6 02:06 +0000)]
wmressel: Fix multiscreen support
Patch by Malcolm Parsons <malcolm@ivywell.screaming.net>. See
https://bugs.debian.org/158674. Has been applied to the Debian
package since 2002.
Torrance, Douglas [Mon, 6 Sep 2021 02:06:36 +0000 (6 02:06 +0000)]
wmressel: Switch manpage section from deprecated 1x to 1.
From Debian (https://sources.debian.org/src/wmressel/0.9-1/debian/patches/
manpage-section.patch/)
Doug Torrance [Mon, 6 Sep 2021 01:51:40 +0000 (5 21:51 -0400)]
wmressel: Convert README from ISO-8859-1 to UTF-8.
Torrance, Douglas [Thu, 2 Sep 2021 02:43:01 +0000 (2 02:43 +0000)]
wmlongrun: display frequencies >= 1 Ghz
This patch has been applied to the Debian wmlongrun package since
March 2005. From https://bugs.debian.org/277066:
> From: guillaume.ansanay-alex@esm2.imt-mrs.fr
> To: submit@bugs.debian.org
> Subject: wmlongrun can't display frequencies >= 1 Ghz
> Date: Mon, 18 Oct 2004 12:50:29 +0200
>
> I am using a Crusoe TM5800 (1 GHz) CPU. When it is running at 1 Ghz,
> wmlongrun displays 00 Mhz.
>
> I wrote a patch applying to files from wmlongrun_0.3.0-pre1.orig.tar.gz
> (it modifies only files in the src/ directory) fixing this bug.
> This patch is sent with this e-mail.
Torrance, Douglas [Wed, 1 Sep 2021 00:35:05 +0000 (1 00:35 +0000)]
wmtop: Fix typo in manpage.
Torrance, Douglas [Sat, 28 Aug 2021 22:26:24 +0000 (28 22:26 +0000)]
wmsun: Bump to version 1.06
Torrance, Douglas [Sat, 28 Aug 2021 22:26:23 +0000 (28 22:26 +0000)]
wmsun: Add 'dist' target to Makefile to generate tarball
Torrance, Douglas [Sat, 28 Aug 2021 22:26:23 +0000 (28 22:26 +0000)]
wmsun: Move version number definition to Makefile
Torrance, Douglas [Sat, 28 Aug 2021 22:26:15 +0000 (28 22:26 +0000)]
wmsun: Fix typo in manpage.
Jeremy Sowden [Wed, 3 Mar 2021 22:06:19 +0000 (3 22:06 +0000)]
wmmixer: 1.9
Jeremy Sowden [Wed, 3 Mar 2021 22:06:18 +0000 (3 22:06 +0000)]
wmmixer: dynamic exception specifications were removed in C++17.
Jeremy Sowden [Wed, 3 Mar 2021 22:06:17 +0000 (3 22:06 +0000)]
wmmixer: add autogen.
Torrance, Douglas [Sat, 15 Aug 2020 19:50:25 +0000 (15 19:50 +0000)]
wmxres: Bump to version 1.4.
Torrance, Douglas [Sat, 15 Aug 2020 19:50:24 +0000 (15 19:50 +0000)]
wmxres: Add manpage from Debian
https://sources.debian.org/src/wmxres/1.3-1/debian/wmxres.1/
Torrance, Douglas [Sat, 15 Aug 2020 19:50:24 +0000 (15 19:50 +0000)]
wmxres: Port to libdockapp instead of using its own version of wmgeneral
This also centers the dockapp in its icon window instead of being placed
in the upper left hand corner.
Torrance, Douglas [Sat, 15 Aug 2020 19:50:23 +0000 (15 19:50 +0000)]
wmxres: Use autotools for build
This will make the following patches unnecessary:
* https://sources.debian.org/src/wmxres/1.3-1/debian/patches/no-root.patch/
* https://bugs.debian.org/968433
Also move source files from wmxres directory to root directory; otherwise
this directory will conflict with the binary that's built.
Torrance, Douglas [Tue, 4 Aug 2020 22:42:19 +0000 (4 22:42 +0000)]
wmxres: Add "-v" command line option and bump to version 1.3
Torrance, Douglas [Tue, 4 Aug 2020 22:42:19 +0000 (4 22:42 +0000)]
wmxres: Increase buffer size to avoid format-overlow warnings.
Torrance, Douglas [Tue, 4 Aug 2020 22:42:18 +0000 (4 22:42 +0000)]
wmxres: Replace deprecated xf86dga.h with Xxf86dga.h
Sudip Mukherjee [Tue, 4 Aug 2020 22:42:18 +0000 (4 22:42 +0000)]
wmxres: diff for NMU version 1.2-10.2
Control: tags 957959 + patch
Control: tags 957959 + pending
Dear maintainer,
I've prepared an NMU for wmxres (versioned as 1.2-10.2) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should cancel it.
Added Doug Torrance in Cc as he intends to adopt this package.
--
Regards
Sudip
Torrance, Douglas [Tue, 4 Aug 2020 22:42:18 +0000 (4 22:42 +0000)]
Add wmxres 1.2 to the repository
Obtained from
http://deb.debian.org/debian/pool/main/w/wmxres/wmxres_1.2-10.1.tar.gz
with mercurial and debian files removed.
Note that the wmgeneral included with wmxres includes a RedrawWindowXYWH
function that isn't present in the libdockapp version of wmgeneral, so
we can't use it.
Sudip Mukherjee [Fri, 31 Jul 2020 12:13:33 +0000 (31 08:13 -0400)]
Description: Fix ftbfs with GCC-10
Bug-Debian: https://bugs.debian.org/957941
Forwarded: no
Jeremy Sowden [Wed, 3 Jun 2020 08:20:50 +0000 (3 09:20 +0100)]
wmbiff: parse IMAP configuration on FreeBSD
The upper limit of a bounded repetition is given by RE_DUP_MAX, which is
255 on FreeBSD (and OpenBSD), but 32,767 on Linux, so this should
suffice:
Doug Torrance [Wed, 3 Jun 2020 01:27:31 +0000 (2 21:27 -0400)]
wmbiff: parse IMAP configuration on FreeBSD
From https://github.com/window-maker/dockapps/issues/29, raised
by mpastor:
Hi,
wmbiff compiled from source is not working on FreeBSD when using IMAP4, POP3 is working:
$ wmbiff
error in compiling regular expression: invalid repetition count(s)
error in compiling regular expression: invalid repetition count(s)
wmbiff/ imap4: Couldn't parse line imaps:mymail@domain.tld:MyPaSsWd@imap.domain.tld plaintext (0)
If this used to work, run wmbiff with the -relax option, and
send mail to wmaker-dev@googlegroups.com with the hostname
of your mail server.
wmbiff: creator for mailbox 0 returned failure
$ wmbiff -relax
error in compiling regular expression: invalid repetition count(s)
error in compiling regular expression: invalid repetition count(s)
wmbiff/ imap4: Couldn't parse line imaps:mymail@domain.tld:MyPaSsWd@imap.domain.tld plaintext (0)
If this used to work, run wmbiff with the -relax option, and
send mail to wmaker-dev@googlegroups.com with the hostname
of your mail server.
wmbiff: creator for mailbox 0 returned failure
$ wmbiff -debug
wmbiff: config_file = /home/me/.wmbiffrc.
wmbiff: @interval.-1=300@
wmbiff: @label..0=mail@
wmbiff: @path..0=imaps:mymail@domain.tld:MyPaSsWd@imap.domain.tld plaintext@
wmbiff: @action..0=claws-mail@
error in compiling regular expression: invalid repetition count(s)
error in compiling regular expression: invalid repetition count(s)
wmbiff/ imap4: Couldn't parse line imaps:mymail@domain.tld:MyPaSsWd@imap.domain.tld plaintext (0)
If this used to work, run wmbiff with the -relax option, and
send mail to wmaker-dev@googlegroups.com with the hostname
of your mail server.
wmbiff: creator for mailbox 0 returned failure
wmbiff: looking for /usr/local/share/wmbiff/skins/wmbiff-master-led.xpm
wmbiff: found /usr/local/share/wmbiff/skins/wmbiff-master-led.xpm
wmbiff: running 1 mailboxes w 64 h 20
So I have changed Imap4Client.c according to Pop3Client.c and now it's ok:
Jeremy Sowden [Mon, 25 May 2020 12:34:26 +0000 (25 13:34 +0100)]
wmcore: bump to 0.0.4.
Jeremy Sowden [Mon, 25 May 2020 12:34:25 +0000 (25 13:34 +0100)]
wmcore: remove reference to deleted code.
Jeremy Sowden [Mon, 25 May 2020 12:34:24 +0000 (25 13:34 +0100)]
wmcore: add Debian man-page.
Jeremy Sowden [Mon, 25 May 2020 12:34:23 +0000 (25 13:34 +0100)]
wmcore: switch to autotools.
Jeremy Sowden [Mon, 18 May 2020 13:27:00 +0000 (18 14:27 +0100)]
wmcore: bump to 0.0.3.
Jeremy Sowden [Mon, 18 May 2020 13:26:59 +0000 (18 14:26 +0100)]
wmcore: update .gitignore.
Jeremy Sowden [Mon, 18 May 2020 13:26:58 +0000 (18 14:26 +0100)]
wmcore: add change-log.
Jeremy Sowden [Sun, 17 May 2020 11:39:38 +0000 (17 12:39 +0100)]
wmcore: install bin directory.
Jeremy Sowden [Sun, 17 May 2020 11:39:37 +0000 (17 12:39 +0100)]
wmcore: update contacts.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Jeremy Sowden [Sun, 17 May 2020 11:39:36 +0000 (17 12:39 +0100)]
wmcore: use misc.* and list.* from libdockapp.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Jeremy Sowden [Sun, 17 May 2020 11:39:35 +0000 (17 12:39 +0100)]
wmcore: use pkg-config in Makefile.
Jeremy Sowden [Sun, 17 May 2020 11:39:34 +0000 (17 12:39 +0100)]
wmcore: Add .gitignore.
Jeremy Sowden [Sun, 17 May 2020 11:39:33 +0000 (17 12:39 +0100)]
wmcore: tidy up Makefile.
Jeremy Sowden [Sun, 17 May 2020 11:39:32 +0000 (17 12:39 +0100)]
wmcore: use CC variable.
wmcore fails to cross build from source, because the Makefile hard codes
the build architecture compiler.
Author: Helmut Grohne <helmut@subdivi.de>
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Jeremy Sowden [Sun, 17 May 2020 11:39:31 +0000 (17 12:39 +0100)]
wmcore: use wmgeneral functions in libdockapp instead of the private copy.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Jeremy Sowden [Sun, 17 May 2020 11:39:30 +0000 (17 12:39 +0100)]
wmcore: use CPPFLAGS and LDFLAGS.
Author: Doug Torrance <dtorrance@piedmont.edu>
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Jeremy Sowden [Sun, 17 May 2020 11:39:29 +0000 (17 12:39 +0100)]
wmcore: set DESTDIR so binary installs correctly.
Author: Doug Torrance <dtorrance@piedmont.edu>
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Jeremy Sowden [Sun, 17 May 2020 11:39:28 +0000 (17 12:39 +0100)]
wmcore: remove inline keywords.
Previously, if we attempted to build using C99 or later, we got "inline
function declared but never defined" warnings and eventual "undefined
reference" errors. As a result, it fails to build from source using gcc5.
However, if we move the definitions to list.h and add "extern inline"
declarations to list.c, which does compile using C99 and later, then it no
longer compiles using gnu90, the default for gcc4.
To avoid this mess, we remove the inline keywords altogether.
Author: Doug Torrance <dtorrance@piedmont.edu>
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Doug Torrance [Sun, 17 May 2020 11:39:27 +0000 (17 12:39 +0100)]
wmcore: imported Upstream version 0.0.2
Jeremy Sowden [Sun, 17 May 2020 10:53:48 +0000 (17 11:53 +0100)]
wmcube: remove root chown from Makefile.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Jeremy Sowden [Sun, 17 May 2020 10:53:47 +0000 (17 11:53 +0100)]
wmcube: use wmgeneral functions in libdockapp instead of the private copy.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Doug Torrance [Sun, 17 May 2020 10:53:46 +0000 (17 11:53 +0100)]
wmcube: imported Upstream version 1.0.2
Doug Torrance [Sun, 17 May 2020 10:53:45 +0000 (17 11:53 +0100)]
wmcube: imported Upstream version 1.0.1
Doug Torrance [Sun, 17 May 2020 10:53:44 +0000 (17 11:53 +0100)]
wmcube: bump to version 1.0.0.
Obtained from http://linux-bsd-unix.strefa.pl/wmcube-1.0.0.tar.gz.
Doug Torrance [Sun, 17 May 2020 10:53:43 +0000 (17 11:53 +0100)]
wmcube: imported Upstream version 0.99-pre1
Doug Torrance [Sun, 17 May 2020 10:53:42 +0000 (17 11:53 +0100)]
wmcube: imported Upstream version 0.98
Jeremy Sowden [Sun, 3 May 2020 12:14:56 +0000 (3 13:14 +0100)]
libdockapp: bump version to 0.7.3.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Jeremy Sowden [Sun, 3 May 2020 12:14:55 +0000 (3 13:14 +0100)]
libdockapp: bump library version to 3.0.1.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Jeremy Sowden [Sun, 3 May 2020 12:14:54 +0000 (3 13:14 +0100)]
libdockapp: fix multiple definitions of global variable.
The `display` variable is declared in wmgeneral.h with no explicit
linkage. This may result in there being definitions of it in the
library and the object-files of applications which link against it,
which causes link failures when building these applications with GCC 10,
since this uses -fno-common by default.
Add `extern` to the header declaration and a separate declaration with
no linkage in wmgeneral.c where it is initialized.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>