Compare commits

...
5 Commits
Author SHA1 Message Date
JeremyLARDENOIS abe0722ecc fix(debian): remove obsolete CAP_SYS_NICE setup
Remove the obsolete postinst script and libcap-dev build dependency instead of introducing a runtime dependency on libcap2-bin.
2026-12-04 08:23:42 +01:00
JeremyLARDENOIS 7724168a15 fix(debian): declare dashboard runtime dependencies
Declare the QML modules imported by the dashboard and the KDE
desktop style selected by default.

Shared library dependency generation does not cover all dynamically
loaded QML modules and image format plugins.

Add the Qt SVG plugin required to display SVG images.

Recommend adb for USB connectivity and Android APK installation,
while allowing the dashboard to run without it or use a custom
adb installation.
2026-12-04 08:23:42 +01:00
JeremyLARDENOIS ce48577303 fix(debian): add missing libcap2-bin dependency
The postinst script invokes setcap to grant CAP_SYS_NICE to
wivrn-server.

Without libcap2-bin, package configuration fails with exit status 127
on a minimal Ubuntu installation.

Installing libcap2-bin resolves the configuration failure and allows
the expected file capability to be applied successfully.
2026-12-04 08:23:42 +01:00
JeremyLARDENOIS 354137b6bb fix(debian): declare missing build dependencies
Declare the dependencies required to configure and build the server
and dashboard using the Debian packaging.

These dependencies were missing from debian/control despite being
required by CMake or installed explicitly by the CI workflow.

Validated with a successful dpkg-buildpackage binary build in a clean
Ubuntu 26.04 container using --no-install-recommends.
2026-12-04 08:23:42 +01:00
Sapphire a96e8a2d3a Upload Frame client to draft release 2026-12-03 07:57:00 +01:00
3 changed files with 33 additions and 41 deletions
+7
View File
@@ -552,6 +552,12 @@ jobs:
name: wivrn-server-x86_64.flatpak name: wivrn-server-x86_64.flatpak
path: flatpak path: flatpak
- name: Download artifacts (Frame)
uses: actions/download-artifact@v8
with:
name: wivrn-frame-client.zip
path: frame
- name: Release - name: Release
uses: softprops/action-gh-release@v3 uses: softprops/action-gh-release@v3
with: with:
@@ -561,6 +567,7 @@ jobs:
files: | files: |
apk/*.apk apk/*.apk
flatpak/*.flatpak flatpak/*.flatpak
frame/*.zip
- name: Update flatpak manifest for flathub - name: Update flatpak manifest for flathub
if: ${{ steps.flathub-token-check.outputs.available == 'true' }} if: ${{ steps.flathub-token-check.outputs.available == 'true' }}
+26 -1
View File
@@ -7,7 +7,9 @@ Build-Depends:
debhelper-compat (= 13), debhelper-compat (= 13),
cmake (>= 3.25), cmake (>= 3.25),
pkg-config, pkg-config,
extra-cmake-modules,
glslang-tools, glslang-tools,
libarchive-dev,
libavahi-client-dev, libavahi-client-dev,
libavahi-glib-dev, libavahi-glib-dev,
libavcodec-dev, libavcodec-dev,
@@ -15,7 +17,6 @@ Build-Depends:
libavutil-dev, libavutil-dev,
libbsd-dev, libbsd-dev,
libboost-all-dev, libboost-all-dev,
libcap-dev,
libcjson-dev, libcjson-dev,
libcli11-dev, libcli11-dev,
libeigen3-dev, libeigen3-dev,
@@ -23,8 +24,15 @@ Build-Depends:
libgl1-mesa-dev, libgl1-mesa-dev,
libglu1-mesa-dev, libglu1-mesa-dev,
libglx-dev, libglx-dev,
libkf6coreaddons-dev,
libkf6i18n-dev,
libkf6iconthemes-dev,
libkf6qqc2desktopstyle-dev,
libkirigami-dev,
libnotify-dev, libnotify-dev,
libpipewire-0.3-dev, libpipewire-0.3-dev,
librsvg2-dev,
libssl-dev,
libswscale-dev, libswscale-dev,
libsystemd-dev, libsystemd-dev,
libudev-dev, libudev-dev,
@@ -38,8 +46,10 @@ Build-Depends:
mesa-common-dev, mesa-common-dev,
nlohmann-json3-dev, nlohmann-json3-dev,
qt6-base-dev, qt6-base-dev,
qt6-declarative-dev,
qt6-tools-dev, qt6-tools-dev,
qcoro-qt6-dev, qcoro-qt6-dev,
qml6-module-org-kde-kirigamiaddons-formcard,
xz-utils xz-utils
Standards-Version: 4.6.2 Standards-Version: 4.6.2
Homepage: https://wivrn.github.io Homepage: https://wivrn.github.io
@@ -52,6 +62,21 @@ Multi-Arch: foreign
Depends: Depends:
${shlibs:Depends}, ${shlibs:Depends},
${misc: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 Description: OpenXR streaming application to a standalone headset
WiVRn wirelessly connects a standalone VR headset to a Linux WiVRn wirelessly connects a standalone VR headset to a Linux
computer. You can then play PCVR games on the headset while computer. You can then play PCVR games on the headset while
-40
View File
@@ -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