summaryrefslogtreecommitdiff
path: root/community/seahorse-nautilus
diff options
context:
space:
mode:
Diffstat (limited to 'community/seahorse-nautilus')
-rw-r--r--community/seahorse-nautilus/PKGBUILD13
-rw-r--r--community/seahorse-nautilus/glib236.patch12
2 files changed, 21 insertions, 4 deletions
diff --git a/community/seahorse-nautilus/PKGBUILD b/community/seahorse-nautilus/PKGBUILD
index 5dd7127d8..6f6fc16c1 100644
--- a/community/seahorse-nautilus/PKGBUILD
+++ b/community/seahorse-nautilus/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 87367 2013-03-30 11:14:30Z bgyorgy $
+# $Id: PKGBUILD 89362 2013-04-28 20:39:50Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
pkgname=seahorse-nautilus
pkgver=3.8.0
-pkgrel=1
+pkgrel=2
pkgdesc="PGP encryption and signing for nautilus"
arch=('i686' 'x86_64' 'mips64el')
url="http://git.gnome.org/browse/seahorse-nautilus/"
@@ -12,12 +12,17 @@ depends=('libcryptui' 'gcr' 'nautilus')
makedepends=('intltool')
options=('!libtool')
install=$pkgname.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('8173ef08a700ff254fb5637a7f2138ba7625b19ed2102a82fd69f1ecb8072863')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+ glib236.patch)
+sha256sums=('8173ef08a700ff254fb5637a7f2138ba7625b19ed2102a82fd69f1ecb8072863'
+ '0cefa14a45784c82871815e9bdcebbb96dea50a8e43316475e6a36d5dc47ade5')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ # Fix compatibility with glib 2.36
+ patch -Np1 -i "$srcdir/glib236.patch"
+
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-static --disable-schemas-compile
make
diff --git a/community/seahorse-nautilus/glib236.patch b/community/seahorse-nautilus/glib236.patch
new file mode 100644
index 000000000..d0ab03046
--- /dev/null
+++ b/community/seahorse-nautilus/glib236.patch
@@ -0,0 +1,12 @@
+diff -Naur seahorse-nautilus-3.8.0.orig/tool/seahorse-tool-progress.c seahorse-nautilus-3.8.0/tool/seahorse-tool-progress.c
+--- seahorse-nautilus-3.8.0.orig/tool/seahorse-tool-progress.c 2011-10-24 09:25:37.000000000 +0200
++++ seahorse-nautilus-3.8.0/tool/seahorse-tool-progress.c 2013-04-28 22:26:54.483276592 +0200
+@@ -226,8 +226,6 @@
+ progress_fd = -1;
+ return;
+ }
+-
+- g_child_watch_add (progress_pid, progress_cancel, NULL);
+ }
+
+ void