git: ded334edb880 - main - x11/deforaos-libdesktop: Update to 0.4.1

From: Olivier Cochard <olivier_at_FreeBSD.org>
Date: Thu, 23 Nov 2023 12:34:27 UTC
The branch main has been updated by olivier:

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

commit ded334edb880bfed9d8129fc9d7b1fc721259187
Author:     Pierre Pronchery <khorben@defora.org>
AuthorDate: 2023-11-20 18:05:26 +0000
Commit:     Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2023-11-23 12:30:48 +0000

    x11/deforaos-libdesktop: Update to 0.4.1
---
 x11/deforaos-libdesktop/Makefile  | 13 +++++++------
 x11/deforaos-libdesktop/distinfo  |  6 +++---
 x11/deforaos-libdesktop/pkg-plist |  3 +++
 3 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/x11/deforaos-libdesktop/Makefile b/x11/deforaos-libdesktop/Makefile
index 0971c6a7ee26..fcde3262a050 100644
--- a/x11/deforaos-libdesktop/Makefile
+++ b/x11/deforaos-libdesktop/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	libdesktop
-PORTVERSION=	0.2.2
-PORTREVISION=	2
+PORTVERSION=	0.4.1
 CATEGORIES=	x11
-MASTER_SITES=	http://www.defora.org/os/download/download/4447/
+MASTER_SITES=	https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/libDesktop/
 PKGNAMEPREFIX=	deforaos-
 DISTNAME=	libDesktop-${PORTVERSION}
 
@@ -13,11 +12,14 @@ WWW=		https://www.defora.org/
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libSystem.so:devel/deforaos-libsystem
+LIB_DEPENDS=	libSystem.so:devel/deforaos-libsystem \
+				libharfbuzz.so:print/harfbuzz \
+				libX11.so:x11/libX11
 
 USES=		gnome pkgconfig
-USE_GNOME=	gtk20
+USE_GNOME=	gtk30 cairo gdkpixbuf2
 USE_LDCONFIG=	yes
+USE_XORG+=	x11
 MAKE_ARGS+=	PREFIX=${PREFIX}
 MAKE_ENV+=	MANDIR=${STAGEDIR}${MANPREFIX}/man
 
@@ -31,7 +33,6 @@ DOCS_BUILD_DEPENDS=	xsltproc:textproc/libxslt \
 post-patch:
 	${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \
 		${WRKSRC}/data/pkgconfig.sh
-	${REINPLACE_CMD} 's|-Wl,-pie||g' ${WRKSRC}/tools/Makefile
 	${REINPLACE_CMD} -e '/^SUBDIRS/ s|tests||' ${WRKSRC}/Makefile
 	${REINPLACE_CMD} -e 's|./docbook.sh -P "$$(DESTDIR)$$(PREFIX)" -i -- "$$(OBJDIR)widget.html"| \
 		#./docbook.sh -P "$$(DESTDIR)$$(PREFIX)" -i -- "$$(OBJDIR)widget.html"|' \
diff --git a/x11/deforaos-libdesktop/distinfo b/x11/deforaos-libdesktop/distinfo
index aab1b8d4892f..6defa19d02ef 100644
--- a/x11/deforaos-libdesktop/distinfo
+++ b/x11/deforaos-libdesktop/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1475616514
-SHA256 (libDesktop-0.2.2.tar.gz) = c49edf03ffdd0d4f39de5c4c22acbece7ad25440a027480bba82a3f6318459e2
-SIZE (libDesktop-0.2.2.tar.gz) = 23947
+TIMESTAMP = 1696802103
+SHA256 (libDesktop-0.4.1.tar.gz) = ffd354a5069b452578d99c616dd30e39bad0b59f60bdceb8e5f77540a095fb10
+SIZE (libDesktop-0.4.1.tar.gz) = 34353
diff --git a/x11/deforaos-libdesktop/pkg-plist b/x11/deforaos-libdesktop/pkg-plist
index 1c17125e9b86..4cd661a0bba6 100644
--- a/x11/deforaos-libdesktop/pkg-plist
+++ b/x11/deforaos-libdesktop/pkg-plist
@@ -7,6 +7,7 @@ include/Desktop/help.h
 include/Desktop/menubar.h
 include/Desktop/message.h
 include/Desktop/mime.h
+include/Desktop/mimehandler.h
 include/Desktop/toolbar.h
 include/Desktop/widget.h
 lib/libDesktop.a
@@ -14,6 +15,8 @@ lib/libDesktop.so
 lib/libDesktop.so.0
 lib/libDesktop.so.0.0
 libdata/pkgconfig/libDesktop.pc
+%%PORTDOCS%%share/doc/libDesktop/COPYING
+%%PORTDOCS%%share/doc/libDesktop/README.md
 %%PORTDOCS%%share/gtk-doc/html/libDesktop/api-index-full.html
 %%PORTDOCS%%share/gtk-doc/html/libDesktop/ch01.html
 %%PORTDOCS%%share/gtk-doc/html/libDesktop/deprecated-api-index.html