commit: 84526dd48f702598ef228b6efbbcc27bfb856c79 Author: Huang Rui <vowstar <AT> gmail <DOT> com> AuthorDate: Sat Dec 13 06:30:02 2025 +0000 Commit: Rui Huang <vowstar <AT> gmail <DOT> com> CommitDate: Sat Dec 13 06:30:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=84526dd4
dev-libs/libdatrie: add 0.2.14, drop 0.2.13-r2 Closes: https://bugs.gentoo.org/932264 Signed-off-by: Huang Rui <vowstar <AT> gmail.com> dev-libs/libdatrie/Manifest | 2 +- .../files/libdatrie-0.2.13-fix-bindir-exists.patch | 26 ---------------------- ...ie-0.2.13-r2.ebuild => libdatrie-0.2.14.ebuild} | 6 ++--- dev-libs/libdatrie/metadata.xml | 9 +++++++- 4 files changed, 11 insertions(+), 32 deletions(-) diff --git a/dev-libs/libdatrie/Manifest b/dev-libs/libdatrie/Manifest index f3ae836718..89c105c585 100644 --- a/dev-libs/libdatrie/Manifest +++ b/dev-libs/libdatrie/Manifest @@ -1 +1 @@ -DIST libdatrie-0.2.13.tar.gz 109963 BLAKE2B e4314a8ba78067963fdc3dc948238fda2ef4b1692fb4c5213ad4f1d082d0393bccc2c15d686e7e06d2d264c56e93048461e481e0807c4996d5d395e2ed6f58d4 SHA512 38f5a3ee1f3ca0f0601a5fcfeec3892cb34857d4b4720b8e018ca1beb6520c4c10af3bd2f0e4d64367cb256e8e2bca4d0a59b1c81fb36782613d2c258b64df59 +DIST libdatrie-0.2.14.tar.xz 325696 BLAKE2B 2d5036d360df09293d61f8233a737b80f41526c7f3d9a49a724817751ca0a3445fb161bdd86678d54d910053516dbe391d506eae166c9f3034a750a6928af3f7 SHA512 c5df387a1c9b5fae65eff69102651f4f054d873194d97faa8e329282353156fa4fb41a1ea771b24ade3f0ad2a548d85d7950a4aa6ed4e5c356bc504720e792d1 diff --git a/dev-libs/libdatrie/files/libdatrie-0.2.13-fix-bindir-exists.patch b/dev-libs/libdatrie/files/libdatrie-0.2.13-fix-bindir-exists.patch deleted file mode 100644 index fecdb248c9..0000000000 --- a/dev-libs/libdatrie/files/libdatrie-0.2.13-fix-bindir-exists.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 2d8744283f0a8055ccd3c8d26be04bbce22a0870 Mon Sep 17 00:00:00 2001 -From: Theppitak Karoonboonyanan <[email protected]> -Date: Thu, 15 May 2025 17:13:36 +0700 -Subject: [PATCH] Fix "make --shuffle=reverse" failure. - -See Debian #1105545 for the report. - -* tools/Makefile.am: - - Make sure $(bindir) exists before installing old program - symlink. ---- - tools/Makefile.am | 1 + - 1 files changed, 1 insertions(+) - -diff --git a/tools/Makefile.am b/tools/Makefile.am -index 992530bc..6bdb8274 100644 ---- a/tools/Makefile.am -+++ b/tools/Makefile.am -@@ -10,6 +10,7 @@ trietool_LDADD = \ - OLD_PROG_NAME=trietool-0.2 - - install-data-hook: -+ $(MKDIR_P) $(DESTDIR)$(bindir) - rm -f $(DESTDIR)$(bindir)/$(OLD_PROG_NAME) - $(LN_S) trietool $(DESTDIR)$(bindir)/$(OLD_PROG_NAME) - diff --git a/dev-libs/libdatrie/libdatrie-0.2.13-r2.ebuild b/dev-libs/libdatrie/libdatrie-0.2.14.ebuild similarity index 80% rename from dev-libs/libdatrie/libdatrie-0.2.13-r2.ebuild rename to dev-libs/libdatrie/libdatrie-0.2.14.ebuild index 8954f1eb85..57019bea14 100644 --- a/dev-libs/libdatrie/libdatrie-0.2.13-r2.ebuild +++ b/dev-libs/libdatrie/libdatrie-0.2.14.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ if [[ ${PV} == "9999" ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/tlwg/${PN}.git" else - SRC_URI="https://github.com/tlwg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/tlwg/${PN}/releases/download/v${PV}/${P}.tar.xz" KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" fi @@ -22,8 +22,6 @@ IUSE="doc" BDEPEND="doc? ( app-text/doxygen )" -PATCHES=( "${FILESDIR}/${P}-fix-bindir-exists.patch" ) - src_prepare() { default # Fixed version if in non git project diff --git a/dev-libs/libdatrie/metadata.xml b/dev-libs/libdatrie/metadata.xml index 8fe1a9eeb3..fb8d9860e2 100644 --- a/dev-libs/libdatrie/metadata.xml +++ b/dev-libs/libdatrie/metadata.xml @@ -9,7 +9,7 @@ <remote-id type="github">tlwg/libdatrie</remote-id> </upstream> <longdescription lang="en"> - This is an implementation of double-array structure for representing trie, + This is an implementation of double-array structure for representing trie, as proposed by Junichi Aoe. Trie is a kind of digital search tree, an efficient indexing method in which search time is independent of database size. It only takes O(m) search time, @@ -18,4 +18,11 @@ manipulation. This makes it ideal for lexical analyzers, as well as spelling dictionaries. </longdescription> + <longdescription lang="zh"> + 这是由 Junichi Aoe 提出的用于表示 Trie(字典树)的双数组结构实现。 + Trie 是一种数字搜索树,是一种高效的索引方法,其搜索时间与数据库大小无关。 + 它只需要 O(m) 的搜索时间,其中 m 是搜索字符串的长度。与哈希一样高效的同时, + Trie 还提供了增量匹配和键拼写操作的灵活性。这使其非常适合用于词法分析器和 + 拼写词典。 + </longdescription> </pkgmetadata>
