This saves 20 MiB and 4 MiB of libraries in MSYS2 and bundle
builds respectively, in total, without any adverse effects.
The MSYS2 build remains bloated, due to the Adwaita icon theme.
Bump minimum CMake version to avoid a bug.
- Add a missing runtime library for gettext-tools.
- Remove the no longer necessary customized FindGettext.cmake,
since the downloaded gettext binaries are new enough.
- Make the installer at least ask to uninstall previous versions.
- Adjust the PATH of tests so that they'll run on Windows directly.
- Fix quoting so that the project will build inside paths with spaces.
- Resolve a GSettings deprecation warning.
- Update the README's build instructions as appropriate.
- Require CMake 3.9 because of the README's suggestion to fix
FindPkgConfig.cmake manually using separate_arguments(UNIX_COMMAND).
Tested build configurations:
- native Arch Linux,
- native Windows XP with the newest NSIS,
- Arch Linux Mingw-w64 i686 Win32Depends.cmake NSIS cross-build + XP,
- Arch Linux Mingw-w64 x86_64 MSYS2 NSIS cross-build + Windows 10.
Detected issues:
- The file save dialog will not add the extension automatically,
seen with MSYS2.
It seems that I cannot win here. If I want XP to work, I need to keep
the old packages in place. This time the resulting program cannot
find _time32 in msvcrt.dll.
gtk-doc has gained an official CMake module which can fix xrefs.
Meanwhile, our old module has stopped working for whatever reason,
might be that I've botched the LdCategoryView interface somehow.
I've come to the conclusion that copyright mostly just stands in the way
of software development. In my jurisdiction I cannot give up my own
copyright and 0BSD seems to be the closest thing to public domain.
The updated mail address, also used in my author/committer lines,
is shorter and looks nicer. People rarely interact anyway.
The org.logdiag ID has been chosen as I haven't found any specific rules
and com.github.logdiag seems not to be future-proof. This domain remains
available so far, anyway.
The schemas are compiled only when installed directly to CMAKE_INSTALL_PREFIX
to the root filesystem. When invoking `make install` with DESTDIR, only
the XML files are copied over as the schemas would have to be recompiled
later anyway.