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@
This commit is contained in:
ajacoutot 2013-04-02 16:11:44 +00:00
parent 28a7450e98
commit 3880140dba
2 changed files with 18 additions and 4 deletions

View File

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

View File

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