Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2012 12:03:29 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        gnome@FreeBSD.org
Subject:   [patch] devel/xdg-utils: add RUN_DEPENDS upon misc/hicolor-icon-theme
Message-ID:  <4F62F3D1.4000508@passap.ru>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F62F3D1.4000508>