On Wed, 04 Jan 2012 02:05:46 +0100, Oliver Heesakkers wrote: > I took maintainership over a port that was written for qt4 (non KDE). The > Makefile for this port specifies: > > INSTALLS_ICONS= YES > > From ports/Mk/bsd.gnome.mk I learned that this is used to make sure icons > will show up where needed. > > This very Gnome-specific setting is responsible for dragging in a lot of > Gnome/GTK specific ports, which is something I don't particularly like. > > Am I correct in understanding that KDE4 doesn't require INSTALLS_ICONS? I > tried it and the port seems fine without INSTALLS_ICONS Yes, your are right, KDE4 ports don't need INSTALLS_ICONS.
> When a Gnome-user installs this port, would he/she require INSTALLS_ICONS > to have the icon show up? Probably yes. > If so, is there a standard way for the ports Makefile to check for the > existence or use of Gnome so I can optionally set INSTALLS_ICONS? I think > it's overkill to make an actual OPTIONS= line for it. You can add WITH_GNOME knob, or do nothing. Actually I don't understand why ports should care about Gnome's icons cache. If Gnome desktop need up-to-date icons cache to work, it should take responsibility on updating the cache (like other desktops do :) Alternatively, INSTALLS_ICONS may be changed to do its work only if Gnome is installed. But that's up to gnome@ team to decide. Max _______________________________________________ kde-freebsd mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
