simon-git: putty (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sat Dec 18 11:52:41 GMT 2021
TL;DR:
0e630bc4 Fix pre-GTK3 build failures in puttyapp / ptermapp.
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2021-12-18 11:52:41
commit 0e630bc4f16bc6019cdb0135cd82c8832502d8ef
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=0e630bc4f16bc6019cdb0135cd82c8832502d8ef;hp=a759e303b03dee07467c042acc32a79728e1ec59
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Dec 18 11:43:57 2021 +0000
Fix pre-GTK3 build failures in puttyapp / ptermapp.
These alternate frontends using the GtkApplication class don't work
before GTK3, because the GtkApplication class didn't exist. In the old
mkfiles.pl system, the simplest way to prevent a build failure was to
just compile them anyway but make them reduce to a stub main(). But
now, with the new library-based code organisation, library search
order issues mean that these applications won't build at all.
Happily, with cmake, it's also easy to simply omit these binaries from
the build completely depending on our GTK version.
cmake/gtk.cmake | 3 +++
unix/CMakeLists.txt | 44 ++++++++++++++++++++++++--------------------
unix/main-gtk-application.c | 19 ++-----------------
3 files changed, 29 insertions(+), 37 deletions(-)
More information about the tartarus-commits
mailing list