[MacPorts] #16758: gtk2hs variant for compiling with the no_x11 variant of gtk2
#16758: gtk2hs variant for compiling with the no_x11 variant of gtk2 --------------------------------+------------------------------------------- Reporter: captsolo@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: --------------------------------+------------------------------------------- This is a feature request for a no_x11 variant of gtk2hs port. There have been reports on mailing lists that people have built gtk2hs from source with the Mac OS X native version of gtk2. This ver of GTK+ is also present in MacPorts as a no_x11 variant of gtk2, however gtk2hs fails to configure if you try to install it after this variant of GTK+. I'll post come comments below on what I tried. -- Ticket URL: <http://trac.macports.org/ticket/16758> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16758: gtk2hs variant for compiling with the no_x11 variant of gtk2 ---------------------------------+------------------------------------------ Reporter: captsolo@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: | ---------------------------------+------------------------------------------ Comment(by captsolo@gmail.com): The first problem is dependency on gtkglext port. It depends on pangox which does not get build in no_x11 variant. There were also reports that gtkglext depends on X11 OpenGL implementation and that it would not work with no_x11 variant w/o rewriting for Apple APIs. I got gtk2hs to compile by disabling some extensions: --disable-svg and --disable-opengl (patch attached). The patch is attached just as an example of what I did. You may want to test of the port works properly after these modifications. And, if it works, a no_x11 variant would need to be added to gtk2hs. -- Ticket URL: <http://trac.macports.org/ticket/16758#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16758: gtk2hs variant for compiling with the no_x11 variant of gtk2 ---------------------------------+------------------------------------------ Reporter: captsolo@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: | ---------------------------------+------------------------------------------ Comment(by captsolo@gmail.com): When trying to compile an application (Fenfire) to use the resulting gtk2hs port I get the following error message: {{{ Fenfire/GtkFixes.hs:38:0: Bad interface file: /opt/local/lib/gtk2hs/imports/gtk/Graphics/UI/Gtk.hi Something is amiss; requested module gtk-0.9.12.1:Graphics.UI.Gtk differs from name found in the interface file gtk-0.9.13:Graphics.UI.Gtk }}} Could someone help me fix this? I don't see where it gets an idea that gtk-0.9.12.1 is requested. -- Ticket URL: <http://trac.macports.org/ticket/16758#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16758: gtk2hs variant for compiling with the no_x11 variant of gtk2 ---------------------------------+------------------------------------------ Reporter: captsolo@gmail.com | Owner: gwright@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: gtk2hs | ---------------------------------+------------------------------------------ Changes (by macsforever2000@macports.org): * cc: gwright@macports.org (removed) * owner: macports-tickets@lists.macosforge.org => gwright@macports.org * port: => gtk2hs -- Ticket URL: <http://trac.macports.org/ticket/16758#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16758: gtk2hs variant for compiling with the no_x11 variant of gtk2 ---------------------------------+------------------------------------------ Reporter: captsolo@gmail.com | Owner: gwright@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: gtk2hs | ---------------------------------+------------------------------------------ Changes (by macsforever2000@macports.org): * milestone: Port Bugs => Port Enhancements -- Ticket URL: <http://trac.macports.org/ticket/16758#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16758: gtk2hs variant for compiling with the no_x11 variant of gtk2 ---------------------------------+------------------------------------------ Reporter: captsolo@gmail.com | Owner: gwright@macports.org Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: gtk2hs | ---------------------------------+------------------------------------------ Changes (by gwright@macports.org): * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/16758#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16758: gtk2hs variant for compiling with the no_x11 variant of gtk2 ---------------------------------+------------------------------------------ Reporter: captsolo@… | Owner: gwright@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: gtk2hs | ---------------------------------+------------------------------------------ Changes (by blb@…): * status: assigned => closed * resolution: => fixed Comment: gwright took care of this in r48907 and r49371. -- Ticket URL: <http://trac.macports.org/ticket/16758#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts