From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/mozc/
Date: Wed, 25 Dec 2024 22:35:37 +0000 (UTC) [thread overview]
Message-ID: <1735165873.d5eb185d5dc18e334a6040d6dc62dcf2f8c43f61.dlan@gentoo> (raw)
commit: d5eb185d5dc18e334a6040d6dc62dcf2f8c43f61
Author: Yongxiang Liang <tanekliang <AT> gmail <DOT> com>
AuthorDate: Tue Dec 24 13:43:52 2024 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Dec 25 22:31:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5eb185d
app-i18n/mozc: drop fcitx4 use flag
Closes: https://github.com/gentoo/gentoo/pull/39826
Signed-off-by: Yongxiang Liang <tanekliang <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
....102-r3.ebuild => mozc-2.28.5029.102-r4.ebuild} | 61 ++--------------------
1 file changed, 5 insertions(+), 56 deletions(-)
diff --git a/app-i18n/mozc/mozc-2.28.5029.102-r3.ebuild b/app-i18n/mozc/mozc-2.28.5029.102-r4.ebuild
similarity index 87%
rename from app-i18n/mozc/mozc-2.28.5029.102-r3.ebuild
rename to app-i18n/mozc/mozc-2.28.5029.102-r4.ebuild
index 9e3e0a65db7d..d370973711fd 100644
--- a/app-i18n/mozc/mozc-2.28.5029.102-r3.ebuild
+++ b/app-i18n/mozc/mozc-2.28.5029.102-r4.ebuild
@@ -35,7 +35,6 @@ else
https://github.com/google/${PN}/archive/${MOZC_GIT_REVISION}.tar.gz -> ${PN}-${PV%%_p*}-${MOZC_DATE}.tar.gz
https://github.com/hiroyuki-komatsu/japanese-usage-dictionary/archive/${JAPANESE_USAGE_DICTIONARY_GIT_REVISION}.tar.gz -> japanese-usage-dictionary-${JAPANESE_USAGE_DICTIONARY_DATE}.tar.gz
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.28.5029.102-patches.tar.xz
- fcitx4? ( https://github.com/fcitx/${PN}/archive/${FCITX_MOZC_GIT_REVISION}.tar.gz -> fcitx-${PN}-${PV%%_p*}-${FCITX_MOZC_DATE}.tar.gz )
fcitx5? ( https://github.com/fcitx/${PN}/archive/${FCITX_MOZC_GIT_REVISION}.tar.gz -> fcitx-${PN}-${PV%%_p*}-${FCITX_MOZC_DATE}.tar.gz )
"
fi
@@ -47,8 +46,8 @@ fi
LICENSE="BSD BSD-2 ipadic public-domain unicode"
SLOT="0"
KEYWORDS="~amd64 ~loong ~x86"
-IUSE="debug emacs fcitx4 fcitx5 +gui ibus renderer test"
-REQUIRED_USE="|| ( emacs fcitx4 fcitx5 ibus )"
+IUSE="debug emacs fcitx5 +gui ibus renderer test"
+REQUIRED_USE="|| ( emacs fcitx5 ibus )"
RESTRICT="!test? ( test )"
BDEPEND="
@@ -58,16 +57,11 @@ BDEPEND="
app-alternatives/ninja
virtual/pkgconfig
emacs? ( app-editors/emacs:* )
- fcitx4? ( sys-devel/gettext )
fcitx5? ( sys-devel/gettext )
"
DEPEND="
>=dev-cpp/abseil-cpp-20240116.0:=
>=dev-libs/protobuf-3.0.0:=
- fcitx4? (
- app-i18n/fcitx:4
- virtual/libintl
- )
fcitx5? (
app-i18n/fcitx:5
app-i18n/libime
@@ -98,10 +92,6 @@ RDEPEND="
>=dev-cpp/abseil-cpp-20230802.0:=[cxx17(+)]
>=dev-libs/protobuf-3.0.0:=
emacs? ( app-editors/emacs:* )
- fcitx4? (
- app-i18n/fcitx:4
- virtual/libintl
- )
fcitx5? (
app-i18n/fcitx:5
app-i18n/libime
@@ -145,12 +135,10 @@ src_unpack() {
if [[ "${PV}" == "9999" ]]; then
git-r3_src_unpack
- if use fcitx4 || use fcitx5; then
+ if use fcitx5; then
local EGIT_SUBMODULES=()
git-r3_fetch https://github.com/fcitx/mozc refs/heads/fcitx
git-r3_checkout https://github.com/fcitx/mozc "${WORKDIR}/fcitx-mozc"
- fi
- if use fcitx5; then
cp -pr "${WORKDIR}"/fcitx{,5}-mozc || die
fi
else
@@ -162,24 +150,15 @@ src_unpack() {
unpack japanese-usage-dictionary-${JAPANESE_USAGE_DICTIONARY_DATE}.tar.gz
cp -p japanese-usage-dictionary-${JAPANESE_USAGE_DICTIONARY_GIT_REVISION}/usage_dict.txt ${P}/src/third_party/japanese_usage_dictionary || die
- if use fcitx4 || use fcitx5; then
+ if use fcitx5; then
unpack fcitx-${PN}-${PV%%_p*}-${FCITX_MOZC_DATE}.tar.gz
- if use fcitx4; then
- cp -pr mozc-${FCITX_MOZC_GIT_REVISION} fcitx-${PN} || die
- fi
- if use fcitx5; then
- cp -pr mozc-${FCITX_MOZC_GIT_REVISION} fcitx5-${PN} || die
- fi
+ cp -pr mozc-${FCITX_MOZC_GIT_REVISION} fcitx5-${PN} || die
rm -r mozc-${FCITX_MOZC_GIT_REVISION} || die
fi
fi
}
src_prepare() {
- if use fcitx4; then
- cp -pr "${WORKDIR}/fcitx-mozc/src/unix/fcitx" unix || die
- PATCHES+=( "${FILESDIR}"/mozc-2.28.5029.102-abseil-20230802.0-fcitx4.patch )
- fi
if use fcitx5; then
cp -pr "${WORKDIR}/fcitx5-mozc/src/unix/fcitx5" unix || die
PATCHES+=( "${FILESDIR}"/mozc-2.28.5029.102-abseil-20230802.0-fcitx5.patch )
@@ -253,7 +232,6 @@ src_configure() {
gyp_arguments+=(-D debug_extra_cflags=)
gyp_arguments+=(-D release_extra_cflags=)
- gyp_arguments+=(-D use_fcitx=$(usex fcitx4 YES NO))
gyp_arguments+=(-D use_fcitx5=$(usex fcitx5 YES NO))
gyp_arguments+=(-D use_libibus=$(usex ibus 1 0))
gyp_arguments+=(-D use_libprotobuf=1)
@@ -285,9 +263,6 @@ src_compile() {
if use emacs; then
targets+=(unix/emacs/emacs.gyp:mozc_emacs_helper)
fi
- if use fcitx4; then
- targets+=(unix/fcitx/fcitx.gyp:fcitx-mozc)
- fi
if use fcitx5; then
targets+=(unix/fcitx5/fcitx5.gyp:fcitx5-mozc)
fi
@@ -342,32 +317,6 @@ src_install() {
elisp-site-file-install "${FILESDIR}/${SITEFILE}" ${PN}
fi
- if use fcitx4; then
- exeinto /usr/$(get_libdir)/fcitx
- doexe out_linux/${BUILD_TYPE}/fcitx-mozc.so
-
- insinto /usr/share/fcitx/addon
- doins unix/fcitx/fcitx-mozc.conf
-
- insinto /usr/share/fcitx/inputmethod
- doins unix/fcitx/mozc.conf
-
- insinto /usr/share/fcitx/mozc/icon
- newins data/images/product_icon_32bpp-128.png mozc.png
- local image
- for image in ../../fcitx-${PN}/src/data/images/unix/ui-*.png; do
- newins "${image}" "mozc-${image#../../fcitx-${PN}/src/data/images/unix/ui-}"
- done
-
- local locale mo_file
- for mo_file in out_linux/${BUILD_TYPE}/gen/unix/fcitx/po/*.mo; do
- locale="${mo_file##*/}"
- locale="${locale%.mo}"
- insinto /usr/share/locale/${locale}/LC_MESSAGES
- newins "${mo_file}" fcitx-mozc.mo
- done
- fi
-
if use fcitx5; then
exeinto /usr/$(get_libdir)/fcitx5
doexe out_linux/${BUILD_TYPE}/fcitx5-mozc.so
next reply other threads:[~2024-12-25 22:35 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-25 22:35 Yixun Lan [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-02 6:00 [gentoo-commits] repo/gentoo:master commit in: app-i18n/mozc/ WANG Xuerui
2024-08-28 4:47 WANG Xuerui
2024-06-30 12:13 Sam James
2023-12-12 13:39 Andreas Sturmlechner
2023-12-07 16:25 Arthur Zamarin
2023-09-07 20:04 Sam James
2023-06-09 7:37 Sam James
2023-06-09 7:35 Sam James
2023-06-09 7:35 Sam James
2023-06-09 7:35 Sam James
2022-12-25 20:02 Andreas Sturmlechner
2022-07-02 14:07 Sam James
2022-05-01 7:30 Michał Górny
2022-03-09 23:36 Sam James
2022-03-09 8:59 Jakov Smolić
2022-01-29 15:20 Yixun Lan
2022-01-29 15:20 Yixun Lan
2021-12-10 0:29 Sam James
2021-05-25 11:10 Sam James
2021-05-25 11:10 Sam James
2021-04-27 22:02 Sam James
2021-04-05 19:06 Mike Gilbert
2020-10-20 20:35 Mike Gilbert
2020-07-04 13:53 Mike Gilbert
2019-08-16 17:03 Mike Gilbert
2019-08-09 18:39 Mike Gilbert
2019-04-19 16:39 Mike Gilbert
2018-05-22 18:24 Mike Gilbert
2018-04-16 18:29 Mike Gilbert
2018-03-15 19:23 Sergei Trofimovich
2018-03-08 19:33 Mike Gilbert
2018-02-12 19:16 Mike Gilbert
2018-01-08 21:31 Mike Gilbert
2017-12-10 9:27 Ulrich Müller
2017-10-05 18:57 Mike Gilbert
2017-10-05 18:57 Mike Gilbert
2017-10-02 17:36 Mike Gilbert
2017-09-28 17:18 Mike Gilbert
2017-04-20 7:59 David Seifert
2016-03-23 15:43 Mike Gilbert
2015-09-01 18:51 Tobias Klausmann
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=1735165873.d5eb185d5dc18e334a6040d6dc62dcf2f8c43f61.dlan@gentoo \
--to=dlan@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