From 3880140dbabd346eaf8e41313cd7779209511ceb Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Tue, 2 Apr 2013 16:11:44 +0000 Subject: [PATCH] Add a "convenient dependency" on gnome-icon-theme-symbolic to prevent hunting what needs what: => some apps need more icons than the stock ones => some apps require symbolic icons with no fallback => some apps needs the svg version of the icon It makes no sense to hunt all the ports tree source files to check what icon are used exactly. That means than from now on we are _certain_ not to miss any icons in gtk applications that are run outside of a full blown Desktop environment. no objection from landry@ naddy@ espie@ --- x11/gtk+2/Makefile | 10 ++++++++-- x11/gtk+3/Makefile | 12 ++++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/x11/gtk+2/Makefile b/x11/gtk+2/Makefile index 19f2ad402e9..17849086368 100644 --- a/x11/gtk+2/Makefile +++ b/x11/gtk+2/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.164 2013/04/02 10:14:20 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.165 2013/04/02 16:11:44 ajacoutot Exp $ COMMENT-main= multi-platform graphical toolkit COMMENT-guic= gtk+ icon theme caching utility @@ -9,7 +9,7 @@ GNOME_PROJECT= gtk+ PKGNAME-main= gtk+2-${GNOME_VERSION} PKGNAME-guic= gtk-update-icon-cache-${GNOME_VERSION} -REVISION-main= 2 +REVISION-main= 3 REVISION-guic= 0 CATEGORIES= x11 devel @@ -47,6 +47,12 @@ LIB_DEPENDS-main= ${LIB_DEPENDS} \ devel/atk \ print/cups,-libs +# convenient dependency to prevent hunting what needs what: +# some apps need more icons than the stock ones +# some apps require symbolic icons with no fallback +# some apps needs the svg version of the icon +RUN_DEPENDS-main += x11/gnome/icon-theme-symbolic #pulls in gnome-icon-theme+librsvg + WANTLIB-main += ${WANTLIB} c pthread glib-2.0 gmodule-2.0 gobject-2.0 WANTLIB-main += gio-2.0 pango-1.0 pangocairo-1.0 pangoft2-1.0 atk-1.0 WANTLIB-main += X11 Xcomposite Xcursor Xdamage Xext Xfixes graphite2 diff --git a/x11/gtk+3/Makefile b/x11/gtk+3/Makefile index 42972ba9f4d..1c2259cfa63 100644 --- a/x11/gtk+3/Makefile +++ b/x11/gtk+3/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.71 2013/04/02 10:14:20 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.72 2013/04/02 16:11:44 ajacoutot Exp $ SHARED_ONLY= Yes @@ -11,7 +11,7 @@ GNOME_PROJECT= gtk+ PKGNAME-main= gtk+3-${GNOME_VERSION} PKGNAME-cups= gtk+3-cups-${GNOME_VERSION} -REVISION-main= 1 +REVISION-main= 2 CATEGORIES= x11 devel @@ -50,6 +50,14 @@ LIB_DEPENDS-main= ${LIB_DEPENDS} \ graphics/gdk-pixbuf2>=2.28.0 \ x11/gnome/at-spi2-atk>=2.8.0 +RUN_DEPENDS-main= ${RUN_DEPENDS} + +# convenient dependency to prevent hunting what needs what: +# some apps need more icons than the stock ones +# some apps require symbolic icons with no fallback +# some apps needs the svg version of the icon +RUN_DEPENDS-main += x11/gnome/icon-theme-symbolic #pulls in gnome-icon-theme+librsvg + WANTLIB-main += ${WANTLIB} WANTLIB-main += c