diff options
author | Marius Bakke <mbakke@fastmail.com> | 2019-05-25 00:25:15 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2019-05-25 00:25:15 +0200 |
commit | 57df83e07d4b5e78d9a54c1a88d05b4a9ed65714 (patch) | |
tree | 76684e63965e9ad6e37d9d45bc3159e6c9782cd0 /gnu/packages/gettext.scm | |
parent | 43d9ed7792808638eabb43aa6133f1d6186c520b (diff) | |
parent | 136b7d81f0eb713783e9ea7cf7f260a2b6252dfd (diff) |
Merge branch 'staging' into core-updates
Diffstat (limited to 'gnu/packages/gettext.scm')
-rw-r--r-- | gnu/packages/gettext.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 6cc745087b..7d6d62acda 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -112,6 +112,8 @@ textual output of programs into multiple languages. It provides translators with the means to create message catalogs, and a runtime library to load translated messages from the catalogs. Nearly all GNU packages use Gettext.") + (properties `((upstream-name . "gettext") + (cpe-name . "gettext"))) (license gpl3+))) ;some files are under GPLv2+ ;; Use that name to avoid clashes with Guile's 'gettext' procedure. @@ -140,6 +142,37 @@ translated messages from the catalogs. Nearly all GNU packages use Gettext.") (native-inputs `(("emacs" ,emacs-minimal))) ; for Emacs tools (synopsis "Tools and documentation for translation"))) +(define-public libtextstyle + (package + (name "libtextstyle") + (version "0.20.1") + (source (origin + (inherit (package-source gnu-gettext)) + (uri (string-append "mirror://gnu/gettext/gettext-" + version ".tar.gz")) + (sha256 + (base32 + "0p3zwkk27wm2m2ccfqm57nj7vqkmfpn7ja1nf65zmhz8qqs5chb6")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags '("--disable-static") + #:phases (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "libtextstyle") + #t))))) + ;; libtextstyle bundles libxml2, glib (a small subset thereof), and + ;; libcroco, but it purposefully prevents users from using an external + ;; copy, to reduce the startup time of programs using libtextstyle. + (home-page "https://www.gnu.org/software/gettext/") + (synopsis "Text styling library") + (description + "GNU libtextstyle is a C library that provides an easy way to add styling +to programs that produce output to a console or terminal emulator window. It +allows applications to emit text annotated with styling information, such as +color, font attributes (weight, posture), or underlining.") + (license gpl3+))) + (define-public po4a (package (name "po4a") |