From unknown Sun Jun 22 00:59:29 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#69002] [PATCH] gnu: Add icecream-cpp. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Feb 2024 17:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69002 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69002@debbugs.gnu.org Cc: "Paul A. Patience" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170750117222693 (code B ref -1); Fri, 09 Feb 2024 17:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Feb 2024 17:52:52 +0000 Received: from localhost ([127.0.0.1]:54424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYV3U-0005tw-4W for submit@debbugs.gnu.org; Fri, 09 Feb 2024 12:52:52 -0500 Received: from lists.gnu.org ([2001:470:142::17]:41396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYV3Q-0005tC-6X for submit@debbugs.gnu.org; Fri, 09 Feb 2024 12:52:50 -0500 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 1rYTig-0004rV-5X for guix-patches@gnu.org; Fri, 09 Feb 2024 11:27:18 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rYTid-0003a6-50 for guix-patches@gnu.org; Fri, 09 Feb 2024 11:27:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1707496032; x=1707755232; bh=GDbiffkR4pY0K9JHWBLBt1IXMcckJLMR0K+uIzfjDcE=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=IREngoNcsMHVbUA7PiB51y576CiEy4PNDMoOaOW2kMQvbW+aAWSzdTqz0+aQ95kKc 9BrLalzjzb9eeegRpL8gznGc0Y2/lSYn5JIyPbjwgE89m3vF7E8n6Jdzy91jGbE2FG uqydq5bh21qP7ga6iqMA17gZWlHvXs9HnMDu+e9VFfOUOzIXExwVcremqYu5bDolOy gitivMilcGKplNztF1L4wmyo/4cEv5FC5fnTsP7zbv4s38+pEAT7yMmickstslVIRK 4/Pb+kePdlEljUka3fAYSI1f6BB9CEidusQog+Xu9hYWm0vawuHbv9ytzxl0asfFd+ bV5t6/NHhUUSQ== Date: Fri, 09 Feb 2024 16:27:04 +0000 From: "Paul A. Patience" Message-ID: <394beb84d63b1760b1c0e40859e349a25a0dc221.1707496006.git.paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.17; envelope-from=paul@apatience.com; helo=mail-4317.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/cpp.scm (icecream-cpp): New variable. Change-Id: Idfc9fd789fe4f0a163cc8a8be8ad2a3b35d50dfd --- gnu/packages/cpp.scm | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 62a1923571..d589d44e43 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -38,7 +38,7 @@ ;;; Copyright =C2=A9 2023 Liliana Marie Prikler ;;; Copyright =C2=A9 2023 Denis 'GNUtoo' Carikli ;;; Copyright =C2=A9 2023 Foundation Devices, Inc. -;;; Copyright =C2=A9 2023 Paul A. Patience +;;; Copyright =C2=A9 2023-2024 Paul A. Patience ;;; ;;; This file is part of GNU Guix. ;;; @@ -3048,3 +3048,39 @@ (define-public tl-optional the std::optional for C++11/14/17, with support for monadic operations add= ed in C++23.") (license license:cc0))) + +(define-public icecream-cpp + ;; Last release was in 2020, last commit in 2023. + (let ((commit "04e8d3697e64e68d5150a6bc36ba8ebb8690f425") + (revision "0")) + (package + (name "icecream-cpp") + (version (git-version "0.3.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/renatoGarcia/icecream-cpp") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1adahzwm3wlk8d4cjzjakvrw2mm825vpxf37m0ffxxzd3kzrn6qy")) + ;; Remove bundled Catch2. + (snippet #~(delete-file "test/catch.hpp")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list "-DBUILD_TESTING=3DON") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-test + (lambda _ + (substitute* "test/test.cpp" + (("#include \"catch\\.hpp\"") + "#include "))))))) + (native-inputs (list boost catch2)) + (home-page "https://github.com/renatoGarcia/icecream-cpp") + (synopsis "C++ library for @code{printf} debugging") + (description "IceCream-Cpp is a C++ library for @code{printf} debugg= ing. +It is inspired by the @url{https://github.com/gruns/icecream, Python libra= ry} +of the same name.") + (license license:expat)))) base-commit: 570ef13a87bb54d3410c431700ba78316a2641e2 --=20 2.41.0 From unknown Sun Jun 22 00:59:29 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Paul A. Patience" Subject: bug#69002: closed (Re: [PATCH] gnu: Add icecream-cpp.) Message-ID: References: <87mse5at14.fsf@nicolasgoaziou.fr> <394beb84d63b1760b1c0e40859e349a25a0dc221.1707496006.git.paul@apatience.com> X-Gnu-PR-Message: they-closed 69002 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 69002@debbugs.gnu.org Date: Sat, 01 Mar 2025 11:30:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1740828605-10276-1" This is a multi-part message in MIME format... ------------=_1740828605-10276-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #69002: [PATCH] gnu: Add icecream-cpp. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 69002@debbugs.gnu.org. --=20 69002: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D69002 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1740828605-10276-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 69002-done) by debbugs.gnu.org; 1 Mar 2025 11:29:37 +0000 Received: from localhost ([127.0.0.1]:34208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1toL2H-0002cH-0j for submit@debbugs.gnu.org; Sat, 01 Mar 2025 06:29:37 -0500 Received: from msg-3.mailo.com ([213.182.54.8]:55134 helo=mailo.com) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1toL2E-0002bT-3v for 69002-done@debbugs.gnu.org; Sat, 01 Mar 2025 06:29:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nicolasgoaziou.fr; s=mailo; t=1740828567; bh=zuwFX1HQ1eec5Hbu/Px0scF22YMSiEGwDX1GcdGJjtg=; h=X-EA-Auth:From:To:Cc:Subject:In-Reply-To:Date:Message-ID: MIME-Version:Content-Type; b=j32Spk/EodLqbRd6OSbYwGWLMseTdzhx0dvNLQseQSDt9bI75MQP99BQuTYuOhTSv sjrkrQAro6OE5RFn5r4FNJYSwFwZpDDFyeYKe8e5MpJhScLnTeATb8zOdpcDPt4oyq TH8VryOgyzO2RnA50X7qyoInPmBlNdQIVSHshk7w= Received: by b221-6.in.mailobj.net [192.168.90.26] with ESMTP via ip-20.mailobj.net [213.182.54.20] Sat, 1 Mar 2025 12:29:27 +0100 (CET) X-EA-Auth: JEmXJyygvNSR/eyCXvbaxYy/3sjN1+aE6yVmXZKD/V+iqAkxzXXTK2+I16MTTJl8MLlgxWr8aM+BlLDHrdk3V8xatbJR64FBzvJfzZv46IE= From: Nicolas Goaziou To: 69002-done@debbugs.gnu.org Subject: Re: [PATCH] gnu: Add icecream-cpp. In-Reply-To: <394beb84d63b1760b1c0e40859e349a25a0dc221.1707496006.git.paul@apatience.com> Date: Sat, 01 Mar 2025 12:29:11 +0100 Message-ID: <87mse5at14.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69002-done Cc: "Paul A. Patience" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, > * gnu/packages/cpp.scm (icecream-cpp): New variable. I updated it to the latest commit and applied the patch. Thank you! Regards, -- Nicolas Goaziou ------------=_1740828605-10276-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Feb 2024 17:52:52 +0000 Received: from localhost ([127.0.0.1]:54424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYV3U-0005tw-4W for submit@debbugs.gnu.org; Fri, 09 Feb 2024 12:52:52 -0500 Received: from lists.gnu.org ([2001:470:142::17]:41396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYV3Q-0005tC-6X for submit@debbugs.gnu.org; Fri, 09 Feb 2024 12:52:50 -0500 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 1rYTig-0004rV-5X for guix-patches@gnu.org; Fri, 09 Feb 2024 11:27:18 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rYTid-0003a6-50 for guix-patches@gnu.org; Fri, 09 Feb 2024 11:27:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1707496032; x=1707755232; bh=GDbiffkR4pY0K9JHWBLBt1IXMcckJLMR0K+uIzfjDcE=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=IREngoNcsMHVbUA7PiB51y576CiEy4PNDMoOaOW2kMQvbW+aAWSzdTqz0+aQ95kKc 9BrLalzjzb9eeegRpL8gznGc0Y2/lSYn5JIyPbjwgE89m3vF7E8n6Jdzy91jGbE2FG uqydq5bh21qP7ga6iqMA17gZWlHvXs9HnMDu+e9VFfOUOzIXExwVcremqYu5bDolOy gitivMilcGKplNztF1L4wmyo/4cEv5FC5fnTsP7zbv4s38+pEAT7yMmickstslVIRK 4/Pb+kePdlEljUka3fAYSI1f6BB9CEidusQog+Xu9hYWm0vawuHbv9ytzxl0asfFd+ bV5t6/NHhUUSQ== Date: Fri, 09 Feb 2024 16:27:04 +0000 To: guix-patches@gnu.org From: "Paul A. Patience" Subject: [PATCH] gnu: Add icecream-cpp. Message-ID: <394beb84d63b1760b1c0e40859e349a25a0dc221.1707496006.git.paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.17; envelope-from=paul@apatience.com; helo=mail-4317.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: "Paul A. Patience" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/cpp.scm (icecream-cpp): New variable. Change-Id: Idfc9fd789fe4f0a163cc8a8be8ad2a3b35d50dfd --- gnu/packages/cpp.scm | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 62a1923571..d589d44e43 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -38,7 +38,7 @@ ;;; Copyright =C2=A9 2023 Liliana Marie Prikler ;;; Copyright =C2=A9 2023 Denis 'GNUtoo' Carikli ;;; Copyright =C2=A9 2023 Foundation Devices, Inc. -;;; Copyright =C2=A9 2023 Paul A. Patience +;;; Copyright =C2=A9 2023-2024 Paul A. Patience ;;; ;;; This file is part of GNU Guix. ;;; @@ -3048,3 +3048,39 @@ (define-public tl-optional the std::optional for C++11/14/17, with support for monadic operations add= ed in C++23.") (license license:cc0))) + +(define-public icecream-cpp + ;; Last release was in 2020, last commit in 2023. + (let ((commit "04e8d3697e64e68d5150a6bc36ba8ebb8690f425") + (revision "0")) + (package + (name "icecream-cpp") + (version (git-version "0.3.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/renatoGarcia/icecream-cpp") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1adahzwm3wlk8d4cjzjakvrw2mm825vpxf37m0ffxxzd3kzrn6qy")) + ;; Remove bundled Catch2. + (snippet #~(delete-file "test/catch.hpp")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list "-DBUILD_TESTING=3DON") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-test + (lambda _ + (substitute* "test/test.cpp" + (("#include \"catch\\.hpp\"") + "#include "))))))) + (native-inputs (list boost catch2)) + (home-page "https://github.com/renatoGarcia/icecream-cpp") + (synopsis "C++ library for @code{printf} debugging") + (description "IceCream-Cpp is a C++ library for @code{printf} debugg= ing. +It is inspired by the @url{https://github.com/gruns/icecream, Python libra= ry} +of the same name.") + (license license:expat)))) base-commit: 570ef13a87bb54d3410c431700ba78316a2641e2 --=20 2.41.0 ------------=_1740828605-10276-1--