mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-05 20:45:43 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e5810cb2b6 | ||
|
|
c26fe39b60 |
No files matched your search
@@ -26,7 +26,7 @@ concurrency:
|
|||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PRELOAD_CACHE_VERSION: v1
|
PRELOAD_CACHE_VERSION: v2
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -160,7 +160,7 @@ jobs:
|
|||||||
D=app/src/main/assets/linuxfs
|
D=app/src/main/assets/linuxfs
|
||||||
mkdir -p "$D"
|
mkdir -p "$D"
|
||||||
aarch64-linux-gnu-g++ -shared -fPIC -O2 -Wall -Wno-attributes -Wno-nonnull-compare \
|
aarch64-linux-gnu-g++ -shared -fPIC -O2 -Wall -Wno-attributes -Wno-nonnull-compare \
|
||||||
-pthread -std=c++17 -static-libstdc++ -static-libgcc \
|
-pthread -std=c++17 -static-libstdc++ -static-libgcc -Wl,--exclude-libs,ALL \
|
||||||
-o "$D/libfakeinput.so" app/src/main/cpp/fakeinput_steam.cpp -ldl
|
-o "$D/libfakeinput.so" app/src/main/cpp/fakeinput_steam.cpp -ldl
|
||||||
aarch64-linux-gnu-strip --strip-unneeded "$D/libfakeinput.so"
|
aarch64-linux-gnu-strip --strip-unneeded "$D/libfakeinput.so"
|
||||||
aarch64-linux-gnu-gcc -shared -fPIC -O2 -Wall -pthread \
|
aarch64-linux-gnu-gcc -shared -fPIC -O2 -Wall -pthread \
|
||||||
@@ -270,6 +270,12 @@ jobs:
|
|||||||
for sym in open openat ioctl read close poll ppoll select stat fstat access scandir; do
|
for sym in open openat ioctl read close poll ppoll select stat fstat access scandir; do
|
||||||
grep -qx "$sym" <<<"$FAKE" || { echo "::error::libfakeinput.so does not export $sym"; exit 1; }
|
grep -qx "$sym" <<<"$FAKE" || { echo "::error::libfakeinput.so does not export $sym"; exit 1; }
|
||||||
done
|
done
|
||||||
|
# The static C++ runtime stays private: every session process preloads this library,
|
||||||
|
# and an exported personality routine takes over other programs' unwinding (shadPS4
|
||||||
|
# aborted in pthread_exit).
|
||||||
|
if grep -qxE '__gxx_personality_v0|__cxa_throw|_Unwind_Resume' <<<"$FAKE"; then
|
||||||
|
echo "::error::libfakeinput.so exports the C++ runtime"; exit 1
|
||||||
|
fi
|
||||||
SESSION=$(syms "$D/libblsession.so")
|
SESSION=$(syms "$D/libblsession.so")
|
||||||
for sym in socket bind getsockname setsockopt statfs statvfs; do
|
for sym in socket bind getsockname setsockopt statfs statvfs; do
|
||||||
grep -qx "$sym" <<<"$SESSION" || { echo "::error::libblsession.so does not export $sym"; exit 1; }
|
grep -qx "$sym" <<<"$SESSION" || { echo "::error::libblsession.so does not export $sym"; exit 1; }
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ docker run --rm --platform linux/amd64 \
|
|||||||
d=app/src/main/assets/linuxfs
|
d=app/src/main/assets/linuxfs
|
||||||
mkdir -p "$d"
|
mkdir -p "$d"
|
||||||
aarch64-linux-gnu-g++ -shared -fPIC -O2 -Wall -Wno-attributes -Wno-nonnull-compare \
|
aarch64-linux-gnu-g++ -shared -fPIC -O2 -Wall -Wno-attributes -Wno-nonnull-compare \
|
||||||
-pthread -std=c++17 -static-libstdc++ -static-libgcc \
|
-pthread -std=c++17 -static-libstdc++ -static-libgcc -Wl,--exclude-libs,ALL \
|
||||||
-o "$d/libfakeinput.so" app/src/main/cpp/fakeinput_steam.cpp -ldl
|
-o "$d/libfakeinput.so" app/src/main/cpp/fakeinput_steam.cpp -ldl
|
||||||
aarch64-linux-gnu-strip --strip-unneeded "$d/libfakeinput.so"
|
aarch64-linux-gnu-strip --strip-unneeded "$d/libfakeinput.so"
|
||||||
aarch64-linux-gnu-gcc -shared -fPIC -O2 -Wall -pthread \
|
aarch64-linux-gnu-gcc -shared -fPIC -O2 -Wall -pthread \
|
||||||
|
|||||||
@@ -55,6 +55,10 @@ if [ -n "${BL_DEBUG_DIR:-}" ]; then
|
|||||||
echo "== droiddeck-desktop $(date -u '+%Y-%m-%d %H:%M:%S UTC') renderer=$WLR_RENDERER"
|
echo "== droiddeck-desktop $(date -u '+%Y-%m-%d %H:%M:%S UTC') renderer=$WLR_RENDERER"
|
||||||
fi
|
fi
|
||||||
export WLR_BACKENDS=wayland
|
export WLR_BACKENDS=wayland
|
||||||
|
# The app's compositor draws no wl_pointer cursor surfaces, so a cursor wlroots hands to its
|
||||||
|
# parent ("hardware" cursor on the wayland backend) never shows - on the GPU renderers the whole
|
||||||
|
# cursor was missing. Draw it into the desktop's own frames instead.
|
||||||
|
export WLR_NO_HARDWARE_CURSORS=${WLR_NO_HARDWARE_CURSORS:-1}
|
||||||
mkdir -p "$HOME/.config/labwc" "$HOME/.config/lxqt"
|
mkdir -p "$HOME/.config/labwc" "$HOME/.config/lxqt"
|
||||||
# Our defaults for labwc and the panel, refreshed every session. What a user changes in the
|
# Our defaults for labwc and the panel, refreshed every session. What a user changes in the
|
||||||
# panel's own settings lands in panel.conf and is kept; only rc.xml and autostart are ours.
|
# panel's own settings lands in panel.conf and is kept; only rc.xml and autostart are ours.
|
||||||
|
|||||||
Reference in new issue
Block a user