diff options
author | gregory guy <gregory-tde@laposte.net> | 2020-07-16 14:07:49 +0200 |
---|---|---|
committer | gregory guy <gregory-tde@laposte.net> | 2020-07-18 17:40:43 +0200 |
commit | d0c03cc9a910ea44cea57b1af43bbd90eb86d4bc (patch) | |
tree | 3509747590af2f2833e7f387a57af763084f253e /sessionapplet | |
parent | 7815a4d67f1fbaaa198737a14f3aafab8f1bad61 (diff) | |
download | tde-style-baghira-d0c03cc9a910ea44cea57b1af43bbd90eb86d4bc.tar.gz tde-style-baghira-d0c03cc9a910ea44cea57b1af43bbd90eb86d4bc.zip |
Conversion to the cmake building system.
Added a man page taken from the Debian packaging system.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Resolve issues that occurred during CMake conversion.
Concatenate the commands for generating pixmaps.h with CMake
so that there is no need to use the GNU specific sed option -i.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'sessionapplet')
-rw-r--r-- | sessionapplet/CMakeLists.txt | 36 | ||||
-rw-r--r-- | sessionapplet/usermanager.cpp | 2 | ||||
-rw-r--r-- | sessionapplet/usermanager.h | 2 |
3 files changed, 39 insertions, 1 deletions
diff --git a/sessionapplet/CMakeLists.txt b/sessionapplet/CMakeLists.txt new file mode 100644 index 0000000..51b880e --- /dev/null +++ b/sessionapplet/CMakeLists.txt @@ -0,0 +1,36 @@ + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIBRARY_DIRS} +) + + +##### usermanager_panelapplet (shared) + +tde_add_library( usermanager_panelapplet MODULE AUTOMOC + + SOURCES + usermanager.cpp + dmctl.cpp + LINK + tdeui-shared + tdecore-shared + + DESTINATION ${LIB_INSTALL_DIR} +) + + +##### other data + +tde_create_translated_desktop( + SOURCE usermanager.desktop + DESTINATION ${DATA_INSTALL_DIR}/kicker/applets +) diff --git a/sessionapplet/usermanager.cpp b/sessionapplet/usermanager.cpp index 01c05d8..5cc49a1 100644 --- a/sessionapplet/usermanager.cpp +++ b/sessionapplet/usermanager.cpp @@ -279,3 +279,5 @@ extern "C" return new UserManager(configFile, KPanelApplet::Normal, KPanelApplet::About, parent, "usermanager"); } } + +#include "usermanager.moc" diff --git a/sessionapplet/usermanager.h b/sessionapplet/usermanager.h index 4767d4f..65fe350 100644 --- a/sessionapplet/usermanager.h +++ b/sessionapplet/usermanager.h @@ -23,7 +23,7 @@ #define USERMANAGER_H #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include <kpanelapplet.h> |