From 25237165c7431d35a3cd599a2bc3363170f68b0b Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Sat, 23 Jun 2007 18:10:08 +0000 Subject: Check that pinentry was merged with USE=gtk or USE=qt3 (bug #170967) (Portage version: 2.1.2.9) --- mail-client/claws-mail-smime/ChangeLog | 7 ++++++- mail-client/claws-mail-smime/claws-mail-smime-0.5.7.ebuild | 13 ++++++++++++- mail-client/claws-mail-smime/claws-mail-smime-0.5.8.ebuild | 13 ++++++++++++- mail-client/claws-mail-smime/claws-mail-smime-0.6.ebuild | 13 ++++++++++++- mail-client/claws-mail-smime/claws-mail-smime-0.7.ebuild | 13 ++++++++++++- 5 files changed, 54 insertions(+), 5 deletions(-) (limited to 'mail-client') diff --git a/mail-client/claws-mail-smime/ChangeLog b/mail-client/claws-mail-smime/ChangeLog index a54a402c6788..ed40a3bef3a8 100644 --- a/mail-client/claws-mail-smime/ChangeLog +++ b/mail-client/claws-mail-smime/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-client/claws-mail-smime # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-smime/ChangeLog,v 1.8 2007/03/29 21:21:10 welp Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-smime/ChangeLog,v 1.9 2007/06/23 18:10:08 genone Exp $ + + 23 Jun 2007; Marius Mauch + claws-mail-smime-0.5.7.ebuild, claws-mail-smime-0.5.8.ebuild, + claws-mail-smime-0.6.ebuild, claws-mail-smime-0.7.ebuild: + Check that pinentry was merged with USE=gtk or USE=qt3 (bug #170967) 29 Mar 2007; Peter Weller claws-mail-smime-0.7.ebuild: Keyworded ~amd64 wrt bug 168782 diff --git a/mail-client/claws-mail-smime/claws-mail-smime-0.5.7.ebuild b/mail-client/claws-mail-smime/claws-mail-smime-0.5.7.ebuild index d6147e8806c7..5c26ec44054f 100644 --- a/mail-client/claws-mail-smime/claws-mail-smime-0.5.7.ebuild +++ b/mail-client/claws-mail-smime/claws-mail-smime-0.5.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-smime/claws-mail-smime-0.5.7.ebuild,v 1.3 2007/03/27 08:18:27 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-smime/claws-mail-smime-0.5.7.ebuild,v 1.4 2007/06/23 18:10:08 genone Exp $ MY_P="${P#claws-mail-}" @@ -16,6 +16,17 @@ DEPEND=">=mail-client/claws-mail-2.6.1 S="${WORKDIR}/${MY_P}" +pkg_setup() { + # we have to make sure that pinentry has gtk support + if ! built_with_use --missing true -o app-crypt/pinentry gtk qt3; then + eerror "You need to merge app-crypt/pinentry with USE=gtk or USE=qt3" + eerror "for working GPG support. You have the following options:" + eerror " - remerge app-crypt/pinentry with USE=gtk" + eerror " - remerge app-crypt/pinentry with USE=qt3" + die "missing gtk/qt support in app-crypt/pinentry" + fi +} + src_install() { make DESTDIR="${D}" install dodoc AUTHORS ChangeLog NEWS README diff --git a/mail-client/claws-mail-smime/claws-mail-smime-0.5.8.ebuild b/mail-client/claws-mail-smime/claws-mail-smime-0.5.8.ebuild index aca1646f0eca..d400b0f5d614 100644 --- a/mail-client/claws-mail-smime/claws-mail-smime-0.5.8.ebuild +++ b/mail-client/claws-mail-smime/claws-mail-smime-0.5.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-smime/claws-mail-smime-0.5.8.ebuild,v 1.2 2007/03/27 08:18:27 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-smime/claws-mail-smime-0.5.8.ebuild,v 1.3 2007/06/23 18:10:08 genone Exp $ MY_P="${P#claws-mail-}" @@ -16,6 +16,17 @@ DEPEND=">=mail-client/claws-mail-2.7.0 S="${WORKDIR}/${MY_P}" +pkg_setup() { + # we have to make sure that pinentry has gtk support + if ! built_with_use --missing true -o app-crypt/pinentry gtk qt3; then + eerror "You need to merge app-crypt/pinentry with USE=gtk or USE=qt3" + eerror "for working GPG support. You have the following options:" + eerror " - remerge app-crypt/pinentry with USE=gtk" + eerror " - remerge app-crypt/pinentry with USE=qt3" + die "missing gtk/qt support in app-crypt/pinentry" + fi +} + src_install() { make DESTDIR="${D}" install dodoc AUTHORS ChangeLog NEWS README diff --git a/mail-client/claws-mail-smime/claws-mail-smime-0.6.ebuild b/mail-client/claws-mail-smime/claws-mail-smime-0.6.ebuild index e9d9474cca58..d80e6f2ed125 100644 --- a/mail-client/claws-mail-smime/claws-mail-smime-0.6.ebuild +++ b/mail-client/claws-mail-smime/claws-mail-smime-0.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-smime/claws-mail-smime-0.6.ebuild,v 1.3 2007/03/27 08:18:27 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-smime/claws-mail-smime-0.6.ebuild,v 1.4 2007/06/23 18:10:08 genone Exp $ MY_P="${P#claws-mail-}" @@ -16,6 +16,17 @@ DEPEND=">=mail-client/claws-mail-2.7.0 S="${WORKDIR}/${MY_P}" +pkg_setup() { + # we have to make sure that pinentry has gtk support + if ! built_with_use --missing true -o app-crypt/pinentry gtk qt3; then + eerror "You need to merge app-crypt/pinentry with USE=gtk or USE=qt3" + eerror "for working GPG support. You have the following options:" + eerror " - remerge app-crypt/pinentry with USE=gtk" + eerror " - remerge app-crypt/pinentry with USE=qt3" + die "missing gtk/qt support in app-crypt/pinentry" + fi +} + src_install() { make DESTDIR="${D}" install dodoc AUTHORS ChangeLog NEWS README diff --git a/mail-client/claws-mail-smime/claws-mail-smime-0.7.ebuild b/mail-client/claws-mail-smime/claws-mail-smime-0.7.ebuild index ca49aef93420..d4911f479e24 100644 --- a/mail-client/claws-mail-smime/claws-mail-smime-0.7.ebuild +++ b/mail-client/claws-mail-smime/claws-mail-smime-0.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-smime/claws-mail-smime-0.7.ebuild,v 1.3 2007/03/29 21:21:10 welp Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-smime/claws-mail-smime-0.7.ebuild,v 1.4 2007/06/23 18:10:08 genone Exp $ MY_P="${P#claws-mail-}" @@ -16,6 +16,17 @@ DEPEND=">=mail-client/claws-mail-2.8.0 S="${WORKDIR}/${MY_P}" +pkg_setup() { + # we have to make sure that pinentry has gtk support + if ! built_with_use --missing true -o app-crypt/pinentry gtk qt3; then + eerror "You need to merge app-crypt/pinentry with USE=gtk or USE=qt3" + eerror "for working GPG support. You have the following options:" + eerror " - remerge app-crypt/pinentry with USE=gtk" + eerror " - remerge app-crypt/pinentry with USE=qt3" + die "missing gtk/qt support in app-crypt/pinentry" + fi +} + src_install() { make DESTDIR="${D}" install dodoc AUTHORS ChangeLog NEWS README -- cgit v1.2.3-65-gdbad