Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb1d0927ba | ||
|
|
88e50d35c7 | ||
|
|
3fac241a20 | ||
|
|
abe0722ecc | ||
|
|
7724168a15 | ||
|
|
ce48577303 | ||
|
|
354137b6bb | ||
|
|
a96e8a2d3a | ||
|
|
d8bc113465 | ||
|
|
36bb84597f | ||
|
|
ade51e2821 |
@@ -0,0 +1,6 @@
|
||||
version: "1"
|
||||
rules:
|
||||
- base: master
|
||||
upstream: WiVRn:master
|
||||
mergeMethod: hardreset
|
||||
|
||||
@@ -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: 'Vindicus999/WiVRn'
|
||||
repository: 'gitea/WiVRn'
|
||||
ref: ${{ github.sha }}
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -36,7 +37,7 @@ 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
|
||||
@@ -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
|
||||
|
||||
@@ -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' }}
|
||||
|
||||
@@ -32,14 +32,12 @@ jobs:
|
||||
|
||||
- name: Update sync branch
|
||||
run: |
|
||||
git config --global user.email "sneed@feedandse.edu"
|
||||
git config --global user.name "Sneed Chuckinson"
|
||||
git checkout -B sync upstream/master
|
||||
git push origin sync --force
|
||||
git checkout -B master upstream/master
|
||||
git push origin master --force
|
||||
|
||||
- name: Copy master -> apk-build
|
||||
run: |
|
||||
git checkout -B apk-build sync
|
||||
git checkout -B apk-build master
|
||||
git push origin apk-build --force
|
||||
|
||||
- name: Apply sneed changes
|
||||
@@ -48,4 +46,4 @@ jobs:
|
||||
|
||||
- name: Push apk build
|
||||
run: |
|
||||
git push origin apk-build --force
|
||||
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)
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
menu_chord.a = get_action("menu_toggle_1").first;
|
||||
menu_chord.b = get_action("menu_toggle_2").first;
|
||||
|
||||
Vendored
+26
-1
@@ -7,7 +7,9 @@ Build-Depends:
|
||||
debhelper-compat (= 13),
|
||||
cmake (>= 3.25),
|
||||
pkg-config,
|
||||
extra-cmake-modules,
|
||||
glslang-tools,
|
||||
libarchive-dev,
|
||||
libavahi-client-dev,
|
||||
libavahi-glib-dev,
|
||||
libavcodec-dev,
|
||||
@@ -15,7 +17,6 @@ Build-Depends:
|
||||
libavutil-dev,
|
||||
libbsd-dev,
|
||||
libboost-all-dev,
|
||||
libcap-dev,
|
||||
libcjson-dev,
|
||||
libcli11-dev,
|
||||
libeigen3-dev,
|
||||
@@ -23,8 +24,15 @@ Build-Depends:
|
||||
libgl1-mesa-dev,
|
||||
libglu1-mesa-dev,
|
||||
libglx-dev,
|
||||
libkf6coreaddons-dev,
|
||||
libkf6i18n-dev,
|
||||
libkf6iconthemes-dev,
|
||||
libkf6qqc2desktopstyle-dev,
|
||||
libkirigami-dev,
|
||||
libnotify-dev,
|
||||
libpipewire-0.3-dev,
|
||||
librsvg2-dev,
|
||||
libssl-dev,
|
||||
libswscale-dev,
|
||||
libsystemd-dev,
|
||||
libudev-dev,
|
||||
@@ -38,8 +46,10 @@ Build-Depends:
|
||||
mesa-common-dev,
|
||||
nlohmann-json3-dev,
|
||||
qt6-base-dev,
|
||||
qt6-declarative-dev,
|
||||
qt6-tools-dev,
|
||||
qcoro-qt6-dev,
|
||||
qml6-module-org-kde-kirigamiaddons-formcard,
|
||||
xz-utils
|
||||
Standards-Version: 4.6.2
|
||||
Homepage: https://wivrn.github.io
|
||||
@@ -52,6 +62,21 @@ Multi-Arch: foreign
|
||||
Depends:
|
||||
${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
qml6-module-org-kde-coreaddons,
|
||||
qml6-module-org-kde-desktop,
|
||||
qml6-module-org-kde-kirigami,
|
||||
qml6-module-org-kde-kirigamiaddons-formcard,
|
||||
qml6-module-qt-labs-platform,
|
||||
qml6-module-qtcore,
|
||||
qml6-module-qtqml,
|
||||
qml6-module-qtquick,
|
||||
qml6-module-qtquick-controls,
|
||||
qml6-module-qtquick-dialogs,
|
||||
qml6-module-qtquick-layouts,
|
||||
qml6-module-qtquick-templates,
|
||||
qt6-svg-plugins,
|
||||
Recommends:
|
||||
adb,
|
||||
Description: OpenXR streaming application to a standalone headset
|
||||
WiVRn wirelessly connects a standalone VR headset to a Linux
|
||||
computer. You can then play PCVR games on the headset while
|
||||
|
||||
Vendored
-40
@@ -1,40 +0,0 @@
|
||||
#!/bin/sh
|
||||
# postinst script for wivrn.
|
||||
#
|
||||
# See: dh_installdeb(1).
|
||||
|
||||
set -e
|
||||
|
||||
# Summary of how this script can be called:
|
||||
# * <postinst> 'configure' <most-recently-configured-version>
|
||||
# * <old-postinst> 'abort-upgrade' <new version>
|
||||
# * <conflictor's-postinst> 'abort-remove' 'in-favour' <package>
|
||||
# <new-version>
|
||||
# * <postinst> 'abort-remove'
|
||||
# * <deconfigured's-postinst> 'abort-deconfigure' 'in-favour'
|
||||
# <failed-install-package> <version> 'removing'
|
||||
# <conflicting-package> <version>
|
||||
# for details, see https://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package.
|
||||
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
setcap CAP_SYS_NICE=+ep /usr/bin/wivrn-server
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument '$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
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