Commit Graph

125 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 266c4c7c9f
CMakeLists.txt: fix RPM license field 2023-06-28 01:57:50 +02:00
Přemysl Eric Janouch a4532ea322
Add some enlightening comments 2023-06-14 12:29:12 +02:00
Přemysl Eric Janouch 9003f36ba2
Tidy up GSettings 2022-07-25 13:31:32 +02:00
Přemysl Eric Janouch 9dc1d20d6c
Bump version, update NEWS 2021-11-03 07:18:35 +01:00
Přemysl Eric Janouch 66a3b3e259
CMakeLists.txt: fix macOS build
GTK+ doesn't seem to be working much on macOS/brew/M1, though.
2021-11-02 16:29:30 +01:00
Přemysl Eric Janouch deceafb4f4
CMakeFiles.txt: remove a confused comment
The process is not executed from a Makefile, the concern is void.
2021-11-01 13:04:26 +01:00
Přemysl Eric Janouch 3465557a5b
Use GResources for the UI file and the LICENSE
- The About dialog now displays the licence.
 - The main UI file is now integrated into the binary.

The project needed some of its ugly CMake code back.
2021-11-01 12:20:16 +01:00
Přemysl Eric Janouch 082f1aa41c
CMakeLists.txt: shuffle things around 2021-11-01 11:57:01 +01:00
Přemysl Eric Janouch 8950a533b4
Don't generate marshallers in the source tree
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.
2021-11-01 10:14:19 +01:00
Přemysl Eric Janouch 1d118d5406
CMakeLists.txt: remove pointless targets
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.
2021-11-01 07:52:41 +01:00
Přemysl Eric Janouch d5ea2e2b4d
Move GSettings schema checking to tests 2021-11-01 07:40:32 +01:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch dd48af42eb
Stop stuttering in CMake scripts 2021-10-29 04:56:56 +02:00
Přemysl Eric Janouch 0c5c680f62
Get rid of broken vera++, integrate clang-tidy 2021-10-29 00:22:43 +02:00
Přemysl Eric Janouch a4a0dd2106
Clean up
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".
2021-10-28 05:18:03 +02:00
Přemysl Eric Janouch b45670f9e9
CMakeLists.txt: simplify NSIS configuration
Functionality has been verified to remain as it was
on a native Windows XP build using NSIS 3.08.
2021-10-27 21:47:49 +02:00
Přemysl Eric Janouch 073a4cd4a7
CMakeLists.txt: don't look for gtk-doc by default
The integration is broken and it spams with a warning message
when building on Windows directly.
2021-10-26 20:12:26 +02:00
Přemysl Eric Janouch f7807cada2
Make the about dialog link work in Windows XP
For some weird reason, GTK+ is trying to connect to URLs first,
which typically won't succeed these days.
2021-10-26 07:37:50 +02:00
Přemysl Eric Janouch baf2dc8ccd
Fix help on Windows with newer GIO
It needs its launch helper, luckily it's a tiny binary.
2021-10-25 23:12:14 +02:00
Přemysl Eric Janouch ada833a009
Abandon AsciiDoc in favor of plain HTML
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.
2021-10-25 00:04:28 +02:00
Přemysl Eric Janouch 924617e1ce
Silence some GLib deprecation warnings
Using the GLib version from the GTK+ 3.8.2 bundle.
2021-10-24 16:45:53 +02:00
Přemysl Eric Janouch 67acddb26d
Disable the broken gtk-doc rule by default
Unlikely to be used by anyone, especially since it cannot produce
anything useful anymore.
2021-10-24 16:43:55 +02:00
Přemysl Eric Janouch bc1dd64fdf
Partially unbreak the hopeless gtk-doc
GNOME Idiots Inc. keep breaking everything,
sometimes in coöperation with KitWare KludgeMakers Ltd.
2021-10-24 15:31:03 +02:00
Přemysl Eric Janouch 3a087ad581
Remove unnecessary DLLs from Windows builds
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.
2021-10-23 18:01:30 +02:00
Přemysl Eric Janouch 4305c603e9
CMakeLists.txt: clean-up
Use the newer 3.0 string quoting to save some ugly escaping.
2021-10-23 16:35:36 +02:00
Přemysl Eric Janouch cbe23b7bb6
Bump version, update NEWS 2021-10-22 22:34:39 +02:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 98f16c2c76
Further minor improvements to cross-compilation 2021-10-22 01:40:29 +02:00
Přemysl Eric Janouch 8ac267c8db
Figure out how to abuse MSYS2 repositories
In the end, all seems to work fairly well on Windows 10.
2021-10-21 19:38:37 +02:00
Přemysl Eric Janouch b4db65d246
CMakeLists.txt: bump minimum version to 2.8.12
To silence a deprecation warning.

We should still be fine with this version.
2021-06-19 15:29:01 +02:00
Přemysl Eric Janouch af14119165
Name change
Also some copyright years fix-ups/updates.
2020-09-28 04:49:03 +02:00
Přemysl Eric Janouch cc47064379
CMakeLists.txt: use HTTPS in project URL 2018-06-27 05:18:22 +02:00
Přemysl Eric Janouch 41d68e6636
Bump version, update NEWS 2018-06-27 05:18:22 +02:00
Přemysl Eric Janouch 46821d2e49
Remember to install icons on Windows 2018-06-25 03:05:52 +02:00
Přemysl Eric Janouch 9aa9512190
Find a better solution to the Lua situation
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.
2018-06-25 02:34:47 +02:00
Přemysl Eric Janouch 193b724709
Workaround a CMake/pkg-config regression 2018-06-25 02:34:35 +02:00
Přemysl Eric Janouch b5af31b048
Fix Lua cross-build, bump the Win32 version
Something has changed and it could no longer find the include files.
2018-06-25 02:34:35 +02:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch b353fc133e
Update README 2018-06-24 04:24:23 +02:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 2a4572294b Openly accept Lua 5.3, cleanup 2016-03-20 15:39:57 +01:00
Přemysl Eric Janouch 64f5a7abbc Change license to ISC 2016-03-15 22:19:14 +01:00
Přemysl Eric Janouch b552b3cae9 Use pkg-config for json-glib-1.0 2016-03-15 22:19:14 +01:00
Přemysl Eric Janouch 4e0e09a62b Fix RPM dependencies 2015-02-09 20:28:03 +01:00
Přemysl Eric Janouch c117a6ddaa Make sure to link the tests with libm
Fixes Debian/GCC build.
2015-02-08 16:30:07 +01:00
Přemysl Eric Janouch 61f7536e22 Fix to work on Windows XP 2015-01-28 00:16:41 +01:00
Přemysl Eric Janouch 260a15fdda CMakeLists.txt: use better variables 2015-01-21 20:30:11 +01:00
Přemysl Eric Janouch 4fc23df6bd Cleanup 2015-01-21 20:25:59 +01:00
Přemysl Eric Janouch 4d0721bf68 Update dependencies in CPack info 2015-01-20 23:23:03 +01:00
Přemysl Eric Janouch 5bb6a05e1c Make MinGW-w64 cross-compilation work again
It has come to using pkg-config. :O
2015-01-20 23:22:11 +01:00