[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/11: gnu: Add librime.
From: |
Ludovic Courtès |
Subject: |
08/11: gnu: Add librime. |
Date: |
Sat, 10 Nov 2018 17:34:02 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 78209a165be9dca931a9d7828c842d9babd5ed98
Author: Meiyo Peng <address@hidden>
Date: Mon Oct 29 11:29:33 2018 +0800
gnu: Add librime.
* gnu/packages/ibus.scm (librime): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/ibus.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index 40fa930..f689c02 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2016 Chris Marusich <address@hidden>
;;; Copyright © 2017 Efraim Flashner <address@hidden>
;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2018 Meiyo Peng <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -24,21 +25,27 @@
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system glib-or-gtk)
#:use-module (gnu packages)
#:use-module (gnu packages anthy)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
+ #:use-module (gnu packages boost)
#:use-module (gnu packages databases)
+ #:use-module (gnu packages datastructures)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
#:use-module (gnu packages iso-codes)
+ #:use-module (gnu packages logging)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages serialization)
+ #:use-module (gnu packages textutils)
#:use-module (gnu packages xorg))
(define-public ibus
@@ -279,3 +286,33 @@ applications allow text input via IBus, installing this
package will enable
Japanese language input in most graphical applications.")
(home-page "https://github.com/fujiwarat/ibus-anthy")
(license gpl2+)))
+
+(define-public librime
+ (package
+ (name "librime")
+ (version "1.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/rime/" name
+ "/archive/" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0qh0hy8bvj17bnzaxk0bmv4gsnbsd6jx8csr84936xmhkrysdday"))))
+ (build-system cmake-build-system)
+ (inputs
+ `(("boost" ,boost)
+ ("glog" ,glog)
+ ("leveldb" ,leveldb)
+ ("marisa" ,marisa)
+ ("opencc" ,opencc)
+ ("yaml-cpp" ,yaml-cpp)))
+ (home-page "https://rime.im/")
+ (synopsis "The core library of Rime Input Method Engine")
+ (description "@dfn{librime} is the core library of Rime Input Method
+Engine, which is a lightweight, extensible input method engine supporting
+various input schemas including glyph-based input methods, romanization-based
+input methods as well as those for Chinese dialects. It has the ability to
+compose phrases and sentences intelligently and provide very accurate
+traditional Chinese output.")
+ (license bsd-3)))
- branch master updated (37ebc19 -> 78e3d55), Ludovic Courtès, 2018/11/10
- 01/11: gnu-maintenance: ".sign" and ".asc" files no longer match 'release-file?'., Ludovic Courtès, 2018/11/10
- 02/11: gnu-maintenance: Base kernel.org updater on HTML directory listings., Ludovic Courtès, 2018/11/10
- 06/11: gnu: Add opencc., Ludovic Courtès, 2018/11/10
- 03/11: gnu: mdadm: Update to 4.1., Ludovic Courtès, 2018/11/10
- 08/11: gnu: Add librime.,
Ludovic Courtès <=
- 05/11: gnu: Add marisa., Ludovic Courtès, 2018/11/10
- 09/11: gnu: Add rime-data., Ludovic Courtès, 2018/11/10
- 04/11: ci: Add procedures to access evaluations., Ludovic Courtès, 2018/11/10
- 10/11: gnu: Add ibus-rime., Ludovic Courtès, 2018/11/10
- 11/11: gnu: Add emacs-ivy-rich., Ludovic Courtès, 2018/11/10
- 07/11: gnu: ibus: Indent code properly., Ludovic Courtès, 2018/11/10