[MacPorts] #48445: hexchat +quartz: find gtk-mac-integration-gtk2 for native menus
#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: Keywords: quartz | Port: hexchat -------------------------+---------------------- The pkgconfig has been renamed from gtk-mac-integration to gtk-mac- integration-gtk2 in the gtk-osx-application port, resulting in a package not found. Here is a patch to find it again, and to add the dependency on the port. See [https://lists.macosforge.org/pipermail/macports- users/2015-July/038944.html This thread in the ML] -- Ticket URL: <https://trac.macports.org/ticket/48445> MacPorts <https://www.macports.org/> Ports system for OS X
#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
#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 elelay@…): Replying to [comment:1 macports@…]:
Works, although it does result in an odd extra Apple menu with nothing in it:
Yes, I've seen it. Not the prettyies thing but does no harm. It is mentioned in [http://sourceforge.net/p/gtk- osx/mailman/message/27534470/ an old version of gtk-osx-application].
I tried compiling against gtk-osx-application-gtk3 and it compiled but then crashed on launch with
(snip)
Those libs are provided by gtk2 and gtk3; is there a way to explicitly build against the latter?
Hexchat is a gtk2 application. You can't mix in a gtk3 library. Only will gtk-osx-application-gtk2 work. -- Ticket URL: <https://trac.macports.org/ticket/48445#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#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 raimue@…): Committed a fix in r139000. I prepared a patch file as it is usually more robust. I also added an explicit call to autoconf to re-generate the configure script after applying the patch. -- Ticket URL: <https://trac.macports.org/ticket/48445#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48445: hexchat +quartz: find gtk-mac-integration-gtk2 for native menus --------------------------+---------------------- Reporter: elelay@… | Owner: raimue@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: quartz Port: hexchat | --------------------------+---------------------- Changes (by raimue@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/48445#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#48445: hexchat +quartz: find gtk-mac-integration-gtk2 for native menus --------------------------+---------------------- Reporter: elelay@… | Owner: raimue@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: quartz Port: hexchat | --------------------------+---------------------- Comment (by elelay@…): Cool, Thanks -- Ticket URL: <https://trac.macports.org/ticket/48445#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts