git: 953f51e07b1a - main - x11/xscreensaver: Update 6.10 => 6.12

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Wed, 13 Aug 2025 16:21:37 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=953f51e07b1a405a722481000e6f838066628f8c

commit 953f51e07b1a405a722481000e6f838066628f8c
Author:     Anton Saietskii <vsasjason@gmail.com>
AuthorDate: 2025-08-13 16:19:25 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-08-13 16:19:25 +0000

    x11/xscreensaver: Update 6.10 => 6.12
    
    6.11 introduced Wayland support, however we leave respective option off
    by default as locking is not supported yet, and support generally may be
    not mature yet.
    
    Changelog 6.11:
    * X11: Now supports Wayland (blanking only, not locking).
    * X11: More reliable and timely DPMS activation.
    * X11: Dead keys work in password input.
    * X11: Fixed a couple of minor Y2038 bugs.
    
    Changelog 6.12:
    * X11: DPMS works on Wayland.
    * X11: Fading uses GL now which should be more performant.
    
    https://www.jwz.org/xscreensaver/changelog.html
    
    PR:     288834
---
 x11/xscreensaver/Makefile | 30 ++++++++++++++++--------------
 x11/xscreensaver/distinfo |  6 +++---
 2 files changed, 19 insertions(+), 17 deletions(-)

diff --git a/x11/xscreensaver/Makefile b/x11/xscreensaver/Makefile
index 63b2cbe64e31..3715a0f3f80a 100644
--- a/x11/xscreensaver/Makefile
+++ b/x11/xscreensaver/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	xscreensaver
-DISTVERSION=	6.10
-DISTVERSIONSUFFIX=	.1
+DISTVERSION=	6.12
 CATEGORIES=	x11
 MASTER_SITES=	http://www.jwz.org/xscreensaver/
 
@@ -10,14 +9,15 @@ WWW=		https://www.jwz.org/xscreensaver/
 
 LICENSE=	MIT
 
-LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
-		libfreetype.so:print/freetype2 \
-		libgle.so:graphics/gle \
-		libharfbuzz.so:print/harfbuzz
-RUN_DEPENDS=	giftopnm:graphics/netpbm \
-		p5-libwww>0:www/p5-libwww \
-		p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https \
-		unix-selfauth-helper>0:security/unix-selfauth-helper
+EXTRACT_DEPENDS=	gtar:archivers/gtar
+LIB_DEPENDS=		libfontconfig.so:x11-fonts/fontconfig \
+			libfreetype.so:print/freetype2 \
+			libgle.so:graphics/gle \
+			libharfbuzz.so:print/harfbuzz
+RUN_DEPENDS=		giftopnm:graphics/netpbm \
+			p5-libwww>0:www/p5-libwww \
+			p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https \
+			unix-selfauth-helper>0:security/unix-selfauth-helper
 
 USES=		cpe gettext gl gmake gnome jpeg localbase:ldflags perl5 \
 		pkgconfig shebangfix xorg
@@ -53,13 +53,12 @@ CONFIGURE_ENV=	PERL="${PERL}"
 
 MAKE_ARGS=	install_prefix=${STAGEDIR}
 
+EXTRACT_CMD=	gtar
 SUB_FILES=	xscreensaver-blank.desktop xscreensaver-lock.desktop \
 		xscreensaver-start.desktop xscreensaver-stop.desktop
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
-
-OPTIONS_DEFINE=	FIREF NLS NSFW SETUID_HACKS XAOS1 XDALI XEARTH XMOUN XPLANET \
-		XSNOW
+OPTIONS_DEFINE=	FIREF NLS NSFW SETUID_HACKS WAYLAND XAOS1 XDALI XEARTH XMOUN \
+		XPLANET XSNOW
 OPTIONS_SUB=	yes
 
 FIREF_DESC=		Add extra port x11/fireflies
@@ -76,6 +75,9 @@ FIREF_RUN_DEPENDS=		${FIREF_HACKBIN}:x11/fireflies
 NLS_USES=			gettext-runtime
 NLS_CONFIGURE_ENABLE=		nls
 SETUID_HACKS_CONFIGURE_WITH=	setuid-hacks
+WAYLAND_BUILD_DEPENDS=		wayland-protocols>0:graphics/wayland-protocols
+WAYLAND_LIB_DEPENDS=		libwayland-client.so:graphics/wayland
+WAYLAND_CONFIGURE_WITH=		wayland
 XAOS1_RUN_DEPENDS=		xaos:graphics/xaos
 XDALI_RUN_DEPENDS=		xdaliclock:x11-clocks/xdaliclock
 XEARTH_RUN_DEPENDS=		xearth:astro/xearth
diff --git a/x11/xscreensaver/distinfo b/x11/xscreensaver/distinfo
index ac76599809e1..7462b2b9041b 100644
--- a/x11/xscreensaver/distinfo
+++ b/x11/xscreensaver/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1754589876
-SHA256 (xscreensaver-6.10.1.tar.gz) = ffe599f9cf77afa46efb8dbb7b561e8da0c3156dea64b635e0b7e2c20f4bb3ed
-SIZE (xscreensaver-6.10.1.tar.gz) = 25081752
+TIMESTAMP = 1755075019
+SHA256 (xscreensaver-6.12.tar.gz) = 4ff6798217e3bbbc3c7336beeda7e83eafbf03301ac29b2236da66a0f1317643
+SIZE (xscreensaver-6.12.tar.gz) = 25177935