]> git.0d.be Git - empathy.git/blob - python/README
29bb89d02050fd9b583fc658479b735d016907ec
[empathy.git] / python / README
1 To update python binding:
2 1)
3   $ make distclean
4   $ python /usr/share/pygtk/2.0/codegen/h2def.py libempathy/*.h > python/pyempathy/pyempathy.defs
5   $ python /usr/share/pygtk/2.0/codegen/h2def.py libempathy-gtk/*.h > python/pyempathygtk/pyempathygtk.defs
6
7 2)
8 Manually modify pyempathy.defs, ContactList is not an object but an interface:
9 (define-interface ContactList
10   (in-module "Empathy")
11   (c-name "EmpathyContactList")
12   (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
13 )
14
15 ContactManager, TpChatroom and TpContactList implements ContactList interface:
16   (implements "EmpathyContactList")
17
18 That can be done by applying pyempathy.patch
19
20 remove all ephy stuff
21
22 3)
23 Manually update headers in pyempathy.override and pyempathygtk.override.