[kalzium] [Bug 373566] no more desktop icons installed during build

David Geiger bugzilla_noreply at kde.org
Tue Dec 13 11:00:29 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=373566

--- Comment #2 from David Geiger <geiger.david68210 at gmail.com> ---
Si here is a fix:

1) rename all desktop icons for:

for png in 16 22 32 48 64 128; do
mv src/hi$png-app-kalzium.png src/$png-apps-kalzium.png
done
mv src/hisc-app-kalzium.svgz src/sc-apps-kalzium.svgz

2) use "ecm_install_icons" to install all desktop icons:

diff -Nru a/src/CMakeLists.txt b/src/CMakeLists.txt
--- a/src/CMakeLists.txt        2016-11-12 16:43:16.000000000 +0100
+++ b/src/CMakeLists.txt        2016-12-13 10:56:38.672358722 +0100
@@ -192,4 +192,9 @@
 install(FILES kalziumui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/kalzium)
 install(FILES kalzium.knsrc DESTINATION ${CONFIG_INSTALL_DIR})

-#kde4_install_icons(${ICON_INSTALL_DIR})
+file(GLOB icons "*.png" "*.svgz")
+ecm_install_icons(
+    ICONS ${icons}
+    DESTINATION ${ICON_INSTALL_DIR}
+    THEME hicolor
+)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kalzium mailing list