Bug#925391: task-japanese-desktop and others: Gnome-wayland compatible input method
Hi Osamu,
Osamu Aoki <osamu@debian.org> wrote:
> Package: tasksel
> Version: 3.51
> Severity: normal
>
> We will ship wayland enabled Gnome as the default for Buster!
> So we need to adjust to this environment.
>
> Trying to enable current default input method for Japanese under wayland
> caused big side effect. So the feature to enable uim requires user to
> manually enable this work around intentionally (this still needs to be
> unblocked)
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925160
>
> So for default install, it is essential to use ibus family which is
> upstream supported. im-config doesn't need to do anything. gnome takes
> catrare by gnome-session in main.c which hard codes ibus there. (I
> know, japanese liek uim, Chinese like fcitx)
>
> Proposed task data
> ==================
>
> In light of this, I propose to change task-japanese-desktop to the
> following:
>
> task-japanese-desktop (kmuto)
> --\ Depends (1)
> --- tasksel (= 3.50)
> --\ Recommends (11)
> --- ibus-mozc | ibus-anthy | ibus-skk | ibus-kkc
> --- firefox-esr-l10n-ja | firefox-l10n-ja
> --- fonts-ipafont
> --- fonts-vlgothic
> --- libreoffice-help-ja
> --- libreoffice-l10n-ja
> --- poppler-data
Slightly late for Buster :(
Is this still valid for Bullseye?
I attached a patch, to set it up as proposed above.
Holger
> Here, simply picking one of the ibus-* pulls in all you need via
> recommends. Configuration utility is gnome-shell script provided by
> Gnome. gnome-shell already requires gir1.2-ibus-1.0 thus installs
> libibus-1.0-5. So going with ibus is upstream choice.
>
> FYI: OLD SETTINGS are the following
> task-japanese-desktop
> --\ Depends (1)
> --- tasksel (= 3.50)
> --\ Recommends (11)
> --- anthy
> --- firefox-esr-l10n-ja | firefox-l10n-ja
> --- fonts-ipafont
> --- fonts-vlgothic
> --- libreoffice-help-ja
> --- libreoffice-l10n-ja
> --- mozc-utils-gui
> --- poppler-data
> --- uim
> --- uim-anthy
> --- uim-mozc
>
> Other consideration:
> ====================
>
> Traditional DMs on X:
> =====================
> im-config pulled in by the dependency will automatically set up system
> including configuration dialog. So this change has minimal impact.
>
> Why ibus-mozc as the first choice?
> ==================================
> I know anthy currently suffers conversion errors. I suspect
> inconsistent encoding of its dictionary data is the root cause. It
> looks like the conversion to UTF-8 had errors. (This is not ibus
> problem. It is same under uim or fcitx.
>
> KDE seems to chose SCIM? Should we care?
> =========================================
>
> plasma-desktop depends on libscim8v5 from SCIM family. Should we care
> like what we do for Gnome? I have no answer.
>
> All I know is KDE doesn't play nice with ibus. You can kill ibus icon
> program with mouse click. No easy way to get back.
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922334
>
> I wonder these input methods may better move to
> task such as
> task-japanese-gnome-desktop
> task-japanese-kde-desktop
> Then they can have their own way. (Of course, we may leave out other DM
> people.)
>
> What is going to happen on Chinese tasks
> ========================================
> They love fcitx. Does anyone know what they do. we may have answer
> there too.
>
> Long term:
> ==========
>
> If we can use trigger to update choice of configuration im-config
> calcurate when user process starts in advance, then enabling im-config
> even for wayland may be an option. But it's too late for buster.
>
> Also, I think if someone knows better than me and have time, make
> current ibus related code in gnome-session/gnome-shell to be
> patched/extended to allow other input methods to be used.
>
> We need volunteer for it. (Including option to replace im-config input
> method configuration system to Ubuntu equivalent, if that solves.)
--
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076
diff --git a/debian/changelog b/debian/changelog
index e5efda6a..738933fd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ tasksel (3.60) UNRELEASED; urgency=medium
fonts-noto-core and fonts-noto-ui-core. Closes: #949766
* Drop no-longer existing kde-l10n-* packages from various tasks.
Closes: #949694
+ * task-japanese-desktop: switch to Gnome-wayland compatible input method
+ (ibus). Closes: #925391
-- Holger Wansing <hwansing@mailbox.org> Sun, 05 Apr 2020 17:23:01 +0200
diff --git a/debian/control b/debian/control
index 74400639..1a2c137c 100644
--- a/debian/control
+++ b/debian/control
@@ -1334,14 +1334,10 @@ Description: Japanese desktop
This task localises the desktop in Japanese.
Depends: ${misc:Depends},
Recommends:
+ ibus-mozc | ibus-anthy | ibus-skk | ibus-kkc,
firefox-esr-l10n-ja | firefox-l10n-ja,
fonts-vlgothic,
fonts-ipafont,
- uim,
- uim-anthy,
- uim-mozc,
- mozc-utils-gui,
- anthy,
libreoffice-l10n-ja,
libreoffice-help-ja,
poppler-data
Reply to: