git: a784d023aee8 - main - x11/deforaos-libdesktop: update to version 0.4.2

From: Olivier Cochard <olivier_at_FreeBSD.org>
Date: Mon, 21 Oct 2024 23:22:18 UTC
The branch main has been updated by olivier:

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

commit a784d023aee884431b1a7f4acb1ff4fa7402d9fd
Author:     Pierre Pronchery <khorben@defora.org>
AuthorDate: 2024-10-14 15:29:02 +0000
Commit:     Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2024-10-21 23:20:10 +0000

    x11/deforaos-libdesktop: update to version 0.4.2
    
    Sponsored by:   The FreeBSD Foundation
---
 x11/deforaos-libdesktop/Makefile                      | 18 ++++++++----------
 x11/deforaos-libdesktop/distinfo                      |  6 +++---
 x11/deforaos-libdesktop/files/patch-src_mimehandler.c | 11 -----------
 x11/deforaos-libdesktop/pkg-descr                     |  5 +++++
 4 files changed, 16 insertions(+), 24 deletions(-)

diff --git a/x11/deforaos-libdesktop/Makefile b/x11/deforaos-libdesktop/Makefile
index 7b53d64397e2..b00f4a061a3f 100644
--- a/x11/deforaos-libdesktop/Makefile
+++ b/x11/deforaos-libdesktop/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	libdesktop
-PORTVERSION=	0.4.1
-PORTREVISION=	2
+PORTVERSION=	0.4.2
 CATEGORIES=	x11
 MASTER_SITES=	https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/libDesktop/
 PKGNAMEPREFIX=	deforaos-
@@ -13,23 +12,22 @@ WWW=		https://www.defora.org/
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libSystem.so:devel/deforaos-libsystem \
-				libharfbuzz.so:print/harfbuzz \
-				libX11.so:x11/libX11
+LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz \
+		libSystem.so:devel/deforaos-libsystem \
+		libX11.so:x11/libX11
 
 USES=		gnome pkgconfig
-USE_GNOME=	gtk30 cairo gdkpixbuf2
+USE_GNOME=	cairo gdkpixbuf2 gtk30
 USE_LDCONFIG=	yes
-USE_XORG+=	x11
 MAKE_ARGS+=	PREFIX=${PREFIX}
 MAKE_ENV+=	MANDIR=${STAGEDIR}${PREFIX}/share/man
 
 MAKE_JOBS_UNSAFE=	yes
 OPTIONS_DEFINE=	DOCS
 
-DOCS_BUILD_DEPENDS=	xsltproc:textproc/libxslt \
-	${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \
-	gtkdoc-check:textproc/gtk-doc
+DOCS_BUILD_DEPENDS=	${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \
+			gtkdoc-check:textproc/gtk-doc \
+			xsltproc:textproc/libxslt
 
 post-patch:
 	${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \
diff --git a/x11/deforaos-libdesktop/distinfo b/x11/deforaos-libdesktop/distinfo
index 6defa19d02ef..cdb69ae5d2d7 100644
--- a/x11/deforaos-libdesktop/distinfo
+++ b/x11/deforaos-libdesktop/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1696802103
-SHA256 (libDesktop-0.4.1.tar.gz) = ffd354a5069b452578d99c616dd30e39bad0b59f60bdceb8e5f77540a095fb10
-SIZE (libDesktop-0.4.1.tar.gz) = 34353
+TIMESTAMP = 1728519877
+SHA256 (libDesktop-0.4.2.tar.gz) = 6a148a671a8a651d3d4125b4e14eb8df2449eb04f612cc2a4381e6e87beb82bc
+SIZE (libDesktop-0.4.2.tar.gz) = 35540
diff --git a/x11/deforaos-libdesktop/files/patch-src_mimehandler.c b/x11/deforaos-libdesktop/files/patch-src_mimehandler.c
deleted file mode 100644
index 9697981831a3..000000000000
--- a/x11/deforaos-libdesktop/files/patch-src_mimehandler.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/mimehandler.c.orig	2023-10-28 13:36:08 UTC
-+++ src/mimehandler.c
-@@ -597,7 +597,7 @@ int mimehandler_load_by_name(MimeHandler * handler, St
- 		return ret;
- 	/* read through every XDG application folder */
- 	if((path = getenv("XDG_DATA_DIRS")) == NULL || strlen(path) == 0)
--		path = "/usr/local/share:" DATADIR ":/usr/share";
-+		path = DATADIR ":/usr/share";
- 	if((p = string_new(path)) == NULL)
- 		return -1;
- 	for(q = strtok_r(p, ":", &last); q != NULL;
diff --git a/x11/deforaos-libdesktop/pkg-descr b/x11/deforaos-libdesktop/pkg-descr
index edf5af1dfe1a..a2661db4f2cc 100644
--- a/x11/deforaos-libdesktop/pkg-descr
+++ b/x11/deforaos-libdesktop/pkg-descr
@@ -1 +1,6 @@
 DeforaOS desktop library
+
+libDesktop is a collection of compatibility and portability routines to help
+with the development of desktop applications using the Gtk+ toolkit.
+
+libDesktop defaults to the version 3 of the Gtk+ toolkit.