Auto-generate 24px monochrome icons
Summary:
Right now we have 24px monochrome icons for compatibility with GTK apps, which use icons
of this size. However they are visually identical to the 22px versions, with one pixel of
padding on all sides. Manually creating them is tedious busywork.
This patch removes all existing 24px monochrome icons and automatically generates them
from the 22px versions for action, device, places, and status icons by editing the SVG
files to increase the size of the viewbox and apply a (1,1) translation to the content.
That way I implemented this seems to work pretty reliably on the icon generation side.
However I am less sure about how it is integrated into the CMake files. It works, but if
I did it wrong, let me know.
Test Plan:
Delete ~/kde/usr/share/icons/{breeze,breeze-dark} (or wherever your icons live)
Apply patch and build
Look in ~/kde/usr/share/icons/{breeze,breeze-dark}/{devices,actions,places,status}/24
Open Cuttlefish
See that everything is awesome
Reviewers: VDG, ndavis, Frameworks, sitter
Reviewed By: VDG, ndavis
Subscribers: kde-frameworks-devel
Tags: Frameworks
Maniphest Tasks: T11950
Differential Revision: https://phabricator.kde.org/D27557