From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 40883158088 for ; Fri, 24 Oct 2025 13:35:14 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 2141F340D7C for ; Fri, 24 Oct 2025 13:35:14 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D0ACC1102F2; Fri, 24 Oct 2025 13:35:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id C16851102F2 for ; Fri, 24 Oct 2025 13:35:12 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 72F84340D36 for ; Fri, 24 Oct 2025 13:35:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1305F2696 for ; Fri, 24 Oct 2025 13:35:11 +0000 (UTC) From: "Akinori Hattori" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Akinori Hattori" Message-ID: <1761312859.e68888c7046dd5539187461a8c75134b6aae02c8.hattya@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libutf8proc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libutf8proc/Manifest dev-libs/libutf8proc/libutf8proc-2.11.0.ebuild X-VCS-Directories: dev-libs/libutf8proc/ X-VCS-Committer: hattya X-VCS-Committer-Name: Akinori Hattori X-VCS-Revision: e68888c7046dd5539187461a8c75134b6aae02c8 X-VCS-Branch: master Date: Fri, 24 Oct 2025 13:35:11 +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: ea3afcf2-1c6d-4885-a6c7-143e1cb31d76 X-Archives-Hash: 0ac3955e3d3a9a1e746b7f32facea1d9 commit: e68888c7046dd5539187461a8c75134b6aae02c8 Author: Akinori Hattori gentoo org> AuthorDate: Fri Oct 24 13:34:19 2025 +0000 Commit: Akinori Hattori gentoo org> CommitDate: Fri Oct 24 13:34:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e68888c7 dev-libs/libutf8proc: new upstream release Signed-off-by: Akinori Hattori gentoo.org> dev-libs/libutf8proc/Manifest | 2 + dev-libs/libutf8proc/libutf8proc-2.11.0.ebuild | 66 ++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-libs/libutf8proc/Manifest b/dev-libs/libutf8proc/Manifest index 0f22b84ad461..43e66babd3d9 100644 --- a/dev-libs/libutf8proc/Manifest +++ b/dev-libs/libutf8proc/Manifest @@ -1,2 +1,4 @@ DIST libutf8proc-2.10.0.tar.gz 199045 BLAKE2B 5fdbf4d2606033c752ca965593431714cbc968a3c41905410e32cb2bd707a651428ee9fda0abfc365bf2129816fce392c3fe537426d64412ca543fe97dc14af5 SHA512 92a771606bcbecbb86c8d101931bc042dc7035938a665a7a449c2d8a7d3255df9df9c77c5cab0fc9dcaecb04be970149f60bfff463fc813e96727b7035ca9bb4 +DIST libutf8proc-2.11.0.tar.gz 201577 BLAKE2B 02ce6437fa09b2435383859ce0d283aa4b20fc0dce53c09e7b8c555ded5f7eefc685cd32804351683efb3e36045da1f1eb4a25e74220cf1814767ecfcdce6011 SHA512 bf9bfb20036e8b709449ee4a11592becf99e61f4c82d03519ab9de1a93ca47d6f8ed4b0bb471f7ca3ae06293275a391a9102ae810a9e07e914789d05ddbd25ab DIST libutf8proc-EastAsianWidth-16.0.0.xz 71896 BLAKE2B 84baaf37ca8252e13605edfc52ca9fa2966cbb49289ca522314a93128a232eea7fd49da1b8301377f973d333dabbd5a43d2d661aa74790fe81ca68335ddef6c7 SHA512 a558cc22b0caf5fcfd0c7d0cb224192c8c43eddad5267f69b544bce1f243f4209d836d373f448a922506ea0b43d55b26394f3dcbe1c0ce39b84a5cb854ac3506 +DIST libutf8proc-EastAsianWidth-17.0.0.xz 72628 BLAKE2B fc58d2ffbe4966fe167248e0703ed1e36f06c0e5338da0c2d800d0813b47800e5971c929fc29999acb6cedff74a0b038a30a3560166248874005911bb4fa92ce SHA512 7bee0fd890f8d0dc3cd64ad74be47173b8057ce1710990fbed585ff96ffd782b0443ffa7561d62ea22d84ffcbd68e58fa28cb3f60db37467f4a6847ca40729da diff --git a/dev-libs/libutf8proc/libutf8proc-2.11.0.ebuild b/dev-libs/libutf8proc/libutf8proc-2.11.0.ebuild new file mode 100644 index 000000000000..77b4d39990f4 --- /dev/null +++ b/dev-libs/libutf8proc/libutf8proc-2.11.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit toolchain-funcs + +EAW="${PN}-EastAsianWidth-17.0.0" + +DESCRIPTION="A clean C Library for processing UTF-8 Unicode data" +HOMEPAGE="https://github.com/JuliaStrings/utf8proc" +SRC_URI="https://github.com/JuliaStrings/${PN#lib}/archive/v${PV}/${P#lib}.tar.gz -> ${P}.tar.gz + cjk? ( https://dev.gentoo.org/~hattya/distfiles/${EAW}.xz )" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="cjk static-libs test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( =app-i18n/unicode-data-17.0* )" +S="${WORKDIR}/${P#lib}" + +QA_PKGCONFIG_VERSION="3.2.0" + +src_prepare() { + if use cjk; then + einfo "Modifying East Asian Ambiguous (A) as wide ..." + cp "${WORKDIR}"/${EAW} ${PN#lib}_data.c || die + + sed -i \ + -e "/return .*_CATEGORY_CO/s/ ||.*/;/" \ + -e "/if (ambiguous/,/}/d" \ + -e "/0xe000/d" \ + test/charwidth.c + fi + + sed -i "/^libdir/s:/lib:/$(get_libdir):" Makefile + default +} + +src_compile() { + emake \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + prefix="${EPREFIX}/usr" +} + +src_test() { + cp "${BROOT}"/usr/share/unicode-data/{DerivedCoreProperties,{Normalization,auxiliary/GraphemeBreak}Test}.txt data || die + + local name + for name in Uppercase Lowercase; do + sed -n "/# Derived Property: ${name}/,/# Total code points:/p" data/DerivedCoreProperties.txt >data/${name}.txt + done + + emake CC="$(tc-getCC)" check +} + +src_install() { + emake \ + DESTDIR="${D}" \ + prefix="${EPREFIX}/usr" \ + install + use static-libs || find "${ED}" -name '*.a' -delete || die +}