ยง2023-09-24

  1. Japanese fonts

As a minimum, install the media-fonts/kochi-substitute package.

Try emerge media-fonts/source-han-sans

orgpi5Gentoo /home/alexlai # emerge -av app-i18n/fcitx-configtool app-i18n/mozc[fcitx4] app-i18n/fcitx app-i18n/anthy app-i18n/ibus-anthy

 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


 * IMPORTANT: 2 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 1.10 s.


The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by app-i18n/mozc[fcitx4] (argument)
>=app-i18n/mozc-2.28.5029.102-r1 fcitx4

Would you like to add these changes to your config files? [Yes/No] 

Autounmask changes successfully written.

 * IMPORTANT: 3 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

 * In order to avoid wasting time, backtracking has terminated early
 * due to the above autounmask change(s). The --autounmask-backtrack=y
 * option can be used to force further backtracking, but there is no
 * guarantee that it will produce a solution.

!!! All ebuilds that could satisfy "app-i18n/fcitx" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-i18n/fcitx-4.9999::gentoo (masked by: missing keyword)
- app-i18n/fcitx-4.2.9.8::gentoo (masked by: ~arm64 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

  1. input
rpi4bGentoo /home/alexlai # emerge -av app-i18n/ibus-anthy

 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 9.07 s.


!!! All ebuilds that could satisfy "app-i18n/ibus-anthy" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-i18n/ibus-anthy-1.5.15::gentoo (masked by: missing keyword)
- app-i18n/ibus-anthy-1.5.14::gentoo (masked by: missing keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

orgpi5Gentoo /home/alexlai # emerge -av --autounmask-write --autounmask app-i18n/fcitx-configtool app-i18n/mozc[fcitx4] app-i18n/fcitx app-i18n/anthy

 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


 * IMPORTANT: 3 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 2.30 s.

[ebuild  N    ~] app-i18n/anthy-9100h-r3::gentoo  USE="-emacs -static-libs" 4342 KiB
[ebuild  N     ] kde-frameworks/extra-cmake-modules-5.110.0:5/5.110::gentoo  USE="-doc -test" 324 KiB
[ebuild  N    ~] dev-cpp/abseil-cpp-20230802.0:0/20230802::gentoo  USE="-test" 2107 KiB
[ebuild  N     ] dev-libs/protobuf-21.9:0/32::gentoo  USE="zlib -emacs -examples -static-libs -test" 4991 KiB
[ebuild  N    ~] dev-util/gyp-20200512145953::gentoo  PYTHON_SINGLE_TARGET="python3_11 -python3_10" 434 KiB
[ebuild  N     ] dev-python/six-1.16.0-r1::gentoo  USE="-doc -test" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 (-python3_12)" 34 KiB
[ebuild  N    ~] app-i18n/fcitx-4.2.9.8:4::gentoo  USE="X autostart cairo enchant gtk3 introspection nls pango table xkb -debug -gtk2 -lua -opencc -test" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4" 8534 KiB
[ebuild  N    ~] app-i18n/fcitx-configtool-0.4.10:4::gentoo  50 KiB
[ebuild  N    ~] app-i18n/mozc-2.28.5029.102-r1::gentoo  USE="fcitx4 gui -debug -emacs -ibus -renderer -savedconfig -test" 73037 KiB

Total: 9 packages (9 new), Size of downloads: 93849 KiB

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by app-i18n/mozc-2.28.5029.102-r1::gentoo
# required by app-i18n/mozc[fcitx4] (argument)
=dev-cpp/abseil-cpp-20230802.0 ~arm64
# required by app-i18n/mozc-2.28.5029.102-r1::gentoo
# required by app-i18n/mozc[fcitx4] (argument)
=dev-util/gyp-20200512145953 ~arm64
# required by app-i18n/anthy (argument)
=app-i18n/anthy-9100h-r3 ~arm64
# required by app-i18n/fcitx-configtool-0.4.10::gentoo
# required by app-i18n/fcitx-configtool (argument)
=app-i18n/fcitx-4.2.9.8 ~arm64

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by app-i18n/mozc[fcitx4] (argument)
>=app-i18n/mozc-2.28.5029.102-r1 fcitx4

Would you like to add these changes to your config files? [Yes/No] 

Autounmask changes successfully written.

 * IMPORTANT: 5 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
# touch /etc/portage/package.accept_keywords/zzz_autounmask

# emerge app-i18n/ibus-anthy --autounmask-write --autounmask

 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!
Dependency resolution took 15.52 s.

[ebuild  N    *] app-i18n/ibus-anthy-1.5.15  USE="nls" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by app-i18n/ibus-anthy (argument)
=app-i18n/ibus-anthy-1.5.15 **

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.

Autounmask changes successfully written.

 * IMPORTANT: config file '/etc/portage/package.accept_keywords/zzz_autounmask' needs updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

# dispatch-conf
--- /etc/portage/package.accept_keywords/zzz_autounmask 2023-09-24 13:42:35.596310553 +0800
+++ /etc/portage/package.accept_keywords/._cfg0000_zzz_autounmask       2023-09-24 13:43:26.603849483 +0800
@@ -0,0 +1,2 @@
+# required by app-i18n/ibus-anthy (argument)
+=app-i18n/ibus-anthy-1.5.15 **

>> (1 of 1) -- /etc/portage/package.accept_keywords/zzz_autounmask
>> q quit, h help, n next, e edit-new, z zap-new, u use-new
   m merge, t toggle-merge, l look-merge:     <--u 

Examine the diff output of the configuration files, press q to exit the pager (if no commands appear at the end), and then u for use-new to accept the alterations. Press z to zap (disregard) the changes.

# cat /etc/portage/package.accept_keywords/zzz_autounmask 
# required by app-i18n/ibus-anthy (argument)
=app-i18n/ibus-anthy-1.5.15 **


# mv  /etc/portage/package.accept_keywords/zzz_autounmask  /etc/portage/package.accept_keywords/ibus-anthy-1.5.15
Finally, re-run emerge one last time:

# emerge -av app-i18n/ibus-anthy

 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 15.35 s.

[ebuild  N    *] app-i18n/ibus-anthy-1.5.15::gentoo  USE="nls" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 268 KiB

Total: 1 package (1 new), Size of downloads: 268 KiB

Would you like to merge these packages? [Yes/No]