public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libutf8proc/
Date: Wed,  6 May 2020 13:50:39 +0000 (UTC)	[thread overview]
Message-ID: <1588773019.740e260d059b22f8a9fb57d5290acde5aa30b9f7.hattya@gentoo> (raw)

commit:     740e260d059b22f8a9fb57d5290acde5aa30b9f7
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Wed May  6 13:46:39 2020 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Wed May  6 13:50:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=740e260d

dev-libs/libutf8proc: add cjk USE flag

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 dev-libs/libutf8proc/Manifest                 |  2 ++
 dev-libs/libutf8proc/libutf8proc-2.4.0.ebuild | 14 ++++++++++++--
 dev-libs/libutf8proc/libutf8proc-2.5.0.ebuild | 14 ++++++++++++--
 3 files changed, 26 insertions(+), 4 deletions(-)

diff --git a/dev-libs/libutf8proc/Manifest b/dev-libs/libutf8proc/Manifest
index c73e10750f0..5c64c819e15 100644
--- a/dev-libs/libutf8proc/Manifest
+++ b/dev-libs/libutf8proc/Manifest
@@ -1,3 +1,5 @@
 DIST libutf8proc-2.2.0-1-src.tar.gz 156447 BLAKE2B 1ccf32760bcb8a0d4d9fbf94177ffee97e735a8cb309d5522df1b5ecd5f313a6d0c681209adb066c16ac65573c9c1edaa336b52de1b057a4b74ed6a7e9ca2671 SHA512 eedaafb2fdb3b6bd47da002a48043c26c1cd3c6b96c447a02f2fea19954c1689dcdb5f64b7c662dd8c5de4f971d75b2d69c8483bd29d49675ef47b362ad0c9ad
 DIST libutf8proc-2.4.0.tar.gz 154936 BLAKE2B a4fea823806bb784c83504de2ade985d3f0e86aa8d64747f389724ef10122953312e398a7a342cf28f25502693ee507be246338dba37c976998f6a1922cd94c5 SHA512 2bbd056b488cd30faca26618389d8af84edc39ade9b705e147b676bf39eee65b40239d01c32c46dfc2a289d79e869ed1bb3c347365603dcaab2f69e34427441a
 DIST libutf8proc-2.5.0.tar.gz 155485 BLAKE2B a0cd9285e7f171b9449d9d98f91173bad2b793a00a9c10287c43cc2050b6a0306e289cbd3b4faebb0d97fd305b77ecbb7ce11f119d9ead2a580029db0d7ad898 SHA512 0c553faf4f3841c17c7aa4cce1e917b1585c430ac3f7f240ab98cbe01b9743f2074532e6f71faf3df030f5af00e483a3faf9716a67e6a4b1bb66a3de48308014
+DIST libutf8proc-EastAsianWidth-12.1.0.xz 61760 BLAKE2B 2df2f75a9a2dd150044a5028d1863acab00ecce4511794d2e69259f3a06c20741beb1a6191cefa19e83f9511aafcf5b268d15e0b9db7c2342413dc91c4d3592c SHA512 ff5fc3ac705cf9f7a3aacc6bfd808bd4feab802c7098d8dadcefe6f6639ed82589ba67a37a3a93ff2605aa96009fefc470ce065c9cf84b47370fa17f9a16ea18
+DIST libutf8proc-EastAsianWidth-13.0.0.xz 62040 BLAKE2B 1665047336ded524d0b0a0c6a88afe0d9041a82eda688451b9b2556bcf9eebe6d817119e9aa6e07c602b076e710ecfc73d0bf3487ec5dcb131cd56914e1e6354 SHA512 8f6670299d545cc323a226cb310915ab2600d4e372221814afa67a75c6963bc0a4473a6e28fc847c0ad9761466c6f80de7b1eb3ed04fa28703a20ab34bcee0f2

diff --git a/dev-libs/libutf8proc/libutf8proc-2.4.0.ebuild b/dev-libs/libutf8proc/libutf8proc-2.4.0.ebuild
index c9a00ee06e5..38e2c5e109a 100644
--- a/dev-libs/libutf8proc/libutf8proc-2.4.0.ebuild
+++ b/dev-libs/libutf8proc/libutf8proc-2.4.0.ebuild
@@ -7,12 +7,13 @@ inherit toolchain-funcs
 
 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}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/JuliaStrings/${PN#lib}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	cjk? ( https://dev.gentoo.org/~hattya/distfiles/${PN}-EastAsianWidth-12.1.0.xz )"
 
 LICENSE="MIT"
 SLOT="0/${PV}"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux"
-IUSE="static-libs test"
+IUSE="cjk static-libs test"
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( =app-i18n/unicode-data-12.0* )"
@@ -20,6 +21,15 @@ S="${WORKDIR}/${P#lib}"
 
 PATCHES=( "${FILESDIR}"/${PN}-grapheme-test.patch )
 
+src_prepare() {
+	if use cjk; then
+		einfo "Modifying East Asian Ambiguous (A) as wide ..."
+		cp "${WORKDIR}"/${PN}-EastAsianWidth-12.1.0 ${PN#lib}_data.c || die
+	fi
+
+	default
+}
+
 src_compile() {
 	emake \
 		AR="$(tc-getAR)" \

diff --git a/dev-libs/libutf8proc/libutf8proc-2.5.0.ebuild b/dev-libs/libutf8proc/libutf8proc-2.5.0.ebuild
index 776f2dc9a1e..5d41081fd98 100644
--- a/dev-libs/libutf8proc/libutf8proc-2.5.0.ebuild
+++ b/dev-libs/libutf8proc/libutf8proc-2.5.0.ebuild
@@ -7,12 +7,13 @@ inherit toolchain-funcs
 
 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}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/JuliaStrings/${PN#lib}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	cjk? ( https://dev.gentoo.org/~hattya/distfiles/${PN}-EastAsianWidth-13.0.0.xz )"
 
 LICENSE="MIT"
 SLOT="0/${PV}"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux"
-IUSE="static-libs test"
+IUSE="cjk static-libs test"
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( =app-i18n/unicode-data-13.0* )"
@@ -20,6 +21,15 @@ S="${WORKDIR}/${P#lib}"
 
 PATCHES=( "${FILESDIR}"/${PN}-grapheme-test.patch )
 
+src_prepare() {
+	if use cjk; then
+		einfo "Modifying East Asian Ambiguous (A) as wide ..."
+		cp "${WORKDIR}"/${PN}-EastAsianWidth-13.0.0 ${PN#lib}_data.c || die
+	fi
+
+	default
+}
+
 src_compile() {
 	emake \
 		AR="$(tc-getAR)" \


             reply	other threads:[~2020-05-06 13:50 UTC|newest]

Thread overview: 86+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-06 13:50 Akinori Hattori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-29  9:44 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libutf8proc/ 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: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=1588773019.740e260d059b22f8a9fb57d5290acde5aa30b9f7.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