[MacPorts] #66476: gtk3 @3.24.34_2 build fail on Mojave gdkapplaunchcontext-x11.c:30:10: fatal error: 'gio/gdesktopappinfo.h' file not found when glib2 is installed for +quartz

MacPorts noreply at macports.org
Mon Dec 19 00:27:54 UTC 2022


#66476: gtk3 @3.24.34_2  build fail on Mojave gdkapplaunchcontext-x11.c:30:10:
fatal error: 'gio/gdesktopappinfo.h' file not found when glib2 is installed
for +quartz
-----------------------+----------------------
  Reporter:  chillin-  |      Owner:  mascguy
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.0
Resolution:            |   Keywords:  Mojave
      Port:  gtk3      |
-----------------------+----------------------

Comment (by chillin-):

 Replying to [comment:20 mascguy]:
 > The one item you now need to install with `+quartz`, is gtk3. But you
 can simplify the process, by specifying `+quartz` when installing NetSurf.
 (Even though the latter doesn't have a quartz variant, it will cascade to
 all deps... including gtk3.)
 >
 >
 > {{{
 > $ sudo port clean gtk3 netsurf
 > $ sudo port install netsurf +quartz
 > }}}
 >
 > Give that a try, and let us know how it goes!

 Replying to [comment:25 chillin-]:
 > Build succeeded on Mojave, but I'm getting the same problem at launch as
 on Mountain Lion

 Your suggestion worked, Chris, now have gtk3 @3.24.34_2+quartz and NetSurf
 @3.10_1 installed.

 The problems I'm having with NetSurf have nothing to do with gtk3 anymore,
 so we can probably call this one resolved. Thanks much. I'll keep banging
 away at

 {{{
 bash-3.2$ netsurf-gtk3
 Options failed to initialise (BadParameter)
 }}}

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


More information about the macports-tickets mailing list