mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
gnome-base/gnome-keyring: drop 46.2
Newer revisions do not depend on app-crypt/gnupg, hence closing the app-alternatives/gpg porting bug Closes: https://bugs.gentoo.org/965626 Signed-off-by: Lukas Schmelting <lschmelting@posteo.com> Part-of: https://github.com/gentoo/gentoo/pull/44473 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
committed by
Pacho Ramos
parent
14809613f9
commit
8ac6343dcf
@@ -1,2 +1 @@
|
||||
DIST gnome-keyring-46.2.tar.xz 1359500 BLAKE2B 47dad5b1eab387e600016828c99d7c829f509e9929e0e06d6427f6c84053050be1e79c4fb369caa1cdfc862e20677a518155b1a5496a64e118f461e81b60edcd SHA512 4229ca0606bdd1b84a3c737288df7f1fc1f8715734e3001964babd882201c3d818deabb3a7662dbf9b67316f03b234de84da3128fb991a500ef8305c2f962ba2
|
||||
DIST gnome-keyring-48.0.tar.xz 767428 BLAKE2B 6aacccf506872d3fe4b8b33be8e6d2a4af1ceaad9534b82b57ef7e5b274851aaab838015306bf38034c74574b72ba7751415ef29e4afc0d681d271421570f9d8 SHA512 9eac06164c22a854a171f538467403c6764a6a6c2665959d721f5e3515bd91c8709a374c292cde93143f944b4ed7ec9b5613d28808d7e79839a9377d5aaa5daa
|
||||
|
||||
@@ -1,85 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit gnome2 pam python-any-r1 virtualx
|
||||
|
||||
DESCRIPTION="Password and keyring managing daemon"
|
||||
HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-keyring"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="pam selinux +ssh-agent systemd test valgrind"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Replace gkd gpg-agent with pinentry[gnome-keyring] one, bug #547456
|
||||
RDEPEND="
|
||||
>=app-crypt/gcr-3.27.90:0=[gtk]
|
||||
>=app-crypt/gnupg-2.0.28:=
|
||||
>=app-eselect/eselect-pinentry-0.5
|
||||
app-misc/ca-certificates
|
||||
>=dev-libs/glib-2.44:2
|
||||
>=dev-libs/libgcrypt-1.2.2:0=
|
||||
pam? ( sys-libs/pam )
|
||||
selinux? ( sec-policy/selinux-gnome )
|
||||
ssh-agent? ( virtual/openssh )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
valgrind? ( dev-debug/valgrind )
|
||||
"
|
||||
BDEPEND="
|
||||
>=app-eselect/eselect-pinentry-0.5
|
||||
app-text/docbook-xml-dtd:4.3
|
||||
dev-libs/libxslt
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
test? ( ${PYTHON_DEPS} )
|
||||
dev-util/glib-utils
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Disable stupid CFLAGS with debug enabled
|
||||
sed -e 's/CFLAGS="$CFLAGS -g"//' \
|
||||
-e 's/CFLAGS="$CFLAGS -O0"//' \
|
||||
-i configure.ac configure || die
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--without-libcap-ng \
|
||||
$(use_enable pam) \
|
||||
$(use_with pam pam-dir $(getpam_mod_dir)) \
|
||||
$(use_enable selinux) \
|
||||
$(use_enable ssh-agent) \
|
||||
$(use_with systemd) \
|
||||
$(use_enable valgrind) \
|
||||
--enable-doc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Needs dbus-run-session to not get:
|
||||
# ERROR: test-dbus-search process failed: -6
|
||||
"${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/schema" || die
|
||||
GSETTINGS_SCHEMA_DIR="${S}/schema" virtx dbus-run-session emake check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# cap_ipc_lock only needed if building --with-libcap-ng, but that breaks with glib-2.70
|
||||
# Never install as suid root, this breaks dbus activation, see bug #513870
|
||||
gnome2_pkg_postinst
|
||||
|
||||
if ! [[ $(eselect pinentry show | grep "pinentry-gnome3") ]] ; then
|
||||
ewarn "Please select pinentry-gnome3 as default pinentry provider:"
|
||||
ewarn " # eselect pinentry set pinentry-gnome3"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user