public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/gpgme/
Date: Thu,  1 Sep 2022 02:16:29 +0000 (UTC)	[thread overview]
Message-ID: <1661998548.b140713e716f7ba9927dbfac65714f2bfec63a9a.sam@gentoo> (raw)

commit:     b140713e716f7ba9927dbfac65714f2bfec63a9a
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Wed Aug 31 01:00:43 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep  1 02:15:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b140713e

app-crypt/gpgme: Remove --with-libassuan-prefix

The --with-libassuan-prefix configure argument causes app-crypt/gpgme to
use the deprecated libassuan-config script instead of the maintained
gpgrt-config script.

Bug: https://bugs.gentoo.org/811933
Closes: https://bugs.gentoo.org/844226
Upstream-Bug: https://dev.gnupg.org/T6136
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/gpgme/gpgme-1.18.0-r1.ebuild | 130 +++++++++++++++++++++++++++++++++
 1 file changed, 130 insertions(+)

diff --git a/app-crypt/gpgme/gpgme-1.18.0-r1.ebuild b/app-crypt/gpgme/gpgme-1.18.0-r1.ebuild
new file mode 100644
index 000000000000..66befaf859db
--- /dev/null
+++ b/app-crypt/gpgme/gpgme-1.18.0-r1.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_OPTIONAL=1
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnupg.asc
+
+inherit distutils-r1 libtool flag-o-matic qmake-utils toolchain-funcs verify-sig
+
+DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use"
+HOMEPAGE="https://www.gnupg.org/related_software/gpgme"
+SRC_URI="mirror://gnupg/gpgme/${P}.tar.bz2
+	verify-sig? ( mirror://gnupg/gpgme/${P}.tar.bz2.sig )"
+
+LICENSE="GPL-2 LGPL-2.1"
+# Please check ABI on each bump, even if SONAMEs didn't change: bug #833355
+# Use e.g. app-portage/iwdevtools integration with dev-libs/libabigail's abidiff.
+# Subslot: SONAME of each: <libgpgme.libgpgmepp.libqgpgme.FUDGE>
+# Bump FUDGE if a release is made which breaks ABI without changing SONAME.
+# (Reset to 0 if FUDGE != 0 if libgpgme/libgpgmepp/libqpggme change.)
+SLOT="1/11.6.15.1"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="common-lisp static-libs +cxx python qt5 test"
+RESTRICT="!test? ( test )"
+
+# Note: On each bump, update dep bounds on each version from configure.ac!
+RDEPEND=">=app-crypt/gnupg-2
+	>=dev-libs/libassuan-2.5.3:=
+	>=dev-libs/libgpg-error-1.36:=
+	python? ( ${PYTHON_DEPS} )
+	qt5? ( dev-qt/qtcore:5 )"
+	#doc? ( app-doc/doxygen[dot] )
+DEPEND="${RDEPEND}
+	test? (
+		qt5? ( dev-qt/qttest:5 )
+	)"
+BDEPEND="python? ( dev-lang/swig )
+	verify-sig? ( sec-keys/openpgp-keys-gnupg )"
+
+REQUIRED_USE="qt5? ( cxx ) python? ( ${PYTHON_REQUIRED_USE} )"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.18.0-tests-start-stop-agent-use-command-v.patch
+)
+
+do_python() {
+	if use python; then
+		pushd "lang/python" > /dev/null || die
+		top_builddir="../.." srcdir="." CPP="$(tc-getCPP)" distutils-r1_src_${EBUILD_PHASE}
+		popd > /dev/null || die
+	fi
+}
+
+src_prepare() {
+	default
+
+	elibtoolize
+
+	# bug #697456
+	addpredict /run/user/$(id -u)/gnupg
+
+	local MAX_WORKDIR=66
+	if use test && [[ "${#WORKDIR}" -gt "${MAX_WORKDIR}" ]]; then
+		eerror "Unable to run tests as WORKDIR='${WORKDIR}' is longer than ${MAX_WORKDIR} which causes failure!"
+		die "Could not run tests as requested with too-long WORKDIR."
+	fi
+
+	# Make best effort to allow longer PORTAGE_TMPDIR
+	# as usock limitation fails build/tests
+	ln -s "${P}" "${WORKDIR}/b" || die
+	S="${WORKDIR}/b"
+}
+
+src_configure() {
+	local languages=()
+
+	use common-lisp && languages+=( "cl" )
+	use cxx && languages+=( "cpp" )
+	if use qt5; then
+		languages+=( "qt" )
+		#use doc ||
+		export DOXYGEN=true
+		export MOC="$(qt5_get_bindir)/moc"
+	fi
+
+	# bug #847955
+	append-lfs-flags
+
+	econf \
+		$(use test || echo "--disable-gpgconf-test --disable-gpg-test --disable-gpgsm-test --disable-g13-test") \
+		--enable-languages="${languages[*]}" \
+		$(use_enable static-libs static)
+
+	use python && emake -C lang/python prepare
+
+	do_python
+}
+
+src_compile() {
+	default
+	do_python
+}
+
+src_test() {
+	default
+
+	use python && distutils-r1_src_test
+}
+
+python_test() {
+	emake -C lang/python/tests check \
+		PYTHON=${EPYTHON} \
+		PYTHONS=${EPYTHON} \
+		TESTFLAGS="--python-libdir=${BUILD_DIR}/lib"
+}
+
+src_install() {
+	default
+
+	do_python
+
+	find "${ED}" -type f -name '*.la' -delete || die
+
+	# Backward compatibility for gentoo
+	# (in the past, we had slots)
+	dodir /usr/include/gpgme
+	dosym ../gpgme.h /usr/include/gpgme/gpgme.h
+}


             reply	other threads:[~2022-09-01  2:16 UTC|newest]

Thread overview: 231+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-01  2:16 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-11 17:02 [gentoo-commits] repo/gentoo:master commit in: app-crypt/gpgme/ Sam James
2024-11-02  6:42 Sam James
2024-10-15  1:35 Sam James
2024-10-10 11:04 Arthur Zamarin
2024-10-09  5:46 Sam James
2024-10-08 20:46 Arthur Zamarin
2024-10-07 17:36 Sam James
2024-10-07 17:30 Jakov Smolić
2024-10-07 17:30 Jakov Smolić
2024-09-10  1:37 Eli Schwartz
2024-08-06 14:43 James Le Cuirot
2024-06-11 19:25 Michał Górny
2024-02-20 20:49 Andreas Sturmlechner
2024-02-20  5:56 Sam James
2024-02-20  5:56 Sam James
2024-02-17  9:55 Arthur Zamarin
2024-02-12 10:31 Sam James
2024-01-26 20:48 Andreas Sturmlechner
2024-01-25 19:14 Mike Gilbert
2024-01-25 19:11 Mike Gilbert
2024-01-05  5:26 Arthur Zamarin
2024-01-05  5:26 Arthur Zamarin
2023-12-21 16:13 Sam James
2023-12-03  5:11 Sam James
2023-11-29  5:15 Sam James
2023-11-27 23:22 Sam James
2023-11-25 20:47 Sam James
2023-11-22 11:16 Arthur Zamarin
2023-11-22  0:25 Sam James
2023-11-14 11:42 Sam James
2023-11-06 18:13 Andreas Sturmlechner
2023-11-05 19:14 Arthur Zamarin
2023-11-05 19:14 Arthur Zamarin
2023-11-05 19:11 Arthur Zamarin
2023-11-05 19:11 Arthur Zamarin
2023-10-24 19:36 Arthur Zamarin
2023-10-24 19:36 Arthur Zamarin
2023-10-08 15:29 Arthur Zamarin
2023-10-07 23:27 Sam James
2023-09-04 13:29 Andreas Sturmlechner
2023-09-03 16:46 Arthur Zamarin
2023-09-03 16:46 Arthur Zamarin
2023-08-21 19:34 Sam James
2023-08-19 12:39 Arthur Zamarin
2023-08-19 12:19 Arthur Zamarin
2023-08-19 12:19 Arthur Zamarin
2023-08-19 11:46 Arthur Zamarin
2023-08-19 11:46 Arthur Zamarin
2023-08-19 11:38 Sam James
2023-07-07 22:04 Sam James
2023-06-10 21:28 Andreas Sturmlechner
2023-06-09 12:04 Arthur Zamarin
2023-06-09  9:54 Sam James
2023-06-09  9:54 Sam James
2023-06-09  6:53 Arthur Zamarin
2023-06-03 19:45 Arthur Zamarin
2023-06-02 16:13 Arthur Zamarin
2023-06-01 19:15 Arthur Zamarin
2023-06-01 19:15 Arthur Zamarin
2023-05-05  4:59 Michał Górny
2023-05-04 23:20 Ionen Wolkens
2023-05-04 16:11 Michał Górny
2023-04-22 16:35 Sam James
2023-03-17 21:54 Sam James
2022-11-25 14:51 Arthur Zamarin
2022-11-25 10:28 Arthur Zamarin
2022-11-25  8:34 Arthur Zamarin
2022-11-25  8:13 Arthur Zamarin
2022-11-25  7:57 Sam James
2022-11-25  7:51 Sam James
2022-11-25  7:51 Sam James
2022-11-25  7:34 Arthur Zamarin
2022-10-09 21:12 Sam James
2022-10-08 13:19 Sam James
2022-09-23  1:06 Sam James
2022-08-10 13:05 Sam James
2022-07-15 18:30 Arthur Zamarin
2022-06-18 23:04 Sam James
2022-06-14 18:01 Sam James
2022-06-12 14:52 Sam James
2022-05-28 18:19 Sam James
2022-05-17  5:34 Sam James
2022-03-26  0:12 Sam James
2022-03-07  5:17 Sam James
2022-03-07  4:28 Sam James
2022-03-07  4:21 Sam James
2022-03-06 23:38 Sam James
2022-03-06 23:35 Sam James
2022-02-17 19:23 Lars Wendler
2022-02-17 18:43 Sam James
2022-02-17 18:40 David Seifert
2022-02-10  9:54 David Seifert
2022-02-08  7:57 Lars Wendler
2021-12-04  1:32 Sam James
2021-11-29 20:48 Sam James
2021-11-29  0:54 Sam James
2021-11-26 15:33 Arthur Zamarin
2021-11-26  8:51 Agostino Sarubbo
2021-11-26  6:34 Sam James
2021-11-26  6:34 Sam James
2021-08-21 22:15 James Le Cuirot
2021-08-05 18:07 Michał Górny
2021-06-25  1:02 Lars Wendler
2021-06-25  1:02 Lars Wendler
2021-06-14 18:05 Sergei Trofimovich
2021-06-13 12:38 Sam James
2021-06-13 11:12 Sam James
2021-06-13  6:30 Agostino Sarubbo
2021-06-13  6:04 Sam James
2021-06-13  6:04 Sam James
2021-06-13  3:45 Sam James
2021-06-13  3:45 Sam James
2021-01-09  2:02 Lars Wendler
2021-01-09  2:02 Lars Wendler
2021-01-06 12:55 Fabian Groffen
2020-12-13  0:16 Sam James
2020-11-14 23:39 Sam James
2020-11-12 21:57 Lars Wendler
2020-11-12 20:09 Lars Wendler
2020-11-12 20:09 Lars Wendler
2020-10-06 15:07 Lars Wendler
2020-09-07  8:47 Sergei Trofimovich
2020-09-07  8:20 Sergei Trofimovich
2020-09-06  7:49 Sergei Trofimovich
2020-08-30 23:56 Sam James
2020-08-29 20:00 Sam James
2020-08-28 22:21 Sergei Trofimovich
2020-07-17  6:27 Lars Wendler
2020-04-18  3:02 Craig Andrews
2020-03-09 16:01 Lars Wendler
2020-03-09 15:51 Mike Gilbert
2020-02-11 11:38 Michał Górny
2020-01-09 10:56 Kristian Fiskerstrand
2019-11-01 10:16 Mikle Kolyada
2019-11-01 10:16 Mikle Kolyada
2019-10-09 18:21 Sergei Trofimovich
2019-10-06  5:50 Matt Turner
2019-10-04 13:15 Agostino Sarubbo
2019-10-02 19:08 Agostino Sarubbo
2019-10-02 18:53 Agostino Sarubbo
2019-09-29 21:00 Sergei Trofimovich
2019-09-29 20:54 Sergei Trofimovich
2019-09-29 19:26 Sergei Trofimovich
2019-09-29  9:11 Sergei Trofimovich
2019-09-27  0:50 Mike Gilbert
2019-09-26 22:22 Tim Harder
2019-06-14  1:26 Göktürk Yüksek
2019-06-09 20:32 Sergei Trofimovich
2019-06-09 19:22 Sergei Trofimovich
2019-06-06 16:52 Michael Haubenwallner
2019-05-04 15:06 Alon Bar-Lev
2019-05-03  7:11 Sergei Trofimovich
2019-05-02 21:43 Mikle Kolyada
2019-04-28 20:34 Thomas Deutschmann
2019-04-27 16:03 Sergei Trofimovich
2019-04-22 14:40 Sergei Trofimovich
2019-04-20 18:47 Mikle Kolyada
2019-04-20 17:42 Mikle Kolyada
2019-04-15 23:55 Aaron Bauman
2019-03-26 18:21 Alon Bar-Lev
2019-01-21 20:22 Alon Bar-Lev
2019-01-03 14:58 Sergei Trofimovich
2018-10-09 21:03 Alon Bar-Lev
2018-08-14 16:02 Alon Bar-Lev
2018-07-23 22:02 Mikle Kolyada
2018-07-02  4:24 Alon Bar-Lev
2018-07-02  3:08 Alon Bar-Lev
2018-06-27 22:22 Sergei Trofimovich
2018-06-27 22:15 Sergei Trofimovich
2018-06-27 21:54 Sergei Trofimovich
2018-06-27 17:23 Tobias Klausmann
2018-06-27  6:25 Sergei Trofimovich
2018-06-26 15:35 Mikle Kolyada
2018-05-20 20:23 Sergei Trofimovich
2018-03-15 16:10 Mikle Kolyada
2018-03-04  8:16 Tobias Klausmann
2018-03-02 19:24 Alon Bar-Lev
2018-02-16 17:42 Alon Bar-Lev
2018-02-16 17:42 Alon Bar-Lev
2018-02-06  8:07 Sergei Trofimovich
2018-01-07 22:07 Sergei Trofimovich
2018-01-07 18:11 Alon Bar-Lev
2018-01-07 14:23 Sergei Trofimovich
2018-01-06 20:47 Alon Bar-Lev
2018-01-06  0:04 Alon Bar-Lev
2018-01-05 23:44 Alon Bar-Lev
2018-01-04 17:07 Mikle Kolyada
2017-12-19 17:49 Fabian Groffen
2017-12-16 20:58 Fabian Groffen
2017-12-13  6:26 Alon Bar-Lev
2017-12-12 17:29 Alon Bar-Lev
2017-11-22 18:33 Alon Bar-Lev
2017-08-25 16:54 Alon Bar-Lev
2017-08-03 18:30 Alon Bar-Lev
2017-07-17  7:16 Alon Bar-Lev
2017-07-11  6:11 Alon Bar-Lev
2017-05-15  3:01 Zac Medico
2017-05-13  5:05 Alon Bar-Lev
2017-05-01  8:03 Andreas Sturmlechner
2017-04-19  8:03 David Seifert
2017-03-25 18:11 Alon Bar-Lev
2017-03-17  9:40 Alon Bar-Lev
2017-03-17  9:40 Alon Bar-Lev
2017-03-16 20:45 Alon Bar-Lev
2017-03-16 20:45 Alon Bar-Lev
2017-03-16 19:53 Alon Bar-Lev
2017-03-16 10:13 Michael Weber
2017-03-16  3:37 Guilherme Amadio
2017-03-15  6:00 Jeroen Roovers
2017-03-08  6:01 Markus Meier
2017-03-03 19:14 Tobias Klausmann
2017-03-03  9:02 Agostino Sarubbo
2017-01-03  9:27 Fabian Groffen
2016-12-21 17:17 Johannes Huber
2016-12-21 17:17 Johannes Huber
2016-12-21 17:17 Johannes Huber
2016-12-21 17:17 Johannes Huber
2016-11-21 16:25 Alon Bar-Lev
2016-10-19 22:45 Alon Bar-Lev
2016-10-19  5:47 Alon Bar-Lev
2016-10-19  5:27 Alon Bar-Lev
2016-10-18 20:54 Kristian Fiskerstrand
2016-10-11  8:36 Alon Bar-Lev
2016-10-03 18:50 Alon Bar-Lev
2016-10-03 18:50 Alon Bar-Lev
2016-09-25 18:26 Alon Bar-Lev
2016-09-24  6:23 Alon Bar-Lev
2016-09-23 20:55 Alon Bar-Lev
2016-09-23 16:25 Alon Bar-Lev
2015-09-10  6:07 Alon Bar-Lev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1661998548.b140713e716f7ba9927dbfac65714f2bfec63a9a.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox