Package: im-config Version: 0.29-1 Severity: normal Tags: patch Hi,
Please help to apply the attached patch since HIME now support multi-arch and Qt5. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages im-config depends on: ii dialog 1.2-20150920-1 ii gettext-base 0.19.6-1 ii zenity 3.18.0-1 Versions of packages im-config recommends: ii dialog 1.2-20150920-1 ii x11-common 1:7.7+9 im-config suggests no packages. -- no debconf information -- ChangZhuo Chen (陳昌倬) <czc...@debian.org> Debian Developer Key fingerprint = EC9F 905D 866D BE46 A896 C827 BE0C 9242 03F4 552D
From 30833653f14eec72f4b27bb12134447b3591b1d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ChangZhuo=20Chen=20=28=E9=99=B3=E6=98=8C=E5=80=AC=29?= <czc...@debian.org> Date: Thu, 1 Oct 2015 13:43:44 +0800 Subject: [PATCH] Update hime for multi-arch and Qt5 --- data/25_hime.conf | 4 ++-- data/25_hime.rc | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/data/25_hime.conf b/data/25_hime.conf index 5381aee..71c8f86 100644 --- a/data/25_hime.conf +++ b/data/25_hime.conf @@ -7,8 +7,8 @@ IM_CONFIG_LONG="$(gettext "HIME Input Method Editor (hime) * Traditional Chinese: hime-chewing * Japanese: hime-anthy * Application platform support: - * GNOME/GTK+: hime-gtk3-immodule - * KDE/Qt: hime-qt4-immodule")" + * GNOME/GTK+: hime-gtk2-immodule, hime-gtk3-immodule + * KDE/Qt: hime-qt4-immodule, hime-qt5-immodule")" package_auto () { package_status hime && package_status hime-gtk3-immodule && package_status hime-qt4-immodule diff --git a/data/25_hime.rc b/data/25_hime.rc index bab6959..b5d42d7 100644 --- a/data/25_hime.rc +++ b/data/25_hime.rc @@ -44,6 +44,15 @@ for IM_CONFIG_MARKER in /usr/lib/*/qt4/plugins/inputmethods/im-hime.so \ fi done +QT_IM_MODULE=xim +# use immodule when available for Qt5 +for IM_CONFIG_MARKER in /usr/lib/*/qt5/plugins/platforminputcontexts/im-hime.so ; do + if [ -e $IM_CONFIG_MARKER ]; then + QT_IM_MODULE=hime + break + fi +done + # hime has no clutter support, and qt3 immodule is not compiled. CLUTTER_IM_MODULE=xim fi -- 2.6.0
signature.asc
Description: PGP signature