diff options
Diffstat (limited to 'opt/wlmaker')
| -rw-r--r-- | opt/wlmaker/.footprint | 58 | ||||
| -rw-r--r-- | opt/wlmaker/.signature | 7 | ||||
| -rw-r--r-- | opt/wlmaker/MAKEPKG | 59 | ||||
| -rw-r--r-- | opt/wlmaker/no-x11-backend.patch | 39 |
4 files changed, 163 insertions, 0 deletions
diff --git a/opt/wlmaker/.footprint b/opt/wlmaker/.footprint new file mode 100644 index 0000000..ea88093 --- /dev/null +++ b/opt/wlmaker/.footprint @@ -0,0 +1,58 @@ +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 usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/wlmaker +-rwxr-xr-x root/root usr/bin/wlmbattery +-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.wlmbattery.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/wlmbattery.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/metainfo/ +-rw-r--r-- root/root usr/share/metainfo/org.wlmaker.wlmaker.metainfo.xml +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/Themes/ +-rw-r--r-- root/root usr/share/wlmaker/Themes/Debian.plist +-rw-r--r-- root/root usr/share/wlmaker/Themes/DebianDouble.plist +-rw-r--r-- root/root usr/share/wlmaker/Themes/DebianLarger.plist +-rw-r--r-- root/root usr/share/wlmaker/Themes/Default.plist +drwxr-xr-x root/root usr/share/wlmaker/icons/ +-rw-r--r-- root/root usr/share/wlmaker/icons/chrome-56x56.png +-rw-r--r-- root/root usr/share/wlmaker/icons/chromium-56x56.png +-rw-r--r-- root/root usr/share/wlmaker/icons/clip-56x56.png +-rw-r--r-- root/root usr/share/wlmaker/icons/firefox-56x56.png +-rw-r--r-- root/root usr/share/wlmaker/icons/terminal-56x56.png diff --git a/opt/wlmaker/.signature b/opt/wlmaker/.signature new file mode 100644 index 0000000..4f16861 --- /dev/null +++ b/opt/wlmaker/.signature @@ -0,0 +1,7 @@ +RWTZ9IduCSQ/mKdzwFHYyzQzaJb32qK+A7wdj30seqmHjt8a4t1Lbf7Ymr9Uk41SjuYA7v6vHySp359mErtkB33EAWg5mCQ2TwQ= + +SHA256 (MAKEPKG) = f732f6218111b7b1eec8af2cb1f8c88270112eb93ef671131b643401640dd8cd +SHA256 (.footprint) = 10e208f2dde9b138dde28588a493a406fad7f27bed4aa8387267079308146c18 +SHA256 (wlmaker-0.8.1.tar.gz) = aa7c23b6ea501df412101aaaa022576f05eefa56bdde33c0f6eb6d34aa5a2389 +SHA256 (no-x11-backend.patch) = dcc530ef531a6de0eef1e04aced332f5e6e51db08493612ae9c7b947fe6e77eb +SHA256 (wlmaker#0.8.1-1.pkg.tar.gz) = 0be0f47c5a9596e1dea2ae790da83941af51f98c4c9a4131993b0d4f3209e1bc diff --git a/opt/wlmaker/MAKEPKG b/opt/wlmaker/MAKEPKG new file mode 100644 index 0000000..2153670 --- /dev/null +++ b/opt/wlmaker/MAKEPKG @@ -0,0 +1,59 @@ +#!/bin/mkpkg +# description: Wayland compositor inspired by Window Maker +# url: https://github.com/phkaeser/wlmaker + +name=wlmaker +version=0.8.1 +release=1 +depends=(wlroots cairo libxkbcommon libxdg-basedir ncurses musl-fts) +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 + + # musl has no fts(3); link libbase against musl-fts and propagate it + printf '\npkg_check_modules(MUSL_FTS IMPORTED_TARGET musl-fts)\nif(MUSL_FTS_FOUND)\n target_link_libraries(libbase PUBLIC PkgConfig::MUSL_FTS)\nendif()\n' >> submodules/libbase/src/CMakeLists.txt +} + +sha256sums=( + "aa7c23b6ea501df412101aaaa022576f05eefa56bdde33c0f6eb6d34aa5a2389" + "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/opt/wlmaker/no-x11-backend.patch b/opt/wlmaker/no-x11-backend.patch new file mode 100644 index 0000000..8b9feb5 --- /dev/null +++ b/opt/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 <wayland-util.h> + #define WLR_USE_UNSTABLE + #include <wlr/backend/wayland.h> ++#include <wlr/config.h> ++#if WLR_HAS_X11_BACKEND + #include <wlr/backend/x11.h> ++#endif + #include <wlr/render/allocator.h> + #include <wlr/types/wlr_output.h> + #include <wlr/types/wlr_scene.h> +@@ -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, |
