[MacPorts] #66119: gnucash @4.11_1: gnc-main-window.c:80:10: fatal error: 'gtkmacintegration/gtkosxapplication.h' file not found

MacPorts noreply at macports.org
Mon May 26 05:14:49 UTC 2025


#66119: gnucash @4.11_1: gnc-main-window.c:80:10: fatal error:
'gtkmacintegration/gtkosxapplication.h' file not found
----------------------+----------------------
  Reporter:  JDLH     |      Owner:  drkp
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.8.0
Resolution:           |   Keywords:
      Port:  gnucash  |
----------------------+----------------------

Comment (by JDLH):

 After a lot of looking at the code, I decided it would be easiest to patch
 the `#include <gtkmacintegration/gtkosxapplication.h>` to remove the
 `gtkmacintegration/` prefix from the three affected source files. After a
 bit of confusion about how include directives propagated from CMake files
 to the compile commands, I figured out that `gnucash/gnome/CMakeLists.txt`
 needed an extra entry in its `target_include_directories()` statement to
 get the gtkmacintegration include path to the third source file.

 The result is [https://github.com/macports/macports-ports/pull/28546 PR
 28546] ([changeset:967364b7febec3d636dace061e88f71d5c03f82d commit
 967364b]). It is awaiting evaluation.

-- 
Ticket URL: <https://trac.macports.org/ticket/66119#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list