From f963d336ab36f18897c58e2c0eb6b74515da997a Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Mon, 12 Jan 2026 23:34:02 +0100 Subject: [PATCH 1/5] update Monado --- flake.nix | 2 +- monado-rev | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 79991652..24f0e451 100644 --- a/flake.nix +++ b/flake.nix @@ -58,7 +58,7 @@ # Keep in sync with CMakeLists.txt monado rev rev = lib.strings.trim (builtins.readFile ./monado-rev); # Nix will output the correct hash when it doesn't match - hash = "sha256-nlfrx6NRYV9eMs+Rb9JBh+mwucL6v+bB3jBrPsSxh+Q="; + hash = "sha256-zU8TLRzd4pb9KzVT/xana6rArcSu31wlCD54p7PJ9UY="; }; }; diff --git a/monado-rev b/monado-rev index 126b6363..a358424c 100644 --- a/monado-rev +++ b/monado-rev @@ -1 +1 @@ -86a0ea4d3e396d4d03274252c400ddb62d1049b0 +93d5848d2f5f835fe29291dc7e0f094f3e02de78 From 061039b64573a5bc9debf8380ca1ece479f4031c Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Mon, 12 Jan 2026 23:41:57 +0100 Subject: [PATCH 2/5] glm hash was changed once again --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0adf6d01..b45e42d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -239,7 +239,7 @@ FetchContent_Declare(simdjson EXCLUDE_FROM_ALL SYSTEM URL https://github.co FetchContent_Declare(fastgltf EXCLUDE_FROM_ALL SYSTEM URL https://github.com/spnda/fastgltf/archive/refs/tags/v0.9.0.tar.gz URL_HASH SHA256=0bb564e127b14c22f062db50f89381dd2e0a20dbaf4987ca138a4ae8728712f9) FetchContent_Declare(glm EXCLUDE_FROM_ALL SYSTEM URL https://github.com/g-truc/glm/releases/download/1.0.2/glm-1.0.2.zip - URL_HASH SHA256=203b64abc82e4d8697cc5aeedc93117fc1ee52d36e7cdcfc0854fa2c607edaae) + URL_HASH SHA256=77fff075c5ab0caf076fade41558c5458d9a242aba2b2076bb72008bdb51a35e) FetchContent_Declare(openxr_loader EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/OpenXR-SDK/archive/refs/tags/release-1.1.54.tar.gz URL_HASH SHA256=2055688081066e37238be996534f349420ac52ed34f8514836704232121ee7f3) FetchContent_Declare(spdlog EXCLUDE_FROM_ALL SYSTEM URL https://github.com/gabime/spdlog/archive/refs/tags/v1.16.0.tar.gz From 6a49861b504daa9a77a56ccb79aa62b1a98b047f Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Mon, 12 Jan 2026 23:43:49 +0100 Subject: [PATCH 3/5] Update eigen for Flatpak build --- flatpak/io.github.wivrn.wivrn.yml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flatpak/io.github.wivrn.wivrn.yml.in b/flatpak/io.github.wivrn.wivrn.yml.in index 9b7de5f7..dba59231 100644 --- a/flatpak/io.github.wivrn.wivrn.yml.in +++ b/flatpak/io.github.wivrn.wivrn.yml.in @@ -221,7 +221,7 @@ modules: sources: - type: git url: https://gitlab.com/libeigen/eigen.git - tag: 3.4.0 + tag: 5.0.1 cleanup: - '*' From cd8abacd7bc084f47c68d60fe442fb539c7a02aa Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 13 Jan 2026 14:09:42 +0100 Subject: [PATCH 4/5] Update crostool-ng --- flatpak/io.github.wivrn.wivrn.yml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flatpak/io.github.wivrn.wivrn.yml.in b/flatpak/io.github.wivrn.wivrn.yml.in index dba59231..6c85ff0c 100644 --- a/flatpak/io.github.wivrn.wivrn.yml.in +++ b/flatpak/io.github.wivrn.wivrn.yml.in @@ -72,7 +72,7 @@ modules: sources: - type: git url: https://github.com/crosstool-ng/crosstool-ng.git - tag: 70c2b00ad79a0a21a48e5a0eedc9f91c374af21d + tag: 620b909cd0713f68084378b63cf61b5232757b90 - type: shell commands: - sed -i 's/-O2 -g/-O2/' scripts/crosstool-NG.sh From a49cc3dea850556abe3f80c7a372a687fc462c72 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 13 Jan 2026 15:53:51 +0100 Subject: [PATCH 5/5] Cleanup some files during ct-ng build (flatpak) --- flatpak/io.github.wivrn.wivrn.yml.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/flatpak/io.github.wivrn.wivrn.yml.in b/flatpak/io.github.wivrn.wivrn.yml.in index 6c85ff0c..30274957 100644 --- a/flatpak/io.github.wivrn.wivrn.yml.in +++ b/flatpak/io.github.wivrn.wivrn.yml.in @@ -75,8 +75,16 @@ modules: tag: 620b909cd0713f68084378b63cf61b5232757b90 - type: shell commands: + # Make the build lighter: + # don't generate debug symbols at all - sed -i 's/-O2 -g/-O2/' scripts/crosstool-NG.sh - sed -i 's/-g -O2/-O2/' scripts/build/cc/gcc.sh + # Delete extracted sources when no longer needed + - sed -i '/# Cleanup/a rm -r "$(readlink "${kernel_path}")"' scripts/build/kernel/linux.sh + # Delete tarballs once extracted + - sed -i '2228i CT_DoExecLog FILE rm "$(readlink -f "${file}")"' scripts/functions + # Delete big test files + - sed -i '/CT_ExtractPatch GCC/a CT_Pushd "${CT_SRC_DIR}/gcc/gcc/testsuite/";CT_DoExecLog ALL rm -rf $(ls -1 | grep -v selftests);CT_Popd' scripts/build/cc/gcc.sh cleanup: - '*'