From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uCULNcTQ6mJmFgEAbAwnHQ (envelope-from ) for ; Wed, 03 Aug 2022 21:47:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YA8lNMTQ6mL3HwAAG6o9tA (envelope-from ) for ; Wed, 03 Aug 2022 21:47:16 +0200 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 DC7A211718 for ; Wed, 3 Aug 2022 21:47:13 +0200 (CEST) Received: from localhost ([::1]:33118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJKKn-0004NS-48 for larch@yhetil.org; Wed, 03 Aug 2022 15:47:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJKKd-0004NK-09 for guix-patches@gnu.org; Wed, 03 Aug 2022 15:47:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60241) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJKKc-0001lA-Nf for guix-patches@gnu.org; Wed, 03 Aug 2022 15:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJKKc-0003kT-JI for guix-patches@gnu.org; Wed, 03 Aug 2022 15:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56959] [PATCH] gnu: packages: Add glad2. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Aug 2022 19:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56959 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56959@debbugs.gnu.org Cc: "\(" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165955600314382 (code B ref -1); Wed, 03 Aug 2022 19:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Aug 2022 19:46:43 +0000 Received: from localhost ([127.0.0.1]:49990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJKKJ-0003jt-92 for submit@debbugs.gnu.org; Wed, 03 Aug 2022 15:46:43 -0400 Received: from lists.gnu.org ([209.51.188.17]:48660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJKKF-0003ji-G2 for submit@debbugs.gnu.org; Wed, 03 Aug 2022 15:46:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJKKF-0004Mv-AF for guix-patches@gnu.org; Wed, 03 Aug 2022 15:46:39 -0400 Received: from knopi.disroot.org ([178.21.23.139]:55196) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJKKC-0001iS-OO for guix-patches@gnu.org; Wed, 03 Aug 2022 15:46:38 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id BBC8B40DCD; Wed, 3 Aug 2022 21:46:33 +0200 (CEST) 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 UTF8SMTP id q_2KlZ43wuQF; Wed, 3 Aug 2022 21:46:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1659555991; bh=o0+KwwpCydGS+Ns8NOLST7GqkmPkKgNw7f0LmoqXFPk=; h=From:To:Cc:Subject:Date; b=HzqRMMACw3DFsqYhL6DP5tcbTEph2OQbX1legJnj+KRfTtGXkyX2DS5Qpz+m7sWSz NfVEn05ON/Yhzi2qSUJlChwjBRTjHCGPHSjCl29oMAiiAETgEzDTOYGXTf8eOEhmMa Dp1tj18a6ra5bxWvdw2faYOZdaHHWA4XUKkZznLs0kxRrGB342aXfYs4jdRJ+eZhPV f2WWPcILmCIx6cPalR19Cwx7wYnS7d8LmaC6kca5DT3M0zfTl/UB2+kqegKeZcceQG JlziqPTBbuhGta9rPcx+lP6ZcMtU+gnRuJXrFpRbdFRlIYb2slozRVjO6Pph9k+aca bfXIpwWqFHsZg== Date: Wed, 3 Aug 2022 20:46:25 +0100 Message-Id: <20220803194625.6770-1-paren@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org 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, SPF_HELO_NONE=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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659556034; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=H5Ky+IGh98ZdEAoERoRujo0J5ZjbXRVUpt8py2dgmbE=; b=d27FK5QB6dW2hH28bKFzGsBrZQKtEDZpuYFQzaj7qLmluLFMp8P4MLr95dh/Z4BIz+bCu3 4s0daFeGNEcrWMPEMBx9mpEkzy8Jh63oRZyBJp9LsebnujVCx2iov86unMb+9dPPmnMpF+ cqvP5Jop7Xw1VAWgQNjGrfNR6YrcO3pWxMIuVtUu3FWuBcCXsqCZJIv1mxs0hhiDK/0k+y HFrxdJ8GViT0UfcJOVkcUkZHzkovLnf++ELq3LT1nLuTl/adFra5QQwlUKgWE5JK3UA/vJ VxPNNJDjY/FuimdZl+OV5i0ewNKRZYAMvYVhHXCqqM2PA0xPrYIpEH0b2/cl3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659556034; a=rsa-sha256; cv=none; b=ruo4Ckw84R4EF2xI2+G7xs9i80OX7Z+Ur52Sp4wYTkmwIs+hOw+SywGHGYaM90bGecXSiA qIQq0WcjKGU0DyuZ90ssS6VJMlw7r+SQ44F7RcNZBLJ1iuumQ8baYHAotbVQgR0D+Wzx5i KhtMoV/qzLpkK2kLPF/G4zJce/f1BJZGMmBLtyCQIXfG06H0OdKidaf0fhz/uDhzHdwl03 kym5o+4jcquTBuNDsBj/JLioC00SJaPTvDI8liXzUEQ1VFJ0uLHz6AoKhvVI2MkYKyU5gm cgfN0W4P1eGOl4DRWTUMyDR8H9UWwWNwaS1CeM4eduJqEePL8D1n9gkGT2a/ug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=HzqRMMAC; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -1.61 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=HzqRMMAC; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: DC7A211718 X-Spam-Score: -1.61 X-Migadu-Scanner: scn1.migadu.com X-TUID: a8kFyIs4SteH * gnu/packages/gl.scm (glad2): New variable. --- gnu/packages/gl.scm | 46 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index c740c087dd..3539b66a2a 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. ;;; @@ -66,6 +67,7 @@ (define-module (gnu packages gl) #:use-module (guix build-system meson) #:use-module (guix build-system python) #:use-module (guix build-system waf) + #:use-module (guix gexp) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) @@ -215,6 +217,50 @@ (define-public glad generate a GL/GLES/EGL/GLX/WGL loader tailored for specific requirements.") (license license:expat))) +(define-public glad2 + (let ((commit "b1051403cf81b984f9fc11cc5916adb5afd34766") + (revision "2")) + (package + (name "glad2") + (version (git-version "0.1.36" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Dav1dde/glad") + (commit commit))) + (sha256 + (base32 + "03q3gxg2z9lpx7hqac2fd3ld94avhkg4mdxjfjgrgh97kyx9knpm")))) + (build-system python-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-cmake-plugin + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (cmake-dir (string-append + out "/share/cmake/glad"))) + (mkdir-p cmake-dir) + (copy-file "cmake/CMakeLists.txt" + (string-append cmake-dir + "/glad.cmake")))))))) + (inputs (list python-jinja2)) + (home-page "https://glad.sh") + (synopsis "Multi-language OpenGL/Vulkan loader generator") + (description + "GLAD 2 is an improved iteration of the GLAD graphics API loader +generator. It generates bindings to Vulkan and GL-related APIs from the +official Khronos specifications. Among the improvements are: +@enumerate +@item Better EGL, GLX, and WGL support +@item Support for generating Vulkan bindings +@item A Rust frontend +@item More generator options (such as an option to make GLAD header-only) +@item Improvements to CMake support +@item Better API +@end enumerate") + (license license:expat)))) + (define-public s2tc (package (name "s2tc") -- 2.37.1