[MacPorts] #32057: gnome-desktop: Can't build with gtk2+quartz

MacPorts noreply at macports.org
Sun Nov 16 21:54:32 PST 2014


#32057: gnome-desktop: Can't build with gtk2+quartz
----------------------------+----------------------
  Reporter:  rudloff@…      |      Owner:  devans@…
      Type:  enhancement    |     Status:  reopened
  Priority:  Low            |  Milestone:
 Component:  ports          |    Version:  2.0.3
Resolution:                 |   Keywords:
      Port:  gnome-desktop  |
----------------------------+----------------------

Comment (by devans@…):

 The resolution pretty much remains the same as the earlier posts.  gnome-
 desktop has hard dependencies on X11 functionality and requires gtk3 built
 with the +x11 variant (needs the x11 gdk backend) to build.  This means
 that it will not build with gtk3 +quartz as currently implemented.
 Somehow the dummy +quartz variant that was added 3 years ago to give an
 error about this iddur has gone away and only comments in the port remain
 to explain this situation.

 Theoretically, since about 3.10, gtk3 has had the capability of being
 built with multiple gdk backend targets but this requires packages like
 gnome-desktop to test for the backends available and then implement
 backend specific code for each case or just not use gdk specific code at
 all.  In practice, only a few GNOME packages have taken advantage of this
 capability to date and gnome-desktop is not one of them. The inclusion of
 additional gdk backends such as broadway, wayland and mir may change that
 in the future.

 At any rate, the current MacPorts approach would be to use the
 active_variants port group to test for the gtk3 +x11 variant and error out
 with a more specific message if it isn't installed and active.

 I have committed this change in r128248 and attempting to build with gtk3
 +quartz active will now fail at configure time with the following message:
 {{{
 --->  Configuring gnome-desktop
 Error: org.macports.configure for port gnome-desktop returned: gtk3 must
 be installed with +x11.
 }}}

 I know this isn't much help but it is about all that can be done at this
 point without some changes upstream.

-- 
Ticket URL: <https://trac.macports.org/ticket/32057#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list