From patchwork Fri Apr 4 19:06:57 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41274 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 25EB527BBE2; Fri, 4 Apr 2025 20:11:16 +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.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 006F827BBE9 for ; Fri, 4 Apr 2025 20:11:15 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u0mRb-0005YF-7h; Fri, 04 Apr 2025 15:11:11 -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 1u0mRW-0005Vs-H1 for guix-patches@gnu.org; Fri, 04 Apr 2025 15:11:08 -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 1u0mRS-0006YC-7I for guix-patches@gnu.org; Fri, 04 Apr 2025 15:11:03 -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=YmKNsUUUSrdkSSY0IRcj1FoXsMMFWpQp8adyu2AT4IU=; b=EwarpC34GFITaQGAYSNaHg5Mdw1kFFBaFuLkPabCwSTtUEwr9XHlZsNtwOsDBh4oUO1gsWrIUfD25jTGkr9E6zXu6gTwCEHggJmORISTOGP10Gy3ZFPEQTJ//vxn42XIvrAqnttynGnLjNiY9rxRJ3ZEyOwtGEdrcazmYIvZj0WqaFVNoaOAL9/x7pk09T22fuLAfQmLXMC5LvcjT3ThOwv1i87S6EJzHtvrZZvl1qvu8ZeegPMVmZlQfbNmGuBac6hzQU2KY7ryyTAwL3nZt1EfNad/jq7TPt1mGSEb4nxSUdxa2U1u2G6dSBOK1WbMPZ54J2AL9TWXmrcUBy6SWQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u0mRR-0003so-V5 for guix-patches@gnu.org; Fri, 04 Apr 2025 15:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77541] [PATCH 01/38] gnu: Add clipper2. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Apr 2025 19:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77541 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77541@debbugs.gnu.org Cc: Nicolas Graves X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174379382414847 (code B ref -1); Fri, 04 Apr 2025 19:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Apr 2025 19:10:24 +0000 Received: from localhost ([127.0.0.1]:39947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0mQp-0003rN-OO for submit@debbugs.gnu.org; Fri, 04 Apr 2025 15:10:24 -0400 Received: from lists.gnu.org ([2001:470:142::17]:57132) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u0mQl-0003oL-R9 for submit@debbugs.gnu.org; Fri, 04 Apr 2025 15:10:20 -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 1u0mQf-0005BT-Kl for guix-patches@gnu.org; Fri, 04 Apr 2025 15:10:13 -0400 Received: from 8.mo562.mail-out.ovh.net ([46.105.60.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u0mQY-0006C5-SN for guix-patches@gnu.org; Fri, 04 Apr 2025 15:10:12 -0400 Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net [152.228.215.222]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4ZTp8C0l7cz1cHZ; Fri, 4 Apr 2025 19:10:03 +0000 (UTC) Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net. [127.0.0.1]) by director3.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for ; Fri, 4 Apr 2025 19:10:02 +0000 (UTC) Received: from mta6.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.188.32]) by director3.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZTp8B6r8Dz86Jk; Fri, 4 Apr 2025 19:10:02 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.4]) by mta6.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 863BCD43D38; Fri, 4 Apr 2025 19:10:02 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-114S008a563d658-17d0-47d3-855f-b548a7b28b56, 5C763BAE2B049B0552D0CEA89988AE409CD35AAA) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Fri, 4 Apr 2025 21:06:57 +0200 Message-ID: <20250404190959.30444-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250404190959.30444-1-ngraves@ngraves.fr> References: <20250404190959.30444-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 3353492874488308450 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduledvvdehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvffehgeekhfekgffgleehffetiefggeeitdduteekfffhkeehveejfeejledtieenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopehguhhigidqphgrthgthhgvshesghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeivdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=YmKNsUUUSrdkSSY0IRcj1FoXsMMFWpQp8adyu2AT4IU=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1743793803; v=1; b=Mg7lcrweifzsNjfIdG04nwKFqnhJ4ncprLYi/7J907uJL5O6j/40tqOSnidqDNqPrIZkFHAB Ov+6KhOFIY9WXeDwduO33PZMBsJhmyKN0jxPAD++VUxdnxw1guOdyMlywcbhOsy8vPycMmEtpNS PM+7SedyONqq8+3OiJqWtEaJ99e1XY1Wx0AhK/65UWCK3eyZtSSosHTjwo67/Gj3BzJq//PurCq Og+5ABpCkvw7NOtCDzLLnLdKY9RxC0YKJ1lTDFzKIHRLvgkRTKdYUbULdMmxTGTR9xW4gi8JmBZ P8pySHjMmVSy74JEU8Xz2PqXkI1R5A3ggZpst9nqd5ifw== Received-SPF: permerror client-ip=46.105.60.65; envelope-from=ngraves@ngraves.fr; helo=8.mo562.mail-out.ovh.net 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_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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 (clipper2): New variable. --- gnu/packages/cpp.scm | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index a102a5d468..946484d325 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -44,7 +44,7 @@ ;;; Copyright © 2024 Jakob Kirsch ;;; Copyright © 2025 Sharlatan Hellseher ;;; Copyright © 2025 Sergio Pastor Pérez -;;; +;;; Copyright © 2025 Nicolas Graves ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it @@ -2620,6 +2620,40 @@ (define-public clipper The library is based on Vatti's clipping algorithm.") (license license:boost1.0))) +(define-public clipper2 + (package + (inherit clipper) + (name "clipper2") + (version "1.5.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/AngusJohnson/Clipper2") + (commit (string-append "Clipper2_" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1w8cmx712k45cb8gh9dakmbmybiwdx8c0b45mwpcldywx2lwxi2j")) + (modules '((guix build utils))) + (snippet #~(for-each + delete-file-recursively + '("CSharp" "DLL" "Delphi"))))) + (build-system cmake-build-system) + (arguments + (list + #:configure-flags + #~(list "-DUSE_EXTERNAL_GTEST=ON" + "-DCLIPPER2_EXAMPLES=OFF") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "CPP")))))) + (native-inputs (list googletest)) + (home-page "https://github.com/AngusJohnson/Clipper2") + (description + (string-append (package-description clipper) "\ +Note: This package is a major update of the original clipper library.")))) + (define-public pcg-cpp (let ((commit "ffd522e7188bef30a00c74dc7eb9de5faff90092") (revision "2"))