Commit Graph

20 Commits

Author SHA1 Message Date
0cec1b4bad
CMakeLists.txt: slightly modernize
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.
2021-10-31 04:18:44 +01:00
47fb9653b8
Bump the CMake version requirement, fix Windows
- 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.
2021-10-22 20:08:51 +02:00
af14119165
Name change
Also some copyright years fix-ups/updates.
2020-09-28 04:49:03 +02:00
c09acf120c
Make gtk-doc work again
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.
2018-06-24 23:27:26 +02:00
0c0b9640f8
Relicense to 0BSD, update mail address
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.
2018-06-24 04:22:37 +02:00
b552b3cae9 Use pkg-config for json-glib-1.0 2016-03-15 22:19:14 +01:00
adead30747 Fix Debian build 2015-01-20 07:40:46 +01:00
36ffb0f8cf Bump CMake to 2.8 for no obvious reason
And fix FindGtkDoc.cmake with CMake 3.
2015-01-18 22:47:00 +01:00
64a97f54bf Remove our version of FindGTK2.cmake
It doesn't seem to be necessary.
2015-01-18 21:55:45 +01:00
94f27cb38c Integrate cppcheck. 2012-04-17 10:28:46 +02:00
9a217e97c8 Change the way translations are done.
* Require gettext-tools to build.
* Depend on libintl on Win32.
2011-02-12 18:40:16 +01:00
b7875c361f Update the symbol library, add trivial text API. 2011-02-12 18:26:15 +01:00
18b732653e Update FindGtkDoc.cmake.
* 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.
2011-01-23 15:17:11 +01:00
2f5f87119d Integrate support for MinGW Win32 builds.
* 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.
2011-01-22 18:07:08 +01:00
9d505f0a87 Update the copy of FindGTK2.cmake. 2010-12-24 05:41:52 +01:00
9dc1822040 Fix problems discovered while testing on Windows.
* 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.
2010-12-20 05:20:21 +01:00
b44b3e6a54 Documentation maintenance.
* 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.
2010-12-18 17:47:37 +01:00
3d3a71d5d2 Prepare the project for json-glib.
This required writing a special CMake find module.
2010-12-05 15:30:21 +01:00
25668c2073 Updated to new GTK+.
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.
2010-10-17 13:36:03 +02:00
b230b69539 Initial commit 2010-09-13 19:24:53 +02:00