diff options
author | root <root@rshg054.dnsready.net> | 2012-04-11 00:01:18 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-11 00:01:18 +0000 |
commit | 04aff5f70cb7c04abe06ca8eaf8261cbb0eeb378 (patch) | |
tree | 4935a4f0959f9560df7fba4989a0de1dc361884e /community-testing/gwibber | |
parent | 223ca251f3ce07eb5484be845e631d6ca645b263 (diff) |
Wed Apr 11 00:01:18 UTC 2012
Diffstat (limited to 'community-testing/gwibber')
-rw-r--r-- | community-testing/gwibber/PKGBUILD | 34 | ||||
-rw-r--r-- | community-testing/gwibber/gwibber.install | 12 | ||||
-rw-r--r-- | community-testing/gwibber/lp_959068.patch | 27 |
3 files changed, 73 insertions, 0 deletions
diff --git a/community-testing/gwibber/PKGBUILD b/community-testing/gwibber/PKGBUILD new file mode 100644 index 000000000..05dd3d6f2 --- /dev/null +++ b/community-testing/gwibber/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 69159 2012-04-09 22:04:04Z bgyorgy $ +# 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-testing/gwibber/gwibber.install b/community-testing/gwibber/gwibber.install new file mode 100644 index 000000000..d973d53f7 --- /dev/null +++ b/community-testing/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-testing/gwibber/lp_959068.patch b/community-testing/gwibber/lp_959068.patch new file mode 100644 index 000000000..66b288ba7 --- /dev/null +++ b/community-testing/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 (); + |