Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2012 14:34:18 +0000
From:      Max Brazhnikov <makc@issp.ac.ru>
To:        kde-freebsd@kde.org, gnome@freebsd.org
Cc:        Oliver Heesakkers <kdefreebsd@heesakkers.info>
Subject:   Re: [kde-freebsd] INSTALLS_ICONS and qt4 software
Message-ID:  <201201221434.19798.makc@issp.ac.ru>
In-Reply-To: <5842707.er64rEAdVg@pcoliver.heesakkers.info>
References:  <5842707.er64rEAdVg@pcoliver.heesakkers.info>

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



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