[patch] devel/xdg-utils: add RUN_DEPENDS upon misc/hicolor-icon-theme

Boris Samorodov bsam at passap.ru
Fri Mar 16 08:03:32 UTC 2012


Hi!

While working at graphics/djview4 I've got an error:
-----
xdg-icon-resource: No writable system icon directory found.
-----

The port devel/xdg-utils is installed but lacking infrastructure
directories. It's the /usr/local/share/icons/hicolor/ which is
missing.

What do you think about the following patch to fix the case?
-----
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/xdg-utils/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	6 Mar 2012 22:47:28 -0000	1.11
+++ Makefile	16 Mar 2012 08:01:14 -0000
@@ -8,7 +8,7 @@

 PORTNAME=	xdg-utils
 PORTVERSION=	1.0.2
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	devel
 MASTER_SITES=	http://portland.freedesktop.org/download/
 EXTRACT_SUFX=	.tgz
@@ -16,6 +16,8 @@
 MAINTAINER=	gnome at FreeBSD.org
 COMMENT=	Tools to allow all applications to integrate with the free desktop

+RUN_DEPENDS=
${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
+
 GNU_CONFIGURE=	yes
 XDG_FILES=	xdg-desktop-icon \
 		xdg-desktop-menu \
-----

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-gnome mailing list