unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Zheng Junjie <zhengjunjie@iscas.ac.cn>
To: 71845@debbugs.gnu.org
Subject: [bug#71845] [PATCH] gnu: libunibreak: Update to 6.1.
Date: Sat, 29 Jun 2024 22:59:31 +0800	[thread overview]
Message-ID: <2b30a7ff9b0b277a0f7294ab817930f7ba728e42.1719673171.git.zhengjunjie@iscas.ac.cn> (raw)

* gnu/packages/unicode.scm (libunibreak): Update to 6.1.
[arguments]<#:phases>: Comment it out.

Change-Id: I1ccf8085a7d1be8263965e750ebf7adc5a83b618
---
 gnu/packages/unicode.scm | 47 ++++++++++++++++++++++------------------
 1 file 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-module (gnu packages unicode)
 (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

base-commit: cc51f567884b5483fcf499214d8a6f98edb3e8e3
-- 
2.45.2





             reply	other threads:[~2024-06-29 22:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-29 14:59 Zheng Junjie [this message]
2024-07-04 16:52 ` [bug#71845] [PATCH] gnu: libunibreak: Update to 6.1 Javier Olaechea
     [not found]   ` <87ed85hbui.fsf@qq.com>
2024-07-07  7:59     ` bug#71845: " Z572 via Guix-patches via

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=2b30a7ff9b0b277a0f7294ab817930f7ba728e42.1719673171.git.zhengjunjie@iscas.ac.cn \
    --to=zhengjunjie@iscas.ac.cn \
    --cc=71845@debbugs.gnu.org \
    /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).