From patchwork Thu May 18 15:51:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Denis 'GNUtoo' Carikli X-Patchwork-Id: 50127 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 AC8F327BBEA; Thu, 18 May 2023 16:52:10 +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=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS 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 15ED327BBE9 for ; Thu, 18 May 2023 16:52:10 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pzfvB-0001YH-Am; Thu, 18 May 2023 11:52:05 -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 1pzfv8-0001Vb-TA for guix-patches@gnu.org; Thu, 18 May 2023 11:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pzfv8-0000G4-LN for guix-patches@gnu.org; Thu, 18 May 2023 11:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pzfv8-0006jU-EB for guix-patches@gnu.org; Thu, 18 May 2023 11:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63574] [PATCH v1] gnu: cpp-mustache: Update to 5.0 to fix build. Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 18 May 2023 15:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63574 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63574@debbugs.gnu.org Cc: Giovanni Biscuolo , hub.lombard@free.fr, Denis 'GNUtoo' Carikli X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168442511225858 (code B ref -1); Thu, 18 May 2023 15:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 May 2023 15:51:52 +0000 Received: from localhost ([127.0.0.1]:54242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzfux-0006j0-JS for submit@debbugs.gnu.org; Thu, 18 May 2023 11:51:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:57718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzfuv-0006im-Eh for submit@debbugs.gnu.org; Thu, 18 May 2023 11:51:50 -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 1pzfuu-0000gq-CJ for guix-patches@gnu.org; Thu, 18 May 2023 11:51:49 -0400 Received: from cyberdimension.org ([2001:910:1314:ffff::1] helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1pzfus-0000Eb-2x for guix-patches@gnu.org; Thu, 18 May 2023 11:51:48 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 569d6b9f; Thu, 18 May 2023 15:51:37 +0000 (UTC) Received: from localhost.localdomain (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 4273e910; Thu, 18 May 2023 15:51:27 +0000 (UTC) From: Denis 'GNUtoo' Carikli Date: Thu, 18 May 2023 17:51:18 +0200 Message-Id: <20230518155118.4622-1-GNUtoo@cyberdimension.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2001:910:1314:ffff::1; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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/cpp.scm (cpp-mustache): Update to 5.0. --- gnu/packages/cpp.scm | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) base-commit: 5b700945fb0b33eec410de8979cae2fbf0d4f118 diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 237e232078..233f4b79d9 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -35,6 +35,7 @@ ;;; Copyright © 2023 Sughosha ;;; Copyright © 2023 Artyom V. Poptsov ;;; Copyright © 2023 Liliana Marie Prikler +;;; Copyright © 2023 Denis 'GNUtoo' Carikli ;;; ;;; This file is part of GNU Guix. ;;; @@ -2115,29 +2116,35 @@ (define-public gulrak-filesystem (define-public cpp-mustache (package (name "cpp-mustache") - (version "4.1") + (version "5.0") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/kainjow/Mustache") - (commit (string-append "v" version)))) + (commit "4ed8c0b5a2a43d59394bd6900dc04e738dbf8c02"))) (file-name (git-file-name name version)) (sha256 (base32 - "0r9rbk6v1wpld2ismfsk2lkhbyv3dkf0p03hkjivbj05qkfhvlbb")))) + "0qwrg35gby851viwd6dgrc346712701a0gll8a0m4xs8invxavrh")))) (build-system cmake-build-system) (arguments - (list #:phases + (list #:configure-flags + #~(list + (string-append "-DCMAKE_CXX_FLAGS=-I" + #$(this-package-native-input "catch2") + "/include/catch2/")) + #:phases #~(modify-phases %standard-phases (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (invoke "./mustache")))) + (invoke "./tests/mustache-unit-tests")))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (install-file "../source/mustache.hpp" (string-append (assoc-ref outputs "out") "/include"))))))) + (native-inputs (list catch2)) (home-page "https://github.com/kainjow/Mustache") (synopsis "Mustache text templates for modern C++") (description "@code{cpp-mustache} is a Mustache implementation for C++ 11