Compare commits

...

2 commits

Author SHA1 Message Date
71eede556b Fixup zrythm
1. Needs xorg
2. Somehow we now need to remove the official carla package manually
2025-05-26 21:31:23 -04:00
a721ebd9c1 Fixup display server passthrough 2025-03-28 21:13:15 -04:00
2 changed files with 5 additions and 6 deletions

View file

@ -16,7 +16,7 @@ WORKDIR /src
# carla-git (TODO: Remove temporary workaround)
RUN git clone https://aur.archlinux.org/carla-git.git && \
cd carla-git && sed -i 's/$_name.git/$_name.git#commit=a580473fbca5b1a14af45518e4d4fbfeabef8b6e/' PKGBUILD && \
makepkg --noconfirm -sci
sudo pacman -Rdd --noconfirm carla && makepkg --noconfirm -sci
# libaudec
RUN git clone https://aur.archlinux.org/libaudec.git && \
@ -52,6 +52,7 @@ RUN sudo rm -rf /src
RUN sudo dbus-uuidgen --ensure
LABEL net.typeblog.dobu.desktop_file_path=/usr/share/applications/org.zrythm.Zrythm.desktop
LABEL net.typeblog.dobu.x11_required=true
# A dbus daemon is required for Zrythm
# It does not have to share the host one though; launching any random dbus daemon would work

View file

@ -57,13 +57,11 @@ if is_in_array "$1" "${DISPLAY_SERVER_APP_ALLOWLIST[@]}"; then
WAYLAND_SRC="${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}"
if [ -z "$DISPLAY" ]; then
# TODO: Maybe we can just ignore Xorg in these cases
die "$$DISPLAY must be set for apps granted full Wayland / Xorg access"
fi
if [ ! -z "$DISPLAY" ]; then
XORG_SRC="/tmp/.X11-unix/X${DISPLAY/:/}"
fi
if [ ! -S "${XORG_SRC}" ] || [ ! -S "${WAYLAND_SRC}" ]; then
if [ ! -S "${XORG_SRC}" ] && [ ! -S "${WAYLAND_SRC}" ]; then
die "Wayland / Xorg sockets do not exist"
fi
else