[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/15: gnu: Add libchewing.
From: |
guix-commits |
Subject: |
04/15: gnu: Add libchewing. |
Date: |
Sun, 31 Jan 2021 03:35:34 -0500 (EST) |
leoprikler pushed a commit to branch master
in repository guix.
commit 823b27d970fdf4cbdedc754ec8f4d93bc9fea96d
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Thu Jan 14 00:53:40 2021 -0500
gnu: Add libchewing.
* gnu/packages/language.scm (libchewing): New variable.
Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/language.scm | 61 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index 3f17465..621bc7f 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -31,12 +31,14 @@
#:use-module (gnu packages linux)
#:use-module (gnu packages llvm)
#:use-module (gnu packages man)
+ #:use-module (gnu packages ncurses)
#:use-module (gnu packages ocr)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
#:use-module (gnu packages perl-check)
+ #:use-module (gnu packages sqlite)
#:use-module (gnu packages swig)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages web)
@@ -53,6 +55,65 @@
#:use-module (guix git-download)
#:use-module (guix utils))
+(define-public libchewing
+ (package
+ (name "libchewing")
+ (version "0.5.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/chewing/libchewing.git")
+ (commit
+ (string-append "v" version))))
+ (file-name
+ (git-file-name name version))
+ (sha256
+ (base32 "04d09w6xdd08v6laj9y4qmqsijw5i2jvshcilhh4vg6cfnfgl2my"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'disable-failing-tests
+ (lambda _
+ (substitute* "test/Makefile.am"
+ ((" test-bopomofo ")
+ "")
+ ((" test-config ")
+ "")
+ ((" test-reset ")
+ "")
+ ((" test-symbol ")
+ "")
+ ((" test-keyboardless ")
+ "")
+ ((" test-special-symbol ")
+ "")
+ ((" test-keyboard ")
+ "")
+ ((" test-regression ")
+ "")
+ ((" test-userphrase ")
+ ""))
+ #t)))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("perl" ,perl)
+ ("pkg-config" ,pkg-config)
+ ("python" ,python-wrapper)
+ ("texinfo" ,texinfo)))
+ (inputs
+ `(("ncurses" ,ncurses)
+ ("sqlite" ,sqlite)))
+ (synopsis "Chinese phonetic input method")
+ (description "Chewing is an intelligent phonetic (Zhuyin/Bopomofo) input
+method, one of the most popular choices for Traditional Chinese users.")
+ (home-page "http://chewing.im/")
+ (license lgpl2.1+)))
+
(define-public liblouis
(package
(name "liblouis")
- branch master updated (a20b4f0 -> edfbb1d), guix-commits, 2021/01/31
- 01/15: gnu: Add c++-gsl., guix-commits, 2021/01/31
- 06/15: gnu: Add nimf., guix-commits, 2021/01/31
- 07/15: gnu: Add cmake-shared., guix-commits, 2021/01/31
- 09/15: gnu: Add range-v3., guix-commits, 2021/01/31
- 03/15: gnu: libappindicator: Propagate some inputs as per .pc file., guix-commits, 2021/01/31
- 02/15: gnu: Add fcitx-qt5., guix-commits, 2021/01/31
- 04/15: gnu: Add libchewing.,
guix-commits <=
- 05/15: gnu: Add hime., guix-commits, 2021/01/31
- 08/15: gnu: Add materialdecoration., guix-commits, 2021/01/31
- 11/15: gnu: Add qt5ct., guix-commits, 2021/01/31
- 13/15: gnu: Add rlottie-for-telegram-desktop., guix-commits, 2021/01/31
- 14/15: gnu: Add libtgvoip-for-telegram-desktop., guix-commits, 2021/01/31
- 10/15: gnu: Add rlottie., guix-commits, 2021/01/31
- 12/15: gnu: Add webrtc-for-telegram-desktop., guix-commits, 2021/01/31
- 15/15: gnu: Add telegram-desktop., guix-commits, 2021/01/31