[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 Nov 7 01:54:32 UTC 2022


#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):

 Clues about this bug, from a [https://lists.gnucash.org/pipermail/gnucash-
 devel/2022-November/046384.html post "Re: [GNC-dev) Various failures while
 building MacOS/Quartz from source"] to the GnuCash developers list by a
 knowledgeable developer John Ralls, on Sun, 6 Nov 2022 16:17:23 -0800:

 > gtkosxapplication is what puts the menus on the menu bar instead of on
 the window. If you want to build without it you need to hide
 $PREFIX/lib/pkgconfig/gtk-mac-integration-gtk3.pc.
 >
 > But that crash hasn't anything to do with gtkosxapplication. I think
 it's
 >
 > Try applying
 > https://gitlab.gnome.org/GNOME/gtk-osx/-/blob/master/patches/gtk-3.24.33
 -quartz-window-transient-for.patch
 > to your gtk3-24.34 build.
 >
 > The fix in gtk itself is
 https://gitlab.gnome.org/GNOME/gtk/-/commit/a2c54c739ed08eac6d360cd3a6ae140e1fab556d
 but that does a bunch of other stuff too. I committed it after Mattias
 released 3.23.34.

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


More information about the macports-tickets mailing list