From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libutf8proc/
Date: Sat, 18 Jan 2025 05:32:49 +0000 (UTC) [thread overview]
Message-ID: <1737178253.22aa583f5872dfb9a684c0bbba3b1b8298f6b0a4.hattya@gentoo> (raw)
commit: 22aa583f5872dfb9a684c0bbba3b1b8298f6b0a4
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 18 05:30:53 2025 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Jan 18 05:30:53 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22aa583f
dev-libs/libutf8proc: new upstream release
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
dev-libs/libutf8proc/Manifest | 2 +
dev-libs/libutf8proc/libutf8proc-2.10.0.ebuild | 66 ++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-libs/libutf8proc/Manifest b/dev-libs/libutf8proc/Manifest
index 29cd3c50b814..1c4f3838fbfb 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.9.0.tar.gz 190190 BLAKE2B 9f259bb4eea31c95f586f8f7711cc69959d5c1aaa15b940327d6e2cc909e3a7a46dd864fa1c1fe606cd7176f7fbcfaafbb54dcbf3f2ea6d285346d96f628b72b SHA512 fef52e9fabd77efdd42c31a96a80c792cb912ad3158354cec6b260c81062444e35dd0c9c8ff311fe6a540f0022dc2f26f007afd2578e86a31a0ac74ecfc3456f
DIST libutf8proc-EastAsianWidth-15.1.0.xz 71448 BLAKE2B 4f4bc996c4fc316b7f48b59c38e2b515ecdc7c1cf0a06db093d3ae8255cb03fd380d3f28f629140b3dbbb202bdc522f3593388ff917c76388ea5f2143527ab81 SHA512 d269cd963a2e3326881a127b368b17638775ba581f36cac5de29f99a4971cc4bd21801bacb0a7958bab75fe5b075e69dd38a3ebedab8d02ed2c9feeff28e3b58
+DIST libutf8proc-EastAsianWidth-16.0.0.xz 71896 BLAKE2B 84baaf37ca8252e13605edfc52ca9fa2966cbb49289ca522314a93128a232eea7fd49da1b8301377f973d333dabbd5a43d2d661aa74790fe81ca68335ddef6c7 SHA512 a558cc22b0caf5fcfd0c7d0cb224192c8c43eddad5267f69b544bce1f243f4209d836d373f448a922506ea0b43d55b26394f3dcbe1c0ce39b84a5cb854ac3506
diff --git a/dev-libs/libutf8proc/libutf8proc-2.10.0.ebuild b/dev-libs/libutf8proc/libutf8proc-2.10.0.ebuild
new file mode 100644
index 000000000000..fd9b9d39b5c0
--- /dev/null
+++ b/dev-libs/libutf8proc/libutf8proc-2.10.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-16.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-16.0* )"
+S="${WORKDIR}/${P#lib}"
+
+QA_PKGCONFIG_VERSION="3.0.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
+}
next reply other threads:[~2025-01-18 5:33 UTC|newest]
Thread overview: 94+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-18 5:32 Akinori Hattori [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-01 20:04 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libutf8proc/ Arthur Zamarin
2025-05-01 17:58 Sam James
2025-05-01 17:32 Sam James
2025-05-01 17:32 Sam James
2025-05-01 17:32 Sam James
2025-05-01 17:32 Sam James
2025-01-20 14:22 Akinori Hattori
2024-03-29 9:44 Arthur Zamarin
2024-03-03 6:39 Akinori Hattori
2024-03-02 13:53 Michał Górny
2024-02-28 2:32 Ionen Wolkens
2024-02-12 13:05 Sam James
2024-02-12 13:05 Sam James
2024-02-12 8:55 Sam James
2024-02-12 8:55 Sam James
2024-02-12 8:55 Sam James
2023-10-24 13:50 Akinori Hattori
2023-10-24 13:50 Akinori Hattori
2023-10-24 13:50 Akinori Hattori
2023-04-16 3:39 Sam James
2023-04-16 3:39 Sam James
2023-04-16 3:39 Sam James
2023-04-16 3:39 Sam James
2023-04-16 3:39 Sam James
2023-04-16 3:39 Sam James
2023-04-16 3:39 Sam James
2022-11-16 12:52 Akinori Hattori
2022-11-16 12:52 Akinori Hattori
2022-11-16 12:52 Akinori Hattori
2022-11-16 12:52 Akinori Hattori
2022-10-31 20:47 Sam James
2022-09-04 1:48 Sam James
2022-09-04 1:44 Benda XU
2022-08-12 11:55 Agostino Sarubbo
2022-08-08 12:34 Agostino Sarubbo
2022-08-06 6:06 Arthur Zamarin
2022-08-06 6:06 Arthur Zamarin
2022-08-06 6:06 Arthur Zamarin
2022-08-06 6:06 Arthur Zamarin
2022-08-06 6:06 Arthur Zamarin
2022-08-06 0:57 Akinori Hattori
2022-01-30 9:25 Akinori Hattori
2021-09-25 23:25 Sam James
2021-09-25 22:57 Vadim Misbakh-Soloviov
2021-07-28 13:14 Marek Szuba
2021-07-17 22:59 Conrad Kostecki
2021-03-08 2:02 Aaron Bauman
2021-03-07 23:15 Aaron Bauman
2021-02-27 12:52 Akinori Hattori
2021-02-26 13:53 Sam James
2021-02-26 9:39 Agostino Sarubbo
2021-02-26 8:09 Agostino Sarubbo
2021-02-25 17:52 Sam James
2021-02-25 15:45 Sam James
2021-02-25 15:45 Sam James
2021-02-25 15:42 Sam James
2021-02-25 14:22 Akinori Hattori
2020-05-06 13:50 Akinori Hattori
2020-05-06 13:23 Akinori Hattori
2020-05-06 13:23 Akinori Hattori
2020-05-05 16:36 Akinori Hattori
2020-05-05 16:36 Akinori Hattori
2020-05-05 15:21 Akinori Hattori
2019-07-29 15:38 Aaron Bauman
2019-07-05 19:05 Virgil Dupras
2019-05-14 8:06 Michael Haubenwallner
2019-05-11 19:41 Virgil Dupras
2019-05-07 18:05 Virgil Dupras
2019-04-15 0:19 Aaron Bauman
2019-03-21 22:34 Matt Turner
2019-03-17 21:37 Matt Turner
2019-03-17 21:37 Matt Turner
2019-02-12 20:24 Jeroen Roovers
2019-01-31 18:04 Tobias Klausmann
2019-01-23 13:41 Mikle Kolyada
2019-01-18 7:27 Sergei Trofimovich
2019-01-16 15:33 Mikle Kolyada
2019-01-15 22:10 Thomas Deutschmann
2018-11-26 13:39 Benda XU
2018-11-13 18:13 Virgil Dupras
2018-10-17 8:51 Tobias Klausmann
2018-06-11 9:59 Thomas Deutschmann
2018-04-30 1:10 Jeroen Roovers
2018-04-19 20:40 Sergei Trofimovich
2018-04-15 21:49 Sergei Trofimovich
2018-04-15 20:56 Sergei Trofimovich
2017-12-18 15:00 Michael Weber
2017-02-05 12:18 Michael Weber
2016-07-25 17:45 Chí-Thanh Christopher Nguyễn
2016-06-17 11:13 Michael Weber
2016-05-07 21:44 Michael Weber
2016-05-07 21:44 Michael Weber
2016-03-02 22:53 Michael Weber
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=1737178253.22aa583f5872dfb9a684c0bbba3b1b8298f6b0a4.hattya@gentoo \
--to=hattya@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