[2/3] kernel-shark: Start using the new logo and icon
diff mbox series

Message ID 20190607095056.14666-3-ykaradzhov@vmware.com
State Accepted
Headers show
Series
  • New Logos and Icons for KernelShark
Related show

Commit Message

Yordan Karadzhov June 7, 2019, 9:50 a.m. UTC
The new Logo is shown on the title page of the doxygen documentation.
The two new icons are installed ("jumping shark" and "fin only").
The "jumping shark" icon is used by default.

Signed-off-by: Yordan Karadzhov <ykaradzhov@vmware.com>
---
 kernel-shark/CMakeLists.txt     | 6 +++++-
 kernel-shark/doc/dox_config     | 3 ++-
 kernel-shark/src/CMakeLists.txt | 1 +
 3 files changed, 8 insertions(+), 2 deletions(-)

Patch
diff mbox series

diff --git a/kernel-shark/CMakeLists.txt b/kernel-shark/CMakeLists.txt
index 145b058..d45be20 100644
--- a/kernel-shark/CMakeLists.txt
+++ b/kernel-shark/CMakeLists.txt
@@ -41,7 +41,11 @@  if(NOT _INSTALL_PREFIX)
 endif()
 
 set(KS_PLUGIN_INSTALL_PREFIX ${_INSTALL_PREFIX}/lib/${KS_APP_NAME}/plugins/)
-set(KS_ICON ksharkicon.png)
+
+set(KS_ICON        KS_icon_shark.svg)
+set(KS_ICON_FIN    KS_icon_fin.svg)
+set(KS_LOGO        KS_logo_symbol.svg)
+set(KS_LOGO_LABEL  KS_logo_horizontal.svg)
 
 if (NOT _DEBUG)
 
diff --git a/kernel-shark/doc/dox_config b/kernel-shark/doc/dox_config
index c6c53df..43c7f84 100644
--- a/kernel-shark/doc/dox_config
+++ b/kernel-shark/doc/dox_config
@@ -2,7 +2,7 @@ 
 # http://www.doxygen.org/manual/config.html
 
 DOXYFILE_ENCODING      = UTF-8
-PROJECT_NAME           = "kernel-shark"
+PROJECT_NAME           = "KernelShark"
 PROJECT_BRIEF = "Kernel Shark is a front-end reader of the Linux kernel tracing data."
 INPUT                  = ../src/ ../src/plugins/
 SOURCE_BROWSER         = YES
@@ -13,3 +13,4 @@  CASE_SENSE_NAMES       = YES
 SORT_MEMBER_DOCS       = NO
 STRICT_PROTO_MATCHING  = YES
 DOT_MULTI_TARGETS      = YES
+PROJECT_LOGO           = ../icons/KS_logo_stacked.svg
diff --git a/kernel-shark/src/CMakeLists.txt b/kernel-shark/src/CMakeLists.txt
index 6cbc00f..c95741c 100644
--- a/kernel-shark/src/CMakeLists.txt
+++ b/kernel-shark/src/CMakeLists.txt
@@ -85,6 +85,7 @@  if (Qt5Widgets_FOUND AND Qt5Network_FOUND)
             DESTINATION ${_INSTALL_PREFIX}/share/applications/)
 
     install(FILES "${KS_DIR}/icons/${KS_ICON}"
+                  "${KS_DIR}/icons/${KS_ICON_FIN}"
             DESTINATION ${_INSTALL_PREFIX}/share/icons/${KS_APP_NAME})
 
     install(FILES "${KS_DIR}/org.freedesktop.kshark-record.policy"