From patchwork Sun Feb 5 11:42:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "\\(" X-Patchwork-Id: 46674 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 B798027BBEB; Sun, 5 Feb 2023 11:43:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 85A8327BBE9 for ; Sun, 5 Feb 2023 11:43:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOdQI-00020f-GQ; Sun, 05 Feb 2023 06:43:06 -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 1pOdQF-00020G-AM for guix-patches@gnu.org; Sun, 05 Feb 2023 06:43:05 -0500 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 1pOdQF-0006x9-27 for guix-patches@gnu.org; Sun, 05 Feb 2023 06:43:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pOdQE-0006NR-Cz for guix-patches@gnu.org; Sun, 05 Feb 2023 06:43:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59056] [PATCH v2 1/3] gnu: glad: Rename to GLAD-1. References: <20221105171427.17117-1-paren@disroot.org> In-Reply-To: <20221105171427.17117-1-paren@disroot.org> Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 05 Feb 2023 11:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59056 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59056@debbugs.gnu.org Cc: "\(" Received: via spool by 59056-submit@debbugs.gnu.org id=B59056.167559737824490 (code B ref 59056); Sun, 05 Feb 2023 11:43:02 +0000 Received: (at 59056) by debbugs.gnu.org; 5 Feb 2023 11:42:58 +0000 Received: from localhost ([127.0.0.1]:44178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOdQ7-0006Mo-5r for submit@debbugs.gnu.org; Sun, 05 Feb 2023 06:42:57 -0500 Received: from knopi.disroot.org ([178.21.23.139]:56936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOdQ1-0006MS-WD for 59056@debbugs.gnu.org; Sun, 05 Feb 2023 06:42:54 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4D5E64129B; Sun, 5 Feb 2023 12:42:48 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9YnP-t5mCMOn; Sun, 5 Feb 2023 12:42:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1675597367; bh=R6nKaPjE9xpGoWXESA3frYVCKqAPBjq4VLlZY/JSVoU=; h=From:To:Cc:Subject:Date; b=EQiyIgT9epceTaULkCYmjjBYwHCD/0ge5kVTnhTq1RHb/akY8ax4+NuvEe8tbXXC/ AT8Jcf/yZRHdksnvTRA9CseEthr8xTxvuruIPQXsAjf5xDZFuws05Q8CiFWrNMLudQ V17S8UFpSG1aThaA3paJ+E7XsVH1qpqw8Hp3vhWTGB2ajh5mTxw0LEit+wR/PDebKI AaNmh+RosdWdi/Yj73DKxgLqCZDVTpOJKWAUpbsdUptgGy1kC5eZt9HpmdzumTcftC p5MgP4+cYvb8d6lgWp7FvGVm85icC9NkqGKXSKODyhniGYp42fFasaQvKbh5nLzlZL t+fXlj2+qmPhw== Date: Sun, 5 Feb 2023 11:42:39 +0000 Message-Id: <20230205114241.4370-1-paren@disroot.org> MIME-Version: 1.0 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: "\(" X-ACL-Warn: , "\( via Guix-patches" X-Patchwork-Original-From: "\( via Guix-patches" via From: "\\(" 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/gl.scm (glad-1): New variable. (glad): Define as GLAD-1. --- gnu/packages/gl.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) base-commit: f912d5c740815bff89a70d54b592c6173519003c diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 01ab6135a4..c5c3f63aed 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2021 Ivan Gankevich ;;; Copyright © 2021 John Kehayias ;;; Copyright © 2022 Petr Hodina +;;; Copyright © 2022 ( ;;; ;;; This file is part of GNU Guix. ;;; @@ -189,7 +190,7 @@ (define-public ftgl Polygon meshes, and Extruded polygon meshes.") (license license:x11))) -(define-public glad +(define-public glad-1 (package (name "glad") (version "0.1.36") @@ -221,6 +222,8 @@ (define-public glad generate a GL/GLES/EGL/GLX/WGL loader tailored for specific requirements.") (license license:expat))) +(define-public glad glad-1) + (define-public s2tc (package (name "s2tc") From patchwork Sun Feb 5 11:42:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "\\(" X-Patchwork-Id: 46675 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 2568F27BBED; Sun, 5 Feb 2023 11:43:40 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 9086727BBE9 for ; Sun, 5 Feb 2023 11:43:39 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOdQI-00020k-VK; Sun, 05 Feb 2023 06:43:06 -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 1pOdQF-00020F-GU for guix-patches@gnu.org; Sun, 05 Feb 2023 06:43:06 -0500 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 1pOdQF-0006xm-24 for guix-patches@gnu.org; Sun, 05 Feb 2023 06:43:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pOdQE-0006NZ-PU for guix-patches@gnu.org; Sun, 05 Feb 2023 06:43:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59056] [PATCH v2 2/3] gnu: openboardview: Pin to GLAD-1. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 05 Feb 2023 11:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59056 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59056@debbugs.gnu.org Cc: "\(" Received: via spool by 59056-submit@debbugs.gnu.org id=B59056.167559737824498 (code B ref 59056); Sun, 05 Feb 2023 11:43:02 +0000 Received: (at 59056) by debbugs.gnu.org; 5 Feb 2023 11:42:58 +0000 Received: from localhost ([127.0.0.1]:44180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOdQ9-0006Mx-T1 for submit@debbugs.gnu.org; Sun, 05 Feb 2023 06:42:58 -0500 Received: from knopi.disroot.org ([178.21.23.139]:57390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOdQ3-0006MW-5D for 59056@debbugs.gnu.org; Sun, 05 Feb 2023 06:42:54 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 718BF413D9; Sun, 5 Feb 2023 12:42:50 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lOrf7EzC0bxW; Sun, 5 Feb 2023 12:42:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1675597369; bh=9Mqp6apjWuIBv2BYk2jEaX7W2T/8qe3BbW9JOHBJNgQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=SuckJnPSnnnNiHqD0qTqk7h5fvKzwv2IHDpS/Xh6wGUGp7iSsbhllqygVunNARXG+ wln8EEZkivSz2Dy7F9Ktz8C7TC9Vk82jNB02J1S/MGazghexVQwqoQAHXEVS+Xf9VX H+0OuU8Dpz8usO/qbU/rRDxDuAM7kDy+cpp8ZGt7Ba74q1UbTcnwspq/vEjDZPuYXu TU/vNl/dwgaKlwixw4/CSOioL+D3IzLvyMmHkkwokXEUG5jOvCbph/B8WUT5m33JgR aKXp/xOAbzY3W92HcVZ36iig8i6d+Au820sNCFxWrUH0Ke++qb13PjLfdfRSEoTWT2 kYQ7G/5qmsfIA== Date: Sun, 5 Feb 2023 11:42:40 +0000 Message-Id: <20230205114241.4370-2-paren@disroot.org> In-Reply-To: <20230205114241.4370-1-paren@disroot.org> References: <20230205114241.4370-1-paren@disroot.org> MIME-Version: 1.0 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: "\(" X-ACL-Warn: , "\( via Guix-patches" X-Patchwork-Original-From: "\( via Guix-patches" via From: "\\(" 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/electronics.scm (openboardview): Pin to GLAD-1. --- gnu/packages/electronics.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index 15e7318926..c10177eb18 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2021 Efraim Flashner ;;; Copyright © 2021 Leo Famulari ;;; Copyright © 2022 Maxim Cournoyer +;;; Copyright © 2022 ( ;;; ;;; This file is part of GNU Guix. ;;; @@ -321,7 +322,7 @@ (define keep (list "." ".." "openboardview")) (native-inputs (list pkg-config python - glad + glad-1 stb-image utf8-h)) (inputs From patchwork Sun Feb 5 11:42:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\\(" X-Patchwork-Id: 46676 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 7200A27BBEB; Sun, 5 Feb 2023 11:43:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 5BB5927BBE9 for ; Sun, 5 Feb 2023 11:43:42 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOdQJ-000216-0t; Sun, 05 Feb 2023 06:43:07 -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 1pOdQF-00020H-JT for guix-patches@gnu.org; Sun, 05 Feb 2023 06:43:05 -0500 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 1pOdQF-0006xt-8O for guix-patches@gnu.org; Sun, 05 Feb 2023 06:43:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pOdQF-0006Ng-4d for guix-patches@gnu.org; Sun, 05 Feb 2023 06:43:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59056] [PATCH v2 3/3] gnu: Add glad-2. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 05 Feb 2023 11:43:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59056 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59056@debbugs.gnu.org Cc: "\(" Received: via spool by 59056-submit@debbugs.gnu.org id=B59056.167559737824504 (code B ref 59056); Sun, 05 Feb 2023 11:43:03 +0000 Received: (at 59056) by debbugs.gnu.org; 5 Feb 2023 11:42:58 +0000 Received: from localhost ([127.0.0.1]:44182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOdQA-0006N5-7w for submit@debbugs.gnu.org; Sun, 05 Feb 2023 06:42:58 -0500 Received: from knopi.disroot.org ([178.21.23.139]:57542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOdQ3-0006MY-QO for 59056@debbugs.gnu.org; Sun, 05 Feb 2023 06:42:55 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 330B740EA7; Sun, 5 Feb 2023 12:42:51 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oMzMtJkaDR_b; Sun, 5 Feb 2023 12:42:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1675597369; bh=Bz/gz8OJ68U9bYwIJrTTZEhvhVzFwYUA+Ac/XDAydEw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=BLfOyhNvEEicmTxAXsYoUTFRe591OrzyIIdQnG5bRr2ELszx2SPuHrSh1JZ+SYbLr Dl11wRS5AwwZSSQTyfjaEH0bDxj432izq+2NgJIxQuPYZI5LyYZKQi94eITB8s4+rD nnrui/WfuvsR7NWU6ngTDwsRl49sIvwLqAgQ1lrGnkcp1x3AHyFXOJ/QzYewCnZGcu WdauCUDJtYRUK0kLeHKC5KmMA4jvvUafweFLfmEY4s0b3d0GH66ut0ub3paACJVNWO dxteyyO9LreXszX6ienCGW63RQIqYThzgK3qdq1aXTSBrx1hFnjELEuEcV1k8v5tkR rBnlY2oV86VmA== Date: Sun, 5 Feb 2023 11:42:41 +0000 Message-Id: <20230205114241.4370-3-paren@disroot.org> In-Reply-To: <20230205114241.4370-1-paren@disroot.org> References: <20230205114241.4370-1-paren@disroot.org> MIME-Version: 1.0 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: "\(" X-ACL-Warn: , "\( via Guix-patches" X-Patchwork-Original-From: "\( via Guix-patches" via From: "\\(" 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/gl.scm (glad-2): New variable. (glad-1): Inherit from GLAD-2. (glad): Define as GLAD-2. --- gnu/packages/gl.scm | 69 ++++++++++++++++++++++++++++++--------------- 1 file changed, 46 insertions(+), 23 deletions(-) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index c5c3f63aed..c23b00bf70 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -190,39 +190,62 @@ (define-public ftgl Polygon meshes, and Extruded polygon meshes.") (license license:x11))) -(define-public glad-1 +(define-public glad-2 (package (name "glad") - (version "0.1.36") - (source - (origin - ;; We fetch the sources from the repository since the PyPI archive - ;; doesn't contain the CMakeLists.txt file which is useful for - ;; integration with other software, such as the openboardview package. - (method git-fetch) - (uri (git-reference - (url "https://github.com/Dav1dde/glad") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0m55ya1zrmg6n2cljkajy80ilmi5sblln8742fm0k1sw9k7hzn8n")))) + (version "2.0.2") + (source (origin + ;; We fetch the sources from the repository since the PyPI + ;; archive doesn't contain the CMakeLists.txt file, which is + ;; useful for integration with other software, such as the + ;; openboardview package. + (method git-fetch) + (uri (git-reference + (url "https://github.com/Dav1dde/glad") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1s9l7ypdxqaqpgnvc1vjgc7zaazm0j7dbfyqw6hwbx99d2whb7ds")))) (build-system python-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'install 'install-cmakelists.txt - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (share (string-append out "/share/" ,name))) - (install-file "CMakeLists.txt" share))))))) + (list #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-cmakelists.txt + (lambda _ + (install-file "cmake/CMakeLists.txt" + (string-append #$output "/share/glad"))))))) + (native-inputs (list python-jinja2)) (home-page "https://github.com/Dav1dde/glad") (synopsis "Multi-language GL/GLES/EGL/GLX/WGL loader generator") (description "Glad uses the official Khronos XML specifications to generate a GL/GLES/EGL/GLX/WGL loader tailored for specific requirements.") (license license:expat))) -(define-public glad glad-1) +(define-public glad-1 + (package + (inherit glad-2) + (name "glad") + (version "0.1.36") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Dav1dde/glad") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0m55ya1zrmg6n2cljkajy80ilmi5sblln8742fm0k1sw9k7hzn8n")))) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-cmakelists.txt + (lambda _ + (install-file "CMakeLists.txt" + (string-append + #$output "/share/glad"))))))))) + +(define-public glad glad-2) (define-public s2tc (package