[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1117873: task-amharic-desktop: Please migrate from fcitx4 to fcitx5



Package: task-amharic-desktop
Version: 3.83
Severity: normal
X-Debbugs-CC: debian-input-method@lists.debian.org
Tags: patch

Hi all,

As a follow-up request to https://bugs.debian.org/1087657 , 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. All fcitx4-related packages are planned for removal after
Ubuntu 26.04 LTS release. For now I am proposing to replace these dependencies
with packages from fcitx5 to provide the equivalent functionality in tasksel packages.

A patch is provided as an attachment. A merge request will be submitted afterwards.

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

Thanks,
Boyuan Yang
From 49a43960c03db2fe6722c438c728aa483ce9638b Mon Sep 17 00:00:00 2001
From: Boyuan Yang <byang@debian.org>
Date: Sat, 11 Oct 2025 18:17:59 -0400
Subject: [PATCH] task-amharic*: Migrate from fcitx4 to fcitx5

For task-amharic-*, they are now using fcitx 4.x. Considering that
fcitx 4.x upstream support is now officially dead and upstream has
archived related projects [1], we should move to use fcitx5's support
instead.

This commit contains the following changes:

* fcitx -> fcitx5
* fcitx-table-amharic -> fcitx5-table-amharic
* fcitx 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://lists.debian.org/debian-input-method/2024/10/msg00042.html
---
 ...mharic-Migrate-from-fcitx4-to-fcitx5.patch | 64 +++++++++++++++++++
 debian/control                                | 15 +++--
 2 files changed, 72 insertions(+), 7 deletions(-)
 create mode 100644 0001-task-amharic-Migrate-from-fcitx4-to-fcitx5.patch

diff --git a/0001-task-amharic-Migrate-from-fcitx4-to-fcitx5.patch b/0001-task-amharic-Migrate-from-fcitx4-to-fcitx5.patch
new file mode 100644
index 00000000..89138e84
--- /dev/null
+++ b/0001-task-amharic-Migrate-from-fcitx4-to-fcitx5.patch
@@ -0,0 +1,64 @@
+From a0d980fc419c528b49644c25de5290b49ec14578 Mon Sep 17 00:00:00 2001
+From: Boyuan Yang <byang@debian.org>
+Date: Sat, 11 Oct 2025 18:17:59 -0400
+Subject: [PATCH] task-amharic*: Migrate from fcitx4 to fcitx5
+
+For task-amharic-*, they are now using fcitx 4.x. Considering that
+fcitx 4.x upstream support is now officially dead and upstream has
+archived related projects [1], we should move to use fcitx5's support
+instead.
+
+This commit contains the following changes:
+
+* fcitx -> fcitx5
+* fcitx-table-amharic -> fcitx5-table-amharic
+* fcitx gtk2/gtk3 frontend -> fcitx5 gtk2/gtk3/gtk4 frontend
+* fcitx4 qt5 frontend -> fcitx5 qt5/qt6 frontend
+* fcitx4 KDE config -> fcitx5 KDE config and fcitx5 qt config tool
+
+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://lists.debian.org/debian-input-method/2024/10/msg00042.html
+---
+ debian/control | 16 +++++++++-------
+ 1 file changed, 9 insertions(+), 7 deletions(-)
+
+diff --git a/debian/control b/debian/control
+index a0e75e8f..27c414a6 100644
+--- a/debian/control
++++ b/debian/control
+@@ -406,11 +406,11 @@ Description: Amharic desktop
+ Depends: ${misc:Depends}
+ Recommends:
+ 	fonts-sil-abyssinica,
+-	fcitx,
+-	fcitx-table-amharic,
+-	fcitx-frontend-gtk2,
+-	fcitx-frontend-gtk3,
+-	fcitx-config-gtk
++	fcitx5,
++	fcitx5-table-amharic,
++	fcitx5-frontend-gtk2,
++	fcitx5-frontend-gtk3,
++        fcitx5-frontend-gtk4
+ 
+ Package: task-amharic-gnome-desktop
+ Architecture: all
+@@ -428,8 +428,10 @@ Description: Amharic KDE Plasma desktop
+  This task localises the KDE Plasma desktop in Amharic.
+ Depends: ${misc:Depends},
+ Recommends:
+-	fcitx-frontend-qt5,
+-	kde-config-fcitx
++	fcitx5-frontend-qt5,
++        fcitx5-frontend-qt6,
++        fcitx5-config-qt,
++	kde-config-fcitx5
+ 
+ Package: task-arabic
+ Architecture: all
+-- 
+2.49.0
+
diff --git a/debian/control b/debian/control
index a0e75e8f..5a3156a3 100644
--- a/debian/control
+++ b/debian/control
@@ -406,11 +406,11 @@ Description: Amharic desktop
 Depends: ${misc:Depends}
 Recommends:
 	fonts-sil-abyssinica,
-	fcitx,
-	fcitx-table-amharic,
-	fcitx-frontend-gtk2,
-	fcitx-frontend-gtk3,
-	fcitx-config-gtk
+	fcitx5,
+	fcitx5-table-amharic,
+	fcitx5-frontend-gtk2,
+	fcitx5-frontend-gtk3,
+	fcitx5-frontend-gtk4
 
 Package: task-amharic-gnome-desktop
 Architecture: all
@@ -428,8 +428,9 @@ Description: Amharic KDE Plasma desktop
  This task localises the KDE Plasma desktop in Amharic.
 Depends: ${misc:Depends},
 Recommends:
-	fcitx-frontend-qt5,
-	kde-config-fcitx
+	fcitx5-frontend-qt5,
+	fcitx5-frontend-qt6,
+	kde-config-fcitx5
 
 Package: task-arabic
 Architecture: all
-- 
2.49.0

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


Reply to: