aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2016-09-27 22:47:21 +0530
committerLudovic Courtès <ludo@gnu.org>2016-09-29 17:54:33 +0200
commita80b60f4848be927511864e9d5a94b98d8f6b734 (patch)
tree385e5a75f50f5783f9cc3ce1a67f9851f2f15e47
parent154c71e0036798aa7b19e8caeb93c3e3bbb3e540 (diff)
downloadguix-a80b60f4848be927511864e9d5a94b98d8f6b734.tar
guix-a80b60f4848be927511864e9d5a94b98d8f6b734.tar.gz
gnu: Add m17n-lib.
* gnu/packages/emacs.scm (m17n-lib): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/emacs.scm40
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 55a3914019..e8350486dd 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -76,6 +76,9 @@
#:use-module (gnu packages xiph)
#:use-module (gnu packages mp3)
#:use-module (gnu packages gettext)
+ #:use-module (gnu packages fribidi)
+ #:use-module (gnu packages gd)
+ #:use-module (gnu packages fontutils)
#:use-module (guix utils)
#:use-module (srfi srfi-1))
@@ -3140,3 +3143,40 @@ display and edit the text.
This package contains the library database.")
(license license:lgpl2.1+)))
+
+(define-public m17n-lib
+ (package
+ (name "m17n-lib")
+ (version "1.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://download.savannah.gnu.org/releases/m17n/m17n-lib-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "10yv730i25g1rpzv6q49m6xn4p8fjm7jdwvik2h70sn8w3hm7f4f"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("fribidi" ,fribidi)
+ ("gd" ,gd)
+ ("libotf" ,libotf)
+ ("libxft" ,libxft)
+ ("libxml2" ,libxml2)
+ ("m17n-db" ,m17n-db)))
+ (arguments
+ `(#:parallel-build? #f))
+ ;; With `guix lint' the home-page URI returns a small page saying
+ ;; that your browser does not handle frames. This triggers the "URI
+ ;; returns suspiciously small file" warning.
+ (home-page "http://www.nongnu.org/m17n/")
+ (synopsis "Multilingual text processing library (runtime)")
+ (description "The m17n library realizes multilingualization of
+many aspects of applications. The m17n library represents
+multilingual text as an object named M-text. M-text is a string with
+attributes called text properties, and designed to substitute for
+string in C. Text properties carry any information required to input,
+display and edit the text.
+
+This package contains the library runtime.")
+ (license license:lgpl2.1+)))