aboutsummaryrefslogtreecommitdiffstats
path: root/python/update-binding.sh
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-03-16 20:48:27 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-03-16 20:48:27 +0800
commitba255f08be65af4008555b93cf4f9f07c49b7286 (patch)
tree09628c29f0382dfa567b9f5c74f5e42b4a1556c2 /python/update-binding.sh
parent302b631948b98ba90a43d59437751a6e9906779f (diff)
downloadgsoc2013-empathy-ba255f08be65af4008555b93cf4f9f07c49b7286.tar
gsoc2013-empathy-ba255f08be65af4008555b93cf4f9f07c49b7286.tar.gz
gsoc2013-empathy-ba255f08be65af4008555b93cf4f9f07c49b7286.tar.bz2
gsoc2013-empathy-ba255f08be65af4008555b93cf4f9f07c49b7286.tar.lz
gsoc2013-empathy-ba255f08be65af4008555b93cf4f9f07c49b7286.tar.xz
gsoc2013-empathy-ba255f08be65af4008555b93cf4f9f07c49b7286.tar.zst
gsoc2013-empathy-ba255f08be65af4008555b93cf4f9f07c49b7286.zip
Update python binding and add a script to make it more automatic
svn path=/trunk/; revision=799
Diffstat (limited to 'python/update-binding.sh')
-rwxr-xr-xpython/update-binding.sh76
1 files changed, 76 insertions, 0 deletions
diff --git a/python/update-binding.sh b/python/update-binding.sh
new file mode 100755
index 000000000..629673f62
--- /dev/null
+++ b/python/update-binding.sh
@@ -0,0 +1,76 @@
+#! /bin/sh
+#Manually update headers in pyempathy.override and pyempathygtk.override.
+
+# Update the list of headers from Makefile.am
+cd ../libempathy
+python /usr/share/pygtk/2.0/codegen/h2def.py \
+ empathy-avatar.h \
+ empathy-time.h \
+ empathy-status-presets.h \
+ empathy-debug.h \
+ empathy-utils.h \
+ empathy-message.h \
+ empathy-chatroom-manager.h \
+ empathy-chatroom.h \
+ empathy-contact.h \
+ empathy-contact-groups.h \
+ empathy-contact-list.h \
+ empathy-contact-manager.h \
+ empathy-contact-factory.h \
+ empathy-tp-contact-factory.h \
+ empathy-tp-group.h \
+ empathy-tp-contact-list.h \
+ empathy-tp-chat.h \
+ empathy-tp-chatroom.h \
+ empathy-tp-roomlist.h \
+ empathy-tp-call.h \
+ empathy-chandler.h \
+ empathy-filter.h \
+ empathy-idle.h \
+ empathy-log-manager.h \
+ empathy-irc-network-manager.h \
+ empathy-irc-network.h \
+ empathy-irc-server.h \
+ > ../python/pyempathy/pyempathy.defs
+
+# Update the list of headers from Makefile.am
+cd ../libempathy-gtk
+python /usr/share/pygtk/2.0/codegen/h2def.py \
+ empathy-images.h \
+ empathy-account-chooser.h \
+ empathy-chat.h \
+ empathy-irc-network-dialog.h \
+ empathy-spell-dialog.h \
+ empathy-accounts-dialog.h \
+ empathy-chat-view.h \
+ empathy-log-window.h \
+ empathy-theme-boxes.h \
+ empathy-account-widget.h \
+ empathy-conf.h \
+ empathy-theme.h \
+ empathy-account-widget-irc.h \
+ empathy-contact-dialogs.h \
+ empathy-new-message-dialog.h \
+ empathy-theme-irc.h \
+ empathy-avatar-chooser.h \
+ empathy-contact-list-store.h \
+ empathy-presence-chooser.h \
+ empathy-theme-manager.h \
+ empathy-avatar-image.h \
+ empathy-contact-list-view.h \
+ empathy-private-chat.h \
+ empathy-ui-utils.h \
+ empathy-cell-renderer-activatable.h \
+ empathy-contact-widget.h \
+ empathy-profile-chooser.h \
+ empathy-cell-renderer-expander.h \
+ empathy-geometry.h \
+ empathy-smiley-manager.h \
+ empathy-cell-renderer-text.h \
+ empathy-group-chat.h \
+ empathy-spell.h \
+ > ../python/pyempathygtk/pyempathygtk.defs
+
+cd ../python
+patch -p0 < pyempathy.patch
+