git: 91f70d7f4719 - 2026Q1 - x11/tint: Update 16.7 => 17.0.2, unbreak on 16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Feb 2026 16:23:36 UTC
The branch 2026Q1 has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=91f70d7f47193f23de9da4bac4bd724afe69b851
commit 91f70d7f47193f23de9da4bac4bd724afe69b851
Author: Yamagi <yamagi@yamagi.org>
AuthorDate: 2026-02-09 16:08:25 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-02-09 16:23:31 +0000
x11/tint: Update 16.7 => 17.0.2, unbreak on 16
* Upstream changes are mostly bugfixes. See CHANGELOG for details:
https://gitlab.com/o9000/tint2/-/blob/17.0.2/ChangeLog
* tint2conf was ported to GTK 3.0. Update dependencies accordingly.
* Unbreak build on 16.0-CURRENT.
* Replace PORTVERSION with DISTVERSION.
* Remove unnecessary dependencies from LIB_DEPENDS.
* Switch to bzip2 tarball.
* Use default GL_TAGNAME instead of hash.
* Fix warnings from portclippy.
PR: 293022
MFH: 2026Q1
(cherry picked from commit a6cf5e4cc913b5340cd555d484a5e9fe8fd0ab77)
---
x11/tint/Makefile | 17 ++++++-----------
x11/tint/distinfo | 6 +++---
x11/tint/files/patch-src_util_gradient.h | 15 +++++++++++++++
3 files changed, 24 insertions(+), 14 deletions(-)
diff --git a/x11/tint/Makefile b/x11/tint/Makefile
index 6162275927e2..81faa43f8a9c 100644
--- a/x11/tint/Makefile
+++ b/x11/tint/Makefile
@@ -1,6 +1,5 @@
PORTNAME= tint2
-PORTVERSION= 16.7
-PORTREVISION= 7
+DISTVERSION= 17.0.2
CATEGORIES= x11
MAINTAINER= yamagi@yamagi.org
@@ -10,14 +9,14 @@ WWW= https://gitlab.com/o9000/tint2
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
- libfreetype.so:print/freetype2 \
- libImlib2.so:graphics/imlib2 \
+LIB_DEPENDS= libImlib2.so:graphics/imlib2 \
libstartup-notification-1.so:x11/startup-notification
USES= cmake desktop-file-utils gettext-runtime gnome pkgconfig \
- shared-mime-info xorg
-USE_GNOME= cairo glib20 gtk20 librsvg2 pango
+ shared-mime-info tar:bz2 xorg
+USE_GITLAB= yes
+GL_ACCOUNT= o9000
+USE_GNOME= cairo glib20 gtk30 librsvg2 pango
USE_XORG= x11 xcomposite xdamage xext xfixes xinerama xrandr xrender
CMAKE_ARGS= -DMANDIR:PATH=man \
@@ -28,8 +27,4 @@ OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Gettext
-USE_GITLAB= yes
-GL_ACCOUNT= o9000
-GL_TAGNAME= 78313502d3b26c217f5583a23ef571bc9e0edc45
-
.include <bsd.port.mk>
diff --git a/x11/tint/distinfo b/x11/tint/distinfo
index 06ed401edbf5..8cb3fa311d19 100644
--- a/x11/tint/distinfo
+++ b/x11/tint/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1617892667
-SHA256 (o9000-tint2-78313502d3b26c217f5583a23ef571bc9e0edc45_GL0.tar.gz) = 9fd43bcbd51a93c2d4b3bab3a50eee9bb783d265209ec9778bfc1b9e4146e965
-SIZE (o9000-tint2-78313502d3b26c217f5583a23ef571bc9e0edc45_GL0.tar.gz) = 551384
+TIMESTAMP = 1770571809
+SHA256 (tint2-17.0.2.tar.bz2) = eb8bf56ac70178ad71f1e2177f16eb8fe9e9ac7c9d06603cfefd576ce7a8ce36
+SIZE (tint2-17.0.2.tar.bz2) = 405259
diff --git a/x11/tint/files/patch-src_util_gradient.h b/x11/tint/files/patch-src_util_gradient.h
new file mode 100644
index 000000000000..192c44e6e1b9
--- /dev/null
+++ b/x11/tint/files/patch-src_util_gradient.h
@@ -0,0 +1,15 @@
+--- src/util/gradient.h.orig 2026-02-05 13:15:45 UTC
++++ src/util/gradient.h
+@@ -6,6 +6,12 @@
+
+ #include "color.h"
+
++// Work around for C23 macros getting exposed into C11 code.
++// See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292960
++#ifdef SIZE_WIDTH
++#undef SIZE_WIDTH
++#endif
++
+ //////////////////////////////////////////////////////////////////////
+ // Gradient types read from config options, not associated to any area
+