]> git.0d.be Git - empathy.git/blob - python/README
12725438199e6c6c07fe4cb69e83b2c91709063b
[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 3)
21 Manually update headers in pyempathy.override and pyempathygtk.override.