diff options
author | gregory guy <gregory-tde@laposte.net> | 2020-07-16 14:07:49 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-26 11:33:19 +0200 |
commit | cd1471858e29d0d23355a93178e063fd0550d31c (patch) | |
tree | 6a4d62d831ce3a5a9b7cabac8cf578f622fd5b43 /sidebar | |
parent | 443bb972fa23026cdd48cfd5976b210c5dd470eb (diff) | |
download | tde-style-baghira-cd1471858e29d0d23355a93178e063fd0550d31c.tar.gz tde-style-baghira-cd1471858e29d0d23355a93178e063fd0550d31c.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>
(cherry picked from commit d0c03cc9a910ea44cea57b1af43bbd90eb86d4bc)
Diffstat (limited to 'sidebar')
-rw-r--r-- | sidebar/CMakeLists.txt | 54 | ||||
-rw-r--r-- | sidebar/baghirasidebar.h | 2 | ||||
-rw-r--r-- | sidebar/dndlistbox.h | 2 | ||||
-rw-r--r-- | sidebar/linkconfig.ui | 1 | ||||
-rw-r--r-- | sidebar/linkview.h | 2 | ||||
-rw-r--r-- | sidebar/listboxlink.h | 2 |
6 files changed, 58 insertions, 5 deletions
diff --git a/sidebar/CMakeLists.txt b/sidebar/CMakeLists.txt new file mode 100644 index 0000000..9954493 --- /dev/null +++ b/sidebar/CMakeLists.txt @@ -0,0 +1,54 @@ + +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} +) + + +##### konqsidebar_baghirasidebar (kpart) + +tde_add_kpart( konqsidebar_baghirasidebar AUTOMOC + + SOURCES + linkconfig.ui + baghirasidebariface.skel + ../starter/baghiralinkdrag.cpp + baghirasidebar.cpp + linkview.cpp + listboxlink.cpp + dndlistbox.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeparts-shared + konqsidebarplugin-shared + + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data + +tde_create_translated_desktop( + SOURCE baghirasidebar_add.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/add +) + +tde_create_translated_desktop( + SOURCE baghirasidebar.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/entries +) + +install( + FILES ../imagebase/poof.png + DESTINATION ${DATA_INSTALL_DIR}/baghira +) diff --git a/sidebar/baghirasidebar.h b/sidebar/baghirasidebar.h index 7591cf7..1a8f982 100644 --- a/sidebar/baghirasidebar.h +++ b/sidebar/baghirasidebar.h @@ -3,7 +3,7 @@ #define BAGHIRASIDEBAR_H #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include <konqsidebarplugin.h> diff --git a/sidebar/dndlistbox.h b/sidebar/dndlistbox.h index 1bd25e2..4f12823 100644 --- a/sidebar/dndlistbox.h +++ b/sidebar/dndlistbox.h @@ -3,7 +3,7 @@ #define DNDLISTBOX_H #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include <tdelistbox.h> diff --git a/sidebar/linkconfig.ui b/sidebar/linkconfig.ui index f387f47..a147b2c 100644 --- a/sidebar/linkconfig.ui +++ b/sidebar/linkconfig.ui @@ -180,7 +180,6 @@ <includehints> <includehint>klineedit.h</includehint> <includehint>kurlrequester.h</includehint> - <includehint>klineedit.h</includehint> <includehint>kpushbutton.h</includehint> <includehint>kicondialog.h</includehint> </includehints> diff --git a/sidebar/linkview.h b/sidebar/linkview.h index 8ea5577..1817d52 100644 --- a/sidebar/linkview.h +++ b/sidebar/linkview.h @@ -3,7 +3,7 @@ #define LINKVIEW_H #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include <tqscrollview.h> diff --git a/sidebar/listboxlink.h b/sidebar/listboxlink.h index 25b587a..ba04c8d 100644 --- a/sidebar/listboxlink.h +++ b/sidebar/listboxlink.h @@ -3,7 +3,7 @@ #define LISTBOXLINK_H #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include <tqlistbox.h> |