From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:f42::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4CGZFOYcy2EExQAAgWs5BA (envelope-from ) for ; Tue, 28 Dec 2021 15:19:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WMRjEeYcy2EfTQEAauVa8A (envelope-from ) for ; Tue, 28 Dec 2021 15:19:18 +0100 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 094F1356B0 for ; Tue, 28 Dec 2021 15:19:18 +0100 (CET) Received: from localhost ([::1]:55370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2DJt-00049x-4M for larch@yhetil.org; Tue, 28 Dec 2021 09:19:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2DJe-00049l-Ug for guix-patches@gnu.org; Tue, 28 Dec 2021 09:19:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33861) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2DJe-0001PR-Jy for guix-patches@gnu.org; Tue, 28 Dec 2021 09:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2DJe-0006y3-H6 for guix-patches@gnu.org; Tue, 28 Dec 2021 09:19:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52850] [PATCH] gnu: Add openxr. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Dec 2021 14:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52850 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52850@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164070112926743 (code B ref -1); Tue, 28 Dec 2021 14:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Dec 2021 14:18:49 +0000 Received: from localhost ([127.0.0.1]:45402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2DJR-0006xH-2Y for submit@debbugs.gnu.org; Tue, 28 Dec 2021 09:18:49 -0500 Received: from lists.gnu.org ([209.51.188.17]:57018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2DJP-0006x4-OL for submit@debbugs.gnu.org; Tue, 28 Dec 2021 09:18:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2DJP-00048c-Ju for guix-patches@gnu.org; Tue, 28 Dec 2021 09:18:47 -0500 Received: from mout02.posteo.de ([185.67.36.66]:39637) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2DJN-0001Mo-12 for guix-patches@gnu.org; Tue, 28 Dec 2021 09:18:47 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 1779B240103 for ; Tue, 28 Dec 2021 15:18:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1640701123; bh=B2xqJ6XysTdfrhHWfW6eDTJLAQt+XBHDn9wgaWesm5s=; h=From:To:Cc:Subject:Date:From; b=SGbSbz/EZWKoxOWF6pPOPJNESAXRlDlKp5Lzh0a17NbtdMwBBQV4tGX9IoBkiNkEE 7X1aCl8m+B8wddW/QkXxShnpsoi4Y600/IgcmMzC+ZecAB4wRAOBqyWxQgjSkCvXFf c9jmRKqBzfxFvC/fPRptyenWu3wePjY3j7dXGnKrhtrWc8MhyEBcTFI8xe0stTtQRS UNYKuyjSj13845gZmcK831NAO7a294IQwc3F3BXxQfsczl6Ok2oj3dZgQ5Eri1NELR ZsPKyVAemZqyKPPZUteY+lFEJf8n4h4BU3vYn13zPNkKKDel6Ddw4n07usbW7ZZoc3 Lnr5/ADbHtiBQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JNc8f02wXz9rwn; Tue, 28 Dec 2021 15:18:41 +0100 (CET) From: Vinicius Monego Date: Tue, 28 Dec 2021 14:17:02 +0000 Message-Id: <20211228141702.62910-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640701158; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=InqvNJbM85RBOKV04ypcHElNvc/bKEVDq9mnY+NQ0eQ=; b=HuHQkOOpEcI3A/5yOATNp50eY3JhuQCeZz+VLWXTM2nkUeYJ/TaIrqaRRxz9hkUByVEfYH n/NhJGlnBY/HPXsAiIiJ1Eq2QewuAzsy3CtTHwawAO5Yk/xPebIWqmbFQ6+HERC1CvbhXP Og3meFP4b7B5t5S/SQcZJJxyTdyarkr+mGzb++N7tWlXYbB7nWLsa8cLvtTYYRBGlY+4RR LOl8x4gbEkn4FQbVRRK7olLl/cY476xEcYYhVxHNDVT6UanManIdDiOR3GnASpeKHJe7ym j8TLE/7Yvmt5iLpfaKutmSBJeqI3MJaZcnZlJ8Q7dr0AHCcd5Yr8c7A/bVnFMQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640701158; a=rsa-sha256; cv=none; b=USHtratMHQ6XBcEKd8tWdGqs17sUO3HQxcjf5neRdruNqZSNrAqopa9Mq0oItIRIKjQUuE tIQ4GZZXUEhVlosKtylhRpNcPtbX5u3kuQp9zJjx/QZPXN3YBWY4o/yl4hI9gUG+3CTqbR xqCAA7ZrjLQ4V0NPFX/34A5dI2CsihNLAgz6xnf/tBlQNyUBGve/FoX5erc8kxPBhJHmLy kNHz4GGPQx9a9qqCJwrtQUuSY5dIaSxvvLj+mOLXTvpHbpWgeTyoOwG9QCG4jOFiLNKo/h karoygIwEiXexRhYACSW8P/k+roqNwU/UCfcCj0GgK6XZgTQKIlkAMiYFm1A/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="SGbSbz/E"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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: -0.87 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="SGbSbz/E"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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: 094F1356B0 X-Spam-Score: -0.87 X-Migadu-Scanner: scn1.migadu.com X-TUID: Sf92B8xUCYKM * gnu/packages/graphics.scm (openxr): New variable. --- gnu/packages/graphics.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 3be37d7841..5c7ae8831e 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -96,6 +96,7 @@ #:use-module (gnu packages qt) #:use-module (gnu packages readline) #:use-module (gnu packages sdl) + #:use-module (gnu packages serialization) #:use-module (gnu packages stb) #:use-module (gnu packages swig) #:use-module (gnu packages tbb) @@ -1919,6 +1920,38 @@ Some feature highlights: @end itemize\n") (license license:gpl3+)))) +(define-public openxr + (package + (name "openxr") + (version "1.0.20") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/KhronosGroup/OpenXR-SDK") + (commit (string-append "release-" version)))) + (file-name (git-file-name name version)) + (modules '((guix build utils))) + (snippet + '(begin + ;; Delete bundled jsoncpp. + (delete-file-recursively "src/external/jsoncpp") #t)) + (sha256 + (base32 "1jd7jjxlrdi8kjnmn3sad7dgb4h48dbxryfb9snf0kifn47bi20m")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) ; there are no tests + (native-inputs + (list pkg-config python shaderc vulkan-headers)) + (inputs + (list jsoncpp mesa vulkan-loader wayland)) + (home-page "https://www.khronos.org/openxr/") + (synopsis "Generated headers and sources for OpenXR loader") + (description "This package contains OpenXR headers, as well as source code +and build scripts for the OpenXR loader.") + ;; Dual licensed. Either license applies. + (license (list license:asl2.0 license:expat)))) + (define-public monado (package (name "monado") base-commit: 28b477cb2e5d9185da16f305caff15809dfa06f3 -- 2.30.2