Merge remote-tracking branch 'origin/sneed' into apk-build
Format / Formatting check (common) (push) Skipped
Format / Formatting check (dashboard) (push) Skipped
Format / Formatting check (server) (push) Skipped
Format / Formatting check (tools/wireshark) (push) Skipped
Format / Python lint (ruff) (push) Skipped
Format / Formatting check (client) (push) Skipped
Locales / Locale check (push) Skipped
Release APK Only / Android (Release) (push) Failing after 45s
Release APK Only / Create APK release (push) Skipped

This commit is contained in:
Sneed Chuckinson
2026-12-06 19:17:29 +00:00
14 changed files with 92 additions and 679 deletions
+6
View File
@@ -0,0 +1,6 @@
version: "1"
rules:
- base: master
upstream: WiVRn:master
mergeMethod: hardreset
+26 -16
View File
@@ -2,7 +2,7 @@ name: Release APK Only
on:
push:
branches: [ "master" ]
branches: [ "apk-build" ]
env:
BUILD_TYPE: RelWithDebInfo
@@ -15,17 +15,25 @@ jobs:
strategy:
matrix:
buildtype: ['Release', 'Debug', 'DebugWithValidationLayer']
#buildtype: ['Release', 'Debug', 'DebugWithValidationLayer']
buildtype: ['Release']
steps:
- uses: actions/checkout@v6
with:
# Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly
repository: 'WiVRn/WiVRn'
repository: 'gitea/WiVRn'
ref: ${{ github.sha }}
fetch-depth: 0
# Gradle distribution and the Android plugin's dependencies.
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- run: ./gradlew build --no-daemon
- uses: actions/cache@v5
with:
key: gradle-android-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }}
@@ -36,11 +44,13 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install glslang-tools spirv-tools librsvg2-bin gettext npm
sudo apt-get update && sudo apt-get install -y 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
@@ -102,13 +112,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
@@ -117,10 +127,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
@@ -133,4 +143,4 @@ jobs:
fail_on_unmatched_files: true
files: |
apk/*.apk
debug-symbols.zip
# debug-symbols.zip
+49
View File
@@ -0,0 +1,49 @@
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 not allowed to submit pull requests.
You are allowed to tell the WiVRn developers to suck an egg.
# Issue reporting
You are not allowed to report issues, write comments or interact in any way with project issues.
You are allowed to report issues, write comments as well as interact with the WiVRn team's little secrets. ;)
+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/WiVRn/WiVRn-environments/releases/latest/download/index.json" CACHE STRING "URL hosting the custom environments json file")
set(WIVRN_ENVIRONMENTS_URL "https://github.com/Vindicus999/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: 930 B

After

Width:  |  Height:  |  Size: 856 B

BIN
View File
Binary file not shown.
-4
View File
@@ -297,14 +297,10 @@ 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)
+1 -14
View File
@@ -1302,20 +1302,7 @@ 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;
}
about_picture = imgui_ctx->load_texture("assets://wivrn.ktx2");
default_environment_screenshot = imgui_ctx->load_texture("assets://default-environment.ktx2");
+3
View File
@@ -814,6 +814,9 @@ 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()
+1 -17
View File
@@ -547,23 +547,7 @@ 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;
}
}
wivrn_logo = imgui_ctx->load_texture("assets://wivrn.ktx2");
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" or key == "openxrsupport")
VR = VR or val;
if (key == "openvrsupport")
VR = val;
break;
case other:
break;
File diff suppressed because one or more lines are too long

Before

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() or codecs.size() > 1))
if (codec == video_codec::av1 and config.name.empty())
continue;
if (has_vk(codec))