[MacPorts] #62752: gtk4 should be packaged
MacPorts
noreply at macports.org
Tue Aug 23 04:10:17 UTC 2022
#62752: gtk4 should be packaged
-----------------------+----------------------
Reporter: pmetzger | Owner: mascguy
Type: request | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gtk4 |
-----------------------+----------------------
Comment (by kencu):
gtk4 is building and working down to 10.12 (quartz only, as that is what
upstream currently supports).
On 10.11 the AppKit hack worked, and the gtk4-demo seems to work OK.
On 10.10 and less, the AppKit hack is not working. Building instead
against the MacOS10.13.sdk does work, 10.10 at least, but there is a
segfault when running the application, likely to be some unhandled
fallback code -- in pasteboard. So that avenue doesn't work out, but may
be fixable.
There are a couple of errors in the AppKit hack I need to push the fixes
for.
Then I think we might have taken this as far as it can go for the near
term. We have achieved parity with upstream and other package managers,
and gtk4 will work as planned and expected for MacOS systems 10.11 through
current, when building as +quartz.
To fix quartz on < 10.11, or to fix x11, is going to take some further
work. I would say, though, that the vast majority of users who want gtk4
from MacPorts will be on >= 10.11 and will want the quartz variant, so
that covers off the major use case.
I think we can shortly default back to x11 (as per macports defaults),
mark the x11 build as broken (which is will be for now at least), and
install a message to redirect folks to the quartz build.
For the quartz build, we change to require glib2 +quartz, we set the fail
level at < 10.11, and we are done until something happens to fix x11 or
quartz on older systems someday.
Finally we revbump to clean everything up, and come back at some future
date.
--
Ticket URL: <https://trac.macports.org/ticket/62752#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list