summaryrefslogtreecommitdiff
path: root/community/gwibber
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
committerroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
commit98bf2ac3fdd6f7bcb6ce45c932fc13c07fecc03f (patch)
tree00d9cdbfdc8ef5d7a4a7159a8c6439008509e662 /community/gwibber
parent9988621f899d7d4ae5fd0a4a32a4ba3abc5a527d (diff)
Wed Apr 25 00:01:35 UTC 2012
Diffstat (limited to 'community/gwibber')
-rw-r--r--community/gwibber/PKGBUILD34
-rw-r--r--community/gwibber/gwibber.install12
-rw-r--r--community/gwibber/lp_959068.patch27
3 files changed, 73 insertions, 0 deletions
diff --git a/community/gwibber/PKGBUILD b/community/gwibber/PKGBUILD
new file mode 100644
index 000000000..739432875
--- /dev/null
+++ b/community/gwibber/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 69796 2012-04-23 09:42:07Z ibiru $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=gwibber
+pkgver=3.4.0
+pkgrel=1
+pkgdesc="Microblogging client for GNOME, which supports Twitter, Identi.ca, StatusNet, Facebook, Flickr, Digg, FriendFeed and Qaiku"
+arch=('i686' 'x86_64')
+url="http://gwibber.com/"
+license=('GPL')
+depends=('libgee' 'libnotify' 'dee>=1.0.0' 'json-glib' 'gtkspell3' 'python2-gobject' 'libwnck3' 'libwebkit3' 'libgnome-keyring>=3.3' 'dbus-python' 'python2-httplib2' 'python-egenix-mx-base' 'python2-oauth' 'python-imaging' 'pyxdg' 'dconf' 'hicolor-icon-theme' 'xdg-utils')
+makedepends=('intltool' 'vala>=0.15.0')
+options=('!libtool')
+install=$pkgname.install
+source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz
+ lp_959068.patch)
+md5sums=('cec2c692d870f7aa7fb6a7cb556617ad'
+ 'c15dd5289f36270f980036ead71b6c20')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+ patch -Np1 -i "$srcdir/lp_959068.patch"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static --disable-schemas-compile --disable-unity
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
diff --git a/community/gwibber/gwibber.install b/community/gwibber/gwibber.install
new file mode 100644
index 000000000..d973d53f7
--- /dev/null
+++ b/community/gwibber/gwibber.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate
+ glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
diff --git a/community/gwibber/lp_959068.patch b/community/gwibber/lp_959068.patch
new file mode 100644
index 000000000..66b288ba7
--- /dev/null
+++ b/community/gwibber/lp_959068.patch
@@ -0,0 +1,27 @@
+=== modified file 'libgwibber/streams.vala'
+--- old/libgwibber/streams.vala 2012-03-19 13:35:30 +0000
++++ new/libgwibber/streams.vala 2012-04-04 20:53:49 +0000
+@@ -213,13 +213,21 @@
+ model = create_model ();
+ }
+ model.row_removed.connect((_m, _i) => {
++ var to_remove = new GLib.List <string> ();
+ foreach (var v in seen.entries)
+ {
+ if (v.value == _i)
+ {
+- seen.unset(v.key);
++ /* defer calling unset until after we are done iterating
++ * the HashMap, it will resize making the iterator invalid
++ * This is fixed in the 0.7 series of libgee
++ * https://bugzilla.gnome.org/show_bug.cgi?id=671327
++ */
++ to_remove.prepend (v.key);
+ }
+ }
++ foreach (var v in to_remove)
++ seen.unset(v);
+ });
+ Idle.add(() => {
+ refresh_model_async.begin ();
+