From d4b5eccb94b70444a53ee24d8208db5e24b7cebc Mon Sep 17 00:00:00 2001 From: Mid Favila Date: Tue, 20 Jul 2021 01:41:39 +0000 Subject: [PATCH] Package wmutils. Need to write a patch for slw in the future; fails to link against xcb-util-cursor. --- GUIDELINES | 2 -- ports/ctwm/build | 3 ++- ports/wmctrl-git/build | 2 ++ ports/wmutils-git/build | 9 +++++++++ ports/wmutils-git/checksums | 1 + ports/wmutils-git/depends | 3 +++ ports/wmutils-git/sources | 1 + ports/wmutils-git/version | 1 + 8 files changed, 19 insertions(+), 3 deletions(-) create mode 100755 ports/wmutils-git/build create mode 100644 ports/wmutils-git/checksums create mode 100644 ports/wmutils-git/depends create mode 100644 ports/wmutils-git/sources create mode 100644 ports/wmutils-git/version diff --git a/GUIDELINES b/GUIDELINES index 2c59cc7..f05c08b 100644 --- a/GUIDELINES +++ b/GUIDELINES @@ -28,5 +28,3 @@ -Packages built from Git will be stored under community/rolling -Packages built from tarballs will be stored under community/stable - - diff --git a/ports/ctwm/build b/ports/ctwm/build index d9afc45..a68c823 100755 --- a/ports/ctwm/build +++ b/ports/ctwm/build @@ -7,7 +7,8 @@ cmake -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DCMAKE_BUILD_TYPE=Release \ - -DUSE_XPM=OFF + -DUSE_XPM=ON \ + -DUSE_EWMH=TRUE cmake --build build cmake --install build diff --git a/ports/wmctrl-git/build b/ports/wmctrl-git/build index 9205fa5..29badf1 100755 --- a/ports/wmctrl-git/build +++ b/ports/wmctrl-git/build @@ -5,3 +5,5 @@ make make DESTDIR="$1" install + +printf "\n\nRemember that if you want to use hex instead of strings with wmctrl, the first flag ABSOLUTELY HAS TO BE -i!!!\n\n" diff --git a/ports/wmutils-git/build b/ports/wmutils-git/build new file mode 100755 index 0000000..95ede90 --- /dev/null +++ b/ports/wmutils-git/build @@ -0,0 +1,9 @@ +#!/bin/sh -e + +#slw doesn't build on musl for some reason. Patch it out until a fix is made. +sed 's/slw//g' Makefile > Makefile.2;mv Makefile.2 Makefile + + + + +make DESTDIR="$1" PREFIX=/usr MANPREFIX="/usr/share/man" install diff --git a/ports/wmutils-git/checksums b/ports/wmutils-git/checksums new file mode 100644 index 0000000..b55c92b --- /dev/null +++ b/ports/wmutils-git/checksums @@ -0,0 +1 @@ +5a1047cd000bf40842ba1adb5fd8f8097cfead8ef44f74425c87d86493d91fe8 diff --git a/ports/wmutils-git/depends b/ports/wmutils-git/depends new file mode 100644 index 0000000..7320b29 --- /dev/null +++ b/ports/wmutils-git/depends @@ -0,0 +1,3 @@ +libxcb +xcb-util +xcb-util-cursor diff --git a/ports/wmutils-git/sources b/ports/wmutils-git/sources new file mode 100644 index 0000000..ee0aa5c --- /dev/null +++ b/ports/wmutils-git/sources @@ -0,0 +1 @@ +git+https://github.com/wmutils/core diff --git a/ports/wmutils-git/version b/ports/wmutils-git/version new file mode 100644 index 0000000..a383ea1 --- /dev/null +++ b/ports/wmutils-git/version @@ -0,0 +1 @@ +git 1