[gentoo-commits] repo/gentoo:master commit in: app-i18n/libime/

2024-06-09 Thread Matt Turner
commit: beefa318be8dc4c3ea9bf496c470d4532348db23
Author: Matt Turner  gentoo  org>
AuthorDate: Sun Jun  9 18:47:51 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun Jun  9 18:54:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beefa318

app-i18n/libime: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 app-i18n/libime/Manifest|  1 -
 app-i18n/libime/libime-1.1.7.ebuild | 50 -
 2 files changed, 51 deletions(-)

diff --git a/app-i18n/libime/Manifest b/app-i18n/libime/Manifest
index cc365fa66a4f..2ca802d44025 100644
--- a/app-i18n/libime/Manifest
+++ b/app-i18n/libime/Manifest
@@ -1,2 +1 @@
-DIST libime-1.1.7_dict.tar.zst 37060247 BLAKE2B 
1d81110e40844ad4e8b78445afbea7c7310150e75723e011bbc67e6cf75993197569f17192e4b4134e5bd99b0e5947d49fd6a622f02cd6df17cb176b23d31510
 SHA512 
67b69fe33e2a55cf9f82c668f3c97929fe8a0531e1540fa593ef15535ba66e079171928a54b268638a1d5fd14901f47500d1a6f79ad0e28f7f81e426f1384b42
 DIST libime-1.1.8_dict.tar.zst 37061630 BLAKE2B 
e76ee4d403bdc2ef9c9eab663f6da3f1421d5aeb7761a1ccca21acf07626f27a9f00c0a8d83cf121a782c03252bd5f0aeccb81af639ca93902bb28716a1a3afb
 SHA512 
5fa6683dcaa92d754b87ed01989a7a98eee9d4ee642720b1ac1b0b58416a6202ca929e2593dfe59ae361afb7d311d8e238a188530ba99db7aaa3164713c95a4a

diff --git a/app-i18n/libime/libime-1.1.7.ebuild 
b/app-i18n/libime/libime-1.1.7.ebuild
deleted file mode 100644
index fd371c42c371..
--- a/app-i18n/libime/libime-1.1.7.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake unpacker
-
-DESCRIPTION="Fcitx5 Next generation of fcitx "
-HOMEPAGE="https://fcitx-im.org/;
-SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.zst;
-
-LICENSE="LGPL-2+"
-SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
-IUSE="+data doc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=app-i18n/fcitx-5.1.5:5
-   app-arch/zstd:=
-   dev-libs/boost:=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   kde-frameworks/extra-cmake-modules:0
-   virtual/pkgconfig
-   doc? (
-   app-text/doxygen
-   dev-texlive/texlive-fontutils
-   )
-"
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_DATA=$(usex data)
-   -DENABLE_DOC=$(usex doc)
-   -DENABLE_TEST=$(usex test)
-   )
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-   use doc && cmake_src_compile doc
-}
-
-src_install() {
-   cmake_src_install
-   use doc && dodoc -r "${BUILD_DIR}"/doc/*
-}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/libime/

2024-06-01 Thread Yixun Lan
commit: aafdff23e63d5f4d21d2426c835967a6a22b97cf
Author: Yongxiang Liang  gmail  com>
AuthorDate: Sat Jun  1 14:30:00 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Jun  2 03:24:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aafdff23

app-i18n/libime: add 1.1.8

Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 app-i18n/libime/Manifest|  1 +
 app-i18n/libime/libime-1.1.8.ebuild | 50 +
 2 files changed, 51 insertions(+)

diff --git a/app-i18n/libime/Manifest b/app-i18n/libime/Manifest
index 8bf1ca97166f..ae195f7a2d0b 100644
--- a/app-i18n/libime/Manifest
+++ b/app-i18n/libime/Manifest
@@ -1,2 +1,3 @@
 DIST libime-1.1.6_dict.tar.xz 36441068 BLAKE2B 
b10fff3c145fe96be0537c9934ffbbe2f0cea70df0bd4a3d517cfb74cbc976202846b14396c4f04097ebd24d268b3df7208113dbcd4dc0cd39fee7918381ec2d
 SHA512 
adb7570c4d62ea94c8c38ab79a2a26700882088b518b6b7d6e16b0808d30ec751ee78d5084270adcacdeb4f3bace60332c4d67388eebfbf73627d22b30651bc4
 DIST libime-1.1.7_dict.tar.zst 37060247 BLAKE2B 
1d81110e40844ad4e8b78445afbea7c7310150e75723e011bbc67e6cf75993197569f17192e4b4134e5bd99b0e5947d49fd6a622f02cd6df17cb176b23d31510
 SHA512 
67b69fe33e2a55cf9f82c668f3c97929fe8a0531e1540fa593ef15535ba66e079171928a54b268638a1d5fd14901f47500d1a6f79ad0e28f7f81e426f1384b42
+DIST libime-1.1.8_dict.tar.zst 37061630 BLAKE2B 
e76ee4d403bdc2ef9c9eab663f6da3f1421d5aeb7761a1ccca21acf07626f27a9f00c0a8d83cf121a782c03252bd5f0aeccb81af639ca93902bb28716a1a3afb
 SHA512 
5fa6683dcaa92d754b87ed01989a7a98eee9d4ee642720b1ac1b0b58416a6202ca929e2593dfe59ae361afb7d311d8e238a188530ba99db7aaa3164713c95a4a

diff --git a/app-i18n/libime/libime-1.1.8.ebuild 
b/app-i18n/libime/libime-1.1.8.ebuild
new file mode 100644
index ..fd371c42c371
--- /dev/null
+++ b/app-i18n/libime/libime-1.1.8.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake unpacker
+
+DESCRIPTION="Fcitx5 Next generation of fcitx "
+HOMEPAGE="https://fcitx-im.org/;
+SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.zst;
+
+LICENSE="LGPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
+IUSE="+data doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=app-i18n/fcitx-5.1.5:5
+   app-arch/zstd:=
+   dev-libs/boost:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   kde-frameworks/extra-cmake-modules:0
+   virtual/pkgconfig
+   doc? (
+   app-text/doxygen
+   dev-texlive/texlive-fontutils
+   )
+"
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_DATA=$(usex data)
+   -DENABLE_DOC=$(usex doc)
+   -DENABLE_TEST=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   use doc && cmake_src_compile doc
+}
+
+src_install() {
+   cmake_src_install
+   use doc && dodoc -r "${BUILD_DIR}"/doc/*
+}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/libime/

2024-06-01 Thread Yixun Lan
commit: fa95b53b906b8ffa9187f7e376367139ea7af6e8
Author: Yongxiang Liang  gmail  com>
AuthorDate: Sat Jun  1 21:54:35 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Jun  2 03:24:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa95b53b

app-i18n/libime: drop 1.1.6

Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 app-i18n/libime/Manifest|  1 -
 app-i18n/libime/libime-1.1.6.ebuild | 50 -
 2 files changed, 51 deletions(-)

diff --git a/app-i18n/libime/Manifest b/app-i18n/libime/Manifest
index ae195f7a2d0b..cc365fa66a4f 100644
--- a/app-i18n/libime/Manifest
+++ b/app-i18n/libime/Manifest
@@ -1,3 +1,2 @@
-DIST libime-1.1.6_dict.tar.xz 36441068 BLAKE2B 
b10fff3c145fe96be0537c9934ffbbe2f0cea70df0bd4a3d517cfb74cbc976202846b14396c4f04097ebd24d268b3df7208113dbcd4dc0cd39fee7918381ec2d
 SHA512 
adb7570c4d62ea94c8c38ab79a2a26700882088b518b6b7d6e16b0808d30ec751ee78d5084270adcacdeb4f3bace60332c4d67388eebfbf73627d22b30651bc4
 DIST libime-1.1.7_dict.tar.zst 37060247 BLAKE2B 
1d81110e40844ad4e8b78445afbea7c7310150e75723e011bbc67e6cf75993197569f17192e4b4134e5bd99b0e5947d49fd6a622f02cd6df17cb176b23d31510
 SHA512 
67b69fe33e2a55cf9f82c668f3c97929fe8a0531e1540fa593ef15535ba66e079171928a54b268638a1d5fd14901f47500d1a6f79ad0e28f7f81e426f1384b42
 DIST libime-1.1.8_dict.tar.zst 37061630 BLAKE2B 
e76ee4d403bdc2ef9c9eab663f6da3f1421d5aeb7761a1ccca21acf07626f27a9f00c0a8d83cf121a782c03252bd5f0aeccb81af639ca93902bb28716a1a3afb
 SHA512 
5fa6683dcaa92d754b87ed01989a7a98eee9d4ee642720b1ac1b0b58416a6202ca929e2593dfe59ae361afb7d311d8e238a188530ba99db7aaa3164713c95a4a

diff --git a/app-i18n/libime/libime-1.1.6.ebuild 
b/app-i18n/libime/libime-1.1.6.ebuild
deleted file mode 100644
index 93be98f71519..
--- a/app-i18n/libime/libime-1.1.6.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Fcitx5 Next generation of fcitx "
-HOMEPAGE="https://fcitx-im.org/;
-SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.xz;
-
-LICENSE="LGPL-2+"
-SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
-IUSE="+data doc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=app-i18n/fcitx-5.1.5:5
-   app-arch/zstd:=
-   dev-libs/boost:=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   kde-frameworks/extra-cmake-modules:0
-   virtual/pkgconfig
-   doc? (
-   app-text/doxygen
-   dev-texlive/texlive-fontutils
-   )
-"
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_DATA=$(usex data)
-   -DENABLE_DOC=$(usex doc)
-   -DENABLE_TEST=$(usex test)
-   )
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-   use doc && cmake_src_compile doc
-}
-
-src_install() {
-   cmake_src_install
-   use doc && dodoc -r "${BUILD_DIR}"/doc/*
-}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/libime/

2024-04-24 Thread Yixun Lan
commit: 9c1df9b0eb54bd76590ddcc710514596a889b9a6
Author: Yongxiang Liang  gmail  com>
AuthorDate: Wed Apr 24 01:02:08 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Apr 24 23:45:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c1df9b0

app-i18n/libime: drop 1.1.5

Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 app-i18n/libime/Manifest|  1 -
 app-i18n/libime/libime-1.1.5.ebuild | 50 -
 2 files changed, 51 deletions(-)

diff --git a/app-i18n/libime/Manifest b/app-i18n/libime/Manifest
index d02dd2eebeb4..8bf1ca97166f 100644
--- a/app-i18n/libime/Manifest
+++ b/app-i18n/libime/Manifest
@@ -1,3 +1,2 @@
-DIST libime-1.1.5_dict.tar.xz 36440624 BLAKE2B 
20a4868dbf971d26b2772d8a95dec13f7a12689a763839ea99d700c6c74dc9e5b6b228b8adbb1b12cd3007bd42987ea11093d9ba2fb7bcbbc0a6254af90d8efa
 SHA512 
d218025e5e40b87571a6285435c79d12f664ffef232bbb7a6698f99f36e62ee15e7d5da133fbc73e2b9b6443b6f5f7461f7b6f9feb3d18c49b8463d3aec786b2
 DIST libime-1.1.6_dict.tar.xz 36441068 BLAKE2B 
b10fff3c145fe96be0537c9934ffbbe2f0cea70df0bd4a3d517cfb74cbc976202846b14396c4f04097ebd24d268b3df7208113dbcd4dc0cd39fee7918381ec2d
 SHA512 
adb7570c4d62ea94c8c38ab79a2a26700882088b518b6b7d6e16b0808d30ec751ee78d5084270adcacdeb4f3bace60332c4d67388eebfbf73627d22b30651bc4
 DIST libime-1.1.7_dict.tar.zst 37060247 BLAKE2B 
1d81110e40844ad4e8b78445afbea7c7310150e75723e011bbc67e6cf75993197569f17192e4b4134e5bd99b0e5947d49fd6a622f02cd6df17cb176b23d31510
 SHA512 
67b69fe33e2a55cf9f82c668f3c97929fe8a0531e1540fa593ef15535ba66e079171928a54b268638a1d5fd14901f47500d1a6f79ad0e28f7f81e426f1384b42

diff --git a/app-i18n/libime/libime-1.1.5.ebuild 
b/app-i18n/libime/libime-1.1.5.ebuild
deleted file mode 100644
index 93be98f71519..
--- a/app-i18n/libime/libime-1.1.5.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Fcitx5 Next generation of fcitx "
-HOMEPAGE="https://fcitx-im.org/;
-SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.xz;
-
-LICENSE="LGPL-2+"
-SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
-IUSE="+data doc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=app-i18n/fcitx-5.1.5:5
-   app-arch/zstd:=
-   dev-libs/boost:=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   kde-frameworks/extra-cmake-modules:0
-   virtual/pkgconfig
-   doc? (
-   app-text/doxygen
-   dev-texlive/texlive-fontutils
-   )
-"
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_DATA=$(usex data)
-   -DENABLE_DOC=$(usex doc)
-   -DENABLE_TEST=$(usex test)
-   )
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-   use doc && cmake_src_compile doc
-}
-
-src_install() {
-   cmake_src_install
-   use doc && dodoc -r "${BUILD_DIR}"/doc/*
-}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/libime/

2024-04-24 Thread Yixun Lan
commit: f8f04aa3199652e2c0abdabded7c8e670612fe1e
Author: Yongxiang Liang  gmail  com>
AuthorDate: Tue Apr 23 12:56:05 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Apr 24 23:45:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8f04aa3

app-i18n/libime: add 1.1.7

Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 app-i18n/libime/Manifest|  1 +
 app-i18n/libime/libime-1.1.7.ebuild | 50 +
 2 files changed, 51 insertions(+)

diff --git a/app-i18n/libime/Manifest b/app-i18n/libime/Manifest
index dba61e3e2c1d..d02dd2eebeb4 100644
--- a/app-i18n/libime/Manifest
+++ b/app-i18n/libime/Manifest
@@ -1,2 +1,3 @@
 DIST libime-1.1.5_dict.tar.xz 36440624 BLAKE2B 
20a4868dbf971d26b2772d8a95dec13f7a12689a763839ea99d700c6c74dc9e5b6b228b8adbb1b12cd3007bd42987ea11093d9ba2fb7bcbbc0a6254af90d8efa
 SHA512 
d218025e5e40b87571a6285435c79d12f664ffef232bbb7a6698f99f36e62ee15e7d5da133fbc73e2b9b6443b6f5f7461f7b6f9feb3d18c49b8463d3aec786b2
 DIST libime-1.1.6_dict.tar.xz 36441068 BLAKE2B 
b10fff3c145fe96be0537c9934ffbbe2f0cea70df0bd4a3d517cfb74cbc976202846b14396c4f04097ebd24d268b3df7208113dbcd4dc0cd39fee7918381ec2d
 SHA512 
adb7570c4d62ea94c8c38ab79a2a26700882088b518b6b7d6e16b0808d30ec751ee78d5084270adcacdeb4f3bace60332c4d67388eebfbf73627d22b30651bc4
+DIST libime-1.1.7_dict.tar.zst 37060247 BLAKE2B 
1d81110e40844ad4e8b78445afbea7c7310150e75723e011bbc67e6cf75993197569f17192e4b4134e5bd99b0e5947d49fd6a622f02cd6df17cb176b23d31510
 SHA512 
67b69fe33e2a55cf9f82c668f3c97929fe8a0531e1540fa593ef15535ba66e079171928a54b268638a1d5fd14901f47500d1a6f79ad0e28f7f81e426f1384b42

diff --git a/app-i18n/libime/libime-1.1.7.ebuild 
b/app-i18n/libime/libime-1.1.7.ebuild
new file mode 100644
index ..fd371c42c371
--- /dev/null
+++ b/app-i18n/libime/libime-1.1.7.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake unpacker
+
+DESCRIPTION="Fcitx5 Next generation of fcitx "
+HOMEPAGE="https://fcitx-im.org/;
+SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.zst;
+
+LICENSE="LGPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
+IUSE="+data doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=app-i18n/fcitx-5.1.5:5
+   app-arch/zstd:=
+   dev-libs/boost:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   kde-frameworks/extra-cmake-modules:0
+   virtual/pkgconfig
+   doc? (
+   app-text/doxygen
+   dev-texlive/texlive-fontutils
+   )
+"
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_DATA=$(usex data)
+   -DENABLE_DOC=$(usex doc)
+   -DENABLE_TEST=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   use doc && cmake_src_compile doc
+}
+
+src_install() {
+   cmake_src_install
+   use doc && dodoc -r "${BUILD_DIR}"/doc/*
+}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/libime/

2024-03-08 Thread Yixun Lan
commit: 9bebf76fcadc2cb13f78284fd32f4f4f37208087
Author: Yongxiang Liang  gmail  com>
AuthorDate: Fri Mar  1 13:35:01 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Mar  8 09:06:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bebf76f

app-i18n/libime: add 1.1.6

Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 app-i18n/libime/Manifest|  1 +
 app-i18n/libime/libime-1.1.6.ebuild | 50 +
 2 files changed, 51 insertions(+)

diff --git a/app-i18n/libime/Manifest b/app-i18n/libime/Manifest
index 4fd2b03b51ac..dba61e3e2c1d 100644
--- a/app-i18n/libime/Manifest
+++ b/app-i18n/libime/Manifest
@@ -1 +1,2 @@
 DIST libime-1.1.5_dict.tar.xz 36440624 BLAKE2B 
20a4868dbf971d26b2772d8a95dec13f7a12689a763839ea99d700c6c74dc9e5b6b228b8adbb1b12cd3007bd42987ea11093d9ba2fb7bcbbc0a6254af90d8efa
 SHA512 
d218025e5e40b87571a6285435c79d12f664ffef232bbb7a6698f99f36e62ee15e7d5da133fbc73e2b9b6443b6f5f7461f7b6f9feb3d18c49b8463d3aec786b2
+DIST libime-1.1.6_dict.tar.xz 36441068 BLAKE2B 
b10fff3c145fe96be0537c9934ffbbe2f0cea70df0bd4a3d517cfb74cbc976202846b14396c4f04097ebd24d268b3df7208113dbcd4dc0cd39fee7918381ec2d
 SHA512 
adb7570c4d62ea94c8c38ab79a2a26700882088b518b6b7d6e16b0808d30ec751ee78d5084270adcacdeb4f3bace60332c4d67388eebfbf73627d22b30651bc4

diff --git a/app-i18n/libime/libime-1.1.6.ebuild 
b/app-i18n/libime/libime-1.1.6.ebuild
new file mode 100644
index ..93be98f71519
--- /dev/null
+++ b/app-i18n/libime/libime-1.1.6.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Fcitx5 Next generation of fcitx "
+HOMEPAGE="https://fcitx-im.org/;
+SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.xz;
+
+LICENSE="LGPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
+IUSE="+data doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=app-i18n/fcitx-5.1.5:5
+   app-arch/zstd:=
+   dev-libs/boost:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   kde-frameworks/extra-cmake-modules:0
+   virtual/pkgconfig
+   doc? (
+   app-text/doxygen
+   dev-texlive/texlive-fontutils
+   )
+"
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_DATA=$(usex data)
+   -DENABLE_DOC=$(usex doc)
+   -DENABLE_TEST=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   use doc && cmake_src_compile doc
+}
+
+src_install() {
+   cmake_src_install
+   use doc && dodoc -r "${BUILD_DIR}"/doc/*
+}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/libime/

2024-01-18 Thread WANG Xuerui
commit: 97bf45297f35152f7f43d19aa5b690654d35a605
Author: Yongxiang Liang  gmail  com>
AuthorDate: Wed Jan 17 23:03:16 2024 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu Jan 18 15:09:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97bf4529

app-i18n/libime: drop 1.1.4

Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: WANG Xuerui  gentoo.org>

 app-i18n/libime/Manifest|  1 -
 app-i18n/libime/libime-1.1.4.ebuild | 50 -
 2 files changed, 51 deletions(-)

diff --git a/app-i18n/libime/Manifest b/app-i18n/libime/Manifest
index 0e84fa4958ad..4fd2b03b51ac 100644
--- a/app-i18n/libime/Manifest
+++ b/app-i18n/libime/Manifest
@@ -1,2 +1 @@
-DIST libime-1.1.4_dict.tar.xz 36440016 BLAKE2B 
8bb6f4b39cacba4730145a23c53357a3ed42f2fdbeccd73d18f84434141219a7ea91bcbb1a38d5e61c9d72421649920dd393de4cb9248e8b8c6aeacf6e6f65db
 SHA512 
8d3a565022da401fc338811b69905f000100be6cfdaa3cffb4fc1814854f4610b992fe3a43eeb49205b819d4a4382cacf16adf5d27d7d7f735293957f7db463c
 DIST libime-1.1.5_dict.tar.xz 36440624 BLAKE2B 
20a4868dbf971d26b2772d8a95dec13f7a12689a763839ea99d700c6c74dc9e5b6b228b8adbb1b12cd3007bd42987ea11093d9ba2fb7bcbbc0a6254af90d8efa
 SHA512 
d218025e5e40b87571a6285435c79d12f664ffef232bbb7a6698f99f36e62ee15e7d5da133fbc73e2b9b6443b6f5f7461f7b6f9feb3d18c49b8463d3aec786b2

diff --git a/app-i18n/libime/libime-1.1.4.ebuild 
b/app-i18n/libime/libime-1.1.4.ebuild
deleted file mode 100644
index 93be98f71519..
--- a/app-i18n/libime/libime-1.1.4.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Fcitx5 Next generation of fcitx "
-HOMEPAGE="https://fcitx-im.org/;
-SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.xz;
-
-LICENSE="LGPL-2+"
-SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
-IUSE="+data doc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=app-i18n/fcitx-5.1.5:5
-   app-arch/zstd:=
-   dev-libs/boost:=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   kde-frameworks/extra-cmake-modules:0
-   virtual/pkgconfig
-   doc? (
-   app-text/doxygen
-   dev-texlive/texlive-fontutils
-   )
-"
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_DATA=$(usex data)
-   -DENABLE_DOC=$(usex doc)
-   -DENABLE_TEST=$(usex test)
-   )
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-   use doc && cmake_src_compile doc
-}
-
-src_install() {
-   cmake_src_install
-   use doc && dodoc -r "${BUILD_DIR}"/doc/*
-}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/libime/

2024-01-18 Thread WANG Xuerui
commit: 91311813018825a940f36b4bf941da6a8f8840da
Author: Yongxiang Liang  gmail  com>
AuthorDate: Wed Jan 17 22:53:23 2024 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu Jan 18 15:09:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91311813

app-i18n/libime: add 1.1.5

Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: WANG Xuerui  gentoo.org>

 app-i18n/libime/Manifest|  1 +
 app-i18n/libime/libime-1.1.5.ebuild | 50 +
 2 files changed, 51 insertions(+)

diff --git a/app-i18n/libime/Manifest b/app-i18n/libime/Manifest
index 935353998cbf..0e84fa4958ad 100644
--- a/app-i18n/libime/Manifest
+++ b/app-i18n/libime/Manifest
@@ -1 +1,2 @@
 DIST libime-1.1.4_dict.tar.xz 36440016 BLAKE2B 
8bb6f4b39cacba4730145a23c53357a3ed42f2fdbeccd73d18f84434141219a7ea91bcbb1a38d5e61c9d72421649920dd393de4cb9248e8b8c6aeacf6e6f65db
 SHA512 
8d3a565022da401fc338811b69905f000100be6cfdaa3cffb4fc1814854f4610b992fe3a43eeb49205b819d4a4382cacf16adf5d27d7d7f735293957f7db463c
+DIST libime-1.1.5_dict.tar.xz 36440624 BLAKE2B 
20a4868dbf971d26b2772d8a95dec13f7a12689a763839ea99d700c6c74dc9e5b6b228b8adbb1b12cd3007bd42987ea11093d9ba2fb7bcbbc0a6254af90d8efa
 SHA512 
d218025e5e40b87571a6285435c79d12f664ffef232bbb7a6698f99f36e62ee15e7d5da133fbc73e2b9b6443b6f5f7461f7b6f9feb3d18c49b8463d3aec786b2

diff --git a/app-i18n/libime/libime-1.1.5.ebuild 
b/app-i18n/libime/libime-1.1.5.ebuild
new file mode 100644
index ..93be98f71519
--- /dev/null
+++ b/app-i18n/libime/libime-1.1.5.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Fcitx5 Next generation of fcitx "
+HOMEPAGE="https://fcitx-im.org/;
+SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.xz;
+
+LICENSE="LGPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
+IUSE="+data doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=app-i18n/fcitx-5.1.5:5
+   app-arch/zstd:=
+   dev-libs/boost:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   kde-frameworks/extra-cmake-modules:0
+   virtual/pkgconfig
+   doc? (
+   app-text/doxygen
+   dev-texlive/texlive-fontutils
+   )
+"
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_DATA=$(usex data)
+   -DENABLE_DOC=$(usex doc)
+   -DENABLE_TEST=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   use doc && cmake_src_compile doc
+}
+
+src_install() {
+   cmake_src_install
+   use doc && dodoc -r "${BUILD_DIR}"/doc/*
+}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/libime/

2024-01-17 Thread Jakov Smolić
commit: 17780cb869fd31ef2da19921bd5c5a4879f524fc
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Jan 17 09:03:51 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Jan 17 09:03:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17780cb8

app-i18n/libime: Keyword 1.1.4 riscv, #922103

Signed-off-by: Jakov Smolić  gentoo.org>

 app-i18n/libime/libime-1.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/libime/libime-1.1.4.ebuild 
b/app-i18n/libime/libime-1.1.4.ebuild
index c5f6cad9267b..93be98f71519 100644
--- a/app-i18n/libime/libime-1.1.4.ebuild
+++ b/app-i18n/libime/libime-1.1.4.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.xz;
 
 LICENSE="LGPL-2+"
 SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~loong ~x86"
+KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
 IUSE="+data doc test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/libime/

2024-01-16 Thread Arthur Zamarin
commit: f7996847e001fde89c469dc9137b5526c28f8e1e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jan 16 17:49:19 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jan 16 17:49:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7996847

app-i18n/libime: Keyword 1.1.4 arm64, #922103

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-i18n/libime/libime-1.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/libime/libime-1.1.4.ebuild 
b/app-i18n/libime/libime-1.1.4.ebuild
index c01eea7c1978..c5f6cad9267b 100644
--- a/app-i18n/libime/libime-1.1.4.ebuild
+++ b/app-i18n/libime/libime-1.1.4.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.xz;
 
 LICENSE="LGPL-2+"
 SLOT="5"
-KEYWORDS="~amd64 ~loong ~x86"
+KEYWORDS="~amd64 ~arm64 ~loong ~x86"
 IUSE="+data doc test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/libime/files/

2024-01-13 Thread Michał Górny
commit: 7c5ab1d666c5b0c0c23478bd3b25867cffec6563
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sat Jan 13 14:45:37 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 13 18:50:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c5ab1d6

app-i18n/libime: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Michał Górny  gentoo.org>

 ...me-1.1.3-fix-the-nanf-value-issue-on-musl.patch | 79 --
 .../files/libime-1.1.3-use-c++11-for-kenlm.patch   | 17 -
 2 files changed, 96 deletions(-)

diff --git 
a/app-i18n/libime/files/libime-1.1.3-fix-the-nanf-value-issue-on-musl.patch 
b/app-i18n/libime/files/libime-1.1.3-fix-the-nanf-value-issue-on-musl.patch
deleted file mode 100644
index 73b94a07cff5..
--- a/app-i18n/libime/files/libime-1.1.3-fix-the-nanf-value-issue-on-musl.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-Backport of 
https://github.com/fcitx/libime/commit/59ae4a3ab4becdab164f29af07c502096c745b94.diff
-
-Backport upstream commit 59ae4a3 to fix the nanf value issue on musl
-
 a/src/libime/core/datrie.cpp
-+++ b/src/libime/core/datrie.cpp
-@@ -47,12 +47,24 @@ struct NanValue {
- static inline int32_t NO_PATH() { return -2; }
- };
- 
-+// Musl doesn't have nanf implementation we need, just check if they are the
-+// same value. If not, prefer old hardcoded value.
-+bool isGoodNanf() {
-+int32_t noValue = decodeValue(std::nanf("1"));
-+int32_t noPath = decodeValue(std::nanf("2"));
-+return (noValue != noPath);
-+}
-+
- template <>
- struct NanValue {
- static_assert(std::numeric_limits::has_quiet_NaN,
-   "Require support for quiet NaN.");
--static inline int32_t NO_VALUE() { return decodeValue(std::nanf("1")); }
--static inline int32_t NO_PATH() { return decodeValue(std::nanf("2")); }
-+static inline int32_t NO_VALUE() {
-+return isGoodNanf() ? decodeValue(std::nanf("1")) : 0x7fc1;
-+}
-+static inline int32_t NO_PATH() {
-+return isGoodNanf() ? decodeValue(std::nanf("2")) : 0x7fc2;
-+}
- };
- 
- } // namespace
-@@ -1144,6 +1156,20 @@ bool DATrie::isValid(value_type v) {
- return !(isNoPath(v) || isNoValue(v));
- }
- 
-+template 
-+T DATrie::noPath() {
-+typename DATriePrivate::decorder_type d;
-+d.result = DATriePrivate::CEDAR_NO_PATH;
-+return d.result_value;
-+}
-+
-+template 
-+T DATrie::noValue() {
-+typename DATriePrivate::decorder_type d;
-+d.result = DATriePrivate::CEDAR_NO_VALUE;
-+return d.result_value;
-+}
-+
- template 
- size_t DATrie::mem_size() const {
- // std::cout << "tail" << d->m_tail.size() << std::endl
 a/src/libime/core/datrie.h
-+++ b/src/libime/core/datrie.h
-@@ -136,6 +136,9 @@ class DATrie {
- static bool isNoPath(value_type v);
- static bool isNoValue(value_type v);
- 
-+static value_type noPath();
-+static value_type noValue();
-+
- size_t mem_size() const;
- 
- private:
 a/test/testtrie.cpp
-+++ b/test/testtrie.cpp
-@@ -40,8 +40,8 @@ int main() {
- FCITX_ASSERT(trie.size() == 4);
- DATrie::position_type pos = 0;
- auto result = trie.traverse("aaa", pos);
--auto nan1 = std::nanf("1");
--auto nan2 = std::nanf("2");
-+auto nan1 = trie.noValue();
-+auto nan2 = trie.noPath();
- // NaN != NaN, we must use memcmp to do this.
- FCITX_ASSERT(memcmp(, , sizeof(float)) == 0);
- FCITX_ASSERT(trie.isNoValue(result));

diff --git a/app-i18n/libime/files/libime-1.1.3-use-c++11-for-kenlm.patch 
b/app-i18n/libime/files/libime-1.1.3-use-c++11-for-kenlm.patch
deleted file mode 100644
index 15b0024c4668..
--- a/app-i18n/libime/files/libime-1.1.3-use-c++11-for-kenlm.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Backport of 
https://github.com/fcitx/libime/commit/95c1433500b089b0c2edbdd17720f66e6eafd5e0
-
-Backport upstream commit 95c1433 in order to fix building with libcxx
-
 a/src/libime/core/CMakeLists.txt
-+++ b/src/libime/core/CMakeLists.txt
-@@ -13,7 +13,9 @@ add_library(kenlm STATIC ${KENLM_SRCS})
- target_include_directories(kenlm PUBLIC 
$)
- target_compile_definitions(kenlm PUBLIC -DKENLM_MAX_ORDER=3 PRIVATE -DNDEBUG)
- target_link_libraries(kenlm PUBLIC Boost::boost PkgConfig::ZSTD)
--set_target_properties(kenlm PROPERTIES POSITION_INDEPENDENT_CODE ON)
-+set_target_properties(kenlm PROPERTIES
-+  CXX_STANDARD 11
-+  POSITION_INDEPENDENT_CODE ON)
- 
- if(UNIX)
-   check_library_exists(rt clock_gettime "clock_gettime from librt" 
HAVE_CLOCKGETTIME_RT)



[gentoo-commits] repo/gentoo:master commit in: app-i18n/libime/

2024-01-10 Thread Yixun Lan
commit: 9c5d6cd12498208801f2a790d5c5dc80bedfae85
Author: Yongxiang Liang  gmail  com>
AuthorDate: Fri Jan  5 04:51:08 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Jan 11 00:20:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c5d6cd1

app-i18n/libime: drop 1.1.3

Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 app-i18n/libime/Manifest|  1 -
 app-i18n/libime/libime-1.1.3.ebuild | 54 -
 2 files changed, 55 deletions(-)

diff --git a/app-i18n/libime/Manifest b/app-i18n/libime/Manifest
index 7f51a3e3407a..935353998cbf 100644
--- a/app-i18n/libime/Manifest
+++ b/app-i18n/libime/Manifest
@@ -1,2 +1 @@
-DIST libime-1.1.3_dict.tar.xz 36438528 BLAKE2B 
2577362aeddf398b9ee7d29c71d157f7aef67b30d2463719ed020eaaa98e955c83b8a7df1e90e4519ae13d2146eff440dafdb93d723a2feaeb60f96e70633410
 SHA512 
5079721651df334292fbcc6275ded55d41c6380183ef5487be558e93b551a6a6d651fb0fa0456c1d40ffdae432bf51375058fdcf631ea8a93c8751530642fc92
 DIST libime-1.1.4_dict.tar.xz 36440016 BLAKE2B 
8bb6f4b39cacba4730145a23c53357a3ed42f2fdbeccd73d18f84434141219a7ea91bcbb1a38d5e61c9d72421649920dd393de4cb9248e8b8c6aeacf6e6f65db
 SHA512 
8d3a565022da401fc338811b69905f000100be6cfdaa3cffb4fc1814854f4610b992fe3a43eeb49205b819d4a4382cacf16adf5d27d7d7f735293957f7db463c

diff --git a/app-i18n/libime/libime-1.1.3.ebuild 
b/app-i18n/libime/libime-1.1.3.ebuild
deleted file mode 100644
index 6c024fd0795e..
--- a/app-i18n/libime/libime-1.1.3.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Fcitx5 Next generation of fcitx "
-HOMEPAGE="https://fcitx-im.org/;
-SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.xz;
-
-LICENSE="LGPL-2+"
-SLOT="5"
-KEYWORDS="~amd64 ~loong ~x86"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=app-i18n/fcitx-5.1.5:5
-   app-arch/zstd:=
-   dev-libs/boost:=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   kde-frameworks/extra-cmake-modules:0
-   virtual/pkgconfig
-   doc? (
-   app-doc/doxygen
-   dev-texlive/texlive-fontutils
-   )
-"
-
-PATCHES=(
-   "${FILESDIR}/${P}-use-c++11-for-kenlm.patch"
-   "${FILESDIR}/${P}-fix-the-nanf-value-issue-on-musl.patch"
-)
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_DOC=$(usex doc)
-   -DENABLE_TEST=$(usex test)
-   )
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-   use doc && cmake_src_compile doc
-}
-
-src_install() {
-   cmake_src_install
-   use doc && dodoc -r "${BUILD_DIR}"/doc/*
-}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/libime/

2024-01-10 Thread Yixun Lan
commit: d5b95dea8d5fe7cd58d2a65541ce9824d84628e4
Author: Yongxiang Liang  gmail  com>
AuthorDate: Fri Jan  5 04:34:58 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Jan 11 00:20:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5b95dea

app-i18n/libime: add 1.1.4

Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 app-i18n/libime/Manifest|  1 +
 app-i18n/libime/libime-1.1.4.ebuild | 50 +
 app-i18n/libime/metadata.xml|  3 +++
 3 files changed, 54 insertions(+)

diff --git a/app-i18n/libime/Manifest b/app-i18n/libime/Manifest
index fd73e8f22fd2..7f51a3e3407a 100644
--- a/app-i18n/libime/Manifest
+++ b/app-i18n/libime/Manifest
@@ -1 +1,2 @@
 DIST libime-1.1.3_dict.tar.xz 36438528 BLAKE2B 
2577362aeddf398b9ee7d29c71d157f7aef67b30d2463719ed020eaaa98e955c83b8a7df1e90e4519ae13d2146eff440dafdb93d723a2feaeb60f96e70633410
 SHA512 
5079721651df334292fbcc6275ded55d41c6380183ef5487be558e93b551a6a6d651fb0fa0456c1d40ffdae432bf51375058fdcf631ea8a93c8751530642fc92
+DIST libime-1.1.4_dict.tar.xz 36440016 BLAKE2B 
8bb6f4b39cacba4730145a23c53357a3ed42f2fdbeccd73d18f84434141219a7ea91bcbb1a38d5e61c9d72421649920dd393de4cb9248e8b8c6aeacf6e6f65db
 SHA512 
8d3a565022da401fc338811b69905f000100be6cfdaa3cffb4fc1814854f4610b992fe3a43eeb49205b819d4a4382cacf16adf5d27d7d7f735293957f7db463c

diff --git a/app-i18n/libime/libime-1.1.4.ebuild 
b/app-i18n/libime/libime-1.1.4.ebuild
new file mode 100644
index ..b16859ef4418
--- /dev/null
+++ b/app-i18n/libime/libime-1.1.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Fcitx5 Next generation of fcitx "
+HOMEPAGE="https://fcitx-im.org/;
+SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.xz;
+
+LICENSE="LGPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~loong ~x86"
+IUSE="+data doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=app-i18n/fcitx-5.1.5:5
+   app-arch/zstd:=
+   dev-libs/boost:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   kde-frameworks/extra-cmake-modules:0
+   virtual/pkgconfig
+   doc? (
+   app-doc/doxygen
+   dev-texlive/texlive-fontutils
+   )
+"
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_DATA=$(usex data)
+   -DENABLE_DOC=$(usex doc)
+   -DENABLE_TEST=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+   use doc && cmake_src_compile doc
+}
+
+src_install() {
+   cmake_src_install
+   use doc && dodoc -r "${BUILD_DIR}"/doc/*
+}

diff --git a/app-i18n/libime/metadata.xml b/app-i18n/libime/metadata.xml
index 63181ec1c708..e060f0b0724d 100644
--- a/app-i18n/libime/metadata.xml
+++ b/app-i18n/libime/metadata.xml
@@ -13,6 +13,9 @@
c...@gentoo.org
Cjk

+   
+   Build data
+   

fcitx/libime




[gentoo-commits] repo/gentoo:master commit in: app-i18n/libime/

2024-01-01 Thread WANG Xuerui
commit: af576c25fa174afa2d06bde9dec6e71ec68566d5
Author: WANG Xuerui  gentoo  org>
AuthorDate: Tue Jan  2 02:58:24 2024 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Tue Jan  2 03:55:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af576c25

app-i18n/libime: keyword 1.1.3 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 app-i18n/libime/libime-1.1.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-i18n/libime/libime-1.1.3.ebuild 
b/app-i18n/libime/libime-1.1.3.ebuild
index 3d962ae4153e..6c024fd0795e 100644
--- a/app-i18n/libime/libime-1.1.3.ebuild
+++ b/app-i18n/libime/libime-1.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 
SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.xz;
 
 LICENSE="LGPL-2+"
 SLOT="5"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~loong ~x86"
 IUSE="doc test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/libime/, app-i18n/libime/files/

2023-12-25 Thread Yixun Lan
commit: 268bc98be767e357752bd3d76d54b47e310c05e9
Author: Yongxiang Liang  gmail  com>
AuthorDate: Wed Dec  6 05:56:11 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Dec 25 11:50:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=268bc98b

app-i18n/libime: new package, add 1.1.3

libime is a library to support generic input method implementation.
It is a dependency of app-i18n/fcitx-chinese-addons

Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 app-i18n/libime/Manifest   |  1 +
 ...me-1.1.3-fix-the-nanf-value-issue-on-musl.patch | 79 ++
 .../files/libime-1.1.3-use-c++11-for-kenlm.patch   | 17 +
 app-i18n/libime/libime-1.1.3.ebuild| 54 +++
 app-i18n/libime/metadata.xml   | 19 ++
 5 files changed, 170 insertions(+)

diff --git a/app-i18n/libime/Manifest b/app-i18n/libime/Manifest
new file mode 100644
index ..fd73e8f22fd2
--- /dev/null
+++ b/app-i18n/libime/Manifest
@@ -0,0 +1 @@
+DIST libime-1.1.3_dict.tar.xz 36438528 BLAKE2B 
2577362aeddf398b9ee7d29c71d157f7aef67b30d2463719ed020eaaa98e955c83b8a7df1e90e4519ae13d2146eff440dafdb93d723a2feaeb60f96e70633410
 SHA512 
5079721651df334292fbcc6275ded55d41c6380183ef5487be558e93b551a6a6d651fb0fa0456c1d40ffdae432bf51375058fdcf631ea8a93c8751530642fc92

diff --git 
a/app-i18n/libime/files/libime-1.1.3-fix-the-nanf-value-issue-on-musl.patch 
b/app-i18n/libime/files/libime-1.1.3-fix-the-nanf-value-issue-on-musl.patch
new file mode 100644
index ..73b94a07cff5
--- /dev/null
+++ b/app-i18n/libime/files/libime-1.1.3-fix-the-nanf-value-issue-on-musl.patch
@@ -0,0 +1,79 @@
+Backport of 
https://github.com/fcitx/libime/commit/59ae4a3ab4becdab164f29af07c502096c745b94.diff
+
+Backport upstream commit 59ae4a3 to fix the nanf value issue on musl
+
+--- a/src/libime/core/datrie.cpp
 b/src/libime/core/datrie.cpp
+@@ -47,12 +47,24 @@ struct NanValue {
+ static inline int32_t NO_PATH() { return -2; }
+ };
+ 
++// Musl doesn't have nanf implementation we need, just check if they are the
++// same value. If not, prefer old hardcoded value.
++bool isGoodNanf() {
++int32_t noValue = decodeValue(std::nanf("1"));
++int32_t noPath = decodeValue(std::nanf("2"));
++return (noValue != noPath);
++}
++
+ template <>
+ struct NanValue {
+ static_assert(std::numeric_limits::has_quiet_NaN,
+   "Require support for quiet NaN.");
+-static inline int32_t NO_VALUE() { return decodeValue(std::nanf("1")); }
+-static inline int32_t NO_PATH() { return decodeValue(std::nanf("2")); }
++static inline int32_t NO_VALUE() {
++return isGoodNanf() ? decodeValue(std::nanf("1")) : 0x7fc1;
++}
++static inline int32_t NO_PATH() {
++return isGoodNanf() ? decodeValue(std::nanf("2")) : 0x7fc2;
++}
+ };
+ 
+ } // namespace
+@@ -1144,6 +1156,20 @@ bool DATrie::isValid(value_type v) {
+ return !(isNoPath(v) || isNoValue(v));
+ }
+ 
++template 
++T DATrie::noPath() {
++typename DATriePrivate::decorder_type d;
++d.result = DATriePrivate::CEDAR_NO_PATH;
++return d.result_value;
++}
++
++template 
++T DATrie::noValue() {
++typename DATriePrivate::decorder_type d;
++d.result = DATriePrivate::CEDAR_NO_VALUE;
++return d.result_value;
++}
++
+ template 
+ size_t DATrie::mem_size() const {
+ // std::cout << "tail" << d->m_tail.size() << std::endl
+--- a/src/libime/core/datrie.h
 b/src/libime/core/datrie.h
+@@ -136,6 +136,9 @@ class DATrie {
+ static bool isNoPath(value_type v);
+ static bool isNoValue(value_type v);
+ 
++static value_type noPath();
++static value_type noValue();
++
+ size_t mem_size() const;
+ 
+ private:
+--- a/test/testtrie.cpp
 b/test/testtrie.cpp
+@@ -40,8 +40,8 @@ int main() {
+ FCITX_ASSERT(trie.size() == 4);
+ DATrie::position_type pos = 0;
+ auto result = trie.traverse("aaa", pos);
+-auto nan1 = std::nanf("1");
+-auto nan2 = std::nanf("2");
++auto nan1 = trie.noValue();
++auto nan2 = trie.noPath();
+ // NaN != NaN, we must use memcmp to do this.
+ FCITX_ASSERT(memcmp(, , sizeof(float)) == 0);
+ FCITX_ASSERT(trie.isNoValue(result));

diff --git a/app-i18n/libime/files/libime-1.1.3-use-c++11-for-kenlm.patch 
b/app-i18n/libime/files/libime-1.1.3-use-c++11-for-kenlm.patch
new file mode 100644
index ..15b0024c4668
--- /dev/null
+++ b/app-i18n/libime/files/libime-1.1.3-use-c++11-for-kenlm.patch
@@ -0,0 +1,17 @@
+Backport of 
https://github.com/fcitx/libime/commit/95c1433500b089b0c2edbdd17720f66e6eafd5e0
+
+Backport upstream commit 95c1433 in order to fix building with libcxx
+
+--- a/src/libime/core/CMakeLists.txt
 b/src/libime/core/CMakeLists.txt
+@@ -13,7 +13,9 @@ add_library(kenlm STATIC ${KENLM_SRCS})
+ target_include_directories(kenlm PUBLIC 
$)
+