From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvnPO-0004CP-V7 for guix-patches@gnu.org; Sat, 23 Sep 2017 12:36:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvnPO-0000hx-3x for guix-patches@gnu.org; Sat, 23 Sep 2017 12:36:02 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46130) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dvnPO-0000hm-0y for guix-patches@gnu.org; Sat, 23 Sep 2017 12:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dvnPN-0001EX-QJ for guix-patches@gnu.org; Sat, 23 Sep 2017 12:36:01 -0400 Subject: [bug#28421] [PATCH] gnu: Add uim. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87ingoyt3a.fsf@gnu.org> Date: Sat, 23 Sep 2017 18:35:11 +0200 In-Reply-To: (Arun Isaac's message of "Sat, 23 Sep 2017 12:20:46 +0530") Message-ID: <87tvzt1igw.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Arun Isaac Cc: 28421@debbugs.gnu.org Hi Arun, Arun Isaac skribis: > Sorry for the late reply. Somehow, your last mail was not delivered to > my inbox. I just saw it on the debbugs web interface. > >> I think the question is: are GTK+ and Qt needed just for the >> preference UI, or are they needed to enable support for this input >> method in GTK+ and Qt applications? > > I ran `ldd lib/gtk-2.0/2.10.0/immodules/im-uim.so | grep gtk' in uim's > store directory, and got > > libgtk-x11-2.0.so.0 =3D> /gnu/store/6wbbjj5f9ldbf7gpgah16pw2kfw3q6ij-gtk+= -2.24.31/lib/libgtk-x11-2.0.so.0 (0x00007ff9de133000) > libgdk-x11-2.0.so.0 =3D> /gnu/store/6wbbjj5f9ldbf7gpgah16pw2kfw3q6ij-gtk+= -2.24.31/lib/libgdk-x11-2.0.so.0 (0x00007ff9ddc58000) > > Similar output for `ldd lib/gtk-3.0/3.0.0/immodules/im-uim.so | grep > gtk'. So, I guess gtk+ is needed for this input method to work in gtk+ > applications. Must be likewise for qt. > > If it's the latter, we definitely need to keep both. > > Debian's solution is to have a separate uim package for each frontend -- > uim-gtk2, uim-gtk3, uim-qt, uim-el, uim-fep, etc. This seems a little > expensive. But, perhaps we can take the middle ground, and have two > outputs > > * a gtk output that supports gtk2, gtk3 and others > * a qt output that supports qt and others > > WDYT? Separate outputs would be fine, though I have a slight preference for separate packages (I suppose that could be factorized by having a =E2=80=98make-uim=E2=80=99 procedure that takes the GUI toolkit and returns= the corresponding package), since that would be easier to build (no need to download/build all the toolkits.) Now, whether you opt for separate packages or separate outputs, it doesn=E2=80=99t have to be as fine-grain as what Debian=E2=80=99s does. A = single package/output for both GTK versions would be fine, for instance. Thanks for looking into it! Ludo=E2=80=99.