diff options
Diffstat (limited to 'extra/telepathy-butterfly')
3 files changed, 67 insertions, 0 deletions
diff --git a/extra/telepathy-butterfly/0001-bugfix-remove-bad-import-from-im-module.patch b/extra/telepathy-butterfly/0001-bugfix-remove-bad-import-from-im-module.patch new file mode 100644 index 000000000..6580dcc7f --- /dev/null +++ b/extra/telepathy-butterfly/0001-bugfix-remove-bad-import-from-im-module.patch @@ -0,0 +1,26 @@ +From 501b46c364c5608d1b3b84dd48fe57abcabd4aea Mon Sep 17 00:00:00 2001 +From: Ionut Biru <ibiru@archlinux.org> +Date: Mon, 6 Dec 2010 04:22:45 -0800 +Subject: [PATCH] bugfix: remove bad import from im module + +Signed-off-by: Ionut Biru <ibiru@archlinux.org> +--- + butterfly/channel/im.py | 2 -- + 1 files changed, 0 insertions(+), 2 deletions(-) + +diff --git a/butterfly/channel/im.py b/butterfly/channel/im.py +index 1781234..ac8dd44 100644 +--- a/butterfly/channel/im.py ++++ b/butterfly/channel/im.py +@@ -30,8 +30,6 @@ import papyon.event + + from butterfly.channel.text import ButterflyTextChannel + +-from butterfly.Channel_Interface_Conference import CHANNEL_INTERFACE_CONFERENCE +- + __all__ = ['ButterflyImChannel'] + + logger = logging.getLogger('Butterfly.ImChannel') +-- +1.7.3.2 + diff --git a/extra/telepathy-butterfly/PKGBUILD b/extra/telepathy-butterfly/PKGBUILD new file mode 100644 index 000000000..21cd94c91 --- /dev/null +++ b/extra/telepathy-butterfly/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 102171 2010-12-06 12:36:03Z ibiru $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> +# Contributor: Daniel Balieiro <daniel@balieiro.com> +pkgname=telepathy-butterfly +pkgver=0.5.15 +pkgrel=1 +pkgdesc="A MSN connection manager for Telepathy" +arch=('i686' 'x86_64' 'mips64el') +url="http://telepathy.freedesktop.org" +groups=('telepathy') +license=('GPL') +depends=('papyon>=0.5.4' 'python-telepathy>=0.15.19') +source=(http://telepathy.freedesktop.org/releases/telepathy-butterfly/telepathy-butterfly-${pkgver}.tar.gz + 0001-bugfix-remove-bad-import-from-im-module.patch) +install=telepathy-butterfly.install +md5sums=('4baa6337822f01d817c4b9d8fd406e82' + '08417a06a0e4a1875f1baf4b910cdcf4') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/0001-bugfix-remove-bad-import-from-im-module.patch" + ./configure --prefix=/usr --libexecdir=/usr/lib/telepathy + make + make DESTDIR="${pkgdir}" install + + sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ + "${pkgdir}/usr/lib/telepathy/telepathy-butterfly" +} diff --git a/extra/telepathy-butterfly/telepathy-butterfly.install b/extra/telepathy-butterfly/telepathy-butterfly.install new file mode 100644 index 000000000..87d7838b8 --- /dev/null +++ b/extra/telepathy-butterfly/telepathy-butterfly.install @@ -0,0 +1,13 @@ +post_install() { + killall -HUP dbus-daemon 2>&1 +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +# vim:set ts=2 sw=2 et: |