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 6CpbD+L69WJf7QAAbAwnHQ (envelope-from ) for ; Fri, 12 Aug 2022 09:01:54 +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 SCJLDuL69WL0PgAAG6o9tA (envelope-from ) for ; Fri, 12 Aug 2022 09:01:54 +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 EC9453C5AE for ; Fri, 12 Aug 2022 09:01:53 +0200 (CEST) Received: from localhost ([::1]:36640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMOg4-0000Yd-Te for larch@yhetil.org; Fri, 12 Aug 2022 03:01:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMOfG-0000Xk-Ha for guix-patches@gnu.org; Fri, 12 Aug 2022 03:01:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37536) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMOfG-0008Sz-9L for guix-patches@gnu.org; Fri, 12 Aug 2022 03:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMOfG-0000gw-2A for guix-patches@gnu.org; Fri, 12 Aug 2022 03:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56959] [PATCH v2] gnu: packages: Add glad2. References: <20220803194625.6770-1-paren@disroot.org> In-Reply-To: <20220803194625.6770-1-paren@disroot.org> Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Aug 2022 07:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56959 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56959@debbugs.gnu.org Cc: "\(" Received: via spool by 56959-submit@debbugs.gnu.org id=B56959.16602876042478 (code B ref 56959); Fri, 12 Aug 2022 07:01:02 +0000 Received: (at 56959) by debbugs.gnu.org; 12 Aug 2022 07:00:04 +0000 Received: from localhost ([127.0.0.1]:55518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMOeJ-0000dt-U9 for submit@debbugs.gnu.org; Fri, 12 Aug 2022 03:00:04 -0400 Received: from knopi.disroot.org ([178.21.23.139]:47664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMOeI-0000dK-1n for 56959@debbugs.gnu.org; Fri, 12 Aug 2022 03:00:02 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 46A914385D; Fri, 12 Aug 2022 09:00:01 +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 ESMTP id RGYOqmHCDsdp; Fri, 12 Aug 2022 08:59:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1660287599; bh=ROLLPY0cMtouJ/+wyN2t4mFWbYxYl8msVmScEanLzQY=; h=From:To:Cc:Subject:Date; b=Q8UZk97cNPNWoZlnGHRvpHhiW5hhudVmZViAbOcZsSbmGQIILSTn6O8dPfDBO+bPg igQdg9e4pIYheoCqVj43beDSJqp/nYcbnSXyOwp5+L0V9vTzP54SkDXWwU8qQfnRGV k5fWWBXxd8i5JcbM+nGxkzYWQW3KGaHlszTbf3S8k5oggnShDSaWgFFtKhdhDjcP2Q DMgOycm8wfSWbS9DKdOFEwzqm4FHF5jfSkjGBKxIs9Tz+opKD7NX6TZFq06x4Fv6F4 +Rtk9J0WL9nSSfqCXJvxg5cDiSQzpoZYQMix96OSzJM/zaU1Bzgw9V+JeQPeVzZvAA Fmo0KW9iLkzew== Date: Fri, 12 Aug 2022 07:59:58 +0100 Message-Id: <20220812065958.2469-1-paren@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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=1660287714; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YSrV8cErb07j+dAvnkT3f4bFAbY6Zt46kUgM/rbzoeo=; b=YXVyzBaevrWkqj7mr/7UhTLL2Xk6MOjl/F2cCcgPExTDbI8nf08eT3YvHQotR7HhCpJU0z 2y2K4XoREgstM8zSFIL4DUfnXQJRvCFSzH+KWaqBAiSLgaFvoVPCXo/iLEbWnOBvJSfrYO 5OS1y4H2tDFTJtY3PeTjw67oxCkKADjuJml1wjKlfUlzMauHa81POW0RIEH6O/uUZoIYqE EOZwdg5APq/HMz8gYqAnkXT3ZgRZpebpxWrNoTya1oJ6dpJnI0/plYpydUQpDEYyXHSXJq uD20HUV0dOU7Ud8U6YhMFKNsSGD9c9vjSer5EVvyGfE8gIqO8TPLNlb6WTWm2g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660287714; a=rsa-sha256; cv=none; b=HhKIUQmFkby50QAgcgLCRc9HCY8af6niUEKqN49lHsz+upwpa0KyD8j3j9mk9uXTE5lZvy qe+ReavI2m8Ho/m5m1apxHhtOoWmuCKoYFQHoX21dQCgjAtBnPfFFj/8qZD/BKfFTl+aiq HzpsfkXzDghHQ9t/8z32m4cN4WL0uom7IycfrfGQyw6mCUcis6gqUYj18TdzgpUhBqZvgj lXU55XZmmtH914UE0yLHCxN1fhD4rEfeshYdaDpUAKRfFOM3o8OWaKd5WCrycFTQtvnwMT Vd8Md1dJbTpq1wGMs0chQG6S16oN1txFjX+dWAj7KJHeTYMhN+t5rfud6xs/lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=Q8UZk97c; 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: -3.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=Q8UZk97c; 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: EC9453C5AE X-Spam-Score: -3.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: tPjbfZEDhfyh * 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..50c7b91526 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 _ + (let ((cmake-dir (string-append #$output + "/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 a graphics library binding generator. It generates code +for calling into Vulkan and GL-related APIs from the official Khronos XML +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 for enabling features such as the generation +of header-only C bindings +@item Improvements for CMake support +@item Better API +@end enumerate") + (license license:expat)))) + (define-public s2tc (package (name "s2tc") -- 2.37.1