From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH] gnu: Add itstool. Date: Wed, 4 Sep 2013 19:22:41 +0200 Message-ID: <1378315361-23370-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHGqW-00044M-NC for guix-devel@gnu.org; Wed, 04 Sep 2013 13:26:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHGqR-000525-Iz for guix-devel@gnu.org; Wed, 04 Sep 2013 13:26:24 -0400 Received: from mail-we0-x230.google.com ([2a00:1450:400c:c03::230]:35072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHGqR-00051r-D0 for guix-devel@gnu.org; Wed, 04 Sep 2013 13:26:19 -0400 Received: by mail-we0-f176.google.com with SMTP id u56so675102wes.21 for ; Wed, 04 Sep 2013 10:26:18 -0700 (PDT) List-Id: 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/glib.scm (itstool): New variable. --- gnu/packages/glib.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index 63751bb..eb0dc91 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -186,6 +186,40 @@ The intltool collection can be used to do these things: oaf files. This merge step will happen at build resp. installation time.") (license license:gpl2+))) +(define-public itstool + (package + (name "itstool") + (version "1.2.0") + (source (origin + (method url-fetch) + (uri (string-append "http://files.itstool.org/itstool/itstool-" + version ".tar.bz2")) + (sha256 + (base32 + "1akq75aflihm3y7js8biy7b5mw2g11vl8yq90gydnwlwp0zxdzj6")))) + (build-system gnu-build-system) + (home-page "http://www.itstool.org") + (synopsis "Tool to translate XML documents with PO files") + (description + "ITS Tool allows you to translate your XML documents with PO files, using +rules from the W3C Internationalization Tag Set (ITS) to determine what to +translate and how to separate it into PO file messages. + +PO files are the standard translation format for GNU and other Unix-like +systems. They present translatable information as discrete messages, allowing +each message to be translated independently. In contrast to whole-page +translation, translating with a message-based format like PO means you can +easily track changes to the source document down to the paragraph. When new +strings are added or existing strings are modified, you only need to update the +corresponding messages. + +ITS Tool is designed to make XML documents translatable through PO files by +applying standard ITS rules, as well as extension rules specific to ITS Tool. +ITS also provides an industry standard way for authors to override translation +information in their documents, such as whether a particular element should be +translated.") + (license gpl3+))) + (define-public dbus-glib (package (name "dbus-glib") -- 1.7.10.4