KF5 Porting: Installing Icons
Alex Merry
alex.merry at kde.org
Thu Jul 24 18:35:33 UTC 2014
On Wednesday 23 July 2014 18:08:42 David Narvaez wrote:
> Hi,
>
> The information at [0] seems to indicate I just need to worry about
> renaming files to match the new categories (btw, is there a script for
> that?) but what I get from
>
> CMake Warning (dev) at
> /usr/share/ECM/modules/ECMInstallIcons.cmake:205 (message):
> ecm_install_icons() with no ICONS argument is deprecated
> Call Stack (most recent call first):
> icons/CMakeLists.txt:2 (ecm_install_icons)
> This warning is for project developers. Use -Wno-dev to suppress it.
>
> is that I need to update to
>
> # ecm_install_icons(ICONS <icon> [<icon> [...]]
> # DESTINATION <icon_install_dir>
> # [LANG <l10n_code>]
> # [THEME <theme>])
>
> which seems to me like I need to explicitly list all icons in the dir, and
>
> # The given icons, whose names must match the pattern::
> #
> # <size>-<group>-<name>.<ext>
>
> seems to indicate I need to rename all of the files to remove the
> theme from the prefix.
>
> Am I correct? Should I update the wiki with the complete oddyssey to a
> correct ecm_install_icions?
As Jonathan said, yes, you are correct. And, yes, I should really write a
porting script for that.
Alex
More information about the Kde-frameworks-devel
mailing list