[MacPorts] #48445: hexchat +quartz: find gtk-mac-integration-gtk2 for native menus

MacPorts noreply at macports.org
Sun Jul 26 15:28:31 PDT 2015


#48445: hexchat +quartz: find gtk-mac-integration-gtk2 for native menus
--------------------------+----------------------
  Reporter:  elelay@…     |      Owner:  raimue@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  quartz
      Port:  hexchat      |
--------------------------+----------------------

Comment (by macports@…):

 Works, although it does result in an odd extra Apple menu with nothing in
 it:

 [[Image(https://metaspasm.org/images/misc/hexchat_doubleapple.png)]]

 I tried compiling against gtk-osx-application-gtk3 and it compiled but
 then crashed on launch with


 {{{
 objc[54903]: Class GdkQuartzView is implemented in both
 /opt/local/lib/libgdk-3.0.dylib and /opt/local/lib/libgdk-
 quartz-2.0.0.dylib. One of the two will be used. Which one is undefined.
 objc[54903]: Class GtkQuartzStatusIcon is implemented in both
 /opt/local/lib/libgtk-3.0.dylib and /opt/local/lib/libgtk-
 quartz-2.0.0.dylib. One of the two will be used. Which one is undefined.
 objc[54903]: Class GtkClipboardOwner is implemented in both
 /opt/local/lib/libgtk-3.0.dylib and /opt/local/lib/libgtk-
 quartz-2.0.0.dylib. One of the two will be used. Which one is undefined.
 objc[54903]: Class GtkDragSourceOwner is implemented in both
 /opt/local/lib/libgtk-3.0.dylib and /opt/local/lib/libgtk-
 quartz-2.0.0.dylib. One of the two will be used. Which one is undefined.
 objc[54903]: Class ResultReceiver is implemented in both
 /opt/local/lib/libgtk-3.0.dylib and /opt/local/lib/libgtk-
 quartz-2.0.0.dylib. One of the two will be used. Which one is undefined.

 (hexchat:54903): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x
 and GTK+ 3 in the same process is not supported
 }}}

 Those libs are provided by gtk2 and gtk3; is there a way to explicitly
 build against the latter?

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


More information about the macports-tickets mailing list