From 3ee93968e10126adc7dad5c8872f0170c3421e13 Mon Sep 17 00:00:00 2001 From: zorz Date: Tue, 5 May 2026 18:29:35 +0300 Subject: various obsolette --- wlmaker/.footprint | 49 ++++++++++++++++++++++++++++++++++++++ wlmaker/.signature | 7 ++++++ wlmaker/MAKEPKG | 56 ++++++++++++++++++++++++++++++++++++++++++++ wlmaker/no-x11-backend.patch | 39 ++++++++++++++++++++++++++++++ 4 files changed, 151 insertions(+) create mode 100644 wlmaker/.footprint create mode 100644 wlmaker/.signature create mode 100644 wlmaker/MAKEPKG create mode 100644 wlmaker/no-x11-backend.patch (limited to 'wlmaker') diff --git a/wlmaker/.footprint b/wlmaker/.footprint new file mode 100644 index 0000000..933e06a --- /dev/null +++ b/wlmaker/.footprint @@ -0,0 +1,49 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/xdg/ +drwxr-xr-x root/root etc/xdg/wlmaker/ +-rw-r--r-- root/root etc/xdg/wlmaker/Config.plist +-rw-r--r-- root/root etc/xdg/wlmaker/RootMenu.plist +-rw-r--r-- root/root etc/xdg/wlmaker/State.plist +drwxr-xr-x root/root etc/xdg/wlmaker/Themes/ +-rw-r--r-- root/root etc/xdg/wlmaker/Themes/Default.plist +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/wlmaker +-rwxr-xr-x root/root usr/bin/wlmclock +-rwxr-xr-x root/root usr/bin/wlmcpugraph +-rwxr-xr-x root/root usr/bin/wlmeyes +-rwxr-xr-x root/root usr/bin/wlmmemgraph +-rwxr-xr-x root/root usr/bin/wlmnetgraph +-rwxr-xr-x root/root usr/bin/wlmtool +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/applications/ +-rw-r--r-- root/root usr/share/applications/wlmaker.desktop +-rw-r--r-- root/root usr/share/applications/wlmaker.wlmclock.desktop +-rw-r--r-- root/root usr/share/applications/wlmaker.wlmcpugraph.desktop +-rw-r--r-- root/root usr/share/applications/wlmaker.wlmeyes.desktop +-rw-r--r-- root/root usr/share/applications/wlmaker.wlmmemgraph.desktop +-rw-r--r-- root/root usr/share/applications/wlmaker.wlmnetgraph.desktop +drwxr-xr-x root/root usr/share/icons/ +drwxr-xr-x root/root usr/share/icons/hicolor/ +drwxr-xr-x root/root usr/share/icons/hicolor/48x48/ +drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/wlmaker.png +drwxr-xr-x root/root usr/share/icons/hicolor/64x64/ +drwxr-xr-x root/root usr/share/icons/hicolor/64x64/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/wlmaker.png +-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/wlmclock.png +-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/wlmcpugraph.png +-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/wlmeyes.png +-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/wlmmemgraph.png +-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/wlmnetgraph.png +drwxr-xr-x root/root usr/share/icons/hicolor/scalable/ +drwxr-xr-x root/root usr/share/icons/hicolor/scalable/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/wlmaker.svg +drwxr-xr-x root/root usr/share/wayland-sessions/ +-rw-r--r-- root/root usr/share/wayland-sessions/wlmaker.desktop +drwxr-xr-x root/root usr/share/wlmaker/ +drwxr-xr-x root/root usr/share/wlmaker/icons/ +-rw-r--r-- root/root usr/share/wlmaker/icons/chrome-48x48.png +-rw-r--r-- root/root usr/share/wlmaker/icons/clip-48x48.png +-rw-r--r-- root/root usr/share/wlmaker/icons/firefox-48x48.png +-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 @@ +untrusted comment: verify with zorz.pub +RWTZ9IduCSQ/mGO7/7hPBN9XpTsxfh1h81iBPRCZnMmWu4FVDMLmWeaYorOIMkskbIiAFZCLgMU9Ij0q4tbUiLVbGMUUdDfznQ8= + +SHA256 (MAKEPKG) = 6301f1d52bfcb81a27ee4d8bf57bb0e0068d5518d8f09e993fb7ff05e3c23cc6 +SHA256 (.footprint) = dbe21d2681969ba2f590d1509ef87883c97bd17f540be0abd0ee613f9595c8eb +SHA256 (wlmaker-0.7.1.tar.gz) = 2dc025300d9e51599c35bf6f4133a14275dce2f7081c7bd04b5eb89ac442e791 +SHA256 (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 @@ +#!/bin/mkpkg +# description: Wayland compositor inspired by Window Maker +# url: https://github.com/phkaeser/wlmaker + +name=wlmaker +version=0.7.1 +release=1 +depends=(wlroots cairo libxkbcommon libxdg-basedir ncurses) +makedeps=(cmake bison flex wayland-protocols) +source=(https://github.com/phkaeser/$name/releases/download/v$version/$name-$version.tar.gz + no-x11-backend.patch) + +patch() { + cd $name-$version + + # Guard X11 backend code for pure Wayland builds + patch -p1 -i $SRC/no-x11-backend.patch + + # Fix ELSE/ELSEIF build logic (from AUR) + for i in CMakeLists.txt submodules/libbase/CMakeLists.txt; do + sed -i 's/^\s*ELSE\s*(config_OPTIM)$/ ELSEIF (config_DEBUG)/' "$i" + done +} + +sha256sums=( + "2dc025300d9e51599c35bf6f4133a14275dce2f7081c7bd04b5eb89ac442e791" + "dcc530ef531a6de0eef1e04aced332f5e6e51db08493612ae9c7b947fe6e77eb" +) + +build() { + cd $name-$version + + cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/ \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_C_COMPILER=clang \ + -Dconfig_DEBUG=OFF \ + -Dconfig_OPTIM=OFF + + cmake --build build + DESTDIR=$PKG cmake --install build + + # Remove Debian wrapper + rm -f $PKG/usr/bin/wrap-wlmaker.sh + + # Remove Debian theme and menu + rm -f $PKG/etc/xdg/$name/Themes/Debian.plist + rm -f $PKG/etc/xdg/$name/RootMenuDebian.plist +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# 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 @@ +--- a/b/src/backend/output.c 2026-02-21 14:39:37.962224134 +0000 ++++ b/src/backend/output.c 2026-02-21 14:39:50.693224298 +0000 +@@ -31,7 +31,10 @@ + #include + #define WLR_USE_UNSTABLE + #include ++#include ++#if WLR_HAS_X11_BACKEND + #include ++#endif + #include + #include + #include +@@ -142,11 +145,13 @@ + // cursor coordinates well. Force it to 'Normal'. + enum wl_output_transform transformation = + attr_ptr->transformation; ++#if WLR_HAS_X11_BACKEND + if (wlr_output_is_x11(wlr_output_ptr) && + transformation != WL_OUTPUT_TRANSFORM_NORMAL) { + bs_log(BS_WARNING, "X11 backend: Transformation changed to 'Normal'."); + transformation = WL_OUTPUT_TRANSFORM_NORMAL; + } ++#endif + wlr_output_state_set_transform(&state, transformation); + + // Set modes for backends that have them. +@@ -169,7 +174,10 @@ + } + } + +- if ((wlr_output_is_x11(wlr_output_ptr) || ++ if (( ++#if WLR_HAS_X11_BACKEND ++ wlr_output_is_x11(wlr_output_ptr) || ++#endif + wlr_output_is_wl(wlr_output_ptr)) + && 0 < width && 0 < height) { + bs_log(BS_INFO, "Overriding output dimensions to %"PRIu32"x%"PRIu32, -- cgit v1.2.3