aboutsummaryrefslogtreecommitdiffstats
path: root/python/README
blob: 29bb89d02050fd9b583fc658479b735d016907ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
To update python binding:
1)
  $ make distclean
  $ python /usr/share/pygtk/2.0/codegen/h2def.py libempathy/*.h > python/pyempathy/pyempathy.defs
  $ python /usr/share/pygtk/2.0/codegen/h2def.py libempathy-gtk/*.h > python/pyempathygtk/pyempathygtk.defs

2)
Manually modify pyempathy.defs, ContactList is not an object but an interface:
(define-interface ContactList
  (in-module "Empathy")
  (c-name "EmpathyContactList")
  (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
)

ContactManager, TpChatroom and TpContactList implements ContactList interface:
  (implements "EmpathyContactList")

That can be done by applying pyempathy.patch

remove all ephy stuff

3)
Manually update headers in pyempathy.override and pyempathygtk.override.