[MacPorts] #62696: gtk3 @3.24.23_0+x11.: fatal error: 'gio/gdesktopappinfo.h' file not found as glib2 no longer provides it on 10.6 i386
MacPorts
noreply at macports.org
Fri Aug 6 18:34:33 UTC 2021
#62696: gtk3 @3.24.23_0+x11.: fatal error: 'gio/gdesktopappinfo.h' file not found
as glib2 no longer provides it on 10.6 i386
-------------------------+-------------------------
Reporter: ryandesign | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: snowleopard
Port: gtk3 glib2 |
-------------------------+-------------------------
Comment (by kencu):
It seems to have something to do with the fact that Cocoa support is not
found on i386 10.6:
{{{
checking for Mac OS X Carbon support... no
checking for Mac OS X Cocoa support... no
}}}
and our patch for glib2 seems to need Cocoa enabled to add the
gdesktopappinfo.h header:
{{{
--- gio/Makefile.am.orig 2019-01-21 07:38:50.000000000 -0600
+++ gio/Makefile.am 2019-01-30 10:36:31.000000000 -0600
@@ -255,9 +255,13 @@
if OS_UNIX
platform_libadd += xdgmime/libxdgmime.la
platform_deps += xdgmime/libxdgmime.la
-if !OS_COCOA
+if OS_COCOA
+if APPINFO_IMPL_NATIVE
+appinfo_headers += gosxappinfo.h
+else
appinfo_headers += gdesktopappinfo.h
endif
+endif
}}}
So why this doesn't work now, or how it ever worked, is still an open
question.
--
Ticket URL: <https://trac.macports.org/ticket/62696#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list