From: Felix Gruber <felgru@posteo.net>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>, 52789@debbugs.gnu.org
Cc: Felix Gruber <felgru@posteo.net>
Subject: [bug#52789] [PATCH v2 2/4] gnu: Add libunibreak.
Date: Mon, 27 Dec 2021 23:19:44 +0000 [thread overview]
Message-ID: <20211227231946.105095-3-felgru@posteo.net> (raw)
In-Reply-To: <87czli9g3f.fsf@nicolasgoaziou.fr>
* gnu/packages/unicode.scm (libunibreak): New variable.
---
gnu/packages/unicode.scm | 50 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/unicode.scm b/gnu/packages/unicode.scm
index ef78875975..23c5de195c 100644
--- a/gnu/packages/unicode.scm
+++ b/gnu/packages/unicode.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -18,13 +19,62 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages unicode)
+ #:use-module (gnu packages autotools)
+ #:use-module (guix git-download)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (guix build-system copy)
+ #:use-module (guix build-system gnu)
#:use-module (guix build-system trivial))
+(define-public libunibreak
+ (package
+ (name "libunibreak")
+ (version "5.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/adah1972/libunibreak")
+ (commit (string-append "libunibreak_"
+ (string-replace-substring version "." "_")))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0r5dndhwsiy65lmavz3vdgal9nl8g97hbmdjg6zyq3zh5hs87vwf"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ (list autoconf-wrapper
+ automake
+ libtool
+ ucd-next ; required for tests
+ ))
+ (arguments
+ `(#:parallel-tests? #f ; parallel tests cause non-deterministic
+ ; build failures
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda* (#:key inputs #:allow-other-keys)
+ (for-each (lambda (file)
+ (copy-file
+ (search-input-file inputs
+ (string-append "/share/ucd/auxiliary/"
+ file))
+ (string-append "src/" file)))
+ '("LineBreakTest.txt"
+ "WordBreakTest.txt"
+ "GraphemeBreakTest.txt")))))))
+ (home-page "http://vimgadgets.sourceforge.net/libunibreak/")
+ (synopsis "Unicode line breaking and word breaking algorithms")
+ (description
+ "Libunibreak is an implementation of the line breaking and word
+breaking algorithms as described in Unicode Standard Annex 14 and
+Unicode Standard Annex 29. It is designed to be used in a generic text
+renderer.")
+ (license zlib)))
+
(define-public ucd
(package
(name "ucd")
--
2.30.2
next prev parent reply other threads:[~2021-12-27 23:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-25 13:34 [bug#52789] [PATCH 0/3] Update naev to 0.9.0 Felix Gruber
2021-12-25 13:37 ` [bug#52789] [PATCH 1/3] gnu: Add libunibreak Felix Gruber
2021-12-25 13:37 ` [bug#52789] [PATCH 2/3] gnu: Add naev-artwork Felix Gruber
2021-12-25 13:37 ` [bug#52789] [PATCH 3/3] gnu: naev: Update to 0.9.0 Felix Gruber
2021-12-26 20:54 ` [bug#52789] [PATCH 1/3] gnu: Add libunibreak Nicolas Goaziou
2021-12-27 14:48 ` Felix Gruber
2021-12-27 16:18 ` Nicolas Goaziou
2021-12-27 23:19 ` [bug#52789] [PATCH v2 0/4] Update naev to 0.9.0 Felix Gruber
2021-12-27 23:25 ` [bug#52789] [PATCH staging] gnu: ucd: Update to 14.0.0 Felix Gruber
2021-12-28 15:06 ` bug#52789: [PATCH v2 0/4] Update naev to 0.9.0 Nicolas Goaziou
2021-12-27 23:19 ` [bug#52789] [PATCH v2 1/4] gnu: Add ucd-next Felix Gruber
2021-12-27 23:19 ` Felix Gruber [this message]
2021-12-27 23:19 ` [bug#52789] [PATCH v2 3/4] gnu: Add naev-artwork Felix Gruber
2021-12-27 23:19 ` [bug#52789] [PATCH v2 4/4] gnu: naev: Update to 0.9.0 Felix Gruber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211227231946.105095-3-felgru@posteo.net \
--to=felgru@posteo.net \
--cc=52789@debbugs.gnu.org \
--cc=mail@nicolasgoaziou.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).