From 6c797b166d8ead3e36ec6e92b566560d88c202e9 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Fri, 27 Dec 2019 15:51:27 +0100 Subject: [PATCH] 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 --- ...ilus-3.11.92-remove-libgnome-keyring.patch | 31 +++++++++++++++++++ .../seahorse-nautilus-3.11.92.ebuild | 10 ++++-- 2 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 gnome-extra/seahorse-nautilus/files/seahorse-nautilus-3.11.92-remove-libgnome-keyring.patch 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 +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 } -- 2.26.2