git: f24c25214965 - main - net/grsync: Update to 1.3.1

From: Ganael LAPLANCHE <martymac_at_FreeBSD.org>
Date: Thu, 17 Aug 2023 16:25:10 UTC
The branch main has been updated by martymac:

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

commit f24c25214965dd8f746f4bbec6afc6b16f637395
Author:     Ganael LAPLANCHE <martymac@FreeBSD.org>
AuthorDate: 2023-08-17 16:24:18 +0000
Commit:     Ganael LAPLANCHE <martymac@FreeBSD.org>
CommitDate: 2023-08-17 16:24:18 +0000

    net/grsync: Update to 1.3.1
---
 net/grsync/Makefile                      |  8 ++++----
 net/grsync/distinfo                      |  6 +++---
 net/grsync/files/patch-po-Makefile.in.in | 11 -----------
 net/grsync/files/patch-src-callbacks.c   | 23 -----------------------
 net/grsync/pkg-plist                     |  1 +
 5 files changed, 8 insertions(+), 41 deletions(-)

diff --git a/net/grsync/Makefile b/net/grsync/Makefile
index f62d9639b265..d8f8833aec2b 100644
--- a/net/grsync/Makefile
+++ b/net/grsync/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	grsync
-PORTVERSION=	1.3.0
-PORTREVISION=	2
+PORTVERSION=	1.3.1
 CATEGORIES=	net
 MASTER_SITES=	http://www.opbyte.it/release/ \
 		LOCAL/martymac
@@ -14,11 +13,12 @@ LICENSE=	GPLv2
 RUN_DEPENDS=	rsync:net/rsync \
 		bash:shells/bash
 LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
-		libfreetype.so:print/freetype2
+		libfreetype.so:print/freetype2 \
+		libharfbuzz.so:print/harfbuzz
 
 USES=		desktop-file-utils gettext gmake gnome \
 		pkgconfig shared-mime-info shebangfix
-USE_GNOME=	cairo gtk30 intltool
+USE_GNOME=	cairo gdkpixbuf2 gtk30 intltool
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--disable-unity
diff --git a/net/grsync/distinfo b/net/grsync/distinfo
index 6a006d6f1d61..d1b94a74d51b 100644
--- a/net/grsync/distinfo
+++ b/net/grsync/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1606340196
-SHA256 (grsync-1.3.0.tar.gz) = b7c7c6a62e05302d8317c38741e7d71ef9ab4639ee5bff2622a383b2043a35fc
-SIZE (grsync-1.3.0.tar.gz) = 304725
+TIMESTAMP = 1692289286
+SHA256 (grsync-1.3.1.tar.gz) = 33cc0e25daa62e5ba7091caea3c83a8dc74dc5d7721c4501d349f210c4b3c6d3
+SIZE (grsync-1.3.1.tar.gz) = 302904
diff --git a/net/grsync/files/patch-po-Makefile.in.in b/net/grsync/files/patch-po-Makefile.in.in
deleted file mode 100644
index 2cb903302725..000000000000
--- a/net/grsync/files/patch-po-Makefile.in.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- po/Makefile.in.in.orig	2013-04-30 11:48:54 UTC
-+++ po/Makefile.in.in
-@@ -34,7 +34,7 @@ datadir = @datadir@
- datarootdir = @datarootdir@
- libdir = @libdir@
- DATADIRNAME = @DATADIRNAME@
--itlocaledir = $(prefix)/$(DATADIRNAME)/locale
-+itlocaledir = $(prefix)/share/locale
- subdir = po
- install_sh = @install_sh@
- # Automake >= 1.8 provides @mkdir_p@.
diff --git a/net/grsync/files/patch-src-callbacks.c b/net/grsync/files/patch-src-callbacks.c
deleted file mode 100644
index 4ca6cfd293e8..000000000000
--- a/net/grsync/files/patch-src-callbacks.c
+++ /dev/null
@@ -1,23 +0,0 @@
-Avoid using nested functions to fix build on LLVM
-
---- src/callbacks.c.orig	2020-11-23 13:52:42 UTC
-+++ src/callbacks.c
-@@ -40,12 +40,13 @@ GtkTreeModelFilter *filter = NULL;
- gboolean more = FALSE, first = TRUE;
- 
- 
--void dialog_set_labels_selectable(GtkWidget *dialog) {
--	void _set_label_selectable(gpointer data, gpointer user_data) {
--		GtkWidget *widget = GTK_WIDGET(data);
--		if (GTK_IS_LABEL(widget)) gtk_label_set_selectable(GTK_LABEL(widget), TRUE);
--	}
-+void _set_label_selectable(gpointer data, gpointer user_data) {
-+	GtkWidget *widget = GTK_WIDGET(data);
-+	if (GTK_IS_LABEL(widget)) gtk_label_set_selectable(GTK_LABEL(widget), TRUE);
-+}
- 
-+
-+void dialog_set_labels_selectable(GtkWidget *dialog) {
- 	GtkWidget *area = gtk_message_dialog_get_message_area(GTK_MESSAGE_DIALOG(dialog));
- 	GtkContainer *box = (GtkContainer *) area;
- 	GList *children = gtk_container_get_children(box);
diff --git a/net/grsync/pkg-plist b/net/grsync/pkg-plist
index f13f455a0db8..39f6501fd7f7 100644
--- a/net/grsync/pkg-plist
+++ b/net/grsync/pkg-plist
@@ -19,6 +19,7 @@ share/pixmaps/grsync.png
 %%NLS%%share/locale/hu_HU/LC_MESSAGES/grsync.mo
 %%NLS%%share/locale/id_ID/LC_MESSAGES/grsync.mo
 %%NLS%%share/locale/it_IT/LC_MESSAGES/grsync.mo
+%%NLS%%share/locale/ja_JP/LC_MESSAGES/grsync.mo
 %%NLS%%share/locale/nb_NO/LC_MESSAGES/grsync.mo
 %%NLS%%share/locale/nl_NL/LC_MESSAGES/grsync.mo
 %%NLS%%share/locale/pt_BR/LC_MESSAGES/grsync.mo