Patch for KDE4_INSTALL_ICONS to handle l10n-icons

Chusslove Illich caslav.ilic at gmx.net
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,
http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKLocale.html#975b34c99346748abe454a20efaf2757
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
<paths_resolved_as_usual>/l10n/de.

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 : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20080126/f110ab85/attachment.bin 
-------------- 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 : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20080126/f110ab85/attachment.pgp 


More information about the Kde-buildsystem mailing list