git: e225a6a710e2 - main - sysutils/xfce4-netload-plugin: Update to 1.4.1

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Sat, 29 Apr 2023 16:02:13 UTC
The branch main has been updated by madpilot:

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

commit e225a6a710e241f25b703dc91a478505ac982c71
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2023-04-29 15:57:33 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2023-04-29 15:57:33 +0000

    sysutils/xfce4-netload-plugin: Update to 1.4.1
    
    - Add missing dependencies
    - Update post-patch target
---
 sysutils/xfce4-netload-plugin/Makefile  | 9 +++++----
 sysutils/xfce4-netload-plugin/distinfo  | 6 +++---
 sysutils/xfce4-netload-plugin/pkg-plist | 2 ++
 3 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/sysutils/xfce4-netload-plugin/Makefile b/sysutils/xfce4-netload-plugin/Makefile
index b9d2c670fba1..b5ae4bce5556 100644
--- a/sysutils/xfce4-netload-plugin/Makefile
+++ b/sysutils/xfce4-netload-plugin/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	xfce4-netload-plugin
-PORTVERSION=	1.4.0
-PORTREVISION=	1
+PORTVERSION=	1.4.1
 CATEGORIES=	sysutils xfce
 MASTER_SITES=	XFCE/panel-plugins
 DIST_SUBDIR=	xfce4
@@ -12,9 +11,11 @@ WWW=		https://goodies.xfce.org/projects/panel-plugins/xfce4-netload-plugin
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz
+
 USES=		compiler:c11 gettext-tools gmake gnome libtool pkgconfig \
 		tar:bzip2 xfce
-USE_GNOME=	cairo gtk30 intltool
+USE_GNOME=	cairo gdkpixbuf2 gtk30 intltool
 USE_XFCE=	panel
 
 GNU_CONFIGURE=	yes
@@ -27,7 +28,7 @@ NLS_CONFIGURE_ENABLE=	nls
 NLS_USES=		gettext-runtime
 
 post-patch:
-	@${REINPLACE_CMD} -e 's, || __FreeBSD_kernel__,,' \
+	@${REINPLACE_CMD} -e 's/ || defined \{0,1\}(__FreeBSD_kernel__)//' \
 		${WRKSRC}/panel-plugin/net.c \
 		${WRKSRC}/panel-plugin/net.h \
 		${WRKSRC}/panel-plugin/os.h
diff --git a/sysutils/xfce4-netload-plugin/distinfo b/sysutils/xfce4-netload-plugin/distinfo
index 521e81aa40b1..60809edd53d7 100644
--- a/sysutils/xfce4-netload-plugin/distinfo
+++ b/sysutils/xfce4-netload-plugin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1615394529
-SHA256 (xfce4/xfce4-netload-plugin-1.4.0.tar.bz2) = 6c76260e101790754dd93255ec979accd97d21a21da85d8edcd6c7b01ddcd70c
-SIZE (xfce4/xfce4-netload-plugin-1.4.0.tar.bz2) = 403719
+TIMESTAMP = 1682755365
+SHA256 (xfce4/xfce4-netload-plugin-1.4.1.tar.bz2) = 9fac3a3ad52e18584bfb127cd1721d56de1004b9fdd140915fded89704ccb44e
+SIZE (xfce4/xfce4-netload-plugin-1.4.1.tar.bz2) = 421959
diff --git a/sysutils/xfce4-netload-plugin/pkg-plist b/sysutils/xfce4-netload-plugin/pkg-plist
index 548d239a57c6..61f59a19002c 100644
--- a/sysutils/xfce4-netload-plugin/pkg-plist
+++ b/sysutils/xfce4-netload-plugin/pkg-plist
@@ -17,6 +17,7 @@ share/icons/hicolor/scalable/apps/org.xfce.panel.netload.svg
 %%NLS%%share/locale/en_GB/LC_MESSAGES/xfce4-netload-plugin.mo
 %%NLS%%share/locale/eo/LC_MESSAGES/xfce4-netload-plugin.mo
 %%NLS%%share/locale/es/LC_MESSAGES/xfce4-netload-plugin.mo
+%%NLS%%share/locale/et/LC_MESSAGES/xfce4-netload-plugin.mo
 %%NLS%%share/locale/eu/LC_MESSAGES/xfce4-netload-plugin.mo
 %%NLS%%share/locale/fi/LC_MESSAGES/xfce4-netload-plugin.mo
 %%NLS%%share/locale/fr/LC_MESSAGES/xfce4-netload-plugin.mo
@@ -42,6 +43,7 @@ share/icons/hicolor/scalable/apps/org.xfce.panel.netload.svg
 %%NLS%%share/locale/pl/LC_MESSAGES/xfce4-netload-plugin.mo
 %%NLS%%share/locale/pt/LC_MESSAGES/xfce4-netload-plugin.mo
 %%NLS%%share/locale/pt_BR/LC_MESSAGES/xfce4-netload-plugin.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/xfce4-netload-plugin.mo
 %%NLS%%share/locale/ru/LC_MESSAGES/xfce4-netload-plugin.mo
 %%NLS%%share/locale/sk/LC_MESSAGES/xfce4-netload-plugin.mo
 %%NLS%%share/locale/sl/LC_MESSAGES/xfce4-netload-plugin.mo