summaryrefslogtreecommitdiffstats
path: root/wlmaker
diff options
context:
space:
mode:
authorzorz <zorz@krypt.sh>2026-05-05 18:29:35 +0300
committerzorz <zorz@krypt.sh>2026-05-05 18:29:35 +0300
commit3ee93968e10126adc7dad5c8872f0170c3421e13 (patch)
treebcac8daa62b6c9a94a48dae87f5d3f6de1985bba /wlmaker
parent936433a5deb6ccc8f8476096f2c2b8dc72c33388 (diff)
downloadzorz-3ee93968e10126adc7dad5c8872f0170c3421e13.tar.gz
zorz-3ee93968e10126adc7dad5c8872f0170c3421e13.tar.xz
various obsolette
Diffstat (limited to 'wlmaker')
-rw-r--r--wlmaker/.footprint49
-rw-r--r--wlmaker/.signature7
-rw-r--r--wlmaker/MAKEPKG56
-rw-r--r--wlmaker/no-x11-backend.patch39
4 files changed, 151 insertions, 0 deletions
diff --git a/wlmaker/.footprint b/wlmaker/.footprint
new file mode 100644
index 0000000..933e06a
--- /dev/null
+++ b/wlmaker/.footprint
@@ -0,0 +1,49 @@
1drwxr-xr-x root/root etc/
2drwxr-xr-x root/root etc/xdg/
3drwxr-xr-x root/root etc/xdg/wlmaker/
4-rw-r--r-- root/root etc/xdg/wlmaker/Config.plist
5-rw-r--r-- root/root etc/xdg/wlmaker/RootMenu.plist
6-rw-r--r-- root/root etc/xdg/wlmaker/State.plist
7drwxr-xr-x root/root etc/xdg/wlmaker/Themes/
8-rw-r--r-- root/root etc/xdg/wlmaker/Themes/Default.plist
9drwxr-xr-x root/root usr/
10drwxr-xr-x root/root usr/bin/
11-rwxr-xr-x root/root usr/bin/wlmaker
12-rwxr-xr-x root/root usr/bin/wlmclock
13-rwxr-xr-x root/root usr/bin/wlmcpugraph
14-rwxr-xr-x root/root usr/bin/wlmeyes
15-rwxr-xr-x root/root usr/bin/wlmmemgraph
16-rwxr-xr-x root/root usr/bin/wlmnetgraph
17-rwxr-xr-x root/root usr/bin/wlmtool
18drwxr-xr-x root/root usr/share/
19drwxr-xr-x root/root usr/share/applications/
20-rw-r--r-- root/root usr/share/applications/wlmaker.desktop
21-rw-r--r-- root/root usr/share/applications/wlmaker.wlmclock.desktop
22-rw-r--r-- root/root usr/share/applications/wlmaker.wlmcpugraph.desktop
23-rw-r--r-- root/root usr/share/applications/wlmaker.wlmeyes.desktop
24-rw-r--r-- root/root usr/share/applications/wlmaker.wlmmemgraph.desktop
25-rw-r--r-- root/root usr/share/applications/wlmaker.wlmnetgraph.desktop
26drwxr-xr-x root/root usr/share/icons/
27drwxr-xr-x root/root usr/share/icons/hicolor/
28drwxr-xr-x root/root usr/share/icons/hicolor/48x48/
29drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/
30-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/wlmaker.png
31drwxr-xr-x root/root usr/share/icons/hicolor/64x64/
32drwxr-xr-x root/root usr/share/icons/hicolor/64x64/apps/
33-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/wlmaker.png
34-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/wlmclock.png
35-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/wlmcpugraph.png
36-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/wlmeyes.png
37-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/wlmmemgraph.png
38-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/wlmnetgraph.png
39drwxr-xr-x root/root usr/share/icons/hicolor/scalable/
40drwxr-xr-x root/root usr/share/icons/hicolor/scalable/apps/
41-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/wlmaker.svg
42drwxr-xr-x root/root usr/share/wayland-sessions/
43-rw-r--r-- root/root usr/share/wayland-sessions/wlmaker.desktop
44drwxr-xr-x root/root usr/share/wlmaker/
45drwxr-xr-x root/root usr/share/wlmaker/icons/
46-rw-r--r-- root/root usr/share/wlmaker/icons/chrome-48x48.png
47-rw-r--r-- root/root usr/share/wlmaker/icons/clip-48x48.png
48-rw-r--r-- root/root usr/share/wlmaker/icons/firefox-48x48.png
49-rw-r--r-- root/root usr/share/wlmaker/icons/terminal-48x48.png
diff --git a/wlmaker/.signature b/wlmaker/.signature
new file mode 100644
index 0000000..f0168db
--- /dev/null
+++ b/wlmaker/.signature
@@ -0,0 +1,7 @@
1untrusted comment: verify with zorz.pub
2RWTZ9IduCSQ/mGO7/7hPBN9XpTsxfh1h81iBPRCZnMmWu4FVDMLmWeaYorOIMkskbIiAFZCLgMU9Ij0q4tbUiLVbGMUUdDfznQ8=
3
4SHA256 (MAKEPKG) = 6301f1d52bfcb81a27ee4d8bf57bb0e0068d5518d8f09e993fb7ff05e3c23cc6
5SHA256 (.footprint) = dbe21d2681969ba2f590d1509ef87883c97bd17f540be0abd0ee613f9595c8eb
6SHA256 (wlmaker-0.7.1.tar.gz) = 2dc025300d9e51599c35bf6f4133a14275dce2f7081c7bd04b5eb89ac442e791
7SHA256 (no-x11-backend.patch) = dcc530ef531a6de0eef1e04aced332f5e6e51db08493612ae9c7b947fe6e77eb
diff --git a/wlmaker/MAKEPKG b/wlmaker/MAKEPKG
new file mode 100644
index 0000000..ce87b03
--- /dev/null
+++ b/wlmaker/MAKEPKG
@@ -0,0 +1,56 @@
1#!/bin/mkpkg
2# description: Wayland compositor inspired by Window Maker
3# url: https://github.com/phkaeser/wlmaker
4
5name=wlmaker
6version=0.7.1
7release=1
8depends=(wlroots cairo libxkbcommon libxdg-basedir ncurses)
9makedeps=(cmake bison flex wayland-protocols)
10source=(https://github.com/phkaeser/$name/releases/download/v$version/$name-$version.tar.gz
11 no-x11-backend.patch)
12
13patch() {
14 cd $name-$version
15
16 # Guard X11 backend code for pure Wayland builds
17 patch -p1 -i $SRC/no-x11-backend.patch
18
19 # Fix ELSE/ELSEIF build logic (from AUR)
20 for i in CMakeLists.txt submodules/libbase/CMakeLists.txt; do
21 sed -i 's/^\s*ELSE\s*(config_OPTIM)$/ ELSEIF (config_DEBUG)/' "$i"
22 done
23}
24
25sha256sums=(
26 "2dc025300d9e51599c35bf6f4133a14275dce2f7081c7bd04b5eb89ac442e791"
27 "dcc530ef531a6de0eef1e04aced332f5e6e51db08493612ae9c7b947fe6e77eb"
28)
29
30build() {
31 cd $name-$version
32
33 cmake -B build \
34 -DCMAKE_INSTALL_PREFIX=/ \
35 -DCMAKE_BUILD_TYPE=Release \
36 -DCMAKE_C_COMPILER=clang \
37 -Dconfig_DEBUG=OFF \
38 -Dconfig_OPTIM=OFF
39
40 cmake --build build
41 DESTDIR=$PKG cmake --install build
42
43 # Remove Debian wrapper
44 rm -f $PKG/usr/bin/wrap-wlmaker.sh
45
46 # Remove Debian theme and menu
47 rm -f $PKG/etc/xdg/$name/Themes/Debian.plist
48 rm -f $PKG/etc/xdg/$name/RootMenuDebian.plist
49}
50
51signify() {
52 untrusted comment: public key
53 RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
54}
55
56# vim: filetype=sh
diff --git a/wlmaker/no-x11-backend.patch b/wlmaker/no-x11-backend.patch
new file mode 100644
index 0000000..8b9feb5
--- /dev/null
+++ b/wlmaker/no-x11-backend.patch
@@ -0,0 +1,39 @@
1--- a/b/src/backend/output.c 2026-02-21 14:39:37.962224134 +0000
2+++ b/src/backend/output.c 2026-02-21 14:39:50.693224298 +0000
3@@ -31,7 +31,10 @@
4 #include <wayland-util.h>
5 #define WLR_USE_UNSTABLE
6 #include <wlr/backend/wayland.h>
7+#include <wlr/config.h>
8+#if WLR_HAS_X11_BACKEND
9 #include <wlr/backend/x11.h>
10+#endif
11 #include <wlr/render/allocator.h>
12 #include <wlr/types/wlr_output.h>
13 #include <wlr/types/wlr_scene.h>
14@@ -142,11 +145,13 @@
15 // cursor coordinates well. Force it to 'Normal'.
16 enum wl_output_transform transformation =
17 attr_ptr->transformation;
18+#if WLR_HAS_X11_BACKEND
19 if (wlr_output_is_x11(wlr_output_ptr) &&
20 transformation != WL_OUTPUT_TRANSFORM_NORMAL) {
21 bs_log(BS_WARNING, "X11 backend: Transformation changed to 'Normal'.");
22 transformation = WL_OUTPUT_TRANSFORM_NORMAL;
23 }
24+#endif
25 wlr_output_state_set_transform(&state, transformation);
26
27 // Set modes for backends that have them.
28@@ -169,7 +174,10 @@
29 }
30 }
31
32- if ((wlr_output_is_x11(wlr_output_ptr) ||
33+ if ((
34+#if WLR_HAS_X11_BACKEND
35+ wlr_output_is_x11(wlr_output_ptr) ||
36+#endif
37 wlr_output_is_wl(wlr_output_ptr))
38 && 0 < width && 0 < height) {
39 bs_log(BS_INFO, "Overriding output dimensions to %"PRIu32"x%"PRIu32,