git: cdc3d5577d47 - main - x11/workrave: Update 1.10.50 => 1.10.53, take maintainership

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Wed, 17 Sep 2025 20:21:34 UTC
The branch main has been updated by vvd:

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

commit cdc3d5577d47ba66260e477cf67f12e65200c58f
Author:     Pau Amma <pauamma@gundo.com>
AuthorDate: 2025-09-17 20:17:42 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-09-17 20:21:30 +0000

    x11/workrave: Update 1.10.50 => 1.10.53, take maintainership
    
    Changelogs:
    https://github.com/rcaelers/workrave/blob/v1_10_53/NEWS
    
    PR:     289346
---
 x11/workrave/Makefile                                | 16 +++++++++-------
 x11/workrave/distinfo                                |  6 +++---
 x11/workrave/files/patch-configure                   | 20 ++++++++++----------
 .../files/patch-frontend_applets_Makefile.in         |  6 +++---
 x11/workrave/pkg-plist                               |  6 ++++++
 5 files changed, 31 insertions(+), 23 deletions(-)

diff --git a/x11/workrave/Makefile b/x11/workrave/Makefile
index 06251bfa3ec6..90a7eff7fd2f 100644
--- a/x11/workrave/Makefile
+++ b/x11/workrave/Makefile
@@ -1,11 +1,10 @@
 PORTNAME=	workrave
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.10.50
-PORTREVISION=	4
+DISTVERSION=	1.10.53
 CATEGORIES=	x11
 MASTER_SITES=	https://github.com/rcaelers/workrave/releases/download/v${DISTVERSION:S/./_/g}/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	pauamma@gundo.com
 COMMENT=	RSI prevention tool (${FLAVOR} flavor)
 WWW=		https://www.workrave.org/
 
@@ -13,7 +12,9 @@ LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libgdome.so:textproc/gdome2 \
-		libharfbuzz.so:print/harfbuzz
+		libgraphene-1.0.so:graphics/graphene \
+		libharfbuzz.so:print/harfbuzz \
+		libvulkan.so:graphics/vulkan-loader
 
 FLAVORS=			default xfce
 FLAVOR?=			${FLAVORS:[1]}
@@ -22,8 +23,7 @@ xfce_PKGNAMESUFFIX=		-xfce
 xfce_CONFLICTS_INSTALL=		workrave
 xfce_DESCR=			${.CURDIR}/pkg-descr.xfce
 
-USES=		compiler:c++11-lang desktop-file-utils gmake gnome libtool \
-		localbase pkgconfig xorg
+USES=		compiler:c++11-lang gmake gnome libtool localbase pkgconfig xorg
 .if ${FLAVOR} == xfce
 CATEGORIES+=	xfce
 USES+=		xfce
@@ -34,7 +34,9 @@ PLIST_FILES=	lib/xfce4/panel/plugins/libworkrave-plugin.a \
 		share/xfce4/panel/plugins/workrave-xfce-applet.desktop
 .endif
 USE_CXXSTD=	c++11
-USE_GNOME=	gdkpixbuf gtkmm30 intlhack intltool introspection:build libxml2
+# gtkmm30 and gtk40 needed (the latter for lib/libworkrave-gtk4-private-1.0).
+USE_GNOME=	gdkpixbuf gtkmm30 gtk40 intlhack intltool introspection:build \
+		libxml2
 USE_LDCONFIG=	yes
 USE_XORG=	ice sm x11 xext xmu xorgproto xscrnsaver xtst
 
diff --git a/x11/workrave/distinfo b/x11/workrave/distinfo
index f9511a189589..a467fa4b5130 100644
--- a/x11/workrave/distinfo
+++ b/x11/workrave/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669512834
-SHA256 (workrave-v1.10.50.tar.gz) = d667444b933ef08d6f1471277acc650267868c2006c420a34feb1cb5cd64853b
-SIZE (workrave-v1.10.50.tar.gz) = 11068099
+TIMESTAMP = 1756095604
+SHA256 (workrave-v1.10.53.tar.gz) = aa1455e50422b5133f464175428f62583bc06778e03c5ab032fddaf80889f2ca
+SIZE (workrave-v1.10.53.tar.gz) = 11049542
diff --git a/x11/workrave/files/patch-configure b/x11/workrave/files/patch-configure
index 6e0b06cc99bb..0acfc371eb7e 100644
--- a/x11/workrave/files/patch-configure
+++ b/x11/workrave/files/patch-configure
@@ -1,8 +1,8 @@
 Fix bashism and force GStreamer 1.x support
 
---- configure.orig	2020-03-08 02:42:31 UTC
+--- configure.orig	2025-08-25 23:15:55 UTC
 +++ configure
-@@ -20993,7 +20993,7 @@ then
+@@ -22713,7 +22713,7 @@ then
  
      loop=${enable_monitors},
  
@@ -11,23 +11,23 @@ Fix bashism and force GStreamer 1.x support
      do
          monitor=${loop%%\,*}
          loop=${loop#*\,}
-@@ -24438,44 +24438,9 @@ config_gstreamer=no
+@@ -26195,44 +26195,10 @@ config_gstreamer=no
  if test "x$enable_gstreamer" != "xno";
  then
  
 -pkg_failed=no
 +pkg_failed=yes
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5
- $as_echo_n "checking for GSTREAMER... " >&6; }
--
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gstreamer-0.10" >&5
+ printf %s "checking for gstreamer-0.10... " >&6; }
+ 
 -if test -n "$GSTREAMER_CFLAGS"; then
 -    pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
 - elif test -n "$PKG_CONFIG"; then
 -    if test -n "$PKG_CONFIG" && \
--    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5
+-    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5
 -  ($PKG_CONFIG --exists --print-errors "gstreamer-0.10") 2>&5
 -  ac_status=$?
--  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+-  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 -  test $ac_status = 0; }; then
 -  pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10" 2>/dev/null`
 -		      test "x$?" != "x0" && pkg_failed=yes
@@ -41,10 +41,10 @@ Fix bashism and force GStreamer 1.x support
 -    pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
 - elif test -n "$PKG_CONFIG"; then
 -    if test -n "$PKG_CONFIG" && \
--    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5
+-    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5
 -  ($PKG_CONFIG --exists --print-errors "gstreamer-0.10") 2>&5
 -  ac_status=$?
--  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+-  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 -  test $ac_status = 0; }; then
 -  pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10" 2>/dev/null`
 -		      test "x$?" != "x0" && pkg_failed=yes
diff --git a/x11/workrave/files/patch-frontend_applets_Makefile.in b/x11/workrave/files/patch-frontend_applets_Makefile.in
index 7d2ee28a1985..056c368f9637 100644
--- a/x11/workrave/files/patch-frontend_applets_Makefile.in
+++ b/x11/workrave/files/patch-frontend_applets_Makefile.in
@@ -1,10 +1,10 @@
---- frontend/applets/Makefile.in.orig	2020-03-04 20:08:42 UTC
+--- frontend/applets/Makefile.in.orig	2025-02-16 12:01:58 UTC
 +++ frontend/applets/Makefile.in
-@@ -438,7 +438,7 @@ top_build_prefix = @top_build_prefix@
+@@ -446,7 +446,7 @@ top_build_prefix = @top_build_prefix@
  top_builddir = @top_builddir@
  top_srcdir = @top_srcdir@
  MAINTAINERCLEANFILES = Makefile.in
--SUBDIRS = win32 common gnome3 indicator gnome-shell cinnamon xfce mate
+-SUBDIRS = win32 common gnome3 indicator gnome-shell gnome-shell-45 cinnamon xfce mate
 +SUBDIRS = win32 common gnome3 indicator xfce mate
  all: all-recursive
  
diff --git a/x11/workrave/pkg-plist b/x11/workrave/pkg-plist
index 583293e1d3e2..5099f9bba43b 100644
--- a/x11/workrave/pkg-plist
+++ b/x11/workrave/pkg-plist
@@ -1,5 +1,10 @@
 bin/workrave
 lib/girepository-1.0/Workrave-1.0.typelib
+lib/girepository-1.0/Workrave-2.0.typelib
+lib/libworkrave-gtk4-private-1.0.a
+lib/libworkrave-gtk4-private-1.0.so
+lib/libworkrave-gtk4-private-1.0.so.0
+lib/libworkrave-gtk4-private-1.0.so.0.0.0
 lib/libworkrave-private-1.0.a
 lib/libworkrave-private-1.0.so
 lib/libworkrave-private-1.0.so.0
@@ -7,6 +12,7 @@ lib/libworkrave-private-1.0.so.0.0.0
 share/applications/workrave.desktop
 %%DBUS%%share/dbus-1/services/org.workrave.Workrave.service
 share/gir-1.0/Workrave-1.0.gir
+share/gir-1.0/Workrave-2.0.gir
 share/icons/hicolor/128x128/apps/workrave.png
 share/icons/hicolor/16x16/apps/workrave.png
 share/icons/hicolor/24x24/apps/workrave.png