From unknown Sun Sep 07 18:03:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#28421 <28421@debbugs.gnu.org> To: bug#28421 <28421@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add uim. Reply-To: bug#28421 <28421@debbugs.gnu.org> Date: Mon, 08 Sep 2025 01:03:25 +0000 retitle 28421 [PATCH] gnu: Add uim. reassign 28421 guix-patches submitter 28421 Arun Isaac severity 28421 normal tag 28421 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 11 16:23:22 2017 Received: (at submit) by debbugs.gnu.org; 11 Sep 2017 20:23:22 +0000 Received: from localhost ([127.0.0.1]:34125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drVEg-0004zJ-On for submit@debbugs.gnu.org; Mon, 11 Sep 2017 16:23:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drVEf-0004z7-Am for submit@debbugs.gnu.org; Mon, 11 Sep 2017 16:23:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drVEY-0008Q2-Uy for submit@debbugs.gnu.org; Mon, 11 Sep 2017 16:23:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43660) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1drVEY-0008Px-Rb for submit@debbugs.gnu.org; Mon, 11 Sep 2017 16:23:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drVEX-0005Dv-Cz for guix-patches@gnu.org; Mon, 11 Sep 2017 16:23:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drVEU-0008Nw-6r for guix-patches@gnu.org; Mon, 11 Sep 2017 16:23:05 -0400 Received: from o177.p8.mailjet.com ([87.253.233.177]:38290) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1drVET-0008NG-QI for guix-patches@gnu.org; Mon, 11 Sep 2017 16:23:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:cc:x-csa-complaints: x-mj-mid:content-type:content-transfer-encoding; bh=WSuYjNl1i7IzdP2hUo1WrJvk0dFYZz/3puyyIUryers=; b=MlnczUSLq9FG+K7JVKk7zXLGfnK7f3HDYmVL5pdSUX2eAN5yyF9dhE0TO ewN/dp/ELwx/V3Zv/BwL0hlBo3pwICBrWPwFhA6aGM+rbKUvpEr1kfUDZqim fJ7R7RglkcqXdoYxtBZ5loIGUqrQRq30rThxkkF5Tavcqr0npYy/hE= Message-Id: MIME-Version: 1.0 From: Arun Isaac To: guix-patches@gnu.org Subject: [PATCH] gnu: Add uim. Date: Tue, 12 Sep 2017 01:52:04 +0530 X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEQAP7_uUM0AAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZtvCA-fe9GEwaSgKVlwCk6PkuQQAFgUc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) * gnu/packages/xorg.scm (uim): New variable. --- gnu/packages/xorg.scm | 77 +++++++++++++++++++++++++++++++++++++++++++++= ++++++ 1 file changed, 77 insertions(+) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index b72153894..267f3db59 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -13,6 +13,7 @@ ;;; Copyright =C2=A9 2016, 2017 John Darrington ;;; Copyright =C2=A9 2017 Marius Bakke ;;; Copyright =C2=A9 2017 Rutger Helling +;;; Copyright =C2=A9 2017 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -39,10 +40,12 @@ #:use-module (guix build-system python) #:use-module (guix utils) #:use-module (gnu packages) + #:use-module (gnu packages anthy) #:use-module (gnu packages autotools) #:use-module (gnu packages bison) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages emacs) #:use-module (gnu packages flex) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) @@ -54,6 +57,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages image) #:use-module (gnu packages libbsd) + #:use-module (gnu packages libedit) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages m4) @@ -62,6 +66,7 @@ #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages qt) #:use-module (gnu packages spice) #:use-module (gnu packages video) #:use-module (gnu packages xiph) @@ -5970,3 +5975,75 @@ disconnect from these programs and reconnect from = the same or another machine, without losing any state. It can also be used to forward full desktops = from X11 servers, Windows, or macOS.") (license license:gpl2+))) + +(define-public uim + (package + (name "uim") + (version "1.8.6") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/uim/uim/releases/download= /uim-1.8.6/uim-" + version ".tar.bz2")) + (sha256 + (base32 + "0pr3rfqpxha8p6cxzdjsxbbmmr76riklzw36f68phd1zqw1sh7kv")))) + (build-system gnu-build-system) + (inputs + `(("libedit" ,libedit) + ("libxft" ,libxft) + ("m17n-lib" ,m17n-lib))) + (native-inputs + `(("anthy" ,anthy) + ("emacs" ,emacs-minimal) + ("gtk+" ,gtk+) + ("gtk+" ,gtk+-2) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("qt" ,qt-4))) + (arguments + `(#:modules ((guix build gnu-build-system) + (guix build utils) + (guix build emacs-utils)) + #:imported-modules (,@%gnu-build-system-modules + (guix build emacs-utils)) + #:configure-flags + (list "--with-anthy-utf8" + "--with-qt4-immodule" + "--with-qt4" + (string-append "--with-lispdir=3D" %output + "/share/emacs/site-lisp/guix.d") + ;; Set proper runpath + (string-append "LDFLAGS=3D-Wl,-rpath=3D" + (assoc-ref %outputs "out") + "/lib")) + #:phases + (modify-phases %standard-phases + ;; Set path of uim-el-agent and uim-el-helper-agent executables + (add-after 'configure 'configure-uim-el + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "emacs/uim-var.el" + (("\"(uim-el-agent|uim-el-helper-agent)\"" _ executable) + (string-append "\"" (assoc-ref outputs "out") + "/bin/" executable "\""))))) + ;; Generate emacs autoloads for uim.el + (add-after 'install 'make-autoloads + (lambda* (#:key outputs #:allow-other-keys) + (emacs-generate-autoloads + ,name (string-append (assoc-ref outputs "out") + "/share/emacs/site-lisp"))))))) + (home-page "https://github.com/uim/uim") + (synopsis "Multilingual input method framework") + (description "uim is a multilingual input method library and environ= ment. +It provides a simple, easily extensible and high code-quality input meth= od +development platform, and useful input method environment for users of d= esktop +and embedded platforms.") + (license (list license:lgpl2.1+ ; scm/py.scm, pixmaps/*.{svg,png} (s= ee pixmaps/README) + license:gpl2+ ; scm/pinyin-big5.scm + license:gpl3+ ; scm/elatin-rules.cm + license:public-domain ; scm/input-parse.scm, scm/matc= h.scm + license:lgpl2.0+ ; gtk2/toolbar/eggtrayicon.{ch}, + ; qt3/chardict/kseparator.{cpp,h}, + ; qt3/pref/kseparator.{cpp,h} + license:bsd-3)))) ; pixmaps/*.{svg,png} (see + ; pixmaps/README), all other files --=20 2.14.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 12 03:35:01 2017 Received: (at 28421) by debbugs.gnu.org; 12 Sep 2017 07:35:01 +0000 Received: from localhost ([127.0.0.1]:34669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drfin-0006EI-91 for submit@debbugs.gnu.org; Tue, 12 Sep 2017 03:35:01 -0400 Received: from o175.p8.mailjet.com ([87.253.233.175]:52221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <0cfa8bbe.ADkAADAuJvYAAAAAAAAAAAPqZPMAAAACwQwAAAAAAAW9WABZt44h@bnc3.mailjet.com>) id 1drfik-0006E3-RT for 28421@debbugs.gnu.org; Tue, 12 Sep 2017 03:34:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type:content-transfer-encoding; bh=zNN20BJte933m4k0TeLg8UwP4Y/UazNr+WNQ9+Z/kP4=; b=izxV/BBqSy4j/nc8F+raUCrcs3RIomFKTjRYqA0A9vY29aqpprSRwTvES tHB4OERK2YC3Zwgd6rfRYZcAxeyf3zCLch9eKtDhdqFLElkFG05/U8iwKgng 4sB0ZznW44wHQuwIHE39YbfORPfT4z8+H+X46sYLjSQtgjVLhH4FBg= Message-Id: <0cfa8bbe.ADkAADAuJvYAAAAAAAAAAAPqZPMAAAACwQwAAAAAAAW9WABZt44h@mailjet.com> MIME-Version: 1.0 From: Arun Isaac To: 28421@debbugs.gnu.org Subject: Re: [PATCH] gnu: Add uim. Date: Tue, 12 Sep 2017 13:04:44 +0530 In-reply-to: <20170911202204.23647-1-arunisaac@systemreboot.net> References: <20170911202204.23647-1-arunisaac@systemreboot.net> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: ADkAADAuJvYAAAAAAAAAAAPqZPMAAAACwQwAAAAAAAW9WABZt44h8wW3pSnlRUCAKdJ0__FXrwAFgUc Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: 28421 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > + #:phases > + (modify-phases %standard-phases > + ;; Set path of uim-el-agent and uim-el-helper-agent executables > + (add-after 'configure 'configure-uim-el > + (lambda* (#:key outputs #:allow-other-keys) > + (substitute* "emacs/uim-var.el" > + (("\"(uim-el-agent|uim-el-helper-agent)\"" _ executable) > + (string-append "\"" (assoc-ref outputs "out") > + "/bin/" executable "\""))))) > + ;; Generate emacs autoloads for uim.el > + (add-after 'install 'make-autoloads > + (lambda* (#:key outputs #:allow-other-keys) > + (emacs-generate-autoloads > + ,name (string-append (assoc-ref outputs "out") > + "/share/emacs/site-lisp"))))))) I have missed returning #t from these two phases. I'll fix those in a subsequent patch once somebody reviews this patch, and suggests any other changes. = From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 12 08:55:35 2017 Received: (at 28421) by debbugs.gnu.org; 12 Sep 2017 12:55:35 +0000 Received: from localhost ([127.0.0.1]:34910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drkj1-0007nY-8F for submit@debbugs.gnu.org; Tue, 12 Sep 2017 08:55:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drkiz-0007nI-9q for 28421@debbugs.gnu.org; Tue, 12 Sep 2017 08:55:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drkiq-0003iJ-Ah for 28421@debbugs.gnu.org; Tue, 12 Sep 2017 08:55:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drkiq-0003iD-7w; Tue, 12 Sep 2017 08:55:24 -0400 Received: from [193.50.110.232] (port=39474 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1drkip-0000Dd-Io; Tue, 12 Sep 2017 08:55:24 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Arun Isaac Subject: Re: [bug#28421] [PATCH] gnu: Add uim. References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 Fructidor an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Tue, 12 Sep 2017 14:55:21 +0200 In-Reply-To: (Arun Isaac's message of "Tue, 12 Sep 2017 01:52:04 +0530") Message-ID: <87ingoyt3a.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28421 Cc: 28421@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Arun Isaac skribis: > * gnu/packages/xorg.scm (uim): New variable. [...] > + (native-inputs > + `(("anthy" ,anthy) > + ("emacs" ,emacs-minimal) > + ("gtk+" ,gtk+) > + ("gtk+" ,gtk+-2) > + ("intltool" ,intltool) > + ("pkg-config" ,pkg-config) > + ("qt" ,qt-4))) GTK+ and Qt are native inputs? Also, is Qt 5 supported? That would be best. Besides, would it make sense to split the thing into several outputs to avoid the huge dependencies? > + (home-page "https://github.com/uim/uim") > + (synopsis "Multilingual input method framework") > + (description "uim is a multilingual input method library and environ= ment. > +It provides a simple, easily extensible and high code-quality input meth= od > +development platform, and useful input method environment for users of d= esktop > +and embedded platforms.") I=E2=80=99m not clear if it=E2=80=99s a later above Qt/GTK+ or something en= tirely separate? Apart from that, LGTM with phases that return #t as you noted. Thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 13 19:49:19 2017 Received: (at 28421) by debbugs.gnu.org; 13 Sep 2017 23:49:19 +0000 Received: from localhost ([127.0.0.1]:39093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dsHPD-0000MU-51 for submit@debbugs.gnu.org; Wed, 13 Sep 2017 19:49:19 -0400 Received: from o137.p8.mailjet.com ([87.253.233.137]:37025) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <554652da.AEQAQDMYN5IAAAAAAAAAAAPqZPMAAAACwQwAAAAAAAW9WABZucP6@bnc3.mailjet.com>) id 1dsHP9-0000MK-Pe for 28421@debbugs.gnu.org; Wed, 13 Sep 2017 19:49:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:cc:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type:content-transfer-encoding; bh=fs1Yyr9iYWF/SS63gAaTQNj78t4frWy2Ab6zapHBzsE=; b=PRetrik3yWahlUDGMm3hYXkMleY9mNMnPvNFgAIvrFnzCHbvBd3JP7IYq 7OgN4TngI7C9zTEkSoWT93IfhEPIL+r4zOIdjciwsozLO0iCGvqLGrhjMCHf yW6ScfoSrGVsMi3IzUZifpUpPXvvENj+fzbarvGd5z8oqWjI87oFzI= Message-Id: <554652da.AEQAQDMYN5IAAAAAAAAAAAPqZPMAAAACwQwAAAAAAAW9WABZucP6@mailjet.com> MIME-Version: 1.0 From: Arun Isaac To: Ludovic =?iso-8859-1?q?Court=E8s?= Subject: Re: [bug#28421] [PATCH] gnu: Add uim. Date: Thu, 14 Sep 2017 05:19:04 +0530 In-reply-to: <87ingoyt3a.fsf@gnu.org> References: <87ingoyt3a.fsf@gnu.org> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEQAQDMYN5IAAAAAAAAAAAPqZPMAAAACwQwAAAAAAAW9WABZucP60XlGm0gYSQOslN9qnKbfUQAFgUc Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 28421 Cc: 28421@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) >> * gnu/packages/xorg.scm (uim): New variable. > > [...] > >> + (native-inputs >> + `(("anthy" ,anthy) >> + ("emacs" ,emacs-minimal) >> + ("gtk+" ,gtk+) >> + ("gtk+" ,gtk+-2) >> + ("intltool" ,intltool) >> + ("pkg-config" ,pkg-config) >> + ("qt" ,qt-4))) > > GTK+ and Qt are native inputs? The package has gtk and qt programs to set uim preferences. At least, those must need gtk and qt as inputs. So, you're right -- gtk and qt should be inputs, not native inputs. Also, I think anthy should be an input, not a native input. > Also, is Qt 5 supported? That would be best. It looks there is no release yet that supports Qt 5, though there is support in the master branch. https://github.com/uim/uim/issues/61 > Besides, would it make sense to split the thing into several outputs to > avoid the huge dependencies? I don't know if it's a good idea to split the package into a gtk output and a qt output. What if the user needs multilingual input in both gtk and qt programs? Also, this package can be built in many different ways -- with and without the gtk and qt helper programs (for uim preferences), with and without anthy support, with and without m17nlib support, etc. I don't know where to draw the line, and choose only a few outputs. The configure flags and dependencies, as they stand now, I copied from Arch Linux. https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/uim > I’m not clear if it’s a later above Qt/GTK+ or something entirely > separate? I am not entirely sure either but I think at least the core library (libuim) is entirely separate. > Apart from that, LGTM with phases that return #t as you noted. Will send an updated patch with all changes discussed. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 14 03:00:31 2017 Received: (at 28421) by debbugs.gnu.org; 14 Sep 2017 07:00:31 +0000 Received: from localhost ([127.0.0.1]:39497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dsO8U-00045y-QK for submit@debbugs.gnu.org; Thu, 14 Sep 2017 03:00:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dsO8T-00045l-CV for 28421@debbugs.gnu.org; Thu, 14 Sep 2017 03:00:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsO8I-0008FS-0F for 28421@debbugs.gnu.org; Thu, 14 Sep 2017 03:00:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsO8H-0008FI-SU; Thu, 14 Sep 2017 03:00:17 -0400 Received: from [193.50.110.249] (port=35918 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dsO8H-0000sv-74; Thu, 14 Sep 2017 03:00:17 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Arun Isaac Subject: Re: [bug#28421] [PATCH] gnu: Add uim. References: <87ingoyt3a.fsf@gnu.org> <82a195b0.AEQAQDMYN5MAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZucP6@mailjet.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 Fructidor an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Thu, 14 Sep 2017 09:00:15 +0200 In-Reply-To: <82a195b0.AEQAQDMYN5MAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZucP6@mailjet.com> (Arun Isaac's message of "Thu, 14 Sep 2017 05:19:04 +0530") Message-ID: <87lglhdatc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28421 Cc: 28421@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Arun, Arun Isaac skribis: >>> * gnu/packages/xorg.scm (uim): New variable. >> >> [...] >> >>> + (native-inputs >>> + `(("anthy" ,anthy) >>> + ("emacs" ,emacs-minimal) >>> + ("gtk+" ,gtk+) >>> + ("gtk+" ,gtk+-2) >>> + ("intltool" ,intltool) >>> + ("pkg-config" ,pkg-config) >>> + ("qt" ,qt-4))) >> >> GTK+ and Qt are native inputs? > > The package has gtk and qt programs to set uim preferences. At least, > those must need gtk and qt as inputs. So, you're right -- gtk and qt > should be inputs, not native inputs. > > Also, I think anthy should be an input, not a native input. OK. >> Also, is Qt 5 supported? That would be best. > > It looks there is no release yet that supports Qt 5, though there is > support in the master branch. > > https://github.com/uim/uim/issues/61 Good. >> Besides, would it make sense to split the thing into several outputs to >> avoid the huge dependencies? > > I don't know if it's a good idea to split the package into a gtk output > and a qt output. What if the user needs multilingual input in both gtk > and qt programs? > > Also, this package can be built in many different ways -- with and > without the gtk and qt helper programs (for uim preferences), with and > without anthy support, with and without m17nlib support, etc. I don't > know where to draw the line, and choose only a few outputs. The > configure flags and dependencies, as they stand now, I copied from Arch > Linux. > > https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=3Dp= ackages/uim 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? If it=E2=80=99s the latter, we definitely need to keep both. If it=E2=80=99s the former, perhaps we can have one package that simply pro= vides libuim and does not depend on a GUI toolkit (=E2=80=9Cuim-minimal=E2=80=9D)= , and another one (or two) that provide the GUIs. Alternately, there could be a =E2=80= =9Clib=E2=80=9D output (no dependency on GTK+/Qt). Thoughts? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 23 02:50:59 2017 Received: (at 28421) by debbugs.gnu.org; 23 Sep 2017 06:50:59 +0000 Received: from localhost ([127.0.0.1]:53443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dveHD-0005RT-Ci for submit@debbugs.gnu.org; Sat, 23 Sep 2017 02:50:59 -0400 Received: from o127.p8.mailjet.com ([87.253.233.127]:41435) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dveHA-0005RJ-WF for 28421@debbugs.gnu.org; Sat, 23 Sep 2017 02:50:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type:content-transfer-encoding; bh=SnWKsokmvH6IUyUUueZLeNjElTbqUSY5vsrPGyUgUsc=; b=LgW9+L2B4BfE+95ixpEdG7U21XE00y58QSslTuUEO7T+DgtJwNYpl/brr qZnHTLUOHGMQFbxc4Njq+B/cdO8kry84fKGj+LwcoQqj/ZBSj2Awc0epZcMH iF9sQvPF3JW3z6tJdl9FSe7qkdZXWVifnzqHooGVl9MQkCucGqPoGU= Message-Id: MIME-Version: 1.0 From: Arun Isaac To: 28421@debbugs.gnu.org Subject: Re: [bug#28421] [PATCH] gnu: Add uim. Date: Sat, 23 Sep 2017 12:20:46 +0530 In-Reply-To: <87ingoyt3a.fsf@gnu.org> References: <87ingoyt3a.fsf@gnu.org> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEEAQ1ktwwIAAAAAAAAAAAPqZPMAAAACwQwAAAAAAAW9WABZxgRPo2hKVdi6ScOtnK1extuzOAAFgUc Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28421 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 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? = From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 23 12:35:21 2017 Received: (at 28421) by debbugs.gnu.org; 23 Sep 2017 16:35:21 +0000 Received: from localhost ([127.0.0.1]:54811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvnOj-0001Dc-Ae for submit@debbugs.gnu.org; Sat, 23 Sep 2017 12:35:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55999) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvnOh-0001DO-HB for 28421@debbugs.gnu.org; Sat, 23 Sep 2017 12:35:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvnOb-0008S1-AE for 28421@debbugs.gnu.org; Sat, 23 Sep 2017 12:35:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvnOb-0008Rs-6d; Sat, 23 Sep 2017 12:35:13 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=59604 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dvnOa-0006vu-OK; Sat, 23 Sep 2017 12:35:13 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Arun Isaac Subject: Re: [bug#28421] [PATCH] gnu: Add uim. References: <87ingoyt3a.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 =?utf-8?Q?Vend=C3=A9miaire?= an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu 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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28421 Cc: 28421@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 23 15:06:08 2017 Received: (at 28421) by debbugs.gnu.org; 23 Sep 2017 19:06:08 +0000 Received: from localhost ([127.0.0.1]:54901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvpke-0004xD-BD for submit@debbugs.gnu.org; Sat, 23 Sep 2017 15:06:08 -0400 Received: from o20.p25.mailjet.com ([185.189.236.20]:39953) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <6c87ac85.AEQAQk2GuKEAAAAAAAAAAAPqZPMAAAACwQwAAAAAAAW9WABZxrCd@bnc3.mailjet.com>) id 1dvpkc-0004x4-Ma for 28421@debbugs.gnu.org; Sat, 23 Sep 2017 15:06:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:cc:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type:content-transfer-encoding; bh=t20f04QKHI+gQ5vWWZzjlWGUgIBH6mXBH7a1O83Tivw=; b=AEj4HpNdcbgxNKoVvdKM5XFNNU0I13KnnKvl+EPzqFaAgAs9DqkG8q6W8 r7UmcjWd+DSxPJNZnQdTtsn9HOkCldjYcB9MSZN+1WqESleCPFZoj/OxOxs1 1O1QQxEywfx1Me7EFwj8Iiq2YYV+zqrLIpLzSvxXFr9r6Offxpuv5g= Message-Id: <6c87ac85.AEQAQk2GuKEAAAAAAAAAAAPqZPMAAAACwQwAAAAAAAW9WABZxrCd@mailjet.com> MIME-Version: 1.0 From: Arun Isaac To: Ludovic =?iso-8859-1?q?Court=E8s?= Subject: Re: [bug#28421] [PATCH] gnu: Add uim. Date: Sun, 24 Sep 2017 00:35:57 +0530 In-Reply-To: <87tvzt1igw.fsf@gnu.org> References: <87ingoyt3a.fsf@gnu.org> <87tvzt1igw.fsf@gnu.org> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEQAQk2GuKEAAAAAAAAAAAPqZPMAAAACwQwAAAAAAAW9WABZxrCd9FZlXEQHRUuAS9KOonm6oQAFgUc Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28421 Cc: 28421@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Ludovic Court=C3=A8s writes: > Separate outputs would be fine, though I have a slight preference for > separate packages A general question: For what use cases do we use outputs, and for what use cases do we use separate packages? How are these two features different? = From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 24 15:48:24 2017 Received: (at 28421) by debbugs.gnu.org; 24 Sep 2017 19:48:24 +0000 Received: from localhost ([127.0.0.1]:56520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwCt5-0001uL-Ut for submit@debbugs.gnu.org; Sun, 24 Sep 2017 15:48:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60361) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwCt5-0001uA-4E for 28421@debbugs.gnu.org; Sun, 24 Sep 2017 15:48:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwCsz-000088-7y for 28421@debbugs.gnu.org; Sun, 24 Sep 2017 15:48:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwCsz-000083-4Q; Sun, 24 Sep 2017 15:48:17 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=33954 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dwCsy-0000GY-K7; Sun, 24 Sep 2017 15:48:16 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Arun Isaac Subject: Re: [bug#28421] [PATCH] gnu: Add uim. References: <87ingoyt3a.fsf@gnu.org> <87tvzt1igw.fsf@gnu.org> <15afe43a.AEQAQk2GuKIAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZxrCd@mailjet.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 3 =?utf-8?Q?Vend=C3=A9miaire?= an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 24 Sep 2017 21:48:14 +0200 In-Reply-To: <15afe43a.AEQAQk2GuKIAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZxrCd@mailjet.com> (Arun Isaac's message of "Sun, 24 Sep 2017 00:35:57 +0530") Message-ID: <87tvzr3mkh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28421 Cc: 28421@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Howdy, Arun Isaac skribis: > Ludovic Court=C3=A8s writes: > >> Separate outputs would be fine, though I have a slight preference for >> separate packages > > A general question: For what use cases do we use outputs, and for what > use cases do we use separate packages? How are these two features > different? They=E2=80=99re similar, indeed. In some cases, separate outputs is the on= ly mechanism that can be used=E2=80=94for instance for =E2=80=9Cdebug=E2=80=9D= outputs, or even =E2=80=9Clib=E2=80=9D outputs to some extent. In other cases, such as this one, there=E2=80=99s no practical difference between having separate outputs and having separate packages. When there=E2=80=99s a choice, I tend to prefer to use outputs for the =E2=80=9Cstandard=E2=80=9D things (=E2=80=9Clib=E2=80=9D, =E2=80=9Cdebug=E2= =80=9D, =E2=80=9Cdoc=E2=80=9D, etc.), and separate packages for less obvious splits (=E2=80=9Cqt=E2=80=9D, =E2=80=9Cgtk=E2=80=9D, etc.) This is a very informal description. Maybe someone could articulate it better and we could provide guidelines in the manual? Anyway, HTH! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 25 23:24:56 2017 Received: (at 28421) by debbugs.gnu.org; 26 Sep 2017 03:24:56 +0000 Received: from localhost ([127.0.0.1]:59376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwgUN-00066M-Fh for submit@debbugs.gnu.org; Mon, 25 Sep 2017 23:24:55 -0400 Received: from o171.p8.mailjet.com ([87.253.233.171]:39494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <05ffd93b.ADkAADNjyysAAAAAAAAAAAPqZPMAAAACwQwAAAAAAAW9WABZyciA@bnc3.mailjet.com>) id 1dwgUL-00066D-Td for 28421@debbugs.gnu.org; Mon, 25 Sep 2017 23:24:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:cc:x-csa-complaints: x-mj-mid:content-type:content-transfer-encoding; bh=rQPOrXta+fkQWkn19Dhlx4YL6DaQ2p9B5pytlzKS7j0=; b=c54rClzeUP1D7mvaJQB4O5u53SsDPfqf0LKQXGsxUzocjK5XQvURIBSJ9 GZpVHRn7QXeWUkJ8ydz1BAiy/6nG6wnjxd1OL8NO5why5m/SWTXGfhRy6Tey D4f4T/F8WhCRmjk01xyoGYXAHoVrd6DdCtKHUWFU/nsF+6rmkMq31E= Message-Id: <05ffd93b.ADkAADNjyysAAAAAAAAAAAPqZPMAAAACwQwAAAAAAAW9WABZyciA@mailjet.com> MIME-Version: 1.0 From: Arun Isaac To: 28421@debbugs.gnu.org, ludo@gnu.org Subject: [PATCH] gnu: Add uim, uim-gtk and uim-qt. Date: Tue, 26 Sep 2017 08:53:59 +0530 X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: ADkAADNjyysAAAAAAAAAAAPqZPMAAAACwQwAAAAAAAW9WABZyciAxL9xfMkQSqO-BMk88a4nigAFgUc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 28421 Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) * gnu/packages/xorg.scm (uim, uim-gtk, uim-qt): New variables. --- gnu/packages/xorg.scm | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index ec8678b61..dcf891e67 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2016, 2017 John Darrington ;;; Copyright © 2017 Marius Bakke ;;; Copyright © 2017 Rutger Helling +;;; Copyright © 2017 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -39,10 +40,12 @@ #:use-module (guix build-system python) #:use-module (guix utils) #:use-module (gnu packages) + #:use-module (gnu packages anthy) #:use-module (gnu packages autotools) #:use-module (gnu packages bison) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages emacs) #:use-module (gnu packages flex) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) @@ -54,6 +57,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages image) #:use-module (gnu packages libbsd) + #:use-module (gnu packages libedit) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages m4) @@ -62,6 +66,7 @@ #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages qt) #:use-module (gnu packages spice) #:use-module (gnu packages video) #:use-module (gnu packages xiph) @@ -5983,3 +5988,98 @@ disconnect from these programs and reconnect from the same or another machine, without losing any state. It can also be used to forward full desktops from X11 servers, Windows, or macOS.") (license license:gpl2+))) + +(define-public uim + (package + (name "uim") + (version "1.8.6") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/uim/uim/releases/download/uim-" + version "/uim-" version ".tar.bz2")) + (sha256 + (base32 + "0pr3rfqpxha8p6cxzdjsxbbmmr76riklzw36f68phd1zqw1sh7kv")))) + (build-system gnu-build-system) + (inputs + `(("anthy" ,anthy) + ("libedit" ,libedit) + ("libxft" ,libxft) + ("m17n-lib" ,m17n-lib))) + (native-inputs + `(("emacs" ,emacs-minimal) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config))) + (arguments + `(#:modules ((guix build gnu-build-system) + (guix build utils) + (guix build emacs-utils)) + #:imported-modules (,@%gnu-build-system-modules + (guix build emacs-utils)) + #:configure-flags + (list "--with-anthy-utf8" + (string-append "--with-lispdir=" %output + "/share/emacs/site-lisp/guix.d") + ;; Set proper runpath + (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")) + #:phases + (modify-phases %standard-phases + ;; Set path of uim-el-agent and uim-el-helper-agent executables + (add-after 'configure 'configure-uim-el + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "emacs/uim-var.el" + (("\"(uim-el-agent|uim-el-helper-agent)\"" _ executable) + (string-append "\"" (assoc-ref outputs "out") + "/bin/" executable "\""))) + #t)) + ;; Generate emacs autoloads for uim.el + (add-after 'install 'make-autoloads + (lambda* (#:key outputs #:allow-other-keys) + (emacs-generate-autoloads + ,name (string-append (assoc-ref outputs "out") + "/share/emacs/site-lisp")) + #t))))) + (home-page "https://github.com/uim/uim") + (synopsis "Multilingual input method framework") + (description "uim is a multilingual input method library and environment. +It provides a simple, easily extensible and high code-quality input method +development platform, and useful input method environment for users of desktop +and embedded platforms.") + (license (list license:lgpl2.1+ ; scm/py.scm, pixmaps/*.{svg,png} (see pixmaps/README) + license:gpl2+ ; scm/pinyin-big5.scm + license:gpl3+ ; scm/elatin-rules.cm + license:public-domain ; scm/input-parse.scm, scm/match.scm + ;; gtk2/toolbar/eggtrayicon.{ch}, + ;; qt3/chardict/kseparator.{cpp,h}, + ;; qt3/pref/kseparator.{cpp,h} + license:lgpl2.0+ + ;; pixmaps/*.{svg,png} (see pixmaps/README), + ;; all other files + license:bsd-3)))) + +(define-public uim-gtk + (package + (inherit uim) + (name "uim-gtk") + (inputs + `(("gtk" ,gtk+) + ("gtk" ,gtk+-2) + ,@(package-inputs uim))) + (synopsis "uim built with GTK+ support") + (description "This package contains uim built with GTK+ support."))) + +(define-public uim-qt + (package + (inherit uim) + (name "uim-qt") + (inputs + `(("qt" ,qt-4) + ,@(package-inputs uim))) + (arguments + (substitute-keyword-arguments (package-arguments uim) + ((#:configure-flags configure-flags) + (append configure-flags (list "--with-qt4-immodule" + "--with-qt4"))))) + (synopsis "uim built with Qt support") + (description "This package contains uim built with Qt support."))) -- 2.14.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 26 03:22:38 2017 Received: (at 28421) by debbugs.gnu.org; 26 Sep 2017 07:22:38 +0000 Received: from localhost ([127.0.0.1]:59567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwkCU-0003M9-B8 for submit@debbugs.gnu.org; Tue, 26 Sep 2017 03:22:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwkCS-0003Lu-9h for 28421@debbugs.gnu.org; Tue, 26 Sep 2017 03:22:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwkCK-0007FJ-0P for 28421@debbugs.gnu.org; Tue, 26 Sep 2017 03:22:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwkCJ-0007FD-T6; Tue, 26 Sep 2017 03:22:27 -0400 Received: from [193.50.110.164] (port=56570 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dwkCJ-00013S-Dz; Tue, 26 Sep 2017 03:22:27 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Arun Isaac Subject: Re: [PATCH] gnu: Add uim, uim-gtk and uim-qt. References: <97554f2b.ADkAADNjyywAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZyciA@mailjet.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 =?utf-8?Q?Vend=C3=A9miaire?= an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 26 Sep 2017 09:22:26 +0200 In-Reply-To: <97554f2b.ADkAADNjyywAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZyciA@mailjet.com> (Arun Isaac's message of "Tue, 26 Sep 2017 08:53:59 +0530") Message-ID: <87poad3owd.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28421 Cc: 28421@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Arun, Arun Isaac skribis: > * gnu/packages/xorg.scm (uim, uim-gtk, uim-qt): New variables. [...] > + (home-page "https://github.com/uim/uim") > + (synopsis "Multilingual input method framework") > + (description "uim is a multilingual input method library and environ= ment. > +It provides a simple, easily extensible and high code-quality input meth= od > +development platform, and useful input method environment for users of d= esktop > +and embedded platforms.") > + (license (list license:lgpl2.1+ ; scm/py.scm, pixmaps/*.{svg,png} (s= ee pixmaps/README) > + license:gpl2+ ; scm/pinyin-big5.scm > + license:gpl3+ ; scm/elatin-rules.cm > + license:public-domain ; scm/input-parse.scm, scm/matc= h.scm > + ;; gtk2/toolbar/eggtrayicon.{ch}, > + ;; qt3/chardict/kseparator.{cpp,h}, > + ;; qt3/pref/kseparator.{cpp,h} > + license:lgpl2.0+ > + ;; pixmaps/*.{svg,png} (see pixmaps/README), > + ;; all other files > + license:bsd-3)))) > + > +(define-public uim-gtk > + (package > + (inherit uim) > + (name "uim-gtk") > + (inputs > + `(("gtk" ,gtk+) > + ("gtk" ,gtk+-2) > + ,@(package-inputs uim))) > + (synopsis "uim built with GTK+ support") > + (description "This package contains uim built with GTK+ support."))) What about =E2=80=9CMultilingual input method framework (GTK+ support)=E2= =80=9D for the synopsis, and leaving the description unchanged? > + (synopsis "uim built with Qt support") > + (description "This package contains uim built with Qt support."))) Likewise here. Otherwise LGTM. Feel free to push with a change along these lines if that=E2=80=99s fine with you. Thanks for patiently working on this! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 26 09:40:30 2017 Received: (at 28421-done) by debbugs.gnu.org; 26 Sep 2017 13:40:30 +0000 Received: from localhost ([127.0.0.1]:59901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwq6A-00011D-Bw for submit@debbugs.gnu.org; Tue, 26 Sep 2017 09:40:30 -0400 Received: from o13.p25.mailjet.com ([185.189.236.13]:56360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwq68-000115-FG for 28421-done@debbugs.gnu.org; Tue, 26 Sep 2017 09:40:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@bnc3.mailjet.com; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe:cc:in-reply-to: references:x-csa-complaints:x-mj-mid:content-type:content-transfer-encoding; bh=WQZO6jtKs2oESt9StZh48nC6EKUeaqLuFxDEoG/4ED0=; b=I2pg47MvhhlyOLXrNGMEzVgFDncIhVGdHFr76ppNIfw7ij1f8K2sQhw05 ka551/3loAOkULsoJI/N56PNzr0sR1LLCHQxbKncA4DnOmiSQg+iYcLzRfvv k8JWt3smsvNZG48n3gHcNuhzNHzTrkDfB+dbH6HK8Ph9bcKCKIDtZE= Message-Id: MIME-Version: 1.0 From: Arun Isaac To: Ludovic =?iso-8859-1?q?Court=E8s?= Subject: Re: [PATCH] gnu: Add uim, uim-gtk and uim-qt. Date: Tue, 26 Sep 2017 19:10:19 +0530 In-Reply-To: <87poad3owd.fsf@gnu.org> References: <97554f2b.ADkAADNjyywAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZyciA@mailjet.com> <87poad3owd.fsf@gnu.org> X-CSA-Complaints: whitelist-complaints@eco.de X-MJ-Mid: AEEARAi1ZncAAAAAAAAAAAPwUBQAAAACwQwAAAAAAAW9WABZyljL8gluSrKiSverKeRIEs1ZNwAFgUc Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28421-done Cc: 28421-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Ludovic Court=C3=A8s writes: > Otherwise LGTM. Feel free to push with a change along these lines if > that=E2=80=99s fine with you. I made the change and pushed! = From unknown Sun Sep 07 18:03:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 25 Oct 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator