aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2016-09-27 22:47:20 +0530
committerLudovic Courtès <ludo@gnu.org>2016-09-29 17:54:32 +0200
commit154c71e0036798aa7b19e8caeb93c3e3bbb3e540 (patch)
treed3ed79688ab549e3ce7a019683df51c5ee2df715 /gnu
parent0da1b7062af798423eeaf37733467dca224b5029 (diff)
downloadpatches-154c71e0036798aa7b19e8caeb93c3e3bbb3e540.tar
patches-154c71e0036798aa7b19e8caeb93c3e3bbb3e540.tar.gz
gnu: Add m17n-db.
* gnu/packages/emacs.scm (m17n-db): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 57fe8a9fd4..55a3914019 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2016 Alex Vong <alexvong1995@gmail.com>
+;;; Copyright © 2016 Arun Isaac <arunisaac@systemreboot.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -74,6 +75,7 @@
#:use-module (gnu packages statistics)
#:use-module (gnu packages xiph)
#:use-module (gnu packages mp3)
+ #:use-module (gnu packages gettext)
#:use-module (guix utils)
#:use-module (srfi srfi-1))
@@ -3104,3 +3106,37 @@ that allows users to concentrate more on their own work. Its features are:
a visual interface, reduce overhead of completion by using statistic method,
extensibility.")
(license license:gpl3+)))
+
+(define-public m17n-db
+ (package
+ (name "m17n-db")
+ (version "1.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://savannah/m17n/m17n-db-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "1w08hnsbknrcjlzp42c99bgwc9hzsnf5m4apdv0dacql2s09zfm2"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("gettext" ,gnu-gettext)))
+ (arguments
+ `(#:configure-flags
+ (list (string-append "--with-charmaps="
+ (assoc-ref %build-inputs "libc")
+ "/share/i18n/charmaps"))))
+ ;; 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 (database)")
+ (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 database.")
+ (license license:lgpl2.1+)))