GNU bug report logs - #72835
[PATCH qt-team 00/38] update qt6 to 6.7.2

Previous Next

Package: guix-patches;

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

Date: Tue, 27 Aug 2024 16:22:02 UTC

Severity: normal

Tags: patch

Done: Z572 <zhengjunjie <at> iscas.ac.cn>

Bug is archived. No further changes may be made.

Full log


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

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: 72835 <at> debbugs.gnu.org
Subject: [PATCH qt-team 27/38] gnu: Add re2-next.
Date: Wed, 28 Aug 2024 00:25:35 +0800
* gnu/packages/regex.scm (re2-next): New Variable.

Change-Id: I5745870605f1ad3ce1733b02e454b758b3cbabfc
---
 gnu/packages/regex.scm | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/regex.scm b/gnu/packages/regex.scm
index 639244f37d..d058b096a7 100644
--- a/gnu/packages/regex.scm
+++ b/gnu/packages/regex.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2016, 2020, 2022 Marius Bakke <marius <at> gnu.org>
 ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2020 Brett Gilio <brettg <at> gnu.org>
+;;; Copyright © 2024 Zheng Junjie <873216071 <at> qq.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -27,7 +28,10 @@ (define-module (gnu packages regex)
   #:use-module (guix git-download)
   #:use-module (guix gexp)
   #:use-module (guix build-system gnu)
-  #:use-module (guix utils))
+  #:use-module (guix build-system cmake)
+  #:use-module (guix utils)
+  #:use-module (gnu packages check)
+  #:use-module (gnu packages cpp))
 
 (define-public re2
    (package
@@ -60,6 +64,29 @@ (define-public re2
 Python.  It is a C++ library.")
      (license license:bsd-3)))
 
+(define-public re2-next
+  (package
+    (inherit re2)
+    (name "re2")
+    (version "2024-07-02")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/google/re2")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "11q0kz8b3y5ysn58fr62yhib520f9l3grbn8gxr8x5s9k700vq11"))))
+    (build-system cmake-build-system)
+    (arguments (list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON"
+                                               ;; "-DRE2_USE_ICU=ON"
+                                               #$@(if (%current-target-system)
+                                                      #~("-DRE2_BUILD_TESTING=ON")
+                                                      #~()))))
+    (native-inputs (list googletest))
+    (propagated-inputs (list abseil-cpp))))
+
 (define-public tre
   (package
     (name "tre")
-- 
2.45.2





This bug report was last modified 235 days ago.

Previous Next


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