* [PATCH] Add fcitx-configtool
@ 2017-01-17 5:06 tumashu
2017-01-18 19:55 ` Marius Bakke
0 siblings, 1 reply; 4+ messages in thread
From: tumashu @ 2017-01-17 5:06 UTC (permalink / raw)
To: guix
[-- Attachment #1.1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #1.2: Type: text/html, Size: 82 bytes --]
[-- Attachment #2: 0001-Add-fcitx-configtool.patch --]
[-- Type: application/octet-stream, Size: 1812 bytes --]
From 6312de615f63343b9129cbe104f1a57837f8fb8b Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@163.com>
Date: Tue, 17 Jan 2017 13:02:30 +0800
Subject: [PATCH] Add fcitx-configtool
---
gnu/packages/fcitx.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/fcitx.scm b/gnu/packages/fcitx.scm
index dd8eead7f..b5275cebf 100644
--- a/gnu/packages/fcitx.scm
+++ b/gnu/packages/fcitx.scm
@@ -85,3 +85,39 @@
Pinyin, Quwei and some table-based (Wubi, Cangjie, Erbi, etc.) input methods
built-in.")
(license gpl2+)))
+
+(define-public fcitx-configtool
+ (package
+ (name "fcitx-configtool")
+ (version "0.4.8")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://download.fcitx-im.org/fcitx-configtool/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1vaim0namw58bfafbvws1vgd4010p19zwqfbx6bd1zi5sgchdg0f"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:configure-flags
+ (list "-DENABLE_GTK2=ON"
+ "-DENABLE_GTK3=ON")
+ #:tests? #f))
+ (native-inputs
+ `(("glib:bin" ,glib "bin")
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("fcitx" ,fcitx)
+ ("dbus-glib" ,dbus-glib)
+ ("gettext" ,gettext-minimal)
+ ("gtk2" ,gtk+-2)
+ ("gtk3" ,gtk+)
+ ("iso-codes" ,iso-codes)))
+ (home-page "http://fcitx-im.org")
+ (synopsis "Graphic Fcitx configuration tool")
+ (description
+ "Fcitx is an input method framework with extension support. It has
+Pinyin, Quwei and some table-based (Wubi, Cangjie, Erbi, etc.) input methods
+built-in. This package provides GTK version of the graphic configuration tool
+of Fcitx.")
+ (license gpl2+)))
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Add fcitx-configtool
2017-01-17 5:06 [PATCH] Add fcitx-configtool tumashu
@ 2017-01-18 19:55 ` Marius Bakke
2017-01-18 23:00 ` tumashu
0 siblings, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2017-01-18 19:55 UTC (permalink / raw)
To: tumashu, guix
[-- Attachment #1: Type: text/plain, Size: 2354 bytes --]
Hi tumashu!
The patch looks good. Does it work for you? It does not find any
input methods on my system, but perhaps I need to install some?
If you can confirm that this works for your use, I think it can be added
as it is, save for some minor changes to make `guix lint` happy. I will
add the same copyright header as the other patch if that is okay.
Thank you!
> From 6312de615f63343b9129cbe104f1a57837f8fb8b Mon Sep 17 00:00:00 2001
> From: Feng Shu <tumashu@163.com>
> Date: Tue, 17 Jan 2017 13:02:30 +0800
> Subject: [PATCH] Add fcitx-configtool
>
> ---
> gnu/packages/fcitx.scm | 36 ++++++++++++++++++++++++++++++++++++
> 1 file changed, 36 insertions(+)
>
> diff --git a/gnu/packages/fcitx.scm b/gnu/packages/fcitx.scm
> index dd8eead7f..b5275cebf 100644
> --- a/gnu/packages/fcitx.scm
> +++ b/gnu/packages/fcitx.scm
> @@ -85,3 +85,39 @@
> Pinyin, Quwei and some table-based (Wubi, Cangjie, Erbi, etc.) input methods
> built-in.")
> (license gpl2+)))
> +
> +(define-public fcitx-configtool
> + (package
> + (name "fcitx-configtool")
> + (version "0.4.8")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append "https://download.fcitx-im.org/fcitx-configtool/"
> + name "-" version ".tar.xz"))
> + (sha256
> + (base32
> + "1vaim0namw58bfafbvws1vgd4010p19zwqfbx6bd1zi5sgchdg0f"))))
> + (build-system cmake-build-system)
> + (arguments
> + `(#:configure-flags
> + (list "-DENABLE_GTK2=ON"
> + "-DENABLE_GTK3=ON")
> + #:tests? #f))
> + (native-inputs
> + `(("glib:bin" ,glib "bin")
> + ("pkg-config" ,pkg-config)))
> + (inputs
> + `(("fcitx" ,fcitx)
> + ("dbus-glib" ,dbus-glib)
> + ("gettext" ,gettext-minimal)
> + ("gtk2" ,gtk+-2)
> + ("gtk3" ,gtk+)
> + ("iso-codes" ,iso-codes)))
> + (home-page "http://fcitx-im.org")
> + (synopsis "Graphic Fcitx configuration tool")
> + (description
> + "Fcitx is an input method framework with extension support. It has
> +Pinyin, Quwei and some table-based (Wubi, Cangjie, Erbi, etc.) input methods
> +built-in. This package provides GTK version of the graphic configuration tool
> +of Fcitx.")
> + (license gpl2+)))
> --
> 2.11.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re:Re: [PATCH] Add fcitx-configtool
2017-01-18 19:55 ` Marius Bakke
@ 2017-01-18 23:00 ` tumashu
2017-01-20 18:37 ` Marius Bakke
0 siblings, 1 reply; 4+ messages in thread
From: tumashu @ 2017-01-18 23:00 UTC (permalink / raw)
To: Marius Bakke; +Cc: guix
yes, it workswell for me
At 2017-01-19 03:55:23, "Marius Bakke" <mbakke@fastmail.com> wrote:
>
>Hi tumashu!
>
>The patch looks good. Does it work for you? It does not find any
>input methods on my system, but perhaps I need to install some?
>
>If you can confirm that this works for your use, I think it can be added
>as it is, save for some minor changes to make `guix lint` happy. I will
>add the same copyright header as the other patch if that is okay.
>
>Thank you!
>
>> From 6312de615f63343b9129cbe104f1a57837f8fb8b Mon Sep 17 00:00:00 2001
>> From: Feng Shu <tumashu@163.com>
>> Date: Tue, 17 Jan 2017 13:02:30 +0800
>> Subject: [PATCH] Add fcitx-configtool
>>
>> ---
>> gnu/packages/fcitx.scm | 36 ++++++++++++++++++++++++++++++++++++
>> 1 file changed, 36 insertions(+)
>>
>> diff --git a/gnu/packages/fcitx.scm b/gnu/packages/fcitx.scm
>> index dd8eead7f..b5275cebf 100644
>> --- a/gnu/packages/fcitx.scm
>> +++ b/gnu/packages/fcitx.scm
>> @@ -85,3 +85,39 @@
>> Pinyin, Quwei and some table-based (Wubi, Cangjie, Erbi, etc.) input methods
>> built-in.")
>> (license gpl2+)))
>> +
>> +(define-public fcitx-configtool
>> + (package
>> + (name "fcitx-configtool")
>> + (version "0.4.8")
>> + (source (origin
>> + (method url-fetch)
>> + (uri (string-append "https://download.fcitx-im.org/fcitx-configtool/"
>> + name "-" version ".tar.xz"))
>> + (sha256
>> + (base32
>> + "1vaim0namw58bfafbvws1vgd4010p19zwqfbx6bd1zi5sgchdg0f"))))
>> + (build-system cmake-build-system)
>> + (arguments
>> + `(#:configure-flags
>> + (list "-DENABLE_GTK2=ON"
>> + "-DENABLE_GTK3=ON")
>> + #:tests? #f))
>> + (native-inputs
>> + `(("glib:bin" ,glib "bin")
>> + ("pkg-config" ,pkg-config)))
>> + (inputs
>> + `(("fcitx" ,fcitx)
>> + ("dbus-glib" ,dbus-glib)
>> + ("gettext" ,gettext-minimal)
>> + ("gtk2" ,gtk+-2)
>> + ("gtk3" ,gtk+)
>> + ("iso-codes" ,iso-codes)))
>> + (home-page "http://fcitx-im.org")
>> + (synopsis "Graphic Fcitx configuration tool")
>> + (description
>> + "Fcitx is an input method framework with extension support. It has
>> +Pinyin, Quwei and some table-based (Wubi, Cangjie, Erbi, etc.) input methods
>> +built-in. This package provides GTK version of the graphic configuration tool
>> +of Fcitx.")
>> + (license gpl2+)))
>> --
>> 2.11.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re:Re: [PATCH] Add fcitx-configtool
2017-01-18 23:00 ` tumashu
@ 2017-01-20 18:37 ` Marius Bakke
0 siblings, 0 replies; 4+ messages in thread
From: Marius Bakke @ 2017-01-20 18:37 UTC (permalink / raw)
To: tumashu; +Cc: guix
[-- Attachment #1: Type: text/plain, Size: 113 bytes --]
tumashu <tumashu@163.com> writes:
> yes, it workswell for me
Thanks for confirming, pushed as 7386a0481c26d6 !
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-01-20 18:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-17 5:06 [PATCH] Add fcitx-configtool tumashu
2017-01-18 19:55 ` Marius Bakke
2017-01-18 23:00 ` tumashu
2017-01-20 18:37 ` Marius Bakke
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).