spectrwm-3.5.0 has been released, which includes a bunch of major new
features and improvements, such as dock/panel support, an always mapped
window mode, floating workspace layout, transparent color support, tons
of fixes, and more. Changelog can be found at
https://github.com/conformal/spectrwm/releases/tag/SPECTRWM_3_5_0.
Changes to port:
- Synced WANTLIB
- Switched to DIST_TUPLE
Run tested on amd64.
Comments/OK?
diff --git Makefile Makefile
index e29ee65dc69..514dc05bbaa 100644
--- Makefile
+++ Makefile
@@ -1,9 +1,8 @@
COMMENT= small tiling window manager
-GH_ACCOUNT= conformal
-GH_PROJECT= spectrwm
-GH_COMMIT= 06e3733175969c307a6fd47240a7a37b29d60513
-DISTNAME= ${GH_PROJECT}-3.4.1.20230507
+V= 3.5.0
+DIST_TUPLE= github conformal spectrwm SPECTRWM_${V:S/./_/g} /
+DISTNAME= spectrwm-${V}
SHARED_LIBS= swmhack 1.0
@@ -16,8 +15,8 @@ MAINTAINER= Gonzalo L. R. <[email protected]>, \
PERMIT_PACKAGE= Yes
# uses pledge()
-WANTLIB += X11 X11-xcb Xcursor Xft c util xcb xcb-icccm xcb-keysyms
-WANTLIB += xcb-randr xcb-util xcb-xinput xcb-xtest
+WANTLIB += X11 X11-xcb Xcursor Xft c fontconfig util xcb xcb-icccm
+WANTLIB += xcb-keysyms xcb-randr xcb-util xcb-xinput xcb-xtest
RUN_DEPENDS= x11/dmenu>=4.5
diff --git distinfo distinfo
index f7f66c46998..a12233acd18 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (spectrwm-3.4.1.20230507-06e37331.tar.gz) =
1stB8RPoDDQYPHbg5BNgFYRdbqK8wvlyaKO8QMriJng=
-SIZE (spectrwm-3.4.1.20230507-06e37331.tar.gz) = 172202
+SHA256 (conformal-spectrwm-SPECTRWM_3_5_0.tar.gz) =
tN6LLFkvxapMpNvQ6KQh9/0Wi31fVMetgZl63ADawg8=
+SIZE (conformal-spectrwm-SPECTRWM_3_5_0.tar.gz) = 194387
diff --git patches/patch-spectrwm_1 patches/patch-spectrwm_1
index a2748e15bd8..e002bc0b708 100644
--- patches/patch-spectrwm_1
+++ patches/patch-spectrwm_1
@@ -1,7 +1,7 @@
Index: spectrwm.1
--- spectrwm.1.orig
+++ spectrwm.1
-@@ -149,7 +149,7 @@ For example, starting
+@@ -164,7 +164,7 @@ For example, starting
via
.Xr xinit 1 :
.Bd -literal -offset indent
diff --git patches/patch-spectrwm_c patches/patch-spectrwm_c
index c6b86658164..6404edb119c 100644
--- patches/patch-spectrwm_c
+++ patches/patch-spectrwm_c
@@ -1,8 +1,8 @@
Index: spectrwm.c
--- spectrwm.c.orig
+++ spectrwm.c
-@@ -331,7 +331,7 @@ uint32_t swm_debug = 0
- #define SWM_CONF_KEYMAPPING (1)
+@@ -373,7 +373,7 @@ uint32_t swm_debug = 0
+ #define SWM_CONF_WHITESPACE " \t\n"
#ifndef SWM_LIB
-#define SWM_LIB "/usr/local/lib/libswmhack.so"