gnome-extra/seahorse-nautilus: Doesn't really need libgnome-keyring
authorPacho Ramos <pacho@gentoo.org>
Fri, 27 Dec 2019 14:51:27 +0000 (15:51 +0100)
committerPacho Ramos <pacho@gentoo.org>
Fri, 27 Dec 2019 14:51:27 +0000 (15:51 +0100)
Closes: https://bugs.gentoo.org/696904
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
gnome-extra/seahorse-nautilus/files/seahorse-nautilus-3.11.92-remove-libgnome-keyring.patch [new file with mode: 0644]
gnome-extra/seahorse-nautilus/seahorse-nautilus-3.11.92.ebuild

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 (file)
index 0000000..5044cd7
--- /dev/null
@@ -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
+
index 0dc09ebdd133de1d2e0cd4980dc61830dcf04862..7422bf3e5ce06d70a98f793872936a0d7b179331 100644 (file)
@@ -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
 }