summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Hogan <code@greghogan.com>2025-07-29 22:25:04 +0000
committerGreg Hogan <code@greghogan.com>2025-08-04 04:11:34 +0000
commit555ccadb78f83cf07e9f96e7e68f8378e1f8304f (patch)
tree4fe6cb6f40f28a214550a72ec6183595dc0f2a68
parentf67a20bebdd623045ac9fedd9e16a5e725523dc1 (diff)
gnu: openxr: Fix build.
* gnu/packages/graphics.scm (openxr)[source]: Delete unbundling snippet. [inputs]: Remove jsoncpp. Change-Id: I44c1e7db8df41b88b81bfd4e570df159cee79bb0
-rw-r--r--gnu/packages/graphics.scm16
1 files changed, 10 insertions, 6 deletions
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index f98a6d435fa..37eb060a8f4 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