aboutsummaryrefslogtreecommitdiffstats
path: root/python/update-binding.sh
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2009-10-20 19:59:15 +0800
committerJonny Lamb <jonnylamb@gnome.org>2009-10-20 20:10:28 +0800
commit6496713f0997ab90e7ee686819640b22b4911aea (patch)
treec18874181bb0cf1a8abaafa0a946273df5b684b1 /python/update-binding.sh
parent90469882929d06151352d3d8e8b0e6a1f5229905 (diff)
downloadgsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar.gz
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar.bz2
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar.lz
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar.xz
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar.zst
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.zip
Remove python bindings. (Closes bug #599039)
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'python/update-binding.sh')
-rwxr-xr-xpython/update-binding.sh114
1 files changed, 0 insertions, 114 deletions
diff --git a/python/update-binding.sh b/python/update-binding.sh
deleted file mode 100755
index 34b28200a..000000000
--- a/python/update-binding.sh
+++ /dev/null
@@ -1,114 +0,0 @@
-#! /bin/sh
-#Manually update headers in pyempathy.override and pyempathygtk.override.
-
-# Update the list of headers from Makefile.am
-cd ../libempathy
-python /usr/share/pygobject/2.0/codegen/h2def.py \
- -m empathy \
- empathy-account-settings.h \
- empathy-account.h \
- empathy-account-manager.h \
- empathy-chatroom.h \
- empathy-chatroom-manager.h \
- empathy-call-factory.h \
- empathy-call-handler.h \
- empathy-connectivity.h \
- empathy-contact.h \
- empathy-contact-groups.h \
- empathy-contact-list.h \
- empathy-contact-manager.h \
- empathy-contact-monitor.h \
- empathy-connection-managers.h \
- empathy-debug.h \
- empathy-debugger.h \
- empathy-dispatcher.h \
- empathy-dispatch-operation.h \
- empathy-ft-factory.h \
- empathy-ft-handler.h \
- empathy-idle.h \
- empathy-irc-network.h \
- empathy-irc-network-manager.h \
- empathy-irc-server.h \
- empathy-location.h \
- empathy-log-manager.h \
- empathy-log-store.h \
- empathy-log-store-empathy.h \
- empathy-message.h \
- empathy-status-presets.h \
- empathy-time.h \
- empathy-tp-call.h \
- empathy-tp-chat.h \
- empathy-tp-contact-factory.h \
- empathy-tp-contact-list.h \
- empathy-tp-file.h \
- empathy-tp-roomlist.h \
- empathy-tube-handler.h \
- empathy-types.h \
- empathy-utils.h \
- > ../python/pyempathy/pyempathy.defs
-
-# Update the list of headers from Makefile.am
-cd ../libempathy-gtk
-python /usr/share/pygobject/2.0/codegen/h2def.py \
- -m empathy \
- empathy-account-chooser.h \
- empathy-account-widget.h \
- empathy-account-widget-irc.h \
- empathy-account-widget-sip.h \
- empathy-avatar-chooser.h \
- empathy-avatar-image.h \
- empathy-cell-renderer-activatable.h \
- empathy-cell-renderer-expander.h \
- empathy-cell-renderer-text.h \
- empathy-chat.h \
- empathy-chat-text-view.h \
- empathy-chat-view.h \
- empathy-conf.h \
- empathy-contact-dialogs.h \
- empathy-contact-list-store.h \
- empathy-contact-list-view.h \
- empathy-contact-menu.h \
- empathy-share-my-desktop.h \
- empathy-contact-selector.h \
- empathy-contact-widget.h \
- empathy-geometry.h \
- empathy-audio-sink.h \
- empathy-audio-src.h \
- empathy-video-src.h \
- empathy-video-widget.h \
- empathy-images.h \
- empathy-irc-network-dialog.h \
- empathy-log-window.h \
- empathy-new-message-dialog.h \
- empathy-presence-chooser.h \
- empathy-protocol-chooser.h \
- empathy-smiley-manager.h \
- empathy-sound.h \
- empathy-spell.h \
- empathy-status-preset-dialog.h \
- empathy-theme-boxes.h \
- empathy-theme-irc.h \
- empathy-theme-manager.h \
- empathy-kludge-label.h \
- empathy-ui-utils.h \
- > ../python/pyempathygtk/pyempathygtk.defs
-
-# Keep original version
-cd ../python
-cp pyempathy/pyempathy.defs /tmp
-cp pyempathygtk/pyempathygtk.defs /tmp
-
-# Apply patches
-patch -p0 < pyempathy.patch
-patch -p0 < pyempathygtk.patch
-
-# Fix define of interfaces, they are not objects
-sed -e 's/define-object \(ChatView$\)/define-interface \1/' \
- -i pyempathygtk/pyempathygtk.defs
-sed -e 's/define-object \(ContactList$\)/define-interface \1/' \
- -i pyempathy/pyempathy.defs
-
-# Make modification then run that:
-#diff -up /tmp/pyempathy.defs pyempathy/pyempathy.defs > pyempathy.patch
-#diff -up /tmp/pyempathygtk.defs pyempathygtk/pyempathygtk.defs > pyempathygtk.patch
-