[MacPorts] #54981: py-gobject fails to build against glib2 +quartz

MacPorts noreply at macports.org
Tue Oct 3 22:21:00 UTC 2017


#54981: py-gobject fails to build against glib2 +quartz
--------------------------+-----------------
  Reporter:  michaellass  |      Owner:
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  py-gobject   |
--------------------------+-----------------

Comment (by michaellass):

 It seems like it is an explicit choice by upstream glib2 to only support
 one of them at a time. There's good information about this in
 ticket:53911#comment:2 and ticket:53911#comment:7.

 A crude workaround is to install glib2 -quartz +x11, then build py-
 gobject, then go back to glib2 +quartz -x11. The last step is optional but
 probably required before building packages like gtk3 which were changed to
 use `gio/gosxappinfo.h` when built with variant +quartz.

 I guess there are two options to properly fix this:
 - patch glib2 to support both x11 and quartz at the same time
 - patch all applications using the affected header files so they use the
 correct one depending on variant x11 or quartz.

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


More information about the macports-tickets mailing list