1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

x11/deforaos-libdesktop: update to version 0.4.2

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Pierre Pronchery 2024-10-14 17:29:02 +02:00 committed by Olivier Cochard
parent db5655d043
commit a784d023ae
4 changed files with 16 additions and 24 deletions

View File

@ -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' \

View File

@ -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

View File

@ -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;

View File

@ -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.