diff options
author | Michele Calgaro <[email protected]> | 2024-12-01 10:36:36 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-12-26 10:37:38 +0900 |
commit | 76a8e935be38afad0105c46d5a2aa7b58162223b (patch) | |
tree | ec4150730a6bb1900c9d4541fd9faf0c4d41b00a /src/imageplugins | |
parent | 67fd8bef19878c6940d48fbdafe07a8842c99fd1 (diff) | |
download | digikam-76a8e935be38afad0105c46d5a2aa7b58162223b.tar.gz digikam-76a8e935be38afad0105c46d5a2aa7b58162223b.zip |
Conversion to cmake building system
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/imageplugins')
35 files changed, 849 insertions, 6 deletions
diff --git a/src/imageplugins/CMakeLists.txt b/src/imageplugins/CMakeLists.txt new file mode 100644 index 00000000..8b58495f --- /dev/null +++ b/src/imageplugins/CMakeLists.txt @@ -0,0 +1,44 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libs/curves + ${CMAKE_SOURCE_DIR}/src/libs/dialogs + ${CMAKE_SOURCE_DIR}/src/libs/dimg/filters + ${CMAKE_SOURCE_DIR}/src/libs/levels + ${CMAKE_SOURCE_DIR}/src/libs/whitebalance + ${CMAKE_SOURCE_DIR}/src/libs/widgets/common + ${CMAKE_SOURCE_DIR}/src/libs/widgets/iccprofiles + ${CMAKE_SOURCE_DIR}/src/libs/widgets/imageplugins + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/canvas + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/editor +) + + +##### subfolders + +add_subdirectory( coreplugin ) +add_subdirectory( adjustcurves ) +add_subdirectory( adjustlevels ) +add_subdirectory( antivignetting ) +add_subdirectory( blurfx ) +add_subdirectory( border ) +add_subdirectory( channelmixer ) +add_subdirectory( charcoal ) +add_subdirectory( colorfx ) +add_subdirectory( distortionfx ) +add_subdirectory( emboss ) +add_subdirectory( filmgrain ) +add_subdirectory( freerotation ) +add_subdirectory( hotpixels ) +add_subdirectory( infrared ) +add_subdirectory( inpainting ) +add_subdirectory( inserttext ) +add_subdirectory( lensdistortion ) +add_subdirectory( noisereduction ) +add_subdirectory( oilpaint ) +add_subdirectory( perspective ) +add_subdirectory( raindrop ) +add_subdirectory( restoration ) +add_subdirectory( sheartool ) +add_subdirectory( superimpose ) +add_subdirectory( texture ) +add_subdirectory( whitebalance ) diff --git a/src/imageplugins/adjustcurves/CMakeLists.txt b/src/imageplugins/adjustcurves/CMakeLists.txt new file mode 100644 index 00000000..92fbc40d --- /dev/null +++ b/src/imageplugins/adjustcurves/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_adjustcurves (kpart) + +tde_add_kpart( digikamimageplugin_adjustcurves AUTOMOC + SOURCES imageplugin_adjustcurves.cpp adjustcurvestool.cpp + LINK digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_adjustcurves_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_adjustcurves.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/adjustlevels/CMakeLists.txt b/src/imageplugins/adjustlevels/CMakeLists.txt new file mode 100644 index 00000000..8dacb119 --- /dev/null +++ b/src/imageplugins/adjustlevels/CMakeLists.txt @@ -0,0 +1,27 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${KDCRAW_INCLUDE_DIRS} +) + + +##### digikamimageplugin_adjustlevels (kpart) + +tde_add_kpart( digikamimageplugin_adjustlevels AUTOMOC + SOURCES imageplugin_adjustlevels.cpp adjustlevelstool.cpp + LINK digikam-shared tdecore-shared tdeutils-shared ${KDCRAW_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_adjustlevels_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_adjustlevels.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/antivignetting/CMakeLists.txt b/src/imageplugins/antivignetting/CMakeLists.txt new file mode 100644 index 00000000..6cd22acb --- /dev/null +++ b/src/imageplugins/antivignetting/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_antivignetting (kpart) + +tde_add_kpart( digikamimageplugin_antivignetting AUTOMOC + SOURCES imageplugin_antivignetting.cpp antivignettingtool.cpp antivignetting.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_antivignetting_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_antivignetting.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/blurfx/CMakeLists.txt b/src/imageplugins/blurfx/CMakeLists.txt new file mode 100644 index 00000000..a0eb8052 --- /dev/null +++ b/src/imageplugins/blurfx/CMakeLists.txt @@ -0,0 +1,28 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_blurfx (kpart) + +tde_add_kpart( digikamimageplugin_blurfx AUTOMOC + SOURCES imageplugin_blurfx.cpp blurfxtool.cpp blurfx.cpp + LINK + dimgfilters-static dimg-static digikam-shared + tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_blurfx_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_blurfx.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/border/CMakeLists.txt b/src/imageplugins/border/CMakeLists.txt new file mode 100644 index 00000000..e9230ca0 --- /dev/null +++ b/src/imageplugins/border/CMakeLists.txt @@ -0,0 +1,31 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### subfolders + +add_subdirectory( patterns ) + + +##### digikamimageplugin_border (kpart) + +tde_add_kpart( digikamimageplugin_border AUTOMOC + SOURCES imageplugin_border.cpp bordertool.cpp border.cpp + LINK dimg-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_border_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_border.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/border/patterns/CMakeLists.txt b/src/imageplugins/border/patterns/CMakeLists.txt new file mode 100644 index 00000000..348a5816 --- /dev/null +++ b/src/imageplugins/border/patterns/CMakeLists.txt @@ -0,0 +1,8 @@ +install( + FILES + pine-pattern.png wood-pattern.png paper-pattern.png parque-pattern.png + ice-pattern.png leaf-pattern.png marble-pattern.png rain-pattern.png + craters-pattern.png dried-pattern.png pink-pattern.png stone-pattern.png + chalk-pattern.png granit-pattern.png rock-pattern.png wall-pattern.png + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/data +) diff --git a/src/imageplugins/channelmixer/CMakeLists.txt b/src/imageplugins/channelmixer/CMakeLists.txt new file mode 100644 index 00000000..77fcfacb --- /dev/null +++ b/src/imageplugins/channelmixer/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_channelmixer (kpart) + +tde_add_kpart( digikamimageplugin_channelmixer AUTOMOC + SOURCES imageplugin_channelmixer.cpp channelmixertool.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_channelmixer_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_channelmixer.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/charcoal/CMakeLists.txt b/src/imageplugins/charcoal/CMakeLists.txt new file mode 100644 index 00000000..5758cc14 --- /dev/null +++ b/src/imageplugins/charcoal/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_charcoal (kpart) + +tde_add_kpart( digikamimageplugin_charcoal AUTOMOC + SOURCES imageplugin_charcoal.cpp charcoaltool.cpp charcoal.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_charcoal_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_charcoal.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/colorfx/CMakeLists.txt b/src/imageplugins/colorfx/CMakeLists.txt new file mode 100644 index 00000000..26ffe375 --- /dev/null +++ b/src/imageplugins/colorfx/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_colorfx (kpart) + +tde_add_kpart( digikamimageplugin_colorfx AUTOMOC + SOURCES imageplugin_colorfx.cpp colorfxtool.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_colorfx_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_colorfx.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/coreplugin/CMakeLists.txt b/src/imageplugins/coreplugin/CMakeLists.txt new file mode 100644 index 00000000..85110f77 --- /dev/null +++ b/src/imageplugins/coreplugin/CMakeLists.txt @@ -0,0 +1,41 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/hsl + ${CMAKE_CURRENT_SOURCE_DIR}/ratiocrop + ${CMAKE_CURRENT_SOURCE_DIR}/sharpnesseditor + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### subfolders + +add_subdirectory( hsl ) +add_subdirectory( ratiocrop ) +add_subdirectory( sharpnesseditor ) + + +##### digikamimageplugin_core (kpart) + +tde_add_kpart( digikamimageplugin_core AUTOMOC + SOURCES + imageplugin_core.cpp bwsepiatool.cpp autocorrectiontool.cpp rgbtool.cpp redeyetool.cpp + blurtool.cpp iccprooftool.cpp bcgtool.cpp + LINK + sharpnesseditor-static hsl-static ratiocrop-static dimg-static dimgeditor-static + curves-static commonwidgets-static imagepluginswidgets-static digikam-shared + tdecore-shared tdeutils-shared ${KEXIV2_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_core_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_core.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/coreplugin/hsl/CMakeLists.txt b/src/imageplugins/coreplugin/hsl/CMakeLists.txt new file mode 100644 index 00000000..37a90b6a --- /dev/null +++ b/src/imageplugins/coreplugin/hsl/CMakeLists.txt @@ -0,0 +1,11 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### hsl (static) + +tde_add_library( hsl STATIC_PIC AUTOMOC + SOURCES hsltool.cpp hspreviewwidget.cpp +) diff --git a/src/imageplugins/coreplugin/ratiocrop/CMakeLists.txt b/src/imageplugins/coreplugin/ratiocrop/CMakeLists.txt new file mode 100644 index 00000000..ca24d31f --- /dev/null +++ b/src/imageplugins/coreplugin/ratiocrop/CMakeLists.txt @@ -0,0 +1,11 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### ratiocrop (static) + +tde_add_library( ratiocrop STATIC_PIC AUTOMOC + SOURCES ratiocroptool.cpp imageselectionwidget.cpp +) diff --git a/src/imageplugins/coreplugin/sharpnesseditor/CMakeLists.txt b/src/imageplugins/coreplugin/sharpnesseditor/CMakeLists.txt new file mode 100644 index 00000000..38dfff10 --- /dev/null +++ b/src/imageplugins/coreplugin/sharpnesseditor/CMakeLists.txt @@ -0,0 +1,18 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/clapack + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### subfolders + +add_subdirectory( clapack ) + + +##### sharpnesseditor (static) + +tde_add_library( sharpnesseditor STATIC_PIC AUTOMOC + SOURCES sharpentool.cpp unsharp.cpp matrix.cpp refocus.cpp + LINK lapack-static +) diff --git a/src/imageplugins/coreplugin/sharpnesseditor/clapack/CMakeLists.txt b/src/imageplugins/coreplugin/sharpnesseditor/clapack/CMakeLists.txt new file mode 100644 index 00000000..6a8a7c11 --- /dev/null +++ b/src/imageplugins/coreplugin/sharpnesseditor/clapack/CMakeLists.txt @@ -0,0 +1,9 @@ + +##### lapack (static) + +tde_add_library( lapack STATIC_PIC AUTOMOC + SOURCES + abort_.c dgesv.c dlaswp.c endfile.c idamax.c open.c sig_die.c wref.c close.c dgetf2.c dscal.c + err.c ieeeck.c s_cmp.c s_stop.c wrtfmt.c dgemm.c dgetrf.c dswap.c fmt.c ilaenv.c s_copy.c wsfe.c + dger.c dgetrs.c dtrsm.c fmtlib.c lsame.c sfe.c util.c xerbla.c +) diff --git a/src/imageplugins/distortionfx/CMakeLists.txt b/src/imageplugins/distortionfx/CMakeLists.txt new file mode 100644 index 00000000..c0ed4d97 --- /dev/null +++ b/src/imageplugins/distortionfx/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_distortionfx (kpart) + +tde_add_kpart( digikamimageplugin_distortionfx AUTOMOC + SOURCES imageplugin_distortionfx.cpp distortionfxtool.cpp distortionfx.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_distortionfx_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_distortionfx.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/emboss/CMakeLists.txt b/src/imageplugins/emboss/CMakeLists.txt new file mode 100644 index 00000000..c9a97db6 --- /dev/null +++ b/src/imageplugins/emboss/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_emboss (kpart) + +tde_add_kpart( digikamimageplugin_emboss AUTOMOC + SOURCES imageplugin_emboss.cpp embosstool.cpp emboss.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_emboss_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_emboss.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/filmgrain/CMakeLists.txt b/src/imageplugins/filmgrain/CMakeLists.txt new file mode 100644 index 00000000..860eeffc --- /dev/null +++ b/src/imageplugins/filmgrain/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_filmgrain (kpart) + +tde_add_kpart( digikamimageplugin_filmgrain AUTOMOC + SOURCES imageplugin_filmgrain.cpp filmgraintool.cpp filmgrain.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_filmgrain_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_filmgrain.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/freerotation/CMakeLists.txt b/src/imageplugins/freerotation/CMakeLists.txt new file mode 100644 index 00000000..ce4ac074 --- /dev/null +++ b/src/imageplugins/freerotation/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_freerotation (kpart) + +tde_add_kpart( digikamimageplugin_freerotation AUTOMOC + SOURCES imageplugin_freerotation.cpp freerotationtool.cpp freerotation.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_freerotation_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_freerotation.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/hotpixels/CMakeLists.txt b/src/imageplugins/hotpixels/CMakeLists.txt new file mode 100644 index 00000000..efc2aec2 --- /dev/null +++ b/src/imageplugins/hotpixels/CMakeLists.txt @@ -0,0 +1,29 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libs/threadimageio +) + + +##### digikamimageplugin_hotpixels (kpart) + +tde_add_kpart( digikamimageplugin_hotpixels AUTOMOC + SOURCES + blackframeparser.cpp weights.cpp hotpixelfixer.cpp imageplugin_hotpixels.cpp + blackframelistview.cpp hotpixelstool.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_hotpixels_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_hotpixels.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/hotpixels/hotpixelfixer.cpp b/src/imageplugins/hotpixels/hotpixelfixer.cpp index d29b8525..07ba002f 100644 --- a/src/imageplugins/hotpixels/hotpixelfixer.cpp +++ b/src/imageplugins/hotpixels/hotpixelfixer.cpp @@ -24,6 +24,7 @@ // C++ includes. +#include <cfloat> #include <cmath> #include <cstdlib> @@ -39,12 +40,6 @@ #include "ddebug.h" #include "hotpixelfixer.h" -#ifdef HAVE_FLOAT_H -#if HAVE_FLOAT_H -# include <float.h> -#endif -#endif - #ifndef DBL_MIN # define DBL_MIN 1e-37 #endif diff --git a/src/imageplugins/infrared/CMakeLists.txt b/src/imageplugins/infrared/CMakeLists.txt new file mode 100644 index 00000000..f87a9017 --- /dev/null +++ b/src/imageplugins/infrared/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_infrared (kpart) + +tde_add_kpart( digikamimageplugin_infrared AUTOMOC + SOURCES imageplugin_infrared.cpp infraredtool.cpp infrared.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_infrared_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_infrared.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/inpainting/CMakeLists.txt b/src/imageplugins/inpainting/CMakeLists.txt new file mode 100644 index 00000000..fb11dd8b --- /dev/null +++ b/src/imageplugins/inpainting/CMakeLists.txt @@ -0,0 +1,27 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libs/greycstoration +) + + +##### digikamimageplugin_inpainting (kpart) + +tde_add_kpart( digikamimageplugin_inpainting AUTOMOC + SOURCES imageplugin_inpainting.cpp inpaintingtool.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_inpainting_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_inpainting.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/inserttext/CMakeLists.txt b/src/imageplugins/inserttext/CMakeLists.txt new file mode 100644 index 00000000..3879abde --- /dev/null +++ b/src/imageplugins/inserttext/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_inserttext (kpart) + +tde_add_kpart( digikamimageplugin_inserttext AUTOMOC + SOURCES imageplugin_inserttext.cpp inserttextwidget.cpp inserttexttool.cpp fontchooserwidget.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_inserttext_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_inserttext.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/lensdistortion/CMakeLists.txt b/src/imageplugins/lensdistortion/CMakeLists.txt new file mode 100644 index 00000000..2dd66f23 --- /dev/null +++ b/src/imageplugins/lensdistortion/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_lensdistortion (kpart) + +tde_add_kpart( digikamimageplugin_lensdistortion AUTOMOC + SOURCES imageplugin_lensdistortion.cpp lensdistortiontool.cpp lensdistortion.cpp pixelaccess.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_lensdistortion_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_lensdistortion.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/noisereduction/CMakeLists.txt b/src/imageplugins/noisereduction/CMakeLists.txt new file mode 100644 index 00000000..5eb5b947 --- /dev/null +++ b/src/imageplugins/noisereduction/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_noisereduction (kpart) + +tde_add_kpart( digikamimageplugin_noisereduction AUTOMOC + SOURCES imageplugin_noisereduction.cpp noisereductiontool.cpp noisereduction.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_noisereduction_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_noisereduction.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/oilpaint/CMakeLists.txt b/src/imageplugins/oilpaint/CMakeLists.txt new file mode 100644 index 00000000..6fcb06d0 --- /dev/null +++ b/src/imageplugins/oilpaint/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_oilpaint (kpart) + +tde_add_kpart( digikamimageplugin_oilpaint AUTOMOC + SOURCES imageplugin_oilpaint.cpp oilpainttool.cpp oilpaint.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_oilpaint_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_oilpaint.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/perspective/CMakeLists.txt b/src/imageplugins/perspective/CMakeLists.txt new file mode 100644 index 00000000..92e11cb2 --- /dev/null +++ b/src/imageplugins/perspective/CMakeLists.txt @@ -0,0 +1,27 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_perspective (kpart) + +tde_add_kpart( digikamimageplugin_perspective AUTOMOC + SOURCES + imageplugin_perspective.cpp perspectivetool.cpp perspectivewidget.cpp triangle.cpp matrix.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_perspective_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_perspective.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/raindrop/CMakeLists.txt b/src/imageplugins/raindrop/CMakeLists.txt new file mode 100644 index 00000000..e0467e0a --- /dev/null +++ b/src/imageplugins/raindrop/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_raindrop (kpart) + +tde_add_kpart( digikamimageplugin_raindrop AUTOMOC + SOURCES imageplugin_raindrop.cpp raindroptool.cpp raindrop.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_raindrop_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_raindrop.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/restoration/CMakeLists.txt b/src/imageplugins/restoration/CMakeLists.txt new file mode 100644 index 00000000..8fab08f6 --- /dev/null +++ b/src/imageplugins/restoration/CMakeLists.txt @@ -0,0 +1,27 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libs/greycstoration +) + + +##### digikamimageplugin_restoration (kpart) + +tde_add_kpart( digikamimageplugin_restoration AUTOMOC + SOURCES imageplugin_restoration.cpp restorationtool.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_restoration_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_restoration.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/sheartool/CMakeLists.txt b/src/imageplugins/sheartool/CMakeLists.txt new file mode 100644 index 00000000..cb16491c --- /dev/null +++ b/src/imageplugins/sheartool/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_sheartool (kpart) + +tde_add_kpart( digikamimageplugin_sheartool AUTOMOC + SOURCES imageplugin_sheartool.cpp sheartool.cpp shear.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_sheartool_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_sheartool.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/superimpose/CMakeLists.txt b/src/imageplugins/superimpose/CMakeLists.txt new file mode 100644 index 00000000..aa75a403 --- /dev/null +++ b/src/imageplugins/superimpose/CMakeLists.txt @@ -0,0 +1,29 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libs/thumbbar +) + + +##### digikamimageplugin_superimpose (kpart) + +tde_add_kpart( digikamimageplugin_superimpose AUTOMOC + SOURCES + superimposewidget.cpp superimpose.cpp dirselectwidget.cpp imageplugin_superimpose.cpp + superimposetool.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_superimpose_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_superimpose.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/texture/CMakeLists.txt b/src/imageplugins/texture/CMakeLists.txt new file mode 100644 index 00000000..3559b8a5 --- /dev/null +++ b/src/imageplugins/texture/CMakeLists.txt @@ -0,0 +1,31 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### subfolders + +add_subdirectory( patterns ) + + +##### digikamimageplugin_texture (kpart) + +tde_add_kpart( digikamimageplugin_texture AUTOMOC + SOURCES imageplugin_texture.cpp texturetool.cpp texture.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_texture_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_texture.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/src/imageplugins/texture/patterns/CMakeLists.txt b/src/imageplugins/texture/patterns/CMakeLists.txt new file mode 100644 index 00000000..067b04a1 --- /dev/null +++ b/src/imageplugins/texture/patterns/CMakeLists.txt @@ -0,0 +1,8 @@ +install( + FILES + bricks2-texture.png bricks-texture.png burlap-texture.png canvas-texture.png + marble2-texture.png marble-texture.png paper-texture.png stone-texture.png + fabric-texture.png paper2-texture.png bluejean-texture.png cellwood-texture.png + metalwire-texture.png modern-texture.png wall-texture.png moss-texture.png + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/data +) diff --git a/src/imageplugins/whitebalance/CMakeLists.txt b/src/imageplugins/whitebalance/CMakeLists.txt new file mode 100644 index 00000000..d86db1e3 --- /dev/null +++ b/src/imageplugins/whitebalance/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +) + + +##### digikamimageplugin_whitebalance (kpart) + +tde_add_kpart( digikamimageplugin_whitebalance AUTOMOC + SOURCES imageplugin_whitebalance.cpp whitebalancetool.cpp + LINK dimgfilters-static digikam-shared tdecore-shared tdeutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES digikamimageplugin_whitebalance_ui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin_whitebalance.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) |