summaryrefslogtreecommitdiff
path: root/app-i18n
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-19 07:16:02 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-19 07:16:02 +0000
commit953f0280b3dd0ddb35940a401607990d5bbde612 (patch)
treefc64cbac7a87ee8df87055bb89f5ed82155c144f /app-i18n
parent301614351501890802f8f37e5ffc0f6a296b2f85 (diff)
downloadbaldeagleos-repo-953f0280b3dd0ddb35940a401607990d5bbde612.tar.gz
baldeagleos-repo-953f0280b3dd0ddb35940a401607990d5bbde612.tar.xz
baldeagleos-repo-953f0280b3dd0ddb35940a401607990d5bbde612.zip
Adding metadata
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/anthy-unicode/Manifest1
-rw-r--r--app-i18n/anthy-unicode/anthy-unicode-1.0.0.20260213.ebuild74
-rw-r--r--app-i18n/anthy-unicode/files/50anthy-unicode-gentoo.el2
-rw-r--r--app-i18n/anthy-unicode/metadata.xml19
-rw-r--r--app-i18n/fcitx-anthy/Manifest1
-rw-r--r--app-i18n/fcitx-anthy/fcitx-anthy-5.1.10.ebuild37
-rw-r--r--app-i18n/fcitx-anthy/files/fcitx-anthy-5.1.9-cmake_316.patch9
-rw-r--r--app-i18n/ibus-anthy/Manifest2
-rw-r--r--app-i18n/ibus-anthy/files/ibus-anthy-1.5.18-fix_pkgconfig.patch12
-rw-r--r--app-i18n/ibus-anthy/ibus-anthy-1.5.18.ebuild (renamed from app-i18n/ibus-anthy/ibus-anthy-1.5.17.ebuild)36
10 files changed, 181 insertions, 12 deletions
diff --git a/app-i18n/anthy-unicode/Manifest b/app-i18n/anthy-unicode/Manifest
new file mode 100644
index 000000000000..9c54e3ea05da
--- /dev/null
+++ b/app-i18n/anthy-unicode/Manifest
@@ -0,0 +1 @@
+DIST anthy-unicode-1.0.0.20260213.tar.xz 3482244 BLAKE2B 4d1eae4c18951452d26577e2477fc4cfb645ba362aa37ed9bc8e16c3ac3852c3409325ebbaad01898ddf65d8af208d3559fbe06e469a11e7b68567cf83ed5212 SHA512 895d7f325214ae2174eafed98d3de466d59dd26b58e3220670c804078b94b718ab4a634bf5daddb9f6a0b13ffb9a132460f65ef512fa0af5e08077f85d84227e
diff --git a/app-i18n/anthy-unicode/anthy-unicode-1.0.0.20260213.ebuild b/app-i18n/anthy-unicode/anthy-unicode-1.0.0.20260213.ebuild
new file mode 100644
index 000000000000..7de900db0cfd
--- /dev/null
+++ b/app-i18n/anthy-unicode/anthy-unicode-1.0.0.20260213.ebuild
@@ -0,0 +1,74 @@
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson elisp-common
+
+DESCRIPTION="Another Anthy - Japanese character set input library for Unicode"
+HOMEPAGE="https://github.com/fujiwarat/anthy-unicode"
+SRC_URI="https://github.com/fujiwarat/anthy-unicode/releases/download/${PV}/${P}.tar.xz"
+
+# GPL-2+ for dictionaries
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="emacs"
+
+DEPEND="emacs? ( app-editors/emacs:* )"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ local emesonargs=(
+ -Demacs_path="$(usev emacs ${EMACS})"
+ -Dlisp_dir="$(usev emacs ${SITELISP})"
+ $(meson_feature emacs)
+ )
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+
+ rm doc/Makefile* || die
+ dodoc -r doc
+
+ if use emacs; then
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+ else
+ rm -r "${ED}"/usr/share/emacs || die
+ fi
+}
+
+pkg_preinst() {
+ if ! has_version app-i18n/anthy-unicode; then
+ show_migrate_warning=true
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+
+ if [[ -n ${show_migrate_warning} ]]; then
+ ewarn "The path of the private dictionary has changed with anthy-unicode:"
+ ewarn "app-i18n/anthy: ~/.anthy"
+ ewarn "app-i18n/anthy-unicode: ~/.config/anthy"
+ ewarn " "
+ ewarn "To migrate the private dictionary, launch:"
+ ewarn "anthy-dic-tool-unicode --migrate"
+ ewarn " "
+ ewarn "To make sure you only use anthy-unicode, please update all installed anthy's packages:"
+ has_version "<app-dicts/kasumi-2.7" && ewarn "app-dicts/kasumi"
+ has_version "<app-i18n/fcitx-anthy-5.1.10" && ewarn "app-i18n/fcitx-anthy"
+ has_version "<app-i18n/ibus-anthy-1.5.18" && ewarn "app-i18n/ibus-anthy"
+ has_version "<app-i18n/scim-anthy-1.4.0" && ewarn "scim-anthy"
+ has_version "<app-i18n/uim-1.9.6[anthy]" && ewarn "app-i18n/uim"
+ has_version "<dev-libs/m17n-lib-1.8.6-r1[anthy]" && ewarn "dev-libs/m17n-lib"
+ fi
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/app-i18n/anthy-unicode/files/50anthy-unicode-gentoo.el b/app-i18n/anthy-unicode/files/50anthy-unicode-gentoo.el
new file mode 100644
index 000000000000..e7e370b11a83
--- /dev/null
+++ b/app-i18n/anthy-unicode/files/50anthy-unicode-gentoo.el
@@ -0,0 +1,2 @@
+(set-language-info "Japanese" 'input-method "japanese-anthy-unicode")
+
diff --git a/app-i18n/anthy-unicode/metadata.xml b/app-i18n/anthy-unicode/metadata.xml
new file mode 100644
index 000000000000..9a251c0f992b
--- /dev/null
+++ b/app-i18n/anthy-unicode/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
+ <longdescription>
+ Anthy Unicode is another Anthy project and provides the library to input
+ Japanese on the applications.
+ This ebuild includes cannadic as a server-side dictionary, so you don't need
+ any extra package to run it. You can use anthy-unicode with
+ <pkg>app-i18n/fcitx-anthy</pkg>, <pkg>app-i18n/uim</pkg> (XIM, GTK+ immodule)
+ and <pkg>app-editors/emacs</pkg> (to enable Anthy support for emacs, build
+ this package with emacs USE flag).
+ </longdescription>
+
+ <origin>gentoo-staging</origin>
+</pkgmetadata> \ No newline at end of file
diff --git a/app-i18n/fcitx-anthy/Manifest b/app-i18n/fcitx-anthy/Manifest
index 8abaceb10421..0c2d8f774839 100644
--- a/app-i18n/fcitx-anthy/Manifest
+++ b/app-i18n/fcitx-anthy/Manifest
@@ -1,2 +1,3 @@
+DIST fcitx5-anthy-5.1.10.tar.zst 117508 BLAKE2B 9965f04190b322982ab8afed20dd52c062179e380afb5022be0e9b568720da293512244df1b5d4ac97bae498417bb11d81db8659b80ebfe5282cac0315d7f1a7 SHA512 a437450abab47d0550e56b612bdbf3262b7e0e16f721866c5dc148b2f4a04f32c74e388a8ae6131252dca045594adef4d996f2b997e3a64f359675422b905de8
DIST fcitx5-anthy-5.1.6.tar.zst 112962 BLAKE2B e2c960415b4be5b58d3687fa71bd3f7aeef3246f8211982dfc4d64efa9e4291f8949c42d2f2c0e7491e8da453a28ba19ecc7eabb5595155641dd36ee9080a115 SHA512 528e8191f28aa9a8ec22c7a06ab119d29a5054e87592fb022072a841b2d74075d1f9efc667c28be6daeabccdefbbed4ead4e37af54a1779222edaf702fd51367
DIST fcitx5-anthy-5.1.8.tar.zst 116350 BLAKE2B 5c11793c5ace0bedc64cc1c2e66d9c0f9e91f1b4ad915dddbb9d7f84f3734a08113aab710e71faa05aa46382646e441e8f59bdbac4afb696341ebc2c3a2d859e SHA512 ba939ac5f20cb8d1e4bc79f245b5446160b8acfaeeda7c9d0a14439d5d0e63fdee97126fefe41a57eb024d3e530fdf5ad899492a9432a64a412a3de7e0e6ba3e
diff --git a/app-i18n/fcitx-anthy/fcitx-anthy-5.1.10.ebuild b/app-i18n/fcitx-anthy/fcitx-anthy-5.1.10.ebuild
new file mode 100644
index 000000000000..3c9146433ad0
--- /dev/null
+++ b/app-i18n/fcitx-anthy/fcitx-anthy-5.1.10.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2024-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="fcitx5-anthy"
+
+inherit cmake unpacker xdg
+
+DESCRIPTION="Japanese Anthy input methods for Fcitx5"
+HOMEPAGE="https://fcitx-im.org/wiki/Anthy https://github.com/fcitx/fcitx5-anthy"
+SRC_URI="https://download.fcitx-im.org/fcitx5/${MY_PN}/${MY_PN}-${PV}.tar.zst"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="GPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ !app-i18n/fcitx-anthy:4
+ app-i18n/anthy-unicode
+ >=app-i18n/fcitx-5.1.13:5
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ kde-frameworks/extra-cmake-modules:0
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ # PR pending https://github.com/fcitx/fcitx5-anthy/pull/20.patch
+ "${FILESDIR}"/${PN}-5.1.9-cmake_316.patch
+)
+
+DOCS=( AUTHORS )
diff --git a/app-i18n/fcitx-anthy/files/fcitx-anthy-5.1.9-cmake_316.patch b/app-i18n/fcitx-anthy/files/fcitx-anthy-5.1.9-cmake_316.patch
new file mode 100644
index 000000000000..307b6edfe071
--- /dev/null
+++ b/app-i18n/fcitx-anthy/files/fcitx-anthy-5.1.9-cmake_316.patch
@@ -0,0 +1,9 @@
+PR pending https://github.com/fcitx/fcitx5-anthy/pull/20.patch
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.6)
++cmake_minimum_required(VERSION 3.16)
+
+ project(fcitx5-anthy VERSION 5.1.9)
+
diff --git a/app-i18n/ibus-anthy/Manifest b/app-i18n/ibus-anthy/Manifest
index c30370f3ff19..5f2e6ae04a8e 100644
--- a/app-i18n/ibus-anthy/Manifest
+++ b/app-i18n/ibus-anthy/Manifest
@@ -1,2 +1,2 @@
DIST ibus-anthy-1.5.16.tar.gz 278846 BLAKE2B 9e6f297dc563eff88195008858694d737b88979117e95540fc9cfc8288df9f6a10027e19860dcaa97271aee82e112ac49cfd0cad834d22005689bd4816b1df08 SHA512 af782509c3a098864fc0327f0f1226b2f1b9890b36bf69c208ffe977fb07c1f71dea946e8ad4dc9b2cdd6c84252d34a8c8b17f855c6fa7320e3a58b7719e86c5
-DIST ibus-anthy-1.5.17.tar.gz 292242 BLAKE2B 5dd5fd5d10a7ee239e2f40bb4f31469f2fd024fdd5c3afc2d1ab6f8df54b23dc8b4c3494889ebdf4924e54a0ea61e92dbb109db3cf02628ceb3a9d4e5ce084e0 SHA512 c361452af73ef49278142e3eb63e7697bb6f4369fd26fdc94405aa976cb5b3a323cb67f31099d348cf3495160a1259b56c941cfb0facce1d3c050daa5264b3d2
+DIST ibus-anthy-1.5.18.tar.gz 307726 BLAKE2B d52df9fdaf3696db33b05f88f30b45f2884361fbff15537b9fba50404abe652116c9ae3cbcd2b0356f6dc4c629968263a44664529d1ffaf58696ca2a68092cbc SHA512 019ab5b82d455938ea4917911fba2cb2f37004862a4903c04fc501240f6cd7431a0cabc5612d88cd10eab17fce7de7c3ff5f71bb5d08afea09fa4201eef369cc
diff --git a/app-i18n/ibus-anthy/files/ibus-anthy-1.5.18-fix_pkgconfig.patch b/app-i18n/ibus-anthy/files/ibus-anthy-1.5.18-fix_pkgconfig.patch
new file mode 100644
index 000000000000..f2d47ea7c263
--- /dev/null
+++ b/app-i18n/ibus-anthy/files/ibus-anthy-1.5.18-fix_pkgconfig.patch
@@ -0,0 +1,12 @@
+avoid hardcoded pkg-config and includedir that doesn't pass a custom ROOT
+--- a/gir/Makefile.am
++++ b/gir/Makefile.am
+@@ -47,7 +47,7 @@ libanthygobject_1_0_la_LDFLAGS = \
+ -version-info @LT_VERSION_INFO@ \
+ $(NULL)
+
+-ANTHY_INCLUDEDIR = $(shell pkg-config --variable=includedir $(ANTHY_PC))
++ANTHY_INCLUDEDIR = $(shell $(PKG_CONFIG) --cflags-only-I $(ANTHY_PC) | sed s/-I//)
+
+ anthyincludedir = $(includedir)/ibus-anthy-1.0
+ anthyinclude_HEADERS = \
diff --git a/app-i18n/ibus-anthy/ibus-anthy-1.5.17.ebuild b/app-i18n/ibus-anthy/ibus-anthy-1.5.18.ebuild
index ff60cd232d02..40cd2974ef3f 100644
--- a/app-i18n/ibus-anthy/ibus-anthy-1.5.17.ebuild
+++ b/app-i18n/ibus-anthy/ibus-anthy-1.5.18.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -16,29 +16,42 @@ KEYWORDS="~amd64 ~ppc ~x86"
IUSE="nls"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RDEPEND="${PYTHON_DEPS}
- app-i18n/anthy
+RDEPEND="
+ ${PYTHON_DEPS}
+ app-i18n/anthy-unicode
+ dev-libs/glib:2
$(python_gen_cond_dep '
app-i18n/ibus[python(+),${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
')
- nls? ( virtual/libintl )"
+ nls? ( virtual/libintl )
+"
DEPEND="${RDEPEND}"
-BDEPEND="sys-devel/gettext
- virtual/pkgconfig"
+BDEPEND="
+ ${PYTHON_DEPS}
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.5.18-fix_pkgconfig.patch
+)
src_prepare() {
default
+ python_fix_shebang data/era.py
eautoreconf
gnome2_environment_reset
}
src_configure() {
- econf \
- $(use_enable nls) \
- --enable-private-png \
- --with-layout=default \
+ local myeconfargs=(
+ $(use_enable nls)
+ --enable-private-png
+ --with-layout=default
--with-python=${EPYTHON}
+ )
+ econf "${myeconfargs[@]}"
}
src_test() {
@@ -49,7 +62,8 @@ src_install() {
default
find "${ED}" -name '*.la' -delete || die
- python_optimize
+ # py-compile launched by Makefile
+ # python_optimize
}
pkg_preinst() {