Merge remote-tracking branch 'origin/sneed' into apk-build
Release APK Only / Android (Release) (push) Skipped
Release APK Only / Create APK release (push) Skipped
Build / Linux (map[packages:extra-cmake-modules libarchive-dev libboost-all-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libkirigami-dev librsvg2-dev nlohmann-json3-dev qcoro-qt6-dev qml6-module-org-kde-kirigamiaddons-formcard prese… (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server-tracing]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server]) (push) Canceled after 0s
Format / Formatting check (client) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev preset:server-no-systemd]) (push) Canceled after 0s
Format / Formatting check (common) (push) Canceled after 0s
Locales / Locale check (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev wireshark-dev preset:dissector-no-system-boost]) (push) Canceled after 0s
Format / Formatting check (dashboard) (push) Canceled after 0s
Build / Android (DebugWithValidationLayer) (push) Canceled after 38s
Build / Linux (map[packages:libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev libpipewire-0.3-dev preset:client-no-system-boost]) (push) Canceled after 0s
Format / Formatting check (server) (push) Canceled after 0s
Build / Linux (map[packages:libsystemd-dev preset:server-no-system-boost]) (push) Canceled after 0s
Build / Steam Frame (push) Canceled after 0s
Format / Formatting check (tools/wireshark) (push) Canceled after 0s
Format / Python lint (ruff) (push) Canceled after 0s
Build / Android (Oculus) (push) Canceled after 0s
Build / Android (Release) (push) Canceled after 0s
Build / Build Ubuntu package (plucky) (push) Canceled after 0s
Build / Create release (push) Canceled after 0s
Build / Sync fork downstream (push) Canceled after 0s
Build / Android (Debug) (push) Canceled after 40s
Build / Test Nix package and devshell (push) Canceled after 52s
Build / Linux server (flatpak) (push) Canceled after 58s
Release APK Only / Android (Release) (push) Skipped
Release APK Only / Create APK release (push) Skipped
Build / Linux (map[packages:extra-cmake-modules libarchive-dev libboost-all-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libkirigami-dev librsvg2-dev nlohmann-json3-dev qcoro-qt6-dev qml6-module-org-kde-kirigamiaddons-formcard prese… (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server-tracing]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server]) (push) Canceled after 0s
Format / Formatting check (client) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev preset:server-no-systemd]) (push) Canceled after 0s
Format / Formatting check (common) (push) Canceled after 0s
Locales / Locale check (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev wireshark-dev preset:dissector-no-system-boost]) (push) Canceled after 0s
Format / Formatting check (dashboard) (push) Canceled after 0s
Build / Android (DebugWithValidationLayer) (push) Canceled after 38s
Build / Linux (map[packages:libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev libpipewire-0.3-dev preset:client-no-system-boost]) (push) Canceled after 0s
Format / Formatting check (server) (push) Canceled after 0s
Build / Linux (map[packages:libsystemd-dev preset:server-no-system-boost]) (push) Canceled after 0s
Build / Steam Frame (push) Canceled after 0s
Format / Formatting check (tools/wireshark) (push) Canceled after 0s
Format / Python lint (ruff) (push) Canceled after 0s
Build / Android (Oculus) (push) Canceled after 0s
Build / Android (Release) (push) Canceled after 0s
Build / Build Ubuntu package (plucky) (push) Canceled after 0s
Build / Create release (push) Canceled after 0s
Build / Sync fork downstream (push) Canceled after 0s
Build / Android (Debug) (push) Canceled after 40s
Build / Test Nix package and devshell (push) Canceled after 52s
Build / Linux server (flatpak) (push) Canceled after 58s
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
version: "1"
|
||||
rules:
|
||||
- base: master
|
||||
upstream: WiVRn:master
|
||||
mergeMethod: hardreset
|
||||
|
||||
@@ -2,7 +2,7 @@ name: Release APK Only
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
branches: [ "apk-build" ]
|
||||
|
||||
env:
|
||||
BUILD_TYPE: RelWithDebInfo
|
||||
@@ -15,13 +15,14 @@ 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: 'Vindicus999/WiVRn'
|
||||
ref: ${{ github.sha }}
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -102,13 +103,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 +118,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 +134,4 @@ jobs:
|
||||
fail_on_unmatched_files: true
|
||||
files: |
|
||||
apk/*.apk
|
||||
debug-symbols.zip
|
||||
# debug-symbols.zip
|
||||
|
||||
@@ -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
|
||||
@@ -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
@@ -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 |
Binary file not shown.
@@ -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
@@ -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");
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 |
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user