From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: [PATCH 1/3] gnu: Add m17n-db. Date: Tue, 27 Sep 2016 22:47:20 +0530 Message-ID: <20160927171722.3166-2-arunisaac@systemreboot.net> References: <20160927171722.3166-1-arunisaac@systemreboot.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bow0p-0006fx-Ko for guix-devel@gnu.org; Tue, 27 Sep 2016 13:17:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bow0m-0006aG-5i for guix-devel@gnu.org; Tue, 27 Sep 2016 13:17:46 -0400 Received: from [117.218.232.8] (port=51426 helo=systemreboot.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bow0l-0006Zm-DB for guix-devel@gnu.org; Tue, 27 Sep 2016 13:17:44 -0400 In-Reply-To: <20160927171722.3166-1-arunisaac@systemreboot.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/emacs.scm (m17n-db): New variable. --- gnu/packages/emacs.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 57fe8a9..2506d3e 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -16,6 +16,7 @@ ;;; Copyright © 2016 Alex Griffin ;;; Copyright © 2016 Nicolas Goaziou ;;; Copyright © 2016 Alex Vong +;;; Copyright © 2016 Arun Isaac ;;; ;;; 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 + "http://download.savannah.gnu.org/releases/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+))) -- 2.10.0