summaryrefslogtreecommitdiff
path: root/testing/telepathy-glib
diff options
context:
space:
mode:
Diffstat (limited to 'testing/telepathy-glib')
-rw-r--r--testing/telepathy-glib/PKGBUILD35
-rw-r--r--testing/telepathy-glib/fix_gnome-shell.patch123
2 files changed, 158 insertions, 0 deletions
diff --git a/testing/telepathy-glib/PKGBUILD b/testing/telepathy-glib/PKGBUILD
new file mode 100644
index 000000000..73f2c19af
--- /dev/null
+++ b/testing/telepathy-glib/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 139169 2011-09-30 19:17:32Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+# Contributor: Kessia 'even' Pinheiro <kessiapinheiro at gmail.com
+# Contributor: Bjorn Lindeijer <bjorn lindeijer nl>
+
+pkgname=telepathy-glib
+pkgver=0.15.6
+pkgrel=2
+pkgdesc="GLib bindings for the Telepathy D-Bus protocol"
+arch=('i686' 'x86_64')
+url="http://telepathy.freedesktop.org"
+groups=('telepathy')
+license=('LGPL2.1')
+options=('!libtool' '!emptydirs')
+depends=('dbus-glib')
+makedepends=('libxslt' 'vala' 'gobject-introspection')
+source=("http://telepathy.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ fix_gnome-shell.patch)
+md5sums=('37881cb8d2a33184cf5957db809b8278'
+ '015037782eeb8658a9fb093f49a2097f')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/fix_gnome-shell.patch"
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+ --libexecdir=/usr/lib/telepathy \
+ --enable-vala-bindings \
+ --enable-static=no
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR=${pkgdir} install
+}
diff --git a/testing/telepathy-glib/fix_gnome-shell.patch b/testing/telepathy-glib/fix_gnome-shell.patch
new file mode 100644
index 000000000..425a6ce48
--- /dev/null
+++ b/testing/telepathy-glib/fix_gnome-shell.patch
@@ -0,0 +1,123 @@
+commit 014135b89d23f15464d8a82f462ed0f9f98344e0
+Author: Jan Steffens <jan.steffens@gmail.com>
+Date: Fri Sep 30 21:09:25 2011 +0200
+
+ Revert "Sort alphabetically introspected files"
+
+ This reverts commit 48998822d5e9575af822c1936b35be514dc2401b.
+
+ Conflicts:
+
+ telepathy-glib/introspection.am
+
+diff --git a/telepathy-glib/introspection.am b/telepathy-glib/introspection.am
+index 2027c5f..0c867cc 100644
+--- a/telepathy-glib/introspection.am
++++ b/telepathy-glib/introspection.am
+@@ -8,63 +8,64 @@ introspection_extra_dist = \
+ if HAVE_INTROSPECTION
+
+ INTROSPECTION_FILES = \
++ $(srcdir)/proxy.c _gen/proxy-introspectable.h \
+ $(srcdir)/account.c $(srcdir)/account.h \
+ $(srcdir)/account-channel-request.c $(srcdir)/account-channel-request.h \
+ $(srcdir)/account-manager.c $(srcdir)/account-manager.h \
+- $(srcdir)/add-dispatch-operation-context.c $(srcdir)/add-dispatch-operation-context.h \
+ $(srcdir)/automatic-client-factory.c $(srcdir)/automatic-client-factory.h \
+ $(srcdir)/automatic-proxy-factory.c $(srcdir)/automatic-proxy-factory.h \
+- $(srcdir)/base-client.c $(srcdir)/base-client.h \
+- $(srcdir)/base-connection.c $(srcdir)/base-connection.h \
+ $(srcdir)/basic-proxy-factory.c $(srcdir)/basic-proxy-factory.h \
+- $(srcdir)/capabilities.c $(srcdir)/capabilities.h \
+- $(srcdir)/channel.c $(srcdir)/channel.h \
+- $(srcdir)/channel-contacts.c \
+- $(srcdir)/channel-dispatcher.c $(srcdir)/channel-dispatcher.h \
+- $(srcdir)/channel-dispatch-operation.c $(srcdir)/channel-dispatch-operation.h \
+- $(srcdir)/channel-group.c \
+- $(srcdir)/channel-request.c $(srcdir)/channel-request.h \
+ $(srcdir)/client-channel-factory.c $(srcdir)/client-channel-factory.h \
+- $(srcdir)/client-message.c $(srcdir)/client-message.h \
+ $(srcdir)/connection.c $(srcdir)/connection.h \
+- $(srcdir)/connection-avatars.c \
+ $(srcdir)/connection-contact-list.c $(srcdir)/connection-contact-list.h \
+ $(srcdir)/connection-handles.c $(srcdir)/connection-contact-info.c \
++ $(srcdir)/connection-avatars.c \
++ $(srcdir)/protocol.c $(srcdir)/protocol.h \
+ $(srcdir)/connection-manager.c $(srcdir)/connection-manager.h \
++ $(srcdir)/channel.c $(srcdir)/channel.h \
++ $(srcdir)/channel-contacts.c \
++ $(srcdir)/channel-group.c \
++ $(srcdir)/handle.c $(srcdir)/handle.h \
++ $(srcdir)/handle-channels-context.c $(srcdir)/handle-channels-context.h \
++ $(srcdir)/dbus-daemon.c $(srcdir)/dbus-daemon.h \
++ $(srcdir)/interfaces.c \
++ $(srcdir)/intset.c $(srcdir)/intset.h \
++ $(srcdir)/dbus.c $(srcdir)/dbus.h \
++ $(srcdir)/capabilities.c $(srcdir)/capabilities.h \
+ $(srcdir)/contact.c $(srcdir)/contact.h \
+ $(srcdir)/contact-operations.c $(srcdir)/contact-operations.h \
+ $(srcdir)/contact-search.c $(srcdir)/contact-search.h \
+ $(srcdir)/contact-search-result.c $(srcdir)/contact-search-result.h \
+- $(srcdir)/contacts-mixin.c $(srcdir)/contacts-mixin.h \
+- $(srcdir)/dbus.c $(srcdir)/dbus.h \
+- $(srcdir)/dbus-daemon.c $(srcdir)/dbus-daemon.h \
+- $(srcdir)/dbus-properties-mixin.c $(srcdir)/dbus-properties-mixin.h \
+- $(srcdir)/dbus-tube-channel.c $(srcdir)/dbus-tube-channel.h \
+- $(srcdir)/debug.c $(srcdir)/debug.h \
+ $(srcdir)/defs.h \
+- $(srcdir)/errors.c $(srcdir)/errors.h \
+- $(srcdir)/file-transfer-channel.c $(srcdir)/file-transfer-channel.h \
+- $(srcdir)/group-mixin.c $(srcdir)/group-mixin.h \
+- $(srcdir)/handle.c $(srcdir)/handle.h \
+- $(srcdir)/handle-channels-context.c $(srcdir)/handle-channels-context.h \
+- $(srcdir)/handle-repo.c $(srcdir)/handle-repo.h $(srcdir)/handle-set.c \
+- $(srcdir)/interfaces.c \
+- $(srcdir)/intset.c $(srcdir)/intset.h \
+- $(srcdir)/message.c $(srcdir)/message.h \
+- $(srcdir)/observe-channels-context.c $(srcdir)/observe-channels-context.h \
+- $(srcdir)/presence-mixin.c $(srcdir)/presence-mixin.h \
+- $(srcdir)/protocol.c $(srcdir)/protocol.h \
+- $(srcdir)/proxy.c _gen/proxy-introspectable.h \
+- $(srcdir)/signalled-message.c $(srcdir)/signalled-message.h \
++ $(srcdir)/debug.c $(srcdir)/debug.h \
++ $(srcdir)/base-client.c $(srcdir)/base-client.h \
+ $(srcdir)/simple-approver.c $(srcdir)/simple-approver.h \
+ $(srcdir)/simple-client-factory.c $(srcdir)/simple-client-factory.h \
+ $(srcdir)/simple-handler.c $(srcdir)/simple-handler.h \
+ $(srcdir)/simple-observer.c $(srcdir)/simple-observer.h \
++ $(srcdir)/dbus-properties-mixin.c $(srcdir)/dbus-properties-mixin.h \
++ $(srcdir)/contacts-mixin.c $(srcdir)/contacts-mixin.h \
++ $(srcdir)/group-mixin.c $(srcdir)/group-mixin.h \
++ $(srcdir)/presence-mixin.c $(srcdir)/presence-mixin.h \
++ $(srcdir)/channel-dispatch-operation.c $(srcdir)/channel-dispatch-operation.h \
++ $(srcdir)/channel-request.c $(srcdir)/channel-request.h \
++ $(srcdir)/observe-channels-context.c $(srcdir)/observe-channels-context.h \
++ $(srcdir)/add-dispatch-operation-context.c $(srcdir)/add-dispatch-operation-context.h \
++ $(srcdir)/protocol.c $(srcdir)/protocol.h \
++ $(srcdir)/base-connection.c $(srcdir)/base-connection.h \
++ $(srcdir)/handle-repo.c $(srcdir)/handle-repo.h $(srcdir)/handle-set.c \
+ $(srcdir)/stream-tube-channel.c $(srcdir)/stream-tube-channel.h \
++ $(srcdir)/dbus-tube-channel.c $(srcdir)/dbus-tube-channel.h \
+ $(srcdir)/stream-tube-connection.c $(srcdir)/stream-tube-connection.h \
+ $(srcdir)/text-channel.c $(srcdir)/text-channel.h \
++ $(srcdir)/file-transfer-channel.c $(srcdir)/file-transfer-channel.h \
++ $(srcdir)/client-message.c $(srcdir)/client-message.h \
++ $(srcdir)/message.c $(srcdir)/message.h \
++ $(srcdir)/signalled-message.c $(srcdir)/signalled-message.h \
++ $(srcdir)/channel-dispatcher.c $(srcdir)/channel-dispatcher.h \
++ $(srcdir)/errors.c $(srcdir)/errors.h \
+ _gen/telepathy-enums.h _gen/telepathy-enums-gtk-doc.h \
+- _gen/telepathy-interfaces.h _gen/telepathy-interfaces-gtk-doc.h\
++ _gen/telepathy-interfaces.h \
+ $(NULL)
+
+ _gen/proxy-introspectable.h: proxy.h introspection.am
+@@ -76,7 +77,6 @@ TelepathyGLib-0.12.gir: $(INTROSPECTION_SCANNER) \
+ $(srcdir)/kludge.xsl \
+ $(INTROSPECTION_FILES)
+ $(AM_V_GEN)$(INTROSPECTION_SCANNER) -v \
+- --warn-all \
+ --namespace TelepathyGLib \
+ --nsversion=0.12 \
+ --identifier-prefix=Tp \
+