git: 568b38a4280a - main - deskutils/xpad: update to 5.7.0

From: Jason Helfman <jgh_at_FreeBSD.org>
Date: Mon, 16 May 2022 22:21:36 UTC
The branch main has been updated by jgh:

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

commit 568b38a4280ac24d3a24eea285c694422cf684c4
Author:     Jason Helfman <jgh@FreeBSD.org>
AuthorDate: 2022-05-16 22:20:13 +0000
Commit:     Jason Helfman <jgh@FreeBSD.org>
CommitDate: 2022-05-16 22:20:13 +0000

    deskutils/xpad: update to 5.7.0
    
    Changelog: https://launchpadlibrarian.net/589705902/ChangeLog
---
 deskutils/xpad/Makefile  | 12 +++---------
 deskutils/xpad/distinfo  |  6 +++---
 deskutils/xpad/pkg-descr |  2 +-
 3 files changed, 7 insertions(+), 13 deletions(-)

diff --git a/deskutils/xpad/Makefile b/deskutils/xpad/Makefile
index 8fd5595d603a..42aa32cb045c 100644
--- a/deskutils/xpad/Makefile
+++ b/deskutils/xpad/Makefile
@@ -1,8 +1,7 @@
 # Created by: Jason Helfman <jgh@FreeBSD.org>
 
 PORTNAME=	xpad
-PORTVERSION=	5.4.0
-PORTREVISION=	2
+PORTVERSION=	5.7.0
 CATEGORIES=	deskutils
 MASTER_SITES=	https://launchpad.net/${PORTNAME}/trunk/${PORTVERSION}/+download/
 
@@ -12,6 +11,7 @@ COMMENT=	Virtual note-pad system for your X11 desktop
 LICENSE=	GPLv3
 
 RUN_DEPENDS=	gnome-icon-theme>=0:misc/gnome-icon-theme
+LIB_DEPENDS+=	libharfbuzz.so:print/harfbuzz
 
 USES=		autoreconf compiler:c++11-lang gmake pkgconfig tar:bzip2 gnome xorg
 
@@ -20,7 +20,7 @@ OPTIONS_SUB=	yes
 
 CONFLICTS_INSTALL=	xpad3
 USE_XORG=	x11 sm ice
-USE_GNOME=	gtk30 intltool gtksourceview3 cairo
+USE_GNOME=	gtk30 gtksourceview4 cairo gdkpixbuf2
 CPPFLAGS+=	${CXXFLAGS} -I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 GNU_CONFIGURE=	yes
@@ -67,12 +67,6 @@ share/locale/zh_TW/LC_MESSAGES/xpad.mo
 
 .include <bsd.port.options.mk>
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|glib/glist.h|glib.h|g' \
-		${WRKSRC}/src/xpad-undo.c
-	@${REINPLACE_CMD} -e 's|/etc/xdg/autostart|${LOCALBASE}/etc/xdg/autostart|g' \
-		${WRKSRC}/Makefile.am
-
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for doc in AUTHORS ChangeLog INSTALL NEWS README TODO THANKS
diff --git a/deskutils/xpad/distinfo b/deskutils/xpad/distinfo
index 99d91ae2bec3..a45762dd89b1 100644
--- a/deskutils/xpad/distinfo
+++ b/deskutils/xpad/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1565721806
-SHA256 (xpad-5.4.0.tar.bz2) = a395cb282a2cfb0d56f1e911afb7e38ad74f6d738082a7c6c181b3052ca7f5e2
-SIZE (xpad-5.4.0.tar.bz2) = 163394
+TIMESTAMP = 1652600372
+SHA256 (xpad-5.7.0.tar.bz2) = ead80a5e8b52e854d730e0c075df5a190be311522a441e87f1d2ec57fdd0856b
+SIZE (xpad-5.7.0.tar.bz2) = 162675
diff --git a/deskutils/xpad/pkg-descr b/deskutils/xpad/pkg-descr
index e53f99d7be90..fcf2798e95ac 100644
--- a/deskutils/xpad/pkg-descr
+++ b/deskutils/xpad/pkg-descr
@@ -14,4 +14,4 @@ release:
   * Support for the X session management protocol.
   * Support for the www.freedesktop.org system tray proposal.
 
-WWW: https://launchpad.net/xpad
+WWW: https://launchpad.net/xpad/trunk