From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1590390-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4CEB7158451 for <garchives@archives.gentoo.org>; Sun, 14 Jan 2024 02:46:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D470E2A27; Sun, 14 Jan 2024 02:46:32 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0A902E2A27 for <gentoo-commits@lists.gentoo.org>; Sun, 14 Jan 2024 02:46:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3A7683431BD for <gentoo-commits@lists.gentoo.org>; Sun, 14 Jan 2024 02:46:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8133112C8 for <gentoo-commits@lists.gentoo.org>; Sun, 14 Jan 2024 02:46:29 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1705200276.00435780c75e8a0d728bd1aaf69acc86c77fbd1b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/libidn/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/libidn/Manifest net-dns/libidn/libidn-1.42.ebuild X-VCS-Directories: net-dns/libidn/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 00435780c75e8a0d728bd1aaf69acc86c77fbd1b X-VCS-Branch: master Date: Sun, 14 Jan 2024 02:46:29 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 17aba50d-4860-43b8-88e9-09250520c951 X-Archives-Hash: ac504aa8c98e29ec7b0fd6957eb87c3f commit: 00435780c75e8a0d728bd1aaf69acc86c77fbd1b Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Jan 14 02:43:35 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jan 14 02:44:36 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00435780 net-dns/libidn: add 1.42 Note that I've gone back to the default src_test implementation. Ignoring gnulib test failures isn't ideal at all, so let's not do that, given it could affect how the program operates and we've found other bugs that way in other packages before. I'm not aware of any other packages where we make an effort to skip the gnulib tests. Bug: https://bugs.gentoo.org/500662 Bug: https://bugs.gentoo.org/539356 Closes: https://bugs.gentoo.org/898348 Signed-off-by: Sam James <sam <AT> gentoo.org> net-dns/libidn/Manifest | 2 + net-dns/libidn/libidn-1.42.ebuild | 96 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) diff --git a/net-dns/libidn/Manifest b/net-dns/libidn/Manifest index d7ba2d57179b..85005d47a632 100644 --- a/net-dns/libidn/Manifest +++ b/net-dns/libidn/Manifest @@ -1,2 +1,4 @@ DIST libidn-1.41.tar.gz 2664011 BLAKE2B 6c632c2010f024792fd55d3c8e6f68e81152fa7421a4f65b6835d0dfd788707727381270c57bf46c6e252777e07ead501fdabdc55961c5c1604e81c53be5ab2b SHA512 765c42b64f10f0d84c0abecdce443baa9fdb80576179e3143bf56abde3f6c6149cc2c77e286e2e2a6ccf508914f30c2d5af258073168c0f886686e4fd85bbb47 DIST libidn-1.41.tar.gz.sig 228 BLAKE2B 004aa8871afa7cbb45206d8ddcc7ade21ea165aae2b00fc0c1d22cf05079bb399c8df628dc43bc0eb93c82524b96c71ad694c38234fdc2a4df09dc5192ca57bb SHA512 5d1dca4493cf4af420ba326b867e50e618432ce2808dde60a5325e1c64a6408dcb09d9b104c64d34e2726b9903c06b112ffc040fb6bb3818ae4ddf1551228c1c +DIST libidn-1.42.tar.gz 2653078 BLAKE2B 8f16d388884ad2ac9aafc46ec5eae144508ca86135184f625761c82c02ec9f99400bd4db65c9c9df54d315502cd5e2d37893d171abc6d76abe0a70f29acdb68e SHA512 1a99f0c9aa12cebed2de7db603c203696544cfe093afd7b233b0955f4fbe65440bf637089a624ed74e204abe854b1d16d11b77dc1b8d56c97ba6b20715aeb0d7 +DIST libidn-1.42.tar.gz.sig 228 BLAKE2B 0f2eab508a88de3ce03d79fa10fa053c5e24d76414c1f7f8f3cbaf956a818ec155407affce13cc588bc3838a3c85ef6f99ea30a3d18aa3553e2a1a92cf4282c2 SHA512 16706a3570620badf05ad146c8bf6ff7e96dc066b9dd609c22ecf3f942e70fa615f0f479e6d06b3317ddc094192f76effb841cbe72bff276914821f177ef2049 diff --git a/net-dns/libidn/libidn-1.42.ebuild b/net-dns/libidn/libidn-1.42.ebuild new file mode 100644 index 000000000000..54ca6626bae2 --- /dev/null +++ b/net-dns/libidn/libidn-1.42.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libidn.asc +inherit elisp-common libtool multilib-minimal verify-sig + +DESCRIPTION="Internationalized Domain Names (IDN) implementation" +HOMEPAGE="https://www.gnu.org/software/libidn/" +SRC_URI=" + mirror://gnu/libidn/${P}.tar.gz + verify-sig? ( mirror://gnu/libidn/${P}.tar.gz.sig ) +" + +LICENSE="GPL-2 GPL-3 LGPL-3" +SLOT="0/12" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="emacs nls" + +DEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )" +RDEPEND="${DEPEND}" +BDEPEND=" + emacs? ( >=app-editors/emacs-23.1:* ) + nls? ( >=sys-devel/gettext-0.17 ) + verify-sig? ( >=sec-keys/openpgp-keys-libidn-20240114 ) +" + +DOCS=( AUTHORS ChangeLog FAQ NEWS README THANKS ) + +QA_CONFIG_IMPL_DECL_SKIP=( + unreachable + static_assert +) + +src_prepare() { + default + + # For Solaris shared objects + elibtoolize +} + +multilib_src_configure() { + # -fanalyzer substantially slows down the build and isn't useful for + # us. It's useful for upstream as it's static analysis, but it's not + # useful when just getting something built. + export gl_cv_warn_c__fanalyzer=no + + local args=( + $(use_enable nls) + --disable-gcc-warnings + --disable-doc + --disable-gtk-doc + --disable-gtk-doc-html + --disable-gtk-doc-pdf + --disable-csharp + --disable-java + --disable-valgrind-tests + --with-lispdir="${EPREFIX}${SITELISP}/${PN}" + --with-packager-bug-reports="https://bugs.gentoo.org" + --with-packager-version="r${PR}" + --with-packager="Gentoo Linux" + ) + + ECONF_SOURCE="${S}" econf "${args[@]}" +} + +multilib_src_compile() { + default + + if multilib_is_native_abi; then + use emacs && elisp-compile "${S}"/src/*.el + fi +} + +multilib_src_install_all() { + if use emacs; then + # *.el are installed by the build system + elisp-install ${PN} "${S}"/src/*.elc + elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el + else + rm -r "${ED}"/usr/share/emacs || die + fi + + einstalldocs + + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +}