summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2019-12-27 15:51:27 +0100
committerPacho Ramos <pacho@gentoo.org>2019-12-27 15:51:27 +0100
commit6c797b166d8ead3e36ec6e92b566560d88c202e9 (patch)
tree22a4b71ab59f74252f0975bf2494e8e158b5b56a /gnome-extra
parentmedia-plugins/vdr-satip: corrected version number (diff)
downloadgentoo-6c797b166d8ead3e36ec6e92b566560d88c202e9.tar.gz
gentoo-6c797b166d8ead3e36ec6e92b566560d88c202e9.tar.bz2
gentoo-6c797b166d8ead3e36ec6e92b566560d88c202e9.zip
gnome-extra/seahorse-nautilus: Doesn't really need libgnome-keyring
Closes: https://bugs.gentoo.org/696904 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/seahorse-nautilus/files/seahorse-nautilus-3.11.92-remove-libgnome-keyring.patch31
-rw-r--r--gnome-extra/seahorse-nautilus/seahorse-nautilus-3.11.92.ebuild10
2 files changed, 38 insertions, 3 deletions
diff --git a/gnome-extra/seahorse-nautilus/files/seahorse-nautilus-3.11.92-remove-libgnome-keyring.patch b/gnome-extra/seahorse-nautilus/files/seahorse-nautilus-3.11.92-remove-libgnome-keyring.patch
new file mode 100644
index 000000000000..5044cd7f26b2
--- /dev/null
+++ b/gnome-extra/seahorse-nautilus/files/seahorse-nautilus-3.11.92-remove-libgnome-keyring.patch
@@ -0,0 +1,31 @@
+From 8193f85dc3caeae23e5931c10f52ac9c5324d9d9 Mon Sep 17 00:00:00 2001
+From: Stef Walter <stefw@redhat.com>
+Date: Fri, 8 Jun 2018 12:40:09 +0200
+Subject: [PATCH] Remove libgnome-keyring dependency
+
+It's not needed by seahorse-nautilus
+---
+ configure.ac | 7 -------
+ 1 file changed, 7 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 471b34d..8d1f39f 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -146,13 +146,6 @@ else
+ fi
+ AC_SUBST(NAUTILUS_EXTENSION_DIR)
+
+-# -----------------------------------------------------------------------------
+-# Keyring
+-
+-PKG_CHECK_MODULES([GNOME_KEYRING], [gnome-keyring-1])
+-SEAHORSE_CFLAGS="$SEAHORSE_CFLAGS $GNOME_KEYRING_CFLAGS"
+-SEAHORSE_LIBS="$SEAHORSE_LIBS $GNOME_KEYRING_LIBS"
+-
+ # -----------------------------------------------------------------------------
+ # DBus
+
+--
+2.14.4
+
diff --git a/gnome-extra/seahorse-nautilus/seahorse-nautilus-3.11.92.ebuild b/gnome-extra/seahorse-nautilus/seahorse-nautilus-3.11.92.ebuild
index 0dc09ebdd133..7422bf3e5ce0 100644
--- a/gnome-extra/seahorse-nautilus/seahorse-nautilus-3.11.92.ebuild
+++ b/gnome-extra/seahorse-nautilus/seahorse-nautilus-3.11.92.ebuild
@@ -1,11 +1,10 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
-GCONF_DEBUG="no"
+EAPI="6"
GNOME2_LA_PUNT="yes"
-inherit gnome2
+inherit autotools gnome2
DESCRIPTION="Nautilus extension for encrypting and decrypting files with GnuPG"
HOMEPAGE="https://wiki.gnome.org/Apps/Seahorse"
@@ -45,6 +44,11 @@ src_prepare() {
sed -i 's/pixmaps\/seahorse-plugins\/48x48/pixmaps\/cryptui\/48x48/' \
tool/seahorse-notification.c || die
+ # Doesn't really need libgnome-keyring (from Fedora, fixed in
+ # 'master')
+ eapply "${FILESDIR}"/${P}-remove-libgnome-keyring.patch
+ eautoreconf
+
gnome2_src_prepare
}