[MacPorts] #60926: gtk2 +quartz -x11: error: implicit declaration of function 'gdk_quartz_pasteboard_type_to_atom_libgtk_only' is invalid in C99

MacPorts noreply at macports.org
Sat Aug 1 08:16:06 UTC 2020


#60926: gtk2 +quartz -x11: error: implicit declaration of function
'gdk_quartz_pasteboard_type_to_atom_libgtk_only' is invalid in C99
---------------------------+--------------------
  Reporter:  chicagotripp  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.3
Resolution:                |   Keywords:
      Port:  gtk2          |
---------------------------+--------------------

Comment (by cooljeanius):

 Replying to [comment:8 kencu]:
 > For one thing, please don't compile with {{{+quartz -x11}}} as that may
 well cause some things to break.
 >
 > Just use {{{+quartz}}}. Somethings want to build with both {{{+quartz
 +x11}}} so let them do so.

 If it is actually possible to install gtk2 with both {{{+quartz}}} and
 {{{+x11}}} then why do they show as conflicting when I do {{{port variants
 gtk2}}}?

 {{{
 $ port variants gtk2
 gtk2 has the variants:
    bundle: Support including into a bundle
      * requires quartz
    quartz: Enable native macOS graphics support
      * conflicts with x11
    universal: Build for multiple architectures
 [+]x11: Enable X11 support
      * conflicts with quartz
 }}}

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


More information about the macports-tickets mailing list