From ca053be9a7ec54f09d64227e5f67a728fd2b8a09 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 18 May 2025 14:19:03 +0200 Subject: [PATCH 1/5] Prepare v0.25 release --- dashboard/io.github.wivrn.wivrn.metainfo.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dashboard/io.github.wivrn.wivrn.metainfo.xml b/dashboard/io.github.wivrn.wivrn.metainfo.xml index 87681212..c687b86c 100644 --- a/dashboard/io.github.wivrn.wivrn.metainfo.xml +++ b/dashboard/io.github.wivrn.wivrn.metainfo.xml @@ -69,6 +69,16 @@ + + https://github.com/WiVRn/WiVRn/releases/tag/v0.25 + +
    +
  • Client-side post-processing (sharpening)
  • +
  • Configurable OpenVR compatibility library and path to adb
  • +
  • Include xrizer in flatpak release
  • +
+
+
https://github.com/WiVRn/WiVRn/releases/tag/v0.24.1 From a0f6a2247db4cc00b9fa62ad2c7630fdedbce753 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 18 May 2025 17:06:54 +0200 Subject: [PATCH 2/5] fix apt usage in CI --- .github/workflows/Build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 0ae7d70b..d7b97df9 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -547,7 +547,7 @@ jobs: git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --global user.name "github-actions[bot]" - apt install python-toml python-aiohttp + sudo apt-get install python-toml python-aiohttp cd flathub git remote add upstream https://github.com/flathub/io.github.wivrn.wivrn.git From f59015654c1ea488ffbbefd164c9e7c77a0d6578 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 18 May 2025 20:57:11 +0200 Subject: [PATCH 3/5] fix build with older vulkan.hpp --- server/encoder/ffmpeg/video_encoder_va.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/encoder/ffmpeg/video_encoder_va.cpp b/server/encoder/ffmpeg/video_encoder_va.cpp index aec6d8c5..cbf2f9c5 100644 --- a/server/encoder/ffmpeg/video_encoder_va.cpp +++ b/server/encoder/ffmpeg/video_encoder_va.cpp @@ -312,7 +312,7 @@ video_encoder_va::video_encoder_va(wivrn_vk_bundle & vk, auto & image = (i == 0 ? luma : chroma); image = vk.device.createImage(image_create_info.get()); - auto [req, ded_req] = vk.device.getImageMemoryRequirements2({.image = image}); + auto [req, ded_req] = vk.device.getImageMemoryRequirements2({.image = *image}); const auto & object = desc->objects[desc->layers[i].planes[0].object_index]; auto memory_props = vk.device.getMemoryFdPropertiesKHR(vk::ExternalMemoryHandleTypeFlagBits::eDmaBufEXT, object.fd); @@ -327,7 +327,7 @@ video_encoder_va::video_encoder_va(wivrn_vk_bundle & vk, .fd = dup(object.fd), }, vk::MemoryDedicatedAllocateInfo{ - .image = image, + .image = *image, }, }; if (not(ded_req.prefersDedicatedAllocation or ded_req.requiresDedicatedAllocation)) From d90baecfef6866a41fdd3e55b6ff7e4ea288b1ed Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 18 May 2025 21:40:02 +0200 Subject: [PATCH 4/5] don't fail on repos with no tags --- tools/gen_debian_changelog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gen_debian_changelog.py b/tools/gen_debian_changelog.py index 6ab41130..30a72059 100755 --- a/tools/gen_debian_changelog.py +++ b/tools/gen_debian_changelog.py @@ -51,7 +51,7 @@ def main(): tree = ET.parse(args.metainfo) if args.nightly: - version = subprocess.check_output(["git", "describe", "--tags"]).decode().strip() + version = subprocess.check_output(["git", "describe", "--tags", "--always"]).decode().strip() version = version[1:] # remove the initial "v" write_entry( out=args.out, From bb0c847b92e8c2f912cf9303a4b7a703f3c8f526 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 18 May 2025 21:52:22 +0200 Subject: [PATCH 5/5] don't fail release on forks --- .github/workflows/Build.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index d7b97df9..90e7f0fb 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -510,10 +510,21 @@ jobs: fetch-depth: 0 path: wivrn + - name: Check for FLATHUB_TOKEN + id: flathub-token-check + shell: bash + run: | + if [[ "${{ secrets.FLATHUB_TOKEN}}" != '' ]]; then + echo "available=true" >> $GITHUB_OUTPUT; + else + echo "available=false" >> $GITHUB_OUTPUT; + fi + - uses: actions/checkout@v4 + if: ${{ steps.flathub-token-check.outputs.available == 'true' }} with: fetch-depth: 0 - repository: WiVRn/io.github.wivrn.wivrn + repository: ${{ github.repository_owner }}/io.github.wivrn.wivrn path: flathub token: ${{ secrets.FLATHUB_TOKEN }} @@ -541,6 +552,7 @@ jobs: flatpak/*.flatpak - name: Update flatpak manifest for flathub + if: ${{ steps.flathub-token-check.outputs.available == 'true' }} run: | WIVRN_TAG=$(echo $GITHUB_REF | sed -E -e "s,refs/[^/]*/v?,,") @@ -568,8 +580,9 @@ jobs: - name: Update release branch run: | cd wivrn - git fetch origin release - git push origin HEAD:release + if git fetch origin release; then + git push origin HEAD:release + fi sync_fork_downstream: name: Sync fork downstream