On Mac OS X (1) KDE applications don't find their hicolor icons. The
reason for this is that there is no "index.theme" inside $PREFIX/share/
icons/hicolor. As soon as such a file is added (for testing I've just
copied Oxygen's and changed the name) the fallback for missing oxygen
icons work.
The big problem here is that 3rd party applications usually don't
provide their icons for every possible theme but simply install one
icon set in hicolor, so *no* application specific icons are shown.
AFAIK hicolor should be the fallback if an icon is not found in the
current theme. In addition the oxygen's index.theme claims that it
inherits hicolor.
It does not matter if the icons are installed into $PREFIX/share/icons/
hicolor or $PREFIX/share/apps/<application>/icons. As soon as a
$PREFIX/share/icons/hicolor/index.theme is installed both location
work as expected.
Is this a kde bug or do I miss an important dependency which installes
an icons/hicolor/index.theme?
(1) Using KDE libs and base-runtime 4.3.4 installed via macports. The
application in question is Krusader from extragear/utils, also
installed via macports.
regards,
Jonas
Am 02.01.2010 um 23:17 schrieb Pino Toscano:
> Hi,
>
>> On Mac OS X (1) KDE applications don't find their hicolor icons. The
>> reason for this is that there is no "index.theme" inside $PREFIX/
>> share/
>> icons/hicolor. As soon as such a file is added (for testing I've just
>> copied Oxygen's and changed the name) the fallback for missing oxygen
>> icons work.
>
> We ship kdebase/runtime/pics/hicolor/index.theme, which is properly
> installed
> in $PREFIX/share/icons/hicolor.
>
> Otherwise, there's the hicolor-icon-theme[1] freedesktop.org
> definition which
> provides more or less the same file. (This is also what GNU/Linxu
> distros
> ship, correctly preferring it to our local copy.)
>
>> Is this a kde bug or do I miss an important dependency which
>> installes
>> an icons/hicolor/index.theme?
>>
>> (1) Using KDE libs and base-runtime 4.3.4 installed via macports. The
>> application in question is Krusader from extragear/utils, also
>> installed via macports.
>
> It would appear some file not installed in such packages?
Thanks for the pointer. The Portfile for kdebase4-runtime [1] indeed
removes this file from the distribution since it conflicts with
hicolor-icon-theme. I've filed a bug report on MacPorts [2].
[1] http://trac.macports.org/browser/trunk/dports/kde/kdebase4-runtime/Portfile#L42
[2] http://trac.macports.org/ticket/23105
bye,
Jonas
>
> [1] http://icon-theme.freedesktop.org/wiki/HicolorTheme
>
> --
> Pino Toscano