On Tue, 26 Apr 2011, David Coppa wrote:

> Midori spawns these errors at startup:
> 
> (midori:17438): Gtk-WARNING **: Error loading theme icon 'stock_new-tab' for 
> stock: Icon 'stock_new-tab' not present in theme
> 
> (midori:17438): Gtk-WARNING **: Error loading theme icon 'stock_add-bookmark' 
> for stock: Icon 'stock_add-bookmark' not present in theme
> 
> (midori:17438): Gtk-WARNING **: Error loading theme icon 'gnome-stock-trash' 
> for stock: Icon 'gnome-stock-trash' not present in theme
> 
> So, it should have a runtime dependency on x11/gnome/icon-theme:
> 
> $ find /usr/local/share/icons/gnome/ -type f -name '*stock_new-tab*' -or 
> -name '*stock_add-bookmark*' -or -name '*gnome-stock-trash*'
> /usr/local/share/icons/gnome/16x16/actions/stock_add-bookmark.png
> /usr/local/share/icons/gnome/16x16/places/gnome-stock-trash.png
> /usr/local/share/icons/gnome/16x16/status/gnome-stock-trash-full.png
> /usr/local/share/icons/gnome/22x22/actions/stock_add-bookmark.png
> /usr/local/share/icons/gnome/22x22/places/gnome-stock-trash.png
> /usr/local/share/icons/gnome/22x22/status/gnome-stock-trash-full.png
> /usr/local/share/icons/gnome/24x24/actions/stock_add-bookmark.png
> /usr/local/share/icons/gnome/24x24/places/gnome-stock-trash.png
> /usr/local/share/icons/gnome/24x24/status/gnome-stock-trash-full.png
> /usr/local/share/icons/gnome/256x256/places/gnome-stock-trash.png
> /usr/local/share/icons/gnome/256x256/status/gnome-stock-trash-full.png
> /usr/local/share/icons/gnome/32x32/actions/stock_add-bookmark.png
> /usr/local/share/icons/gnome/32x32/places/gnome-stock-trash.png
> /usr/local/share/icons/gnome/32x32/status/gnome-stock-trash-full.png
> /usr/local/share/icons/gnome/48x48/actions/stock_add-bookmark.png
> /usr/local/share/icons/gnome/48x48/places/gnome-stock-trash.png
> /usr/local/share/icons/gnome/48x48/status/gnome-stock-trash-full.png

And these ones too:

/usr/local/share/icons/gnome/16x16/actions/stock_new-tab.png
/usr/local/share/icons/gnome/22x22/actions/stock_new-tab.png
/usr/local/share/icons/gnome/24x24/actions/stock_new-tab.png

because they're symbolic links to tab-new.png

All of the aforementioned icons don't exist in the standard gtk+2 stock-icons.

ciao
David

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/midori/Makefile,v
retrieving revision 1.32
diff -u -p -r1.32 Makefile
--- Makefile    21 Apr 2011 07:06:43 -0000      1.32
+++ Makefile    26 Apr 2011 09:26:44 -0000
@@ -5,7 +5,7 @@ COMMENT =       lightweight web browser
 XFCE_VERSION = 0.3.3
 XFCE_GOODIE =  midori
 
-REVISION =     0
+REVISION =     1
 
 MAINTAINER =   Landry Breuil <[email protected]>
 CATEGORIES =   www
@@ -26,6 +26,8 @@ LIB_DEPENDS = www/webkit>=1.1.15v0 \
                databases/sqlite3 \
                devel/libunique \
                devel/libsoup>=2.28.0
+
+RUN_DEPENDS =  x11/gnome/icon-theme
 
 # pick sqlite
 CONFIGURE_ENV+=        CPPFLAGS="-I${LOCALBASE}/include"

Reply via email to