me
/
guix
Archived
1
0
Fork 0

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>
master
Zheng Junjie 2024-06-29 22:59:31 +08:00
parent fee360f853
commit 98c68104f0
No known key found for this signature in database
GPG Key ID: 3B5AA993E1A2DFF0
1 changed files with 26 additions and 21 deletions

View File

@ -32,7 +32,7 @@
(define-public libunibreak (define-public libunibreak
(package (package
(name "libunibreak") (name "libunibreak")
(version "5.0") (version "6.1")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -42,7 +42,7 @@
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0r5dndhwsiy65lmavz3vdgal9nl8g97hbmdjg6zyq3zh5hs87vwf")))) "0mhkbji89cyjg4g1rviyprchxzpv8pmlmqw4m10cvgfjwmpmwa7k"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
(list autoconf-wrapper (list autoconf-wrapper
@ -51,20 +51,25 @@
ucd)) ucd))
(arguments (arguments
`(#:parallel-tests? #f ; parallel tests cause non-deterministic `(#:parallel-tests? #f ; parallel tests cause non-deterministic
; build failures ;; see https://github.com/adah1972/libunibreak/issues/41
#:phases ;; There is currently no plan to implement full Unicode 15.1 support for
(modify-phases %standard-phases ;; line breaking, mostly because tailoring for Brahmic scripts, as
(add-before 'check 'pre-check ;; described in LB28a of UAX #14-51, is problematic within the current
(lambda* (#:key inputs #:allow-other-keys) ;; framework.
(for-each (lambda (file) ;; #:phases
(copy-file ;; (modify-phases %standard-phases
(search-input-file inputs ;; (add-before 'check 'pre-check
(string-append "/share/ucd/auxiliary/" ;; (lambda* (#:key inputs #:allow-other-keys)
file)) ;; (for-each (lambda (file)
(string-append "src/" file))) ;; (copy-file
'("LineBreakTest.txt" ;; (search-input-file inputs
"WordBreakTest.txt" ;; (string-append "/share/ucd/auxiliary/"
"GraphemeBreakTest.txt"))))))) ;; file))
;; (string-append "src/" file)))
;; '("LineBreakTest.txt"
;; "WordBreakTest.txt"
;; "GraphemeBreakTest.txt")))))
))
(home-page "https://vimgadgets.sourceforge.net/libunibreak/") (home-page "https://vimgadgets.sourceforge.net/libunibreak/")
(synopsis "Unicode line breaking and word breaking algorithms") (synopsis "Unicode line breaking and word breaking algorithms")
(description (description