Bug#875250: Intend to port to Qt 5

2019-12-28 Thread Lisandro Damián Nicanor Pérez Meyer
And attached is the NMU patch.


-- 
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
From 90c200f506436898e5d64766c0fb7a031e151cc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lisandro=20Dami=C3=A1n=20Nicanor=20P=C3=A9rez=20Meyer?=
 
Date: Sat, 28 Dec 2019 20:25:16 -0300
Subject: [PATCH] Drop Qt 4 support.

---
 debian/README.Debian| 58 -
 debian/README.Qt| 26 ---
 debian/changelog| 11 +++
 debian/control  | 34 ---
 debian/im-switch/scim-immodule  | 22 ++---
 debian/rules|  2 +-
 debian/scim-qt-immodule.install |  1 -
 debian/scim.docs|  1 -
 8 files changed, 42 insertions(+), 113 deletions(-)
 delete mode 100644 debian/README.Qt
 delete mode 100644 debian/scim-qt-immodule.install

diff --git a/debian/README.Debian b/debian/README.Debian
index 6f07b80..1e3d7b6 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -4,14 +4,14 @@
 
 SCIM is an older and mature input method platform, and supports many different
 input methods (IMs) to make input of complicated characters in X environment
-possible.  
+possible.
 
 There are SCIM plugin modules for many languages such as Japanese, Chinese,
 Korean, Arabic, and many Indic languages.
 
 Most description for the new IBus at
 http://www.debian.org/doc/manuals/debian-reference/ch08.en.html#_the_keyboard_input
-is applicable to this older SCIM.  
+is applicable to this older SCIM.
 
 (Older documents in Japanese and English are available at:
  http://wiki.debian.org/JapaneseEnvironmentE (English)
@@ -47,15 +47,11 @@ your language or favorite input method is supported.
 The packages scim-gtk-immodule-orig and scim-gtk-immodule provide GTK IM
 mode for SCIM.  For more details, please read README.GTK.
 
-The package scim-qt-immodule provides Qt IM mode for SCIM.  For more details,
-please read README.Qt.
-
 In summary, you should install package scim and one of the IM module package
 to start.  You may install scim-gtk-immodule-orig or scim-gtk-immodule if
-you use GTK+ applications and want to try the GTK IM mode; and you may
-install scim-qt-immodule if you use Qt applications and want to try the
-Qt IM mode. You shouldn't need to explicitly install any other package as
-they should be installed as necessary due to dependency.
+you use GTK+ applications and want to try the GTK IM mode. You shouldn't need
+to explicitly install any other package as they should be installed as
+necessary due to dependency.
 
 ---
 Locales
@@ -90,12 +86,12 @@ Using SCIM
 --
 
 After setting up locale, you can try using SCIM to input in your language.
-SCIM can be used in three modes: XIM mode, GTK IM mode and Qt IM mode.
+SCIM can be used in two modes: XIM mode and GTK IM mode.
 
 To use XIM (X Input Method) mode, you need to set the environment variable
 XMODIFIERS and GTK_IM_MODULE before starting your X application (you
 only need to set GTK_IM_MODULE/QT_IM_MODULE if the X application you want
-to run also uses GTK+/Qt).  Run the following commands in an X terminal
+to run also uses GTK+).  Run the following commands in an X terminal
 (such as xterm, gnome-terminal or konsole):
 $ XMODIFIERS="@im=SCIM"
 $ export XMODIFIERS
@@ -142,19 +138,6 @@ and automatically stop when you quit the program.  This may cause delay
 for program start/quit though, so it's always a good idea to explicitly
 start SCIM by "scim -d" command.
 
-Qt also has its own input method framework, so Qt/KDE programs can use SCIM
-in an additional mode, GTK IM mode.  SCIM's Qt IM mode is provided as a
-Qt IM module by the scim-qt-immodule package, and SCIM can automatically
-start if you choose this module.  So using GTK IM mode is simpler, just
-start a Qt/KDE program, right-click and choose "Input Methods -> SCIM
-Input Method" in the pop-up menu, and SCIM should automatically start if
-it's not started yet.  Now pressing Ctrl-space should also activate SCIM
-and you can start typing.  An alternative way to start Qt applications
-using SCIM at the Qt IM module is by using QT_IM_MODULE
-$ QT_IM_MODULE="scim"
-$ export QT_IM_MODULE
-$ qt-program
-
 --
 Autostart SCIM
 --
@@ -174,9 +157,8 @@ want to start SCIM automatically with GNOME:
 export GTK_IM_MODULE
 export QT_IM_MODULE
 scim -d
-Change the en_US.UTF-8 to your preferred locale, and change
-GTK_IM_MODULE/QT_IM_MODULE to
-"scim" if you want to use GTK/QT IM mode instead of XIM mode.
+Change the en_US.UTF-8 to your preferred locale, and change GTK_IM_MODULE to
+"scim" if you want to use GTK IM mode instead of XIM mode.
 
 The hard part is to figure out which configuration file to put these in.  One
 choice is to put it in ~/.xsession, and add your X session command at the end
@@ -185,7 +167,7 @@ you always need to modify this file to change X session, and the feature of
 choosing 

Bug#875250: Intend to port to Qt 5

2019-12-28 Thread Lisandro Damián Nicanor Pérez Meyer
I'm about to upload an NMU just with the Qt 4 drop changes, as the
package has received another NMU in the meantime.

Tz-Huan and Benda: Rolf, the main maintainer, seems unactive since ~
april 2018. If you want you might consider using the salvaging process
to take over maintenance. If you are not DDs and need sponsoring
please ping me (I am normally slow, but I get to it at some point).

I'm also currently not applying the rest of the changes in the MR due
to the changes in the NMU already in the archive. If any of you wants
to update the MR after my upload and need a sponsor, please ping me.


Cheers, Lisandro.



Bug#875250: Intend to port to Qt 5

2019-12-28 Thread Lisandro Damián Nicanor Pérez Meyer
Hi!

El vie., 27 dic. 2019 18:28, Moritz Mühlenhoff  escribió:

> On Thu, Dec 05, 2019 at 11:50:53AM +0800, Benda Xu wrote:
> > Hi Moritz,
> >
> > I started to work on qt5 port of SCIM.  There is some remaining blocks.
> > I will work on it for another 10 days.
> >
> > I want to postpone to deadline to Dec 15, if that does not drag the QT5
> > migration too much.
> >
> > Thank you for your understanding!
>
> scim is now the last package keeping Qt4 in testing, can we please go ahead
> with the https://github.com/leggewie-DM/scim/pull/1 MR ? Qt5 support can
> still be re-added later, there's ample time before the bullseye freeze.
>


Considering that Benda acked the MR in case the port is not there by the
deadline, and that we are past it already, I'll do a 0 day NMU, I hope
tonight or maybe tomorrow.

Cheers, Lisandro.

>


Bug#875250: Intend to port to Qt 5

2019-12-27 Thread Moritz Mühlenhoff
On Thu, Dec 05, 2019 at 11:50:53AM +0800, Benda Xu wrote:
> Hi Moritz,
> 
> I started to work on qt5 port of SCIM.  There is some remaining blocks.
> I will work on it for another 10 days.
> 
> I want to postpone to deadline to Dec 15, if that does not drag the QT5
> migration too much.
> 
> Thank you for your understanding!

scim is now the last package keeping Qt4 in testing, can we please go ahead
with the https://github.com/leggewie-DM/scim/pull/1 MR ? Qt5 support can
still be re-added later, there's ample time before the bullseye freeze.

Cheers,
Moritz



Bug#875250: Intend to port to Qt 5

2019-12-23 Thread Lisandro Damián Nicanor Pérez Meyer
Hi Benda!


On Thu, 05 Dec 2019 11:50:53 +0800 Benda Xu wrote:
> Hi Moritz,
>
> I started to work on qt5 port of SCIM. There is some remaining blocks.
> I will work on it for another 10 days.
>
> I want to postpone to deadline to Dec 15, if that does not drag the QT5
> migration too much.
>
> Thank you for your understanding!
>
> Yours,
> Benda

How is this going? Pyqt4 is gone, so now scim is the last package holding
qt4 in testing.

Cheers, Lisandro


Bug#875250: Intend to port to Qt 5

2019-12-04 Thread Benda Xu
Hi Moritz,

I started to work on qt5 port of SCIM.  There is some remaining blocks.
I will work on it for another 10 days.

I want to postpone to deadline to Dec 15, if that does not drag the QT5
migration too much.

Thank you for your understanding!

Yours,
Benda



Bug#875250: Intend to port to Qt 5

2019-11-21 Thread Moritz Mühlenhoff
On Thu, Nov 21, 2019 at 04:23:31PM +0800, Benda Xu wrote:
> Hi Moritz,
> 
> I am listed as a uploader on src:scim.
> 
> I am going to try to port scim to Qt 5 before removing scim-qt-immodule.
> Please give me 10 days.  If until Dec 1 I cannot port scim qt5, I will
> do the upload authored by https://github.com/leggewie-DM/scim/pull/1.

Awesome, thanks!

Cheers,
Moritz



Bug#875250: Intend to port to Qt 5

2019-11-21 Thread Benda Xu
Hi Moritz,

I am listed as a uploader on src:scim.

I am going to try to port scim to Qt 5 before removing scim-qt-immodule.
Please give me 10 days.  If until Dec 1 I cannot port scim qt5, I will
do the upload authored by https://github.com/leggewie-DM/scim/pull/1.

Thanks!
Benda