Patch for KDE4_INSTALL_ICONS to handle l10n-icons

Chusslove Illich caslav.ilic at
Sat Jan 26 00:57:06 CET 2008

KDE4_INSTALL_ICONS does some fancy stuff with paths and names when
installing icons, so I need it to support installing localized icons too.
The possibility for these has been introduced by the new
KLocale::localizedFilePath() method,
which is used within KIconLoader.

The patch just enables the macro to be called with optional language code
argument, e.g:

  kde4_install_icons( ${DATA_INSTALL_DIR}/foo/bar  de )

in the directory with localized icons, which will then be installed into

The changes in the patch should be non-invasive enough, but... :)

Chusslove Illich (Часлав Илић)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake_l10n_icons-01.diff
Type: text/x-diff
Size: 2897 bytes
Desc: not available
Url : 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : 

More information about the Kde-buildsystem mailing list