From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wE+/Joj+zWYmgwEAe85BDQ:P1 (envelope-from ) for ; Tue, 27 Aug 2024 16:27:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id wE+/Joj+zWYmgwEAe85BDQ (envelope-from ) for ; Tue, 27 Aug 2024 18:27:52 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=SsA3+BmX; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724776072; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VELupiscxbVaYDj2QbYR9AWdIEP01YeoSdYbUa75UYM=; b=YPpg656BKrDvmpj85JDPusTcyuvmP8syJfciRoKJkpgO4/xKQGn4I9KQNLNn24OBu8pctM iYImLICiT6sqqU0W8iatzF69neGtzs8wkxA5duAbz9j+t/SWoLm3DxbgSKM+YIkicsg8nV sgLa4CQkZWANLJ+11uewMY45StRow+32zOYm1s4Gv3vBse7aTye4rjcPIGgLGZ0Rlfz/WX FjNtRi21EwgdBvvoqgquHJzuFJXIoEjb6ze810TnUtmRbNz1sDT4LdlMczXnzAMM3UcdCR UuKchzo5ktwmcLyS8FHHDc+MCCoaYfMnvhkGMMhgtKrGU41bDStP0+ImaZ6EGQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=SsA3+BmX; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724776072; a=rsa-sha256; cv=none; b=pmoms7h7By5qCpiwIBXuXeoPOCQBMu73IzW7wEkPtE56pUAyhb0pjOoZaiy14uP/00VgbB WeLB76zneAyI/njDZMG9v7hCTLXdf3pLJ2NLJLa3B5Bxc1m81k1NjSJSZtUp4YiNnSGAKZ uygRDVg7YAJ1ioiT4IrE++9U1f2Hy1veQkG7qKqOZ8K+2sBRAob67H1wKGTp+3pLyMcN+P oLXWIKcKg7+XUhqb64fTTWFTmCu/aYEk+S9XZ+LgpsyInQu5WHCQwLAcTBRZ/EmOB9d6Up eNB69q62gUJNoHlp4/+lzAs+g8/UKBDyD5RJvrI1VuPFJfGWG5s9yMbIyyU4qQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6D52D7DB90 for ; Tue, 27 Aug 2024 18:27:52 +0200 (CEST) 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.51 X-Migadu-Queue-Id: 6D52D7DB90 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.51 X-TUID: 937vv4CRHR+C * 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") -- 2.45.2