Commit Graph

13 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 9003f36ba2
Tidy up GSettings 2022-07-25 13:31:32 +02:00
Přemysl Eric Janouch da0a5c43dc
Add the user guide to the Help menu
The old GLib put up a good fight, it says "URIs not supported"
even for the file:// scheme.
2021-10-25 02:50:14 +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 4fc23df6bd Cleanup 2015-01-21 20:25:59 +01:00
Přemysl Eric Janouch b2223d6595 Integrate GSettings, remember View settings.
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.
2011-06-12 10:05:16 +02:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 169a28cc23 Define github as the homepage for logdiag. 2011-02-07 18:03:15 +01:00
Přemysl Eric Janouch 2744d84896 Introduce LdDiagramConnection. 2011-02-02 17:22:34 +01:00
Přemysl Eric Janouch f5079833eb Set up the project for NSIS.
Make lines in the LICENSE file shorter, so they don't wrap there.
2011-01-22 20:18:46 +01:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 9c5ade156a Make config.h.in fit between other source files. 2011-01-10 17:09:40 +01:00
Přemysl Eric Janouch 82cfa12920 A little bit of cleanup. 2010-09-14 07:19:00 +02:00
Přemysl Eric Janouch b230b69539 Initial commit 2010-09-13 19:24:53 +02:00