Package: task-malayalam-desktop
Version: 3.77
Severity: normal
X-Debbugs-CC: debian-input-met...@lists.debian.org 
debian-l10n-malaya...@lists.debian.org
Tags: patch

Hi all,

As a follow-up request of https://bugs.debian.org/1084914 , I am requesting to 
migrate
the input method support for task-malayalam-desktop and related packages from 
fcitx4
to fcitx5.

(With my Debian Input Method Team member hat on) The fcitx 4.x branch
is officially dead and is not encouraged to use due to the lack of
Wayland support. I am proposing to replace these dependencies with package
fcitx5 and fcitx5-m17n to provide the equivalent functionality by fcitx 5.x.

I am providing a patch for such change. Please read the following commit 
message:

    For task-malayalam, the input method support was last
    changed from scim to fcitx (4.x) 12 years ago at [1].
    Now considering that the fcitx 4.x upstream support is officially
    dead [2], we should move to the supported fcitx5 instead.
    
    This commit contains the following changes:
    
    * fcitx -> fcitx5
    * fcitx-table-malayalam-phonetic -> fcitx5-table-malayalam-phonetic
    * fcitx4 gtk2/gtk3 frontend -> fcitx5 gtk2/gtk3/gtk4 frontend
    * fcitx4 qt5 frontend -> fcitx5 qt5/qt6 frontend
    * fcitx4 KDE config -> fcitx5 KDE config
    
    Besides, the dependency to fcitx4 GTK config GUI tool is removed
    since the fcitx5 upstream is only providing a Qt/KDE frontend GUI
    config tool at this moment.
    
    [1] 
https://salsa.debian.org/installer-team/tasksel/-/commit/efee9baf8dbd2bda6fb2fb0ffdc8bccf90f07435
    [2] https://lists.debian.org/debian-input-method/2024/10/msg00042.html

You may find the patch generated by "git format-patch" in the attachment.

Please let me know if you have any comments, suggestions or questions.

Thanks,
Boyuan Yang
From ae0001a0bbc8d9e1c29e21deacbe9463f6842fd8 Mon Sep 17 00:00:00 2001
From: Boyuan Yang <by...@debian.org>
Date: Sat, 16 Nov 2024 15:34:44 -0500
Subject: [PATCH] task-malayalam*: Migrate from fcitx4 to fcitx5

For task-malayalam, the input method support was last
changed from scim to fcitx (4.x) 12 years ago at [1].
Now considering that the fcitx 4.x upstream support is officially
dead [2], we should move to the supported fcitx5 instead.

This commit contains the following changes:

* fcitx -> fcitx5
* fcitx-table-malayalam-phonetic -> fcitx5-table-malayalam-phonetic
* fcitx4 gtk2/gtk3 frontend -> fcitx5 gtk2/gtk3/gtk4 frontend
* fcitx4 qt5 frontend -> fcitx5 qt5/qt6 frontend
* fcitx4 KDE config -> fcitx5 KDE config

Besides, the dependency to fcitx4 GTK config GUI tool is removed
since the fcitx5 upstream is only providing a Qt/KDE frontend GUI
config tool at this moment.

[1] https://salsa.debian.org/installer-team/tasksel/-/commit/efee9baf8dbd2bda6fb2fb0ffdc8bccf90f07435
[2] https://lists.debian.org/debian-input-method/2024/10/msg00042.html

Signed-off-by: Boyuan Yang <by...@debian.org>
---
 debian/control | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/debian/control b/debian/control
index 905f04a6..90aa0484 100644
--- a/debian/control
+++ b/debian/control
@@ -1711,9 +1711,9 @@ Recommends:
 	libreoffice-l10n-ml,
 	firefox-esr-l10n-ml | firefox-l10n-ml,
 	im-config,
-# Move to fcitx from scim since the latter has gone from archive
-	fcitx,
-	fcitx-table-malayalam-phonetic,
+# Move to fcitx5 from fcitx/scim since the latter is dead upstream/gone from archive
+	fcitx5,
+	fcitx5-table-malayalam-phonetic,
 	hunspell-ml,
 	fonts-lohit-mlym
 
@@ -1723,9 +1723,9 @@ Description: Malayalam GNOME desktop
  This task localises the GNOME desktop in Malayalam.
 Depends: ${misc:Depends},
 Recommends:
-	fcitx-frontend-gtk3,
-	fcitx-frontend-gtk2,
-	fcitx-config-gtk,
+	fcitx5-frontend-gtk4,
+	fcitx5-frontend-gtk3,
+	fcitx5-frontend-gtk2,
 	ibus-m17n,
 # ibus doesn't have a default config for all languages, so force creation
 	gnome-initial-setup
@@ -1736,8 +1736,9 @@ Description: Malayalam KDE Plasma desktop
  This task localises the KDE Plasma desktop in Malayalam.
 Depends: ${misc:Depends},
 Recommends:
-	fcitx-frontend-qt5,
-	kde-config-fcitx
+	fcitx5-frontend-qt6,
+	fcitx5-frontend-qt5,
+	kde-config-fcitx5
 
 Package: task-marathi
 Architecture: all
-- 
2.45.2

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to