From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B5E8813835B for ; Thu, 1 Apr 2021 19:16:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A12C6E0936; Thu, 1 Apr 2021 19:16:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 89B08E0936 for ; Thu, 1 Apr 2021 19:16:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3663A335CDE for ; Thu, 1 Apr 2021 19:16:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 909384A5 for ; Thu, 1 Apr 2021 19:16:48 +0000 (UTC) From: "Amy Liffey" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amy Liffey" Message-ID: <1617304602.897bb891e5485145b13db1c7a850fa3d122e0a77.amynka@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/eid-mw/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/eid-mw/eid-mw-5.0.14-r1.ebuild app-crypt/eid-mw/eid-mw-9999.ebuild X-VCS-Directories: app-crypt/eid-mw/ X-VCS-Committer: amynka X-VCS-Committer-Name: Amy Liffey X-VCS-Revision: 897bb891e5485145b13db1c7a850fa3d122e0a77 X-VCS-Branch: master Date: Thu, 1 Apr 2021 19:16:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 88c44372-c6eb-4e3f-8306-645ad5db9804 X-Archives-Hash: 1185e41fb5cfa46fb69372349cab9a36 commit: 897bb891e5485145b13db1c7a850fa3d122e0a77 Author: Amy Liffey gentoo org> AuthorDate: Thu Apr 1 19:13:23 2021 +0000 Commit: Amy Liffey gentoo org> CommitDate: Thu Apr 1 19:16:42 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=897bb891 app-crypt/eid-mw: Fix Target pinentry-gtk-2 Closes: https://bugs.gentoo.org/778353 Submitted-by: Vincent Hardy gmail.com> Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Amy Liffey gentoo.org> .../{eid-mw-9999.ebuild => eid-mw-5.0.14-r1.ebuild} | 18 ++++++++++++------ app-crypt/eid-mw/eid-mw-9999.ebuild | 8 ++++---- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/app-crypt/eid-mw/eid-mw-9999.ebuild b/app-crypt/eid-mw/eid-mw-5.0.14-r1.ebuild similarity index 80% copy from app-crypt/eid-mw/eid-mw-9999.ebuild copy to app-crypt/eid-mw/eid-mw-5.0.14-r1.ebuild index f121b904909..364d7111264 100644 --- a/app-crypt/eid-mw/eid-mw-9999.ebuild +++ b/app-crypt/eid-mw/eid-mw-5.0.14-r1.ebuild @@ -3,14 +3,15 @@ EAPI=7 -inherit autotools desktop gnome2-utils xdg-utils git-r3 +inherit autotools desktop gnome2-utils xdg-utils DESCRIPTION="Electronic Identity Card middleware supplied by the Belgian Federal Government" HOMEPAGE="https://eid.belgium.be" -EGIT_REPO_URI="https://github.com/Fedict/${PN}.git" +SRC_URI="https://codeload.github.com/fedict/${PN}/tar.gz/v${PV} -> ${P}.tar.gz" LICENSE="LGPL-3" SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" IUSE="+dialogs +gtk p11-kit" RDEPEND=">=sys-apps/pcsc-lite-1.2.9 @@ -20,7 +21,7 @@ RDEPEND=">=sys-apps/pcsc-lite-1.2.9 dev-libs/libxml2 net-misc/curl[ssl] net-libs/libproxy - app-crypt/pinentry[gtk] + >=app-crypt/pinentry-1.1.0-r4[gtk] ) p11-kit? ( app-crypt/p11-kit )" @@ -32,6 +33,11 @@ REQUIRED_USE="dialogs? ( gtk )" src_prepare() { default + # Buggy internal versioning when autoreconf a tarball release. + # Weird numbering is required otherwise we get a seg fault in + # about-eid-mw program. + echo "${PV}-v${PV}" > .version + # xpi module : we don't want it anymore sed -i -e '/SUBDIRS/ s:plugins_tools/xpi ::' Makefile.am || die sed -i -e '/plugins_tools\/xpi/ d' configure.ac || die @@ -85,11 +91,11 @@ pkg_postinst() { local peimpl=$(eselect --brief --colour=no pinentry show) case "${peimpl}" in - *gtk*) ;; + *gnome*|*qt*) ;; *) ewarn "The pinentry front-end currently selected is not supported by eid-mw." ewarn "You may be prompted for your pin code in an inaccessible shell!!" - ewarn "Please select pinentry-gtk-2 as default pinentry provider:" - ewarn " # eselect pinentry set pinentry-gtk-2" + ewarn "Please select pinentry-gnome3 as default pinentry provider:" + ewarn " # eselect pinentry set pinentry-gnome3" ;; esac fi diff --git a/app-crypt/eid-mw/eid-mw-9999.ebuild b/app-crypt/eid-mw/eid-mw-9999.ebuild index f121b904909..9d56a10ca2b 100644 --- a/app-crypt/eid-mw/eid-mw-9999.ebuild +++ b/app-crypt/eid-mw/eid-mw-9999.ebuild @@ -20,7 +20,7 @@ RDEPEND=">=sys-apps/pcsc-lite-1.2.9 dev-libs/libxml2 net-misc/curl[ssl] net-libs/libproxy - app-crypt/pinentry[gtk] + >=app-crypt/pinentry-1.1.0-r4[gtk] ) p11-kit? ( app-crypt/p11-kit )" @@ -85,11 +85,11 @@ pkg_postinst() { local peimpl=$(eselect --brief --colour=no pinentry show) case "${peimpl}" in - *gtk*) ;; + *gnome*|*qt*) ;; *) ewarn "The pinentry front-end currently selected is not supported by eid-mw." ewarn "You may be prompted for your pin code in an inaccessible shell!!" - ewarn "Please select pinentry-gtk-2 as default pinentry provider:" - ewarn " # eselect pinentry set pinentry-gtk-2" + ewarn "Please select pinentry-gnome3 as default pinentry provider:" + ewarn " # eselect pinentry set pinentry-gnome3" ;; esac fi