GNU bug report logs -
#28421
[PATCH] gnu: Add uim.
Previous Next
Reported by: Arun Isaac <arunisaac <at> systemreboot.net>
Date: Mon, 11 Sep 2017 20:24:02 UTC
Severity: normal
Tags: patch
Done: Arun Isaac <arunisaac <at> systemreboot.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28421 in the body.
You can then email your comments to 28421 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#28421
; Package
guix-patches
.
(Mon, 11 Sep 2017 20:24:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 11 Sep 2017 20:24:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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 © 2016, 2017 John Darrington <jmd <at> gnu.org>
;;; Copyright © 2017 Marius Bakke <mbakke <at> fastmail.com>
;;; Copyright © 2017 Rutger Helling <rhelling <at> mykolab.com>
+;;; Copyright © 2017 Arun Isaac <arunisaac <at> systemreboot.net>
;;;
;;; 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=" %output
+ "/share/emacs/site-lisp/guix.d")
+ ;; Set proper runpath
+ (string-append "LDFLAGS=-Wl,-rpath="
+ (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 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
+ 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
--
2.14.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28421
; Package
guix-patches
.
(Tue, 12 Sep 2017 07:36:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 28421 <at> debbugs.gnu.org (full text, mbox):
> + #: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.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28421
; Package
guix-patches
.
(Tue, 12 Sep 2017 12:56:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 28421 <at> debbugs.gnu.org (full text, mbox):
Arun Isaac <arunisaac <at> systemreboot.net> 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 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.")
I’m not clear if it’s a later above Qt/GTK+ or something entirely
separate?
Apart from that, LGTM with phases that return #t as you noted.
Thanks!
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28421
; Package
guix-patches
.
(Wed, 13 Sep 2017 23:50:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 28421 <at> debbugs.gnu.org (full text, mbox):
>> * 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.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28421
; Package
guix-patches
.
(Thu, 14 Sep 2017 07:01:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 28421 <at> debbugs.gnu.org (full text, mbox):
Hi Arun,
Arun Isaac <arunisaac <at> systemreboot.net> 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=packages/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’s the latter, we definitely need to keep both.
If it’s the former, perhaps we can have one package that simply provides
libuim and does not depend on a GUI toolkit (“uim-minimal”), and another
one (or two) that provide the GUIs. Alternately, there could be a “lib”
output (no dependency on GTK+/Qt).
Thoughts?
Thanks,
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28421
; Package
guix-patches
.
(Sat, 23 Sep 2017 06:51:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 28421 <at> debbugs.gnu.org (full text, mbox):
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 => /gnu/store/6wbbjj5f9ldbf7gpgah16pw2kfw3q6ij-gtk+-2.24.31/lib/libgtk-x11-2.0.so.0 (0x00007ff9de133000)
libgdk-x11-2.0.so.0 => /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?
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28421
; Package
guix-patches
.
(Sat, 23 Sep 2017 16:36:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 28421 <at> debbugs.gnu.org (full text, mbox):
Hi Arun,
Arun Isaac <arunisaac <at> systemreboot.net> 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 => /gnu/store/6wbbjj5f9ldbf7gpgah16pw2kfw3q6ij-gtk+-2.24.31/lib/libgtk-x11-2.0.so.0 (0x00007ff9de133000)
> libgdk-x11-2.0.so.0 => /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
‘make-uim’ 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’t have to be as fine-grain as what Debian’s does. A single
package/output for both GTK versions would be fine, for instance.
Thanks for looking into it!
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28421
; Package
guix-patches
.
(Sat, 23 Sep 2017 19:07:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 28421 <at> debbugs.gnu.org (full text, mbox):
Ludovic Courtès <ludo <at> gnu.org> 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?
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28421
; Package
guix-patches
.
(Sun, 24 Sep 2017 19:49:01 GMT)
Full text and
rfc822 format available.
Message #29 received at 28421 <at> debbugs.gnu.org (full text, mbox):
Howdy,
Arun Isaac <arunisaac <at> systemreboot.net> skribis:
> Ludovic Courtès <ludo <at> gnu.org> 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’re similar, indeed. In some cases, separate outputs is the only
mechanism that can be used—for instance for “debug” outputs, or even
“lib” outputs to some extent.
In other cases, such as this one, there’s no practical difference
between having separate outputs and having separate packages.
When there’s a choice, I tend to prefer to use outputs for the
“standard” things (“lib”, “debug”, “doc”, etc.), and separate packages
for less obvious splits (“qt”, “gtk”, etc.)
This is a very informal description. Maybe someone could articulate it
better and we could provide guidelines in the manual?
Anyway, HTH!
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28421
; Package
guix-patches
.
(Tue, 26 Sep 2017 03:25:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 28421 <at> debbugs.gnu.org (full text, mbox):
* 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 <jmd <at> gnu.org>
;;; Copyright © 2017 Marius Bakke <mbakke <at> fastmail.com>
;;; Copyright © 2017 Rutger Helling <rhelling <at> mykolab.com>
+;;; Copyright © 2017 Arun Isaac <arunisaac <at> systemreboot.net>
;;;
;;; 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28421
; Package
guix-patches
.
(Tue, 26 Sep 2017 07:23:02 GMT)
Full text and
rfc822 format available.
Message #35 received at 28421 <at> debbugs.gnu.org (full text, mbox):
Hi Arun,
Arun Isaac <arunisaac <at> systemreboot.net> 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 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.")))
What about “Multilingual input method framework (GTK+ support)” 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’s fine with you.
Thanks for patiently working on this!
Ludo’.
Reply sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
You have taken responsibility.
(Tue, 26 Sep 2017 13:41:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
bug acknowledged by developer.
(Tue, 26 Sep 2017 13:41:02 GMT)
Full text and
rfc822 format available.
Message #40 received at 28421-done <at> debbugs.gnu.org (full text, mbox):
Ludovic Courtès <ludo <at> gnu.org> writes:
> Otherwise LGTM. Feel free to push with a change along these lines if
> that’s fine with you.
I made the change and pushed!
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 25 Oct 2017 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 318 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.