diff --git a/CMakeLists.txt b/CMakeLists.txt
index 51717ea2a3..87334f0eaa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -167,18 +167,21 @@ install(FILES freeroute.jnlp
if(UNIX)
# set resource dir variables
+ #set(KICAD_PROGRAM_ICONS ${CMAKE_INSTALL_PREFIX}/share/kicad/icons)
set(LINUX_RESOURCES_DIR resources/linux)
set(LINUX_DESKTOP_FILES ${LINUX_RESOURCES_DIR}/opendesktop)
- set(LINUX_ICONS ${LINUX_RESOURCES_DIR}/icons)
+ set(LINUX_DESKTOP_ICONS ${LINUX_RESOURCES_DIR}/icons)
+ # Install program icons
+ #add_subdirectory(resources/icons)
# KiCad desktop file
install(FILES ${LINUX_DESKTOP_FILES}/kicad.desktop
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications
COMPONENT resources)
# KiCad icon file
- install(FILES ${LINUX_ICONS}/kicad.png
+ install(FILES ${LINUX_DESKTOP_ICONS}/kicad.png
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps
COMPONENT resources)
@@ -189,7 +192,7 @@ if(UNIX)
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications
COMPONENT resources)
# CVpcb icon file
- install(FILES ${LINUX_ICONS}/kicad_cvpcb.png
+ install(FILES ${LINUX_DESKTOP_ICONS}/kicad_cvpcb.png
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps
COMPONENT resources)
@@ -200,7 +203,7 @@ if(UNIX)
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications
COMPONENT resources)
# EEschema icon file
- install(FILES ${LINUX_ICONS}/kicad_eeschema.png
+ install(FILES ${LINUX_DESKTOP_ICONS}/kicad_eeschema.png
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps
COMPONENT resources)
@@ -211,7 +214,7 @@ if(UNIX)
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications
COMPONENT resources)
# GerbView icon file
- install(FILES ${LINUX_ICONS}/kicad_gerbview.png
+ install(FILES ${LINUX_DESKTOP_ICONS}/kicad_gerbview.png
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps
COMPONENT resources)
@@ -222,7 +225,7 @@ if(UNIX)
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications
COMPONENT resources)
# PCBnew icon file
- install(FILES ${LINUX_ICONS}/kicad_pcbnew.png
+ install(FILES ${LINUX_DESKTOP_ICONS}/kicad_pcbnew.png
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps
COMPONENT resources)
diff --git a/resources/icons/CMakeLists.txt b/resources/icons/CMakeLists.txt
new file mode 100644
index 0000000000..a8a346a235
--- /dev/null
+++ b/resources/icons/CMakeLists.txt
@@ -0,0 +1,9 @@
+#
+# Install the PNG icons
+#
+
+file(GLOB png_icons "*.png")
+
+install (FILES ${png_icons}
+ DESTINATION ${KICAD_PROGRAM_ICONS}
+ COMPONENT resources)
diff --git a/resources/icons/document-new.png b/resources/icons/document-new.png
new file mode 100644
index 0000000000..36ce140644
Binary files /dev/null and b/resources/icons/document-new.png differ
diff --git a/resources/icons/document-open.png b/resources/icons/document-open.png
new file mode 100644
index 0000000000..c3bcfcdae1
Binary files /dev/null and b/resources/icons/document-open.png differ
diff --git a/resources/icons/document-print.png b/resources/icons/document-print.png
new file mode 100644
index 0000000000..2f1a0ff3c5
Binary files /dev/null and b/resources/icons/document-print.png differ
diff --git a/resources/icons/document-save-as.png b/resources/icons/document-save-as.png
new file mode 100644
index 0000000000..a838052abc
Binary files /dev/null and b/resources/icons/document-save-as.png differ
diff --git a/resources/icons/document-save.png b/resources/icons/document-save.png
new file mode 100644
index 0000000000..7da1d7cfab
Binary files /dev/null and b/resources/icons/document-save.png differ
diff --git a/resources/icons/edit-delete.png b/resources/icons/edit-delete.png
new file mode 100644
index 0000000000..184f762851
Binary files /dev/null and b/resources/icons/edit-delete.png differ
diff --git a/resources/icons/edit-find.png b/resources/icons/edit-find.png
new file mode 100644
index 0000000000..bc123a890b
Binary files /dev/null and b/resources/icons/edit-find.png differ
diff --git a/resources/icons/edit-redo.png b/resources/icons/edit-redo.png
new file mode 100644
index 0000000000..57de992cba
Binary files /dev/null and b/resources/icons/edit-redo.png differ
diff --git a/resources/icons/edit-undo.png b/resources/icons/edit-undo.png
new file mode 100644
index 0000000000..48db6f27b8
Binary files /dev/null and b/resources/icons/edit-undo.png differ
diff --git a/resources/icons/help-browser.png b/resources/icons/help-browser.png
new file mode 100644
index 0000000000..854249599f
Binary files /dev/null and b/resources/icons/help-browser.png differ
diff --git a/resources/icons/preferences-fonts.png b/resources/icons/preferences-fonts.png
new file mode 100644
index 0000000000..4d836592bb
Binary files /dev/null and b/resources/icons/preferences-fonts.png differ
diff --git a/resources/icons/save-project.png b/resources/icons/save-project.png
new file mode 100644
index 0000000000..8b38563935
Binary files /dev/null and b/resources/icons/save-project.png differ
diff --git a/resources/icons/source/svg-big/document-print.svg b/resources/icons/source/svg-big/document-print.svg
new file mode 100644
index 0000000000..9034b3e19c
--- /dev/null
+++ b/resources/icons/source/svg-big/document-print.svg
@@ -0,0 +1,741 @@
+
+
+
diff --git a/resources/icons/source/svg-big/edit-delete.svg b/resources/icons/source/svg-big/edit-delete.svg
new file mode 100644
index 0000000000..2dafbf830f
--- /dev/null
+++ b/resources/icons/source/svg-big/edit-delete.svg
@@ -0,0 +1,872 @@
+
+
+
diff --git a/resources/icons/source/svg-big/edit-redo.svg b/resources/icons/source/svg-big/edit-redo.svg
new file mode 100644
index 0000000000..23f0209046
--- /dev/null
+++ b/resources/icons/source/svg-big/edit-redo.svg
@@ -0,0 +1,214 @@
+
+
+
diff --git a/resources/icons/source/svg-big/edit-undo.svg b/resources/icons/source/svg-big/edit-undo.svg
new file mode 100644
index 0000000000..310be02a82
--- /dev/null
+++ b/resources/icons/source/svg-big/edit-undo.svg
@@ -0,0 +1,218 @@
+
+
+
diff --git a/resources/icons/source/svg-big/help-browser.svg b/resources/icons/source/svg-big/help-browser.svg
new file mode 100644
index 0000000000..b7b3a8edba
--- /dev/null
+++ b/resources/icons/source/svg-big/help-browser.svg
@@ -0,0 +1,398 @@
+
+
+
diff --git a/resources/icons/source/svg-big/media-floppy.svg b/resources/icons/source/svg-big/media-floppy.svg
new file mode 100644
index 0000000000..b463075bd2
--- /dev/null
+++ b/resources/icons/source/svg-big/media-floppy.svg
@@ -0,0 +1,493 @@
+
+
+
diff --git a/resources/icons/source/svg-big/preferences-fonts.svg b/resources/icons/source/svg-big/preferences-fonts.svg
new file mode 100644
index 0000000000..15075a8cd1
--- /dev/null
+++ b/resources/icons/source/svg-big/preferences-fonts.svg
@@ -0,0 +1,244 @@
+
+
+
diff --git a/resources/icons/source/svg-big/view-refresh.svg b/resources/icons/source/svg-big/view-refresh.svg
new file mode 100644
index 0000000000..fb51a42b4b
--- /dev/null
+++ b/resources/icons/source/svg-big/view-refresh.svg
@@ -0,0 +1,397 @@
+
+
+
diff --git a/resources/icons/source/svg-big/zoom-auto.svg b/resources/icons/source/svg-big/zoom-auto.svg
new file mode 100644
index 0000000000..220a42e240
--- /dev/null
+++ b/resources/icons/source/svg-big/zoom-auto.svg
@@ -0,0 +1,577 @@
+
+
+
diff --git a/resources/icons/source/svg-big/zoom-in.svg b/resources/icons/source/svg-big/zoom-in.svg
new file mode 100644
index 0000000000..bb38dffb4f
--- /dev/null
+++ b/resources/icons/source/svg-big/zoom-in.svg
@@ -0,0 +1,554 @@
+
+
+
diff --git a/resources/icons/source/svg-big/zoom-out.svg b/resources/icons/source/svg-big/zoom-out.svg
new file mode 100644
index 0000000000..ba623c401e
--- /dev/null
+++ b/resources/icons/source/svg-big/zoom-out.svg
@@ -0,0 +1,554 @@
+
+
+
diff --git a/resources/icons/source/svg-small/document-print.svg b/resources/icons/source/svg-small/document-print.svg
new file mode 100644
index 0000000000..1dc2d59c18
--- /dev/null
+++ b/resources/icons/source/svg-small/document-print.svg
@@ -0,0 +1,350 @@
+
+
+
diff --git a/resources/icons/source/svg-small/edit-find.svg b/resources/icons/source/svg-small/edit-find.svg
new file mode 100644
index 0000000000..b8089499f3
--- /dev/null
+++ b/resources/icons/source/svg-small/edit-find.svg
@@ -0,0 +1,1391 @@
+
+
+
diff --git a/resources/icons/source/svg-small/help-browser.svg b/resources/icons/source/svg-small/help-browser.svg
new file mode 100644
index 0000000000..3e0572adef
--- /dev/null
+++ b/resources/icons/source/svg-small/help-browser.svg
@@ -0,0 +1,306 @@
+
+
+
diff --git a/resources/icons/source/svg-small/preferences-fonts.svg b/resources/icons/source/svg-small/preferences-fonts.svg
new file mode 100644
index 0000000000..c3069d966b
--- /dev/null
+++ b/resources/icons/source/svg-small/preferences-fonts.svg
@@ -0,0 +1,155 @@
+
+
+
diff --git a/resources/icons/source/svg-small/view-refresh.svg b/resources/icons/source/svg-small/view-refresh.svg
new file mode 100644
index 0000000000..f82f57899e
--- /dev/null
+++ b/resources/icons/source/svg-small/view-refresh.svg
@@ -0,0 +1,307 @@
+
+
+
diff --git a/resources/icons/source/svg-small/zoom-auto.svg b/resources/icons/source/svg-small/zoom-auto.svg
new file mode 100644
index 0000000000..31081f1aaf
--- /dev/null
+++ b/resources/icons/source/svg-small/zoom-auto.svg
@@ -0,0 +1,316 @@
+
+
+
diff --git a/resources/icons/source/svg-small/zoom-in.svg b/resources/icons/source/svg-small/zoom-in.svg
new file mode 100644
index 0000000000..ab6a7d189c
--- /dev/null
+++ b/resources/icons/source/svg-small/zoom-in.svg
@@ -0,0 +1,250 @@
+
+
+
diff --git a/resources/icons/source/svg-small/zoom-out.svg b/resources/icons/source/svg-small/zoom-out.svg
new file mode 100644
index 0000000000..541cdbdf64
--- /dev/null
+++ b/resources/icons/source/svg-small/zoom-out.svg
@@ -0,0 +1,246 @@
+
+
+
diff --git a/resources/icons/view-refresh.png b/resources/icons/view-refresh.png
new file mode 100644
index 0000000000..e46da27bf7
Binary files /dev/null and b/resources/icons/view-refresh.png differ
diff --git a/resources/icons/zoom-auto.png b/resources/icons/zoom-auto.png
new file mode 100644
index 0000000000..eb28409a3a
Binary files /dev/null and b/resources/icons/zoom-auto.png differ
diff --git a/resources/icons/zoom-in.png b/resources/icons/zoom-in.png
new file mode 100644
index 0000000000..31ac736f57
Binary files /dev/null and b/resources/icons/zoom-in.png differ
diff --git a/resources/icons/zoom-out.png b/resources/icons/zoom-out.png
new file mode 100644
index 0000000000..df5be3ce82
Binary files /dev/null and b/resources/icons/zoom-out.png differ