From 478c62df31836eff8d244a40c31a285ca7e9f3ee Mon Sep 17 00:00:00 2001 From: Jakub Melka Date: Fri, 23 Jun 2023 20:54:51 +0200 Subject: [PATCH] Linux desktop icons --- CMakeLists.txt | 3 ++ Desktop/Pdf4QtDocDiff.desktop | 4 +-- Desktop/Pdf4QtDocDiff.svg | 18 ++++++++++ Desktop/Pdf4QtDocPageOrganizer.desktop | 4 +-- Desktop/Pdf4QtDocPageOrganizer.svg | 31 +++++++++++++++++ Desktop/Pdf4QtViewerLite.desktop | 4 +-- Desktop/Pdf4QtViewerLite.svg | 29 ++++++++++++++++ Desktop/Pdf4QtViewerProfi.desktop | 4 +-- Desktop/Pdf4QtViewerProfi.svg | 48 ++++++++++++++++++++++++++ 9 files changed, 137 insertions(+), 8 deletions(-) create mode 100644 Desktop/Pdf4QtDocDiff.svg create mode 100644 Desktop/Pdf4QtDocPageOrganizer.svg create mode 100644 Desktop/Pdf4QtViewerLite.svg create mode 100644 Desktop/Pdf4QtViewerProfi.svg diff --git a/CMakeLists.txt b/CMakeLists.txt index 0410480..d656713 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,6 +98,9 @@ if(PDF4QT_INSTALL_DEPENDENCIES) PATTERN "*.dylib" ) + install(FILES Desktop/Pdf4QtDocDiff.desktop Desktop/Pdf4QtDocPageOrganizer.desktop Desktop/Pdf4QtViewerLite.desktop Desktop/Pdf4QtViewerProfi.desktop DESTINATION usr/share/applications) + install(FILES Desktop/Pdf4QtDocDiff.svg Desktop/Pdf4QtDocPageOrganizer.svg Desktop/Pdf4QtViewerLite.svg Desktop/Pdf4QtViewerProfi.svg DESTINATION usr/share/icons) + if("${PDF4QT_QT_ROOT}" STREQUAL "") message(WARNING "Set variable PDF4QT_QT_ROOT to Qt6 root directory") endif() diff --git a/Desktop/Pdf4QtDocDiff.desktop b/Desktop/Pdf4QtDocDiff.desktop index 75eee5b..3b70b0e 100644 --- a/Desktop/Pdf4QtDocDiff.desktop +++ b/Desktop/Pdf4QtDocDiff.desktop @@ -4,6 +4,6 @@ Type=Application Name=PDF4QT DocDiff Comment=PDF Diff Exec=/usr/bin/Pdf4QtDocDiff -Icon=/usr/bin/Pdf4QtDocDiff.png +Icon=/usr/share/icons/Pdf4QtDocDiff.svg Terminal=false -Categories=Utility;Office; \ No newline at end of file +Categories=Utility;Office; diff --git a/Desktop/Pdf4QtDocDiff.svg b/Desktop/Pdf4QtDocDiff.svg new file mode 100644 index 0000000..3c05198 --- /dev/null +++ b/Desktop/Pdf4QtDocDiff.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + diff --git a/Desktop/Pdf4QtDocPageOrganizer.desktop b/Desktop/Pdf4QtDocPageOrganizer.desktop index 74cb0b6..cca0676 100644 --- a/Desktop/Pdf4QtDocPageOrganizer.desktop +++ b/Desktop/Pdf4QtDocPageOrganizer.desktop @@ -4,6 +4,6 @@ Type=Application Name=PDF4QT DocPage Organizer Comment=PDF Document Page Organizer Exec=/usr/bin/Pdf4QtDocPageOrganizer -Icon=/usr/bin/Pdf4QtDocPageOrganizer.png +Icon=/usr/share/icons/Pdf4QtDocPageOrganizer.svg Terminal=false -Categories=Utility;Office; \ No newline at end of file +Categories=Utility;Office; diff --git a/Desktop/Pdf4QtDocPageOrganizer.svg b/Desktop/Pdf4QtDocPageOrganizer.svg new file mode 100644 index 0000000..060f384 --- /dev/null +++ b/Desktop/Pdf4QtDocPageOrganizer.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Desktop/Pdf4QtViewerLite.desktop b/Desktop/Pdf4QtViewerLite.desktop index cb0c320..dfa4fe1 100644 --- a/Desktop/Pdf4QtViewerLite.desktop +++ b/Desktop/Pdf4QtViewerLite.desktop @@ -4,6 +4,6 @@ Type=Application Name=PDF4QT Viewer Lite Comment=PDF Viewer Exec=/usr/bin/Pdf4QtViewerLite -Icon=/usr/bin/Pdf4QtViewerLite.png +Icon=/usr/share/icons/Pdf4QtViewerLite.svg Terminal=false -Categories=Utility;Office; \ No newline at end of file +Categories=Utility;Office; diff --git a/Desktop/Pdf4QtViewerLite.svg b/Desktop/Pdf4QtViewerLite.svg new file mode 100644 index 0000000..3921568 --- /dev/null +++ b/Desktop/Pdf4QtViewerLite.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + diff --git a/Desktop/Pdf4QtViewerProfi.desktop b/Desktop/Pdf4QtViewerProfi.desktop index dae3fea..f936944 100644 --- a/Desktop/Pdf4QtViewerProfi.desktop +++ b/Desktop/Pdf4QtViewerProfi.desktop @@ -4,6 +4,6 @@ Type=Application Name=PDF4QT Viewer Profi Comment=PDF Editor Exec=/usr/bin/Pdf4QtViewerProfi -Icon=/usr/bin/Pdf4QtViewerProfi.png +Icon=/usr/share/icons/Pdf4QtViewerProfi.svg Terminal=false -Categories=Utility;Office; \ No newline at end of file +Categories=Utility;Office; diff --git a/Desktop/Pdf4QtViewerProfi.svg b/Desktop/Pdf4QtViewerProfi.svg new file mode 100644 index 0000000..c325e3a --- /dev/null +++ b/Desktop/Pdf4QtViewerProfi.svg @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + +