linux-qubasis

linux oasis port as a qubes template

git clone https://9o.is/git/linux-qubasis.git

commit f54f887187c3e198b4d8d5d4a02144aa372258c8
parent 351f3002bf3fbd71c5b8247d98a3306e8f041076
Author: Jul <jul@9o.is>
Date:   Fri, 28 Nov 2025 08:41:17 -0500

add velox with linking errors

Diffstat:
M.gitmodules | 4++++
Mpkg/gen.sh | 1+
Mpkg/genfn.sh | 11++++++++++-
Apkg/velox/gen.sh | 60++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 75 insertions(+), 1 deletion(-)

diff --git a/.gitmodules b/.gitmodules @@ -114,6 +114,10 @@ path = pkg/util-linux/src url = https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git ignore = all +[submodule "velox"] + path = pkg/velox/src + url = https://github.com/michaelforney/velox + ignore = all [submodule "vis"] path = pkg/vis/src url = https://github.com/martanne/vis diff --git a/pkg/gen.sh b/pkg/gen.sh @@ -56,6 +56,7 @@ pkg sinit pkg swc pkg ubase pkg util-linux +pkg velox pkg vis pkg wayland-protocols pkg wayland diff --git a/pkg/genfn.sh b/pkg/genfn.sh @@ -120,8 +120,17 @@ bin() { } libexec() { + _p= + + while [ ${1#-} != $1 ]; do + case $1 in + -p) _p=$2/;; + esac + shift 2 + done + exe $* - file reg 0755 '$libexecdir'/$_out $OUTDIR/$_out + file reg 0755 '$libexecdir'/$_p$_out $OUTDIR/$_out } exe() { diff --git a/pkg/velox/gen.sh b/pkg/velox/gen.sh @@ -0,0 +1,60 @@ +git 2ae5e99 + +cflags " + -DVELOX_LIBEXEC=\\\"/libexec/velox\\\" + -I$outdir + -isystem $pkgdir/fontconfig/include + -isystem $pkgdir/libinput/include + -isystem $pkgdir/libxkbcommon/include + -isystem $pkgdir/linux-headers/include + -isystem $pkgdir/pixman/include + -isystem $pkgdir/swc/include + -isystem $pkgdir/wayland/include + -isystem $pkgdir/wld/include + -Wno-unused-parameter + -Wno-sign-compare +" + +dep " + $outdir/protocol/swc-client-protocol.h + $outdir/protocol/velox-client-protocol.h + $outdir/protocol/velox-server-protocol.h + fontconfig/headers + libinput/headers + libxkbcommon/headers + linux-headers/headers + pixman/headers + swc/headers + wayland/headers + wld/headers +" + +copy protocol/swc-client-protocol.h $pkgdir/swc/include/swc-client-protocol.h + +waylandproto protocol/velox.xml \ + --client protocol/velox-client-protocol.h \ + --server protocol/velox-server-protocol.h \ + --code velox-protocol.c + +bin velox " + config.c + layout.c + screen.c + tag.c + util.c + velox.c + window.c + $outdir/velox-protocol.c.o + $pkgdir/swc/libswc.a.d + $pkgdir/wayland/libwayland-server.a.d +" + +libexec -p velox status_bar " + clients/status_bar.c + $outdir/velox-protocol.c.o + $pkgdir/swc/swc-protocol.c.o + $pkgdir/wld/libwld.a.d + $pkgdir/wayland/libwayland-client.a.d +" + +share --prefix doc/velox velox.conf.sample