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.
- 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.
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.
* Hack up support for gtkdoc-scangobj and use it in CMakeLists.txt.
* Trash gtkdoc-mktmpl, we won't need it.
* Always remove SGML/XML/HTML directories before filling them.
* Add Win32Depends.cmake, which retrieves all dependencies from
the Internet. Other ways of building the application on Win32
are not supported.
* Install the application correctly on Win32.
* Make FindGTK2.cmake search for GIO.
* Make the project a C-only project, so g++ is not needed.
* Remove obsolete checks for strtok().
* Set WIN32_EXECUTABLE on the application.
* Set the working directory for glib-genmarshal correctly.
* Use one more path suffix when searching for glibconfig.h.
* Don't assume that gdk_screen_get_resolution() returns
a useful value.
* Do not require gtk-doc to be installed.
* Use FindPackageHandleStandardArgs in FindGtkDoc.cmake.
* Fix installation (wrong source path).
* Don't install neither the documentation nor the desktop file on Windows.
FindGTK2.cmake required a change for successful program compilation.
It seems that gdk_pixbuf has been put as a separate library.
The new tools also generate a slightly different version
of marshallers, so I've added it to the tree.