Patch for KDE4_INSTALL_ICONS to handle l10n-icons

Allen Winter winter at kde.org
Mon Jan 28 00:23:56 CET 2008


On Friday 25 January 2008 18:57:06 Chusslove Illich wrote:
> 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#9
>75b34c99346748abe454a20efaf2757 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... :)

Seems safe enough.
Monday would be a good day to commit this.

-Allen




More information about the Kde-buildsystem mailing list