This is much cleaner. I'm unsure of the original motivations,
perhaps I just wanted to have all source files next to each other.
There is no functional issue with the build directory, though.
The win32-depends target only makes sense /before/ running CMake.
Let the builder do it by hand rather than invoking it automatically,
which would be another sensible solution.
Before version 3.12, we still need to set CPACK_PACKAGE_VERSION
manually, and the subversions are actually wrongly defaulting to 0.1.1
(but we don't particularly care).
FindIntl has been there since CMake 3.2.
Sadly, the line width depends on the widget's DPI, which seems to
even cause uneven lines on Windows, where virtual printers claim
high DPI. It might also be an unrelated problem.
Similarly, selected objects are exported highlighted.
Other than that, it works quite well.
Add a manifest to make the print dialog look nice with the older
GTK+ bundle we depend upon.
The RC file could theoretically be scanned for /\s+"([^"]+)"\s*$/,
unescaped, and the results configure_file()-stamped.
It turns out the RC detection snippet is no longer necessary
after the recent CMake version bump.
The "name" argument in the UI file is redundant, implied by "action".
It is very difficult to set up Python or Ruby on Windows XP.
Simple HTML works better, everywhere, it covers all our needs,
and it isn't any harder to write.
This documentation is now installed.
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.