From patchwork Wed Sep 18 01:43:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Z572 X-Patchwork-Id: 68051 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BB00C27BBE2; Wed, 18 Sep 2024 02:47:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 721F527BBE9 for ; Wed, 18 Sep 2024 02:47:22 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqjmT-0004oI-BS; Tue, 17 Sep 2024 21:46:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqjmN-0004i5-QR for guix-patches@gnu.org; Tue, 17 Sep 2024 21:46:52 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sqjmN-0008LW-Gz for guix-patches@gnu.org; Tue, 17 Sep 2024 21:46:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=VELupiscxbVaYDj2QbYR9AWdIEP01YeoSdYbUa75UYM=; b=vE4IF9YUiTVqXUodZFsUiu+wpq7X+OtoJQRzMEuF1uvZd6pJSIADi1c5jY1G8LVSVGkN6EvDqjn/Z0+1NdVlTv4RD4fRFPotKJ/73KdSQ0udCrS3WEIVZSmZr6K4IhcOGPjr6cwiK3b3ouO4MwXRzAKfoOHye3k9qOZFEFB+8LjQxReTEFvU34g/pL+fuAVxYGagtCIqFzQdW7KJcefVpFrNHl+xHsmlvfakooQ8+eA41qcIQ6/r0WTwZD9JVl3SFE94M3LSJiXSaCQGcgVKvjh0BDFtYQHS/N0N7y8YTVbd9ow/4JR7q4n55a4CAruxdRzaxpi+ybfbNsI0YerfEQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sqjmc-0004FE-SP for guix-patches@gnu.org; Tue, 17 Sep 2024 21:47:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72835] [PATCH qt-team v2 27/74] gnu: Add re2-next. Resent-From: Zheng Junjie Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Sep 2024 01:47:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72835 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72835@debbugs.gnu.org Received: via spool by 72835-submit@debbugs.gnu.org id=B72835.172662401816195 (code B ref 72835); Wed, 18 Sep 2024 01:47:06 +0000 Received: (at 72835) by debbugs.gnu.org; 18 Sep 2024 01:46:58 +0000 Received: from localhost ([127.0.0.1]:56416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqjmT-0004D9-En for submit@debbugs.gnu.org; Tue, 17 Sep 2024 21:46:57 -0400 Received: from smtp81.cstnet.cn ([159.226.251.81]:57852 helo=cstnet.cn) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqjmP-0004Cd-FU for 72835@debbugs.gnu.org; Tue, 17 Sep 2024 21:46:54 -0400 Received: from m.tailaa68d.ts.net (unknown [107.174.64.25]) by APP-03 (Coremail) with SMTP id rQCowACHVIzpMOpmMZhWBA--.351S4; Wed, 18 Sep 2024 09:46:28 +0800 (CST) From: Zheng Junjie Date: Wed, 18 Sep 2024 09:43:09 +0800 Message-ID: <42a4e9c0aaa827f646969f0ccc9840d30c6f41b6.1726567073.git.zhengjunjie@iscas.ac.cn> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 X-CM-TRANSID: rQCowACHVIzpMOpmMZhWBA--.351S4 X-Coremail-Antispam: 1UD129KBjvJXoW7Zw15Cw1fuF1UtFyUCFWktFb_yoW8CFWDpr yfC345ur4kWr93XwsaqF4jgw13X397tFW0v3yxur4fJ3yj9w40kry7ta13JrnxAw1UAw47 Way0g3W7WFW8ZFJanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUU9Ib7Iv0xC_Cr1lb4IE77IF4wAFF20E14v26r4j6ryUM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28IrcIa0xkI8VA2jI 8067AKxVWUXwA2048vs2IY020Ec7CjxVAFwI0_Jr4l8cAvFVAK0II2c7xJM28CjxkF64kE wVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW7JVWDJwA2z4x0Y4vE2Ix0cI8IcVCY1x 0267AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIE c7CjxVAFwI0_Cr1j6rxdM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c 02F40Ex7xfMcIj6xIIjxv20xvE14v26r126r1DMcIj6I8E87Iv67AKxVWUJVW8JwAm72CE 4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41l42xK82IYc2Ij64vIr41l4I8I3I0E4I kC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWU WwC2zVAF1VAY17CE14v26r1j6r15MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Xr 0_Ar1lIxAIcVC0I7IYx2IY6xkF7I0E14v26r4j6F4UMIIF0xvE42xK8VAvwI8IcIk0rVWU JVWUCwCI42IY6I8E87Iv67AKxVW8JVWxJwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r4UJb IYCTnIWIevJa73UjIFyTuYvjxU7K9aDUUUU X-Originating-IP: [107.174.64.25] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2020 Brett Gilio +;;; Copyright © 2024 Zheng Junjie <873216071@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")