As a followup action to my recent Talk about PyGI I now re-used my notes to provide some real wiki documentation.
It would be great if you could add package name info for Fedora/SUSE/etc., and perhaps add more example links for porting different kinds of software! Please also let me know if you have suggestions how to improve the structure of the page.
#1 by Will Woods on 2011/04/12 - 21:08
Zitieren
Awesome! Thanks for the docs!
As for the packaging stuff, in Fedora it’s:
Gtk-3.0.typelib: gtk3
GUdev-1.0.typelib: libgudev1
Notify-0.7.typelib: libnotify
In fact you can basically just figure it out by doing “rpm -qf /usr/lib/girepository-1.0/LIBNAME*”, e.g.:
[wwoods@kraid ~]$ rpm -qf /usr/lib/girepository-1.0/Atk*
atk-2.0.0-1.fc15.i686
Actually, we could probably find those requirements automatically at package build time. Hmmm…
#2 by mystilleef on 2011/04/13 - 05:30
Zitieren
Thanks! I’ve been reluctant to port to gtk3 because of the lack of documentation. Now if someone could write some documentation on how to use gdbus from python, I might be motivated to start porting.
#3 by pitti on 2011/04/13 - 09:57
Zitieren
http://www.piware.de/2011/01/na-zdravi-pygi/ has some initial documentation about GDBus (client-side). Server-side does not work very well yet, unfortunately.
#4 by pitti on 2011/04/13 - 10:07
Zitieren
Thanks Will, I updated the wiki page for the Fedora package names.