guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 555ccadb78f83cf07e9f96e7e68f8378e1f8304f
Author: Greg Hogan <[email protected]>
AuthorDate: Tue Jul 29 22:25:04 2025 +0000
gnu: openxr: Fix build.
* gnu/packages/graphics.scm (openxr)[source]: Delete unbundling snippet.
[inputs]: Remove jsoncpp.
Change-Id: I44c1e7db8df41b88b81bfd4e570df159cee79bb0
---
gnu/packages/graphics.scm | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index f98a6d435f..37eb060a8f 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -2801,11 +2801,15 @@ Some feature highlights:
(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")))
+ ;; When compiling against jsoncpp 1.9.6 the build fails with
+ ;; 'Unknown CMake command "check_required_components"'
+ ;; (see https://github.com/open-source-parsers/jsoncpp/issues/1568).
+ ;; When fixed uncomment the snippet and re-add jsoncpp as an input.
+ ;(modules '((guix build utils)))
+ ;(snippet
+ ; '(begin
+ ; ;; Delete bundled jsoncpp.
+ ; (delete-file-recursively "src/external/jsoncpp")))
(sha256
(base32 "0s66xgwkdj5vn05l493hqydrxfpxxidd6mcb8l7l5awhn88cy16f"))))
(build-system cmake-build-system)
@@ -2814,7 +2818,7 @@ Some feature highlights:
(native-inputs
(list pkg-config python shaderc vulkan-headers))
(inputs
- (list jsoncpp mesa vulkan-loader wayland))
+ (list 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