Changes between Initial Version and Version 1 of Ticket #40179


Ignore:
Timestamp:
Aug 18, 2013, 11:41:32 PM (11 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Remember to use WikiFormatting when writing in Trac. I'm Cc'ing the maintainer of gtk3; maybe he knows the answer to your question.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40179

    • Property Keywords gi.repository removed
    • Property Cc cal@… added
  • Ticket #40179 – Description

    initial v1  
    11After failing to get gtk3 to work, as a hail mark pass, I completely uninstalled MacPorts per section 2.5 of the guide, then reinstalled MacPorts from the source tarball. After that, I only port installed two ports: python27 and gtk3 +x11. That worked without any reported problems. I then coded this simple program which ran okay, but note that it does not use the new gobject-introspection Way of doing things with gtk3:
    22
     3{{{
    34import gobject
    45from gobject import GObject
     
    1314inst.connect("notify", cb)
    1415inst.prop = 42
     16}}}
    1517
    1618Next, I coded the following program which does use the gobject-introspection Way. But it fails indicating an import error for the 'from gi.repository import GObject' statement. Why does installing the gtk3 port on my mac end up with python not being able to find gi.repository?
    1719
     20{{{
    1821from gi.repository import GObject
    1922
     
    3033inst.connect("notify", cb)
    3134inst.prop = 42
     35}}}