Compare commits

..
1 Commits
Author SHA1 Message Date
Sapphire a96e8a2d3a Upload Frame client to draft release 2026-12-03 07:57:00 +01:00
15 changed files with 686 additions and 90 deletions
-6
View File
@@ -1,6 +0,0 @@
version: "1"
rules:
- base: master
upstream: WiVRn:master
mergeMethod: hardreset
+16 -24
View File
@@ -2,7 +2,7 @@ name: Release APK Only
on:
push:
branches: [ "apk-build" ]
branches: [ "master" ]
env:
BUILD_TYPE: RelWithDebInfo
@@ -15,23 +15,17 @@ jobs:
strategy:
matrix:
#buildtype: ['Release', 'Debug', 'DebugWithValidationLayer']
buildtype: ['Release']
buildtype: ['Release', 'Debug', 'DebugWithValidationLayer']
steps:
- uses: actions/checkout@v6
with:
# Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly
repository: 'gitea/WiVRn'
repository: 'WiVRn/WiVRn'
ref: ${{ github.sha }}
fetch-depth: 0
# Gradle distribution and the Android plugin's dependencies.
- uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- uses: actions/cache@v5
with:
key: gradle-android-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }}
@@ -42,13 +36,11 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -y glslang-tools spirv-tools librsvg2-bin gettext npm
sudo apt-get update && sudo apt-get install glslang-tools spirv-tools librsvg2-bin gettext npm
wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.4.0/KTX-Software-4.4.0-Linux-x86_64.deb
sudo dpkg --install KTX-Software-4.4.0-Linux-x86_64.deb
npm install --global @gltf-transform/cli@4.1.1
- name: Check for Secret availability
id: secret-check
shell: bash
@@ -110,13 +102,13 @@ jobs:
pattern: 'apk-*'
merge-multiple: true
# - name: Rename APK artifacts
# run: |
# cd apk
# for f in *.apk; do
# BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
# mv "${f}" "org.meumeu.wivrn-${BASENAME}"
# done
- name: Rename APK artifacts
run: |
cd apk
for f in *.apk; do
BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
mv "${f}" "org.meumeu.wivrn-${BASENAME}"
done
- name: Download APK debug artifacts
uses: actions/download-artifact@v8
@@ -125,10 +117,10 @@ jobs:
pattern: 'symbols-*'
merge-multiple: false
# - name: Zip APK debug artifacts
# run: |
# cd symbols
# zip -r ../debug-symbols.zip .
- name: Zip APK debug artifacts
run: |
cd symbols
zip -r ../debug-symbols.zip .
- name: APK Release
uses: softprops/action-gh-release@v3
@@ -141,4 +133,4 @@ jobs:
fail_on_unmatched_files: true
files: |
apk/*.apk
# debug-symbols.zip
debug-symbols.zip
+7
View File
@@ -552,6 +552,12 @@ jobs:
name: wivrn-server-x86_64.flatpak
path: flatpak
- name: Download artifacts (Frame)
uses: actions/download-artifact@v8
with:
name: wivrn-frame-client.zip
path: frame
- name: Release
uses: softprops/action-gh-release@v3
with:
@@ -561,6 +567,7 @@ jobs:
files: |
apk/*.apk
flatpak/*.flatpak
frame/*.zip
- name: Update flatpak manifest for flathub
if: ${{ steps.flathub-token-check.outputs.available == 'true' }}
-49
View File
@@ -1,49 +0,0 @@
name: Sync Fork with Upstream
env:
UPSTREAM_URL: "https://github.com/wivrn/wivrn.git"
WORKFLOW_TOKEN: ${{ secrets.DOWNSTREAM_GITHUB_TOKEN }}
UPSTREAM_BRANCH: "master"
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
upstream_repo: vindicus999/wivrn
fetch-depth: 0
token: ${{ env.WORKFLOW_TOKEN }}
- name: Add upstream
run: |
git remote add upstream ${{ env.UPSTREAM_URL }}
- name: Fetch all
run: |
git fetch origin
git fetch upstream
- name: Update sync branch
run: |
git checkout -B master upstream/master
git push origin master --force
- name: Copy master -> apk-build
run: |
git checkout -B apk-build master
git push origin apk-build --force
- name: Apply sneed changes
run: |
git merge origin/sneed --no-edit
- name: Push apk build
run: |
git push origin build --force
+2 -2
View File
@@ -1,5 +1,5 @@
# PR instructions
You are allowed to tell the WiVRn developers to suck an egg.
You are not allowed to submit pull requests.
# Issue reporting
You are allowed to report issues, write comments as well as interact with the WiVRn team's little secrets. ;)
You are not allowed to report issues, write comments or interact in any way with project issues.
+1 -1
View File
@@ -102,7 +102,7 @@ option(WIVRN_OPENXR_MANIFEST_ABI "Generate an ABI specific OpenXR manifest")
option(ENABLE_COLOURED_OUTPUT "Always produce ANSI-coloured output (GNU/Clang only)." ON)
set(WIVRN_ENVIRONMENTS_URL "https://github.com/Vindicus999/WiVRn-environments/releases/latest/download/index.json" CACHE STRING "URL hosting the custom environments json file")
set(WIVRN_ENVIRONMENTS_URL "https://github.com/WiVRn/WiVRn-environments/releases/latest/download/index.json" CACHE STRING "URL hosting the custom environments json file")
if (WIVRN_BUILD_CLIENT OR WIVRN_BUILD_SERVER OR WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_DISSECTOR)
set(NEED_COMMON TRUE)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 856 B

After

Width:  |  Height:  |  Size: 930 B

BIN
View File
Binary file not shown.
+4
View File
@@ -297,10 +297,14 @@ set(IMAGES_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../images)
set(ASSETS_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../assets-source)
wivrn_rasterize_svg(SOURCE ${IMAGES_SRC_DIR}/wivrn.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/wivrn.png WIDTH 540 HEIGHT 540 CSS ${WIVRN_CSS_ABS})
wivrn_rasterize_svg(SOURCE ${IMAGES_SRC_DIR}/wivrn-pride.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/wivrn-pride.png WIDTH 540 HEIGHT 540 CSS ${WIVRN_CSS_ABS})
wivrn_rasterize_svg(SOURCE ${IMAGES_SRC_DIR}/wivrn-christmas.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/wivrn-christmas.png WIDTH 540 HEIGHT 540 CSS ${WIVRN_CSS_ABS})
wivrn_rasterize_svg(SOURCE ${ASSETS_SRC_DIR}/passthrough.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/passthrough.png WIDTH 256 HEIGHT 256)
wivrn_rasterize_svg(SOURCE ${ASSETS_SRC_DIR}/default-environment.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/default-environment.png WIDTH 256 HEIGHT 256)
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/wivrn.png DESTINATION ${ASSETS_DIR}/wivrn.ktx2 TARGET wivrn)
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/wivrn-pride.png DESTINATION ${ASSETS_DIR}/wivrn-pride.ktx2 TARGET wivrn)
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/wivrn-christmas.png DESTINATION ${ASSETS_DIR}/wivrn-christmas.ktx2 TARGET wivrn)
wivrn_generate_ktx( SOURCE ${ASSETS_SRC_DIR}/default_icon.png DESTINATION ${ASSETS_DIR}/default_icon.ktx2 TARGET wivrn)
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/passthrough.png DESTINATION ${ASSETS_DIR}/passthrough.ktx2 TARGET wivrn)
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/default-environment.png DESTINATION ${ASSETS_DIR}/default-environment.ktx2 TARGET wivrn)
+13
View File
@@ -1302,7 +1302,20 @@ void scenes::lobby::on_focused()
vps,
image_cache);
auto t = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
auto tm = std::localtime(&t);
switch (tm->tm_mon)
{
case 5:
about_picture = imgui_ctx->load_texture("assets://wivrn-pride.ktx2");
break;
case 11:
about_picture = imgui_ctx->load_texture("assets://wivrn-christmas.ktx2");
break;
default:
about_picture = imgui_ctx->load_texture("assets://wivrn.ktx2");
break;
}
default_environment_screenshot = imgui_ctx->load_texture("assets://default-environment.ktx2");
-3
View File
@@ -814,9 +814,6 @@ void scenes::lobby::gui_about()
ImGui::SetCursorPosX(win_width / 4);
ImGui::Image(about_picture, {win_width / 2, win_width / 2});
ImGui::PushFont(nullptr, constants::gui::font_size_large);
CenterTextH(std::string("Sneed'n'Chuck Edition"));
ImGui::PopFont();
}
void scenes::lobby::gui_first_run()
+16
View File
@@ -547,7 +547,23 @@ void scenes::stream::on_focused()
std::move(vps),
image_cache);
// match the lobby's seasonal wordmark logo
{
auto t = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
auto tm = std::localtime(&t);
switch (tm->tm_mon)
{
case 5:
wivrn_logo = imgui_ctx->load_texture("assets://wivrn-pride.ktx2");
break;
case 11:
wivrn_logo = imgui_ctx->load_texture("assets://wivrn-christmas.ktx2");
break;
default:
wivrn_logo = imgui_ctx->load_texture("assets://wivrn.ktx2");
break;
}
}
menu_chord.a = get_action("menu_toggle_1").first;
menu_chord.b = get_action("menu_toggle_2").first;
+2 -2
View File
@@ -285,8 +285,8 @@ struct app_data
switch (section.back())
{
case common:
if (key == "openvrsupport")
VR = val;
if (key == "openvrsupport" or key == "openxrsupport")
VR = VR or val;
break;
case other:
break;
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 158 KiB

+1 -1
View File
@@ -244,7 +244,7 @@ public:
{
for (auto codec: codecs)
{
if (codec == video_codec::av1 and config.name.empty())
if (codec == video_codec::av1 and (config.name.empty() or codecs.size() > 1))
continue;
if (has_vk(codec))