Menu

#42 GIR installation changed

2.0
open
tumagonx
GIR (1)
2016-05-03
2016-05-02
cinchent
No

[I must always start each post here with an expression of appreciation for this project. It's indispensable for anyone using PyGI. Thank you.]

I'm chasing a problem with my PyGI app not starting up when it is "frozen" using PyInstaller. I can get simpler frozen PyGI apps to start fine, but mine chokes on an import of Pango, saying it can't find the typelib for PangoFT2 version 1.0. Never mind that the appropriate version of that typelib file is in fact present in the same place as all the other Gnome typelibs, and all those other imports (Gtk, Gdk, etc.) work fine. I am using the pygtkcompat layer, which may be affecting things. Any hints on this problem would be useful, BTW.

Anyway, in the course of investigating this, I had a need to use the 'g-ir-generate' executable, which was handily packaged (along with g-ir-compile and g-ir-scanner) in the 3.18.2_rev3 installer. However, when I upgraded to rev7 to see if things improved, it seems that the only tools present when I check the GIR checkbox is 'g-ir-compile'. Where'd the others go?

Discussion

  • cinchent

    cinchent - 2016-05-03

    Mmmm, it's unfortunate that you eliminated 'g-ir-generate' from the GIR selection. It was a great way to get a precompiled version of that executable. Unfortunately, I'm doing much of this work in a corporate ecosystem where having multiple versions of the Visual Studio toolchain is problematic, so generating the executable from sources with the down-rev VS version compatible with the libraries is a problem.

    I would think that if someone explicitly selected 'GIR' from the installer list, that they would have a specific need for all the GIR tools, not just one of them.

    I'll continue discussion on the PyInstaller issue on a different ticket.

    Thanks for the quick response.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.