From 079304a40aa3160172ccf5285bd0a2cede403513 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Tue, 30 Mar 2021 17:34:00 +0300 Subject: CMake build system support. Signed-off-by: Mavridis Philippe --- src/CMakeL10n.txt | 3 ++ src/CMakeLists.txt | 43 +++++++++++++++++++++ ...hi16-action-kompose_current_virtual_desktop.png | Bin 886 -> 0 bytes ...6-action-kompose_grouped_by_virtual_desktop.png | Bin 809 -> 0 bytes src/hi16-action-kompose_ungrouped.png | Bin 681 -> 0 bytes src/hi16-app-kompose.png | Bin 684 -> 0 bytes ...hi32-action-kompose_current_virtual_desktop.png | Bin 1941 -> 0 bytes ...2-action-kompose_grouped_by_virtual_desktop.png | Bin 1490 -> 0 bytes src/hi32-action-kompose_ungrouped.png | Bin 1352 -> 0 bytes src/hi32-app-kompose.png | Bin 1646 -> 0 bytes src/icons/CMakeLists.txt | 2 + ...hi16-action-kompose_current_virtual_desktop.png | Bin 0 -> 886 bytes ...6-action-kompose_grouped_by_virtual_desktop.png | Bin 0 -> 809 bytes src/icons/hi16-action-kompose_ungrouped.png | Bin 0 -> 681 bytes src/icons/hi16-app-kompose.png | Bin 0 -> 684 bytes ...hi32-action-kompose_current_virtual_desktop.png | Bin 0 -> 1941 bytes ...2-action-kompose_grouped_by_virtual_desktop.png | Bin 0 -> 1490 bytes src/icons/hi32-action-kompose_ungrouped.png | Bin 0 -> 1352 bytes src/icons/hi32-app-kompose.png | Bin 0 -> 1646 bytes 19 files changed, 48 insertions(+) create mode 100644 src/CMakeL10n.txt create mode 100644 src/CMakeLists.txt delete mode 100644 src/hi16-action-kompose_current_virtual_desktop.png delete mode 100644 src/hi16-action-kompose_grouped_by_virtual_desktop.png delete mode 100644 src/hi16-action-kompose_ungrouped.png delete mode 100644 src/hi16-app-kompose.png delete mode 100644 src/hi32-action-kompose_current_virtual_desktop.png delete mode 100644 src/hi32-action-kompose_grouped_by_virtual_desktop.png delete mode 100644 src/hi32-action-kompose_ungrouped.png delete mode 100644 src/hi32-app-kompose.png create mode 100644 src/icons/CMakeLists.txt create mode 100644 src/icons/hi16-action-kompose_current_virtual_desktop.png create mode 100644 src/icons/hi16-action-kompose_grouped_by_virtual_desktop.png create mode 100644 src/icons/hi16-action-kompose_ungrouped.png create mode 100644 src/icons/hi16-app-kompose.png create mode 100644 src/icons/hi32-action-kompose_current_virtual_desktop.png create mode 100644 src/icons/hi32-action-kompose_grouped_by_virtual_desktop.png create mode 100644 src/icons/hi32-action-kompose_ungrouped.png create mode 100644 src/icons/hi32-app-kompose.png (limited to 'src') diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt new file mode 100644 index 0000000..7d91398 --- /dev/null +++ b/src/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "messages/kompose" ) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..6bb3f3e --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,43 @@ +add_subdirectory( icons ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${IMLIB2_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + +##### kompose (executable) +tde_add_executable( ${PROJECT_NAME} AUTOMOC + + SOURCES + main.cpp kompose.cpp komposetaskmanager.cpp komposetask.cpp + komposewidget.cpp komposetaskwidget.cpp komposedesktopwidget.cpp komposelayout.cpp + komposesystray.cpp komposefullscreenwidget.cpp komposesettings.cpp komposepreferences.cpp + komposetaskprefswidget.cpp komposeglobal.cpp komposetaskcontainerwidget.cpp + komposetaskvisualizer.cpp komposeviewmanager.cpp komposedcopiface.skel + + LINK + tdecore-shared + tdeui-shared + ${IMLIB2_LIBRARIES} + + DESTINATION ${BIN_INSTALL_DIR} +) + +##### create translated desktop files + +tde_create_translated_desktop( kompose.desktop ) + +##### install XML-GUI resource file +install( + FILES komposeui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) diff --git a/src/hi16-action-kompose_current_virtual_desktop.png b/src/hi16-action-kompose_current_virtual_desktop.png deleted file mode 100644 index de19389..0000000 Binary files a/src/hi16-action-kompose_current_virtual_desktop.png and /dev/null differ diff --git a/src/hi16-action-kompose_grouped_by_virtual_desktop.png b/src/hi16-action-kompose_grouped_by_virtual_desktop.png deleted file mode 100644 index 26dc380..0000000 Binary files a/src/hi16-action-kompose_grouped_by_virtual_desktop.png and /dev/null differ diff --git a/src/hi16-action-kompose_ungrouped.png b/src/hi16-action-kompose_ungrouped.png deleted file mode 100644 index 7bd14a3..0000000 Binary files a/src/hi16-action-kompose_ungrouped.png and /dev/null differ diff --git a/src/hi16-app-kompose.png b/src/hi16-app-kompose.png deleted file mode 100644 index 691be39..0000000 Binary files a/src/hi16-app-kompose.png and /dev/null differ diff --git a/src/hi32-action-kompose_current_virtual_desktop.png b/src/hi32-action-kompose_current_virtual_desktop.png deleted file mode 100644 index 0854ab6..0000000 Binary files a/src/hi32-action-kompose_current_virtual_desktop.png and /dev/null differ diff --git a/src/hi32-action-kompose_grouped_by_virtual_desktop.png b/src/hi32-action-kompose_grouped_by_virtual_desktop.png deleted file mode 100644 index c3d92a0..0000000 Binary files a/src/hi32-action-kompose_grouped_by_virtual_desktop.png and /dev/null differ diff --git a/src/hi32-action-kompose_ungrouped.png b/src/hi32-action-kompose_ungrouped.png deleted file mode 100644 index 5497100..0000000 Binary files a/src/hi32-action-kompose_ungrouped.png and /dev/null differ diff --git a/src/hi32-app-kompose.png b/src/hi32-app-kompose.png deleted file mode 100644 index 45ec52a..0000000 Binary files a/src/hi32-app-kompose.png and /dev/null differ diff --git a/src/icons/CMakeLists.txt b/src/icons/CMakeLists.txt new file mode 100644 index 0000000..fd330f5 --- /dev/null +++ b/src/icons/CMakeLists.txt @@ -0,0 +1,2 @@ +tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/icons ) +tde_install_icons( app-kompose ) diff --git a/src/icons/hi16-action-kompose_current_virtual_desktop.png b/src/icons/hi16-action-kompose_current_virtual_desktop.png new file mode 100644 index 0000000..de19389 Binary files /dev/null and b/src/icons/hi16-action-kompose_current_virtual_desktop.png differ diff --git a/src/icons/hi16-action-kompose_grouped_by_virtual_desktop.png b/src/icons/hi16-action-kompose_grouped_by_virtual_desktop.png new file mode 100644 index 0000000..26dc380 Binary files /dev/null and b/src/icons/hi16-action-kompose_grouped_by_virtual_desktop.png differ diff --git a/src/icons/hi16-action-kompose_ungrouped.png b/src/icons/hi16-action-kompose_ungrouped.png new file mode 100644 index 0000000..7bd14a3 Binary files /dev/null and b/src/icons/hi16-action-kompose_ungrouped.png differ diff --git a/src/icons/hi16-app-kompose.png b/src/icons/hi16-app-kompose.png new file mode 100644 index 0000000..691be39 Binary files /dev/null and b/src/icons/hi16-app-kompose.png differ diff --git a/src/icons/hi32-action-kompose_current_virtual_desktop.png b/src/icons/hi32-action-kompose_current_virtual_desktop.png new file mode 100644 index 0000000..0854ab6 Binary files /dev/null and b/src/icons/hi32-action-kompose_current_virtual_desktop.png differ diff --git a/src/icons/hi32-action-kompose_grouped_by_virtual_desktop.png b/src/icons/hi32-action-kompose_grouped_by_virtual_desktop.png new file mode 100644 index 0000000..c3d92a0 Binary files /dev/null and b/src/icons/hi32-action-kompose_grouped_by_virtual_desktop.png differ diff --git a/src/icons/hi32-action-kompose_ungrouped.png b/src/icons/hi32-action-kompose_ungrouped.png new file mode 100644 index 0000000..5497100 Binary files /dev/null and b/src/icons/hi32-action-kompose_ungrouped.png differ diff --git a/src/icons/hi32-app-kompose.png b/src/icons/hi32-app-kompose.png new file mode 100644 index 0000000..45ec52a Binary files /dev/null and b/src/icons/hi32-app-kompose.png differ -- cgit v1.2.1