Bug 476208 - ecm_install_icons doesn't work with Breeze
Summary: ecm_install_icons doesn't work with Breeze
Status: REPORTED
Alias: None
Product: extra-cmake-modules
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: ecm-bugs-null@kde.org
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-10-28 17:53 UTC by David Jarvie
Modified: 2023-11-02 10:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Jarvie 2023-10-28 17:53:43 UTC
ecm_install_icons cmake command installs Breeze icons in the wrong locations. Breeze uses a different directory structure from other icon themes, so for ecm_install_icons to work with Breeze, it would have to detect that the icon theme is Breeze and modify its behaviour accordingly. I don't know whether it is reasonable to expect ECM to do this, or whether it is really a Breeze issue, but the result is faulty installation.

The only solution that I'm aware of is to make CMakeLists.txt install the Breeze icons at hard-coded locations.

For example, Breeze expects 22x22 action icons to be installed at:
${KDE_INSTALL_ICONDIR}/breeze/actions/22/

whereas other icon themes (e.g. oxygen) use:
${KDE_INSTALL_ICONDIR}/oxygen/22x22/actions/


This fault occurs for both KF5 and KF6:
SOFTWARE/OS VERSIONS
KDE Frameworks Version:  5.240.0 / 5.103.0
Qt Version: 6.6.0 / 5.15.8
Comment 1 Christophe Marin 2023-11-02 10:04:42 UTC
Can you write a post to the frameworks list?

I don't think this should be fixed in ECM, it's the breeze icons repositories that don't follow conventions for icons