From patchwork Tue Aug 27 16:25:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Z572 X-Patchwork-Id: 67357 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 5199A27BBEA; Tue, 27 Aug 2024 17:27:52 +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 B21A427BBE2 for ; Tue, 27 Aug 2024 17:27:51 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1siz2H-0002j0-05; Tue, 27 Aug 2024 12:27:13 -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 1siz2E-0002gt-Dv for guix-patches@gnu.org; Tue, 27 Aug 2024 12:27:10 -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 1siz2D-0000mE-Vz for guix-patches@gnu.org; Tue, 27 Aug 2024 12:27:10 -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=SsA3+BmXzUIQWPW9MINyArVoV9qpluCDzbTqCAyPXfTDiEZjuUf1H4VkFtAcVsFxVwklg9qpljTexP9duAAaH7vf5Y3j92CYptqQdKxqPJuQA0jVfpuFcKmoNAIDHjgv4LN77coaJgCiDkD13dWVD14CqqKzx6SdezziSzhAFjj7pB0XVJzoBQ+wC8Y2fDTF8RL46UeVTnyXOaT51ZWkB5EdwKXXHQFLMzaT+Y01r77GDETg2Ji5Opiaj156j4RJsm5n4tOBaEpH3fqyLI1pW8nT9IZx5RzVWxYLaBhqIYmNtiG0U1Ur/aK1/46e1JMgmNR0+EXdO4xZ7MJRSRBoDw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1siz34-0001RB-O2 for guix-patches@gnu.org; Tue, 27 Aug 2024 12:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72835] [PATCH qt-team 27/38] gnu: Add re2-next. Resent-From: Zheng Junjie Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Aug 2024 16:28:02 +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.17247760265365 (code B ref 72835); Tue, 27 Aug 2024 16:28:02 +0000 Received: (at 72835) by debbugs.gnu.org; 27 Aug 2024 16:27:06 +0000 Received: from localhost ([127.0.0.1]:47407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siz29-0001ON-R8 for submit@debbugs.gnu.org; Tue, 27 Aug 2024 12:27:06 -0400 Received: from smtp84.cstnet.cn ([159.226.251.84]:52362 helo=cstnet.cn) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siz1x-0001L8-Gj for 72835@debbugs.gnu.org; Tue, 27 Aug 2024 12:26:55 -0400 Received: from m.tailaa68d.ts.net (unknown [117.147.108.198]) by APP-05 (Coremail) with SMTP id zQCowACnEUEP_s1mbhXLCg--.5542S6; Wed, 28 Aug 2024 00:25:53 +0800 (CST) From: Zheng Junjie Date: Wed, 28 Aug 2024 00:25:35 +0800 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 X-CM-TRANSID: zQCowACnEUEP_s1mbhXLCg--.5542S6 X-Coremail-Antispam: 1UD129KBjvJXoW7Zw15Cw1fuF1UtFyUCFWktFb_yoW8CFWDpr yfC345ur4kWr93XwsaqF4jgw13X397tFW0v3yxur4fJ3yj9w40kry7ta13JrnxAw1UAw47 Way0g3W7WFW8ZFJanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUU9Sb7Iv0xC_Cr1lb4IE77IF4wAFF20E14v26r4j6ryUM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28IrcIa0xkI8VA2jI 8067AKxVWUAVCq3wA2048vs2IY020Ec7CjxVAFwI0_Jrv_JF4l8cAvFVAK0II2c7xJM28C jxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW5JVW7JwA2z4x0Y4vE2Ix0cI 8IcVCY1x0267AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4j6F4UM28EF7xvwVC2z280 aVCY1x0267AKxVW8JVW8Jr1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4 CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jrv_JF1lYx0Ex4A2jsIE14v26r1j6r4UMcvj eVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20xvY0x0EwIxGrwCFx2IqxV CFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r10 6r1rMI8E67AF67kF1VAFwI0_Jr0_JrylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxV W5JVW7JwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG 6r1j6r1xMIIF0xvEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr 1UYxBIdaVFxhVjvjDU0xZFpf9x07jbNVkUUUUU= X-Originating-IP: [117.147.108.198] 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")