[Kst] branches/work/kst/portto4/kst

Barth Netterfield netterfield at astro.utoronto.ca
Wed Aug 31 16:08:31 UTC 2011


SVN commit 1250601 by netterfield:

CCBUG: 267828

Under Unix/not apple, install application and mimetype icons in the locations specified by the freedesktop.org spec.

cmake runs, but I haven't tested if this actually does what we want.



 M  +14 -0     cmake/src/kst/CMakeLists.txt  
 A             src/images/128x128 (directory)  
 AM            src/images/128x128/application-x-kst.png  
 AM            src/images/128x128/kst.png  
 A             src/images/32x32 (directory)  
 AM            src/images/32x32/application-x-kst.png  
 AM            src/images/32x32/kst.png  
 A             src/images/48x48 (directory)  
 AM            src/images/48x48/application-x-kst.png  
 AM            src/images/48x48/kst.png  
 A             src/images/64x64 (directory)  
 AM            src/images/64x64/application-x-kst.png  
 AM            src/images/64x64/kst.png  
 A             src/images/svg_icons/application-x-kst.svg  
 M  +1 -1      src/kst/x-kst2.desktop  


--- branches/work/kst/portto4/kst/cmake/src/kst/CMakeLists.txt #1250600:1250601
@@ -52,4 +52,18 @@
 	install(FILES ${k}/kst2.desktop   DESTINATION share/applnk/Graphics)
 	install(FILES ${k}/x-kst2.desktop DESTINATION share/mimelink/application)
 	install(FILES ${k}/kst2.desktop   DESTINATION share/applications)
+
+#       icons
+        install(FILES ${kst_dir}/src/images/32x32/kst.png DESTINATION share/icons/hicolor/32x32/apps)
+        install(FILES ${kst_dir}/src/images/48x48/kst.png DESTINATION share/icons/hicolor/48x48/apps)
+        install(FILES ${kst_dir}/src/images/64x64/kst.png DESTINATION share/icons/hicolor/64x64/apps)
+        install(FILES ${kst_dir}/src/images/128x128/kst.png DESTINATION share/icons/hicolor/128x128/apps)
+        install(FILES ${kst_dir}/src/images/svg_icons/kst.svg DESTINATION share/icons/hicolor/scalable/apps)
+
+        install(FILES ${kst_dir}/src/images/32x32/application-x-kst.png DESTINATION share/icons/hicolor/32x32/apps)
+        install(FILES ${kst_dir}/src/images/48x48/application-x-kst.png DESTINATION share/icons/hicolor/48x48/apps)
+        install(FILES ${kst_dir}/src/images/64x64/application-x-kst.png DESTINATION share/icons/hicolor/64x64/apps)
+        install(FILES ${kst_dir}/src/images/128x128/application-x-kst.png DESTINATION share/icons/hicolor/128x128/apps)
+        install(FILES ${kst_dir}/src/images/svg_icons/application-x-kst.svg DESTINATION share/icons/hicolor/scalable/apps)
+
 endif()
--- branches/work/kst/portto4/kst/src/kst/x-kst2.desktop #1250600:1250601
@@ -4,7 +4,7 @@
 Icon=kst
 DefaultApp=kst2
 Patterns=*.kst;*.KST;
-Comment=Kst Data File
+Comment=Kst Session File
 Comment[br]=Restr roadoù Kst
 Comment[ca]=Fitxer de dades Kst
 Comment[cs]=Kst datový soubor


More information about the Kst mailing list