GNU bug report logs - #71845
[PATCH] gnu: libunibreak: Update to 6.1.

Previous Next

Package: guix-patches;

Reported by: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Date: Sat, 29 Jun 2024 22:51:02 UTC

Severity: normal

Tags: patch

Done: Z572 <873216071 <at> qq.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71845 in the body.
You can then email your comments to 71845 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#71845; Package guix-patches. (Sat, 29 Jun 2024 22:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 29 Jun 2024 22:51:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: libunibreak: Update to 6.1.
Date: Sat, 29 Jun 2024 22:59:31 +0800
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#71845; Package guix-patches. (Thu, 04 Jul 2024 16:55:02 GMT) Full text and rfc822 format available.

Message #8 received at 71845 <at> debbugs.gnu.org (full text, mbox):

From: Javier Olaechea <pirata <at> gmail.com>
To: 71845 <at> debbugs.gnu.org
Subject: [PATCH] gnu: libunibreak: Update to 6.1.
Date: Thu, 4 Jul 2024 16:52:58 +0000
[Message part 1 (text/plain, inline)]
+1. Verified on my system that libunibreak builds successfully after
applying this patch.

Currently libunibreak doesn't build on my system
(9014b27480a1fafc643feb97db9c7efff74294ba). It fails the check phase. This
update resolves the build issue.

-- 
"I object to doing things that computers can do." — Olin Shivers
[Message part 2 (text/html, inline)]

Reply sent to Z572 <873216071 <at> qq.com>:
You have taken responsibility. (Sun, 07 Jul 2024 08:00:03 GMT) Full text and rfc822 format available.

Notification sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
bug acknowledged by developer. (Sun, 07 Jul 2024 08:00:03 GMT) Full text and rfc822 format available.

Message #13 received at 71845-done <at> debbugs.gnu.org (full text, mbox):

From: Z572 <873216071 <at> qq.com>
To: Javier Olaechea <pirata <at> gmail.com>
Cc: 71845-done <at> debbugs.gnu.org
Subject: Re: [bug#71845] [PATCH] gnu: libunibreak: Update to 6.1.
Date: Sun, 07 Jul 2024 15:59:01 +0800
[Message part 1 (text/plain, inline)]
Javier Olaechea <pirata <at> gmail.com> writes:

> +1. Verified on my system that libunibreak builds successfully after applying this patch.
>
> Currently libunibreak doesn't build on my system (9014b27480a1fafc643feb97db9c7efff74294ba). It fails the check phase. This
> update resolves the build issue.

thanks,  https://git.savannah.gnu.org/cgit/guix.git/commit/?id=98c68104f0f09b08faae6e5a97945448c4933b15
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 04 Aug 2024 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 74 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.