commit:     6c797b166d8ead3e36ec6e92b566560d88c202e9
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 27 14:51:27 2019 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Dec 27 14:51:27 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c797b16

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 <AT> gentoo.org>

 ...-nautilus-3.11.92-remove-libgnome-keyring.patch | 31 ++++++++++++++++++++++
 .../seahorse-nautilus-3.11.92.ebuild               | 10 ++++---
 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 00000000000..5044cd7f26b
--- /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 <[email protected]>
+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 0dc09ebdd13..7422bf3e5ce 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
 }
 

Reply via email to