guix_mirror_bot pushed a commit to branch world-rebuild
in repository guix.

commit 167f4e43aebb5b4be4fe0267a7167bc1d2f93f68
Author: Gábor Udvari <[email protected]>
AuthorDate: Fri Sep 11 23:57:14 2026 +0200

    gnu: utfcpp: Update to 4.2.0.
    
    * gnu/packages/textutils.scm (utfcpp): Update to 4.2.0.
    
    Merges: https://codeberg.org/guix/guix/pulls/11280
    Signed-off-by: Nguyễn Gia Phong <[email protected]>
---
 gnu/packages/textutils.scm | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 91edc49347a..2ba717b2294 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -42,6 +42,7 @@
 ;;; Copyright © 2025 John Khoo <[email protected]>
 ;;; Copyright © 2026 orahcio <[email protected]>
 ;;; Copyright © 2026 Wilko Meyer <[email protected]>
+;;; Copyright © 2026 Gábor Udvari <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -807,25 +808,18 @@ spreadsheets and outputs it in comma-separated-value 
format, and
 (define-public utfcpp
   (package
     (name "utfcpp")
-    (version "3.2.5")
+    (version "4.2.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
                      (url "https://github.com/nemtrif/utfcpp";)
                      (commit (string-append "v" version))))
               (file-name (git-file-name name version))
-              (modules '((guix build utils)))
-              ;; Unbundle ftest
-              (snippet
-               '(begin
-                  (delete-file-recursively "extern")
-                  (substitute* (find-files "tests" "\\.cpp")
-                    (("\"../extern/ftest/ftest.h\"")
-                     "<ftest/ftest.h>"))))
               (sha256
                (base32
-                "195n47dblx765xas54vkgyin3xsvfnvcdc614njzqmcxybfpvix2"))))
+                "0d82ayrnrcj8b6x422pnn9gjliwyjwmkc56lz6m1xzjrallygkmx"))))
     (build-system cmake-build-system)
+    (arguments (list #:configure-flags #~'("-DUTF8CPP_ENABLE_TESTS=ON")))
     (native-inputs (list ftest))
     (home-page "https://github.com/nemtrif/utfcpp";)
     (synopsis "Portable C++ library for handling UTF-8")

Reply via email to