#33054: gtk3 @3.0.12 +introspection build failure --------------------------------+------------------------------------------- Reporter: msm@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: gtk3 gobject-introspection --------------------------------+------------------------------------------- Comment(by Deil.Christoph@…): Replying to [comment:6 msm@…]:
Replying to [comment:4 Deil.Christoph@…]:
I am new to GTK and would like to use it from python. This tutorial ( http://python-gtk-3-tutorial.readthedocs.org/en/latest/introduction.html ) uses {{{ from gi.repository import Gtk }}}
Is this python GTK3 package available via Macports?
Which port / variant to I have to install to get it?
To get Gtk-3.0 working with Python you will need to build this port(Gtk3) with introspection enabled. I was able to get introspection enabled by applying the patches posted here and then building those ports. You will also need to install the gobject-introspection port and pygobject.
Feel free to email me if you want to chat more about setting up Gtk3 with Python.
Thanks for your help! I currently have this installed and active: {{{ atk @2.2.0_0 (active) gdk-pixbuf2 @2.26.1_0 (active) gobject-introspection @1.30.0_0 (active) pango @1.30.0_0+x11 (active) py27-gobject @2.26.0_2 (active) }}} Can you please post the commands I have to execute * to apply your patches and then how to * force a rebuild of these ports with the introspection variant? I can see that the atk, gdk-pixbuf2 and pango maintainers are CC'ed on this ticket. Would it be possible to apply these patches or do you have suggestions for further tests? Christoph -- Ticket URL: <https://trac.macports.org/ticket/33054#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS