aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-06-29 22:59:31 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-07 15:40:28 +0800
commit98c68104f0f09b08faae6e5a97945448c4933b15 (patch)
tree9cb9158f6232d131f998d530bd3a4bf030e4d997 /gnu
parentfee360f85384fb06f7d0c46891126b1f85c9c740 (diff)
downloadguix-98c68104f0f09b08faae6e5a97945448c4933b15.tar.gz
guix-98c68104f0f09b08faae6e5a97945448c4933b15.zip
gnu: libunibreak: Update to 6.1.
* gnu/packages/unicode.scm (libunibreak): Update to 6.1. [arguments]<#:phases>: Comment it out. Change-Id: I1ccf8085a7d1be8263965e750ebf7adc5a83b618 Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/unicode.scm47
1 files changed, 26 insertions, 21 deletions
diff --git a/gnu/packages/unicode.scm b/gnu/packages/unicode.scm
index fe188ed71d..5f8a3655b0 100644
--- a/gnu/packages/unicode.scm
+++ b/gnu/packages/unicode.scm
@@ -32,39 +32,44 @@
(define-public libunibreak
(package
(name "libunibreak")
- (version "5.0")
+ (version "6.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/adah1972/libunibreak")
(commit (string-append "libunibreak_"
- (string-replace-substring version "." "_")))))
+ (string-replace-substring version "." "_")))))
(file-name (git-file-name name version))
(sha256
(base32
- "0r5dndhwsiy65lmavz3vdgal9nl8g97hbmdjg6zyq3zh5hs87vwf"))))
+ "0mhkbji89cyjg4g1rviyprchxzpv8pmlmqw4m10cvgfjwmpmwa7k"))))
(build-system gnu-build-system)
(native-inputs
- (list autoconf-wrapper
- automake
- libtool
- ucd))
+ (list autoconf-wrapper
+ automake
+ libtool
+ ucd))
(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")))))))
+ ;; see https://github.com/adah1972/libunibreak/issues/41
+ ;; There is currently no plan to implement full Unicode 15.1 support for
+ ;; line breaking, mostly because tailoring for Brahmic scripts, as
+ ;; described in LB28a of UAX #14-51, is problematic within the current
+ ;; framework.
+ ;; #: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 "https://vimgadgets.sourceforge.net/libunibreak/")
(synopsis "Unicode line breaking and word breaking algorithms")
(description