diff options
Diffstat (limited to 'src/utilities')
-rw-r--r-- | src/utilities/CMakeLists.txt | 10 | ||||
-rw-r--r-- | src/utilities/batch/CMakeLists.txt | 17 | ||||
-rw-r--r-- | src/utilities/cameragui/CMakeLists.txt | 22 | ||||
-rw-r--r-- | src/utilities/hotplug/CMakeLists.txt | 15 | ||||
-rw-r--r-- | src/utilities/hotplug/digikam-download.desktop.cmake | 27 | ||||
-rw-r--r-- | src/utilities/hotplug/digikam-gphoto2-camera.desktop.cmake | 27 | ||||
-rw-r--r-- | src/utilities/hotplug/digikam-mount-and-download.desktop.cmake | 27 | ||||
-rw-r--r-- | src/utilities/imageeditor/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/utilities/imageeditor/canvas/CMakeLists.txt | 28 | ||||
-rw-r--r-- | src/utilities/imageeditor/editor/CMakeLists.txt | 57 | ||||
-rw-r--r-- | src/utilities/imageeditor/rawimport/CMakeLists.txt | 22 | ||||
-rw-r--r-- | src/utilities/imageeditor/tools/CMakeLists.txt | 16 | ||||
-rw-r--r-- | src/utilities/lighttable/CMakeLists.txt | 31 | ||||
-rw-r--r-- | src/utilities/scripts/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/utilities/setup/CMakeLists.txt | 31 | ||||
-rw-r--r-- | src/utilities/slideshow/CMakeLists.txt | 13 |
16 files changed, 355 insertions, 0 deletions
diff --git a/src/utilities/CMakeLists.txt b/src/utilities/CMakeLists.txt new file mode 100644 index 00000000..65866a7a --- /dev/null +++ b/src/utilities/CMakeLists.txt @@ -0,0 +1,10 @@ +##### subfolders + +add_subdirectory( imageeditor ) +add_subdirectory( setup ) +add_subdirectory( cameragui ) +add_subdirectory( hotplug ) +add_subdirectory( scripts ) +add_subdirectory( batch ) +add_subdirectory( slideshow ) +add_subdirectory( lighttable ) diff --git a/src/utilities/batch/CMakeLists.txt b/src/utilities/batch/CMakeLists.txt new file mode 100644 index 00000000..82ed9611 --- /dev/null +++ b/src/utilities/batch/CMakeLists.txt @@ -0,0 +1,17 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libs/dialogs + ${CMAKE_SOURCE_DIR}/src/libs/thumbbar + ${CMAKE_SOURCE_DIR}/src/libs/widgets/common +) + + +##### batch library (static) + +tde_add_library( batch STATIC_PIC AUTOMOC + SOURCES + batchthumbsgenerator.cpp batchalbumssyncmetadata.cpp + imageinfojob.cpp imageinfoalbumsjob.cpp batchsyncmetadata.cpp + LINK + tdecore-shared +) diff --git a/src/utilities/cameragui/CMakeLists.txt b/src/utilities/cameragui/CMakeLists.txt new file mode 100644 index 00000000..b6c9b533 --- /dev/null +++ b/src/utilities/cameragui/CMakeLists.txt @@ -0,0 +1,22 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libs/imageproperties + ${CMAKE_SOURCE_DIR}/src/libs/jpegutils + ${CMAKE_SOURCE_DIR}/src/libs/themeengine + ${CMAKE_SOURCE_DIR}/src/libs/widgets/common + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/editor + ${GPHOTO2_INCLUDE_DIRS} +) + + +##### cameragui library (static) + +tde_add_library( cameragui STATIC_PIC AUTOMOC + SOURCES + gpcamera.cpp cameraui.cpp cameraiconview.cpp cameraiconitem.cpp cameracontroller.cpp + camerafolderview.cpp camerafolderitem.cpp animwidget.cpp renamecustomizer.cpp dkcamera.cpp + umscamera.cpp gpiteminfo.cpp camerainfodialog.cpp albumselectdialog.cpp camerafolderdialog.cpp + freespacewidget.cpp + LINK + imagepropertiescamgui-static jpegutils-static ${GPHOTO2_LIBRARIES} ${JPEG_LIBRARIES} +) diff --git a/src/utilities/hotplug/CMakeLists.txt b/src/utilities/hotplug/CMakeLists.txt new file mode 100644 index 00000000..3fc98b1c --- /dev/null +++ b/src/utilities/hotplug/CMakeLists.txt @@ -0,0 +1,15 @@ + +##### other files + +install( + FILES digikam-camera + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/utils +) + +tde_create_translated_desktop( + SOURCE + digikam-download.desktop.cmake + digikam-gphoto2-camera.desktop.cmake + digikam-mount-and-download.desktop.cmake + DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus +) diff --git a/src/utilities/hotplug/digikam-download.desktop.cmake b/src/utilities/hotplug/digikam-download.desktop.cmake new file mode 100644 index 00000000..6735667e --- /dev/null +++ b/src/utilities/hotplug/digikam-download.desktop.cmake @@ -0,0 +1,27 @@ +[Desktop Action digiKam Download] +Exec=@DATA_INSTALL_DIR@/digikam/utils/digikam-camera storage %u +Icon=digikam +Name=Download Photos with digiKam +Name[ca]=Descàrrega de fotos amb el digiKam +Name[de]=Fotos mit digiKam herunterladen +Name[es]=Descargar fotos con digiKam +Name[et]=Fotode allalaadimine digiKamiga +Name[fi]=Lataa valokuvat digiKamilla +Name[fr]=Télécharger les photos avec digiKam +Name[is]=Hala niður myndum með digiKam +Name[it]=Scarica foto con digiKam +Name[ja]=digiKam で写真をダウンロード +Name[nds]=Fotos mit digiKam daalladen +Name[nl]=Foto's downloaden met digiKam +Name[pl]=Pobierz zdjęcia programem digiKam +Name[pt]=Obter Fotografias com o digiKam +Name[pt_BR]=Obter Fotografias com o digiKam +Name[sk]=Stiahnuť fotky pomocou digiKam +Name[sr]=Преузми слике помоћу digiKam-а +Name[sr@Latn]=Преузми слике помоћу digiKam-а +Name[sv]=Ladda ner foton med Digikam +Name[xx]=xxDownload Photos with digiKamxx + +[Desktop Entry] +Actions=digiKam Download +X-TDE-ServiceTypes=media/removable_mounted,media/camera_mounted diff --git a/src/utilities/hotplug/digikam-gphoto2-camera.desktop.cmake b/src/utilities/hotplug/digikam-gphoto2-camera.desktop.cmake new file mode 100644 index 00000000..73fd98dc --- /dev/null +++ b/src/utilities/hotplug/digikam-gphoto2-camera.desktop.cmake @@ -0,0 +1,27 @@ +[Desktop Action digiKam Detect and Download] +Exec=@DATA_INSTALL_DIR@/digikam/utils/digikam-camera detect %u +Icon=digikam +Name=digiKam Detect and Download +Name[ca]=Detecta i descarrega amb el digiKam +Name[de]=Finden und Herunterladen mit digiKam +Name[es]=Detectar y descargar con digiKam +Name[et]=*Fotode tuvastamine ja allalaadimine digiKamiga +Name[fi]=Tunnista kamera ja lataa kuvat digiKamilla +Name[fr]=Détecter et télécharger avec digiKam +Name[is]=digiKam Finna og Niðurhala +Name[it]=Rileva e scarica con digiKam +Name[ja]=digiKam 検出とダウンロード +Name[nds]=digiKam - Opdecken un daalladen +Name[nl]=digiKam-detectie en download +Name[pl]=Wykrycie i pobieranie digiKamem +Name[pt]=Detectar e Transferir com o digiKam +Name[pt_BR]=Detectar e Transferir com o digiKam +Name[sk]=digiKam Nájsť a stiahnuť +Name[sr]=digiKam-ово Препознај и преузми +Name[sr@Latn]=digiKam-ово Препознај и преузми +Name[sv]=Digikam detektering och nerladdning +Name[xx]=xxdigiKam Detect and Downloadxx + +[Desktop Entry] +Actions=digiKam Detect and Download +X-TDE-ServiceTypes=media/gphoto2camera diff --git a/src/utilities/hotplug/digikam-mount-and-download.desktop.cmake b/src/utilities/hotplug/digikam-mount-and-download.desktop.cmake new file mode 100644 index 00000000..6081adbc --- /dev/null +++ b/src/utilities/hotplug/digikam-mount-and-download.desktop.cmake @@ -0,0 +1,27 @@ +[Desktop Action digiKam Mount and Download] +Exec=@DATA_INSTALL_DIR@/digikam/utils/digikam-camera storage %u +Icon=digikam +Name=Download Photos with digiKam +Name[ca]=Descàrrega de fotos amb el digiKam +Name[de]=Fotos mit digiKam herunterladen +Name[es]=Descargar fotos con digiKam +Name[et]=Fotode allalaadimine digiKamiga +Name[fi]=Lataa valokuvat digiKamilla +Name[fr]=Télécharger les photos avec digiKam +Name[is]=Hala niður myndum með digiKam +Name[it]=Scarica foto con digiKam +Name[ja]=digiKam で写真をダウンロード +Name[nds]=Fotos mit digiKam daalladen +Name[nl]=Foto's downloaden met digiKam +Name[pl]=Pobierz zdjęcia programem digiKam +Name[pt]=Obter Fotografias com o digiKam +Name[pt_BR]=Obter Fotografias com o digiKam +Name[sk]=Stiahnuť fotky pomocou digiKam +Name[sr]=Преузми слике помоћу digiKam-а +Name[sr@Latn]=Преузми слике помоћу digiKam-а +Name[sv]=Ladda ner foton med Digikam +Name[xx]=xxDownload Photos with digiKamxx + +[Desktop Entry] +Actions=digiKam Mount and Download +X-TDE-ServiceTypes=media/removable_unmounted,media/camera_unmounted diff --git a/src/utilities/imageeditor/CMakeLists.txt b/src/utilities/imageeditor/CMakeLists.txt new file mode 100644 index 00000000..4e9ce263 --- /dev/null +++ b/src/utilities/imageeditor/CMakeLists.txt @@ -0,0 +1,6 @@ +##### subfolders + +add_subdirectory( canvas ) +add_subdirectory( tools ) +add_subdirectory( rawimport ) +add_subdirectory( editor ) diff --git a/src/utilities/imageeditor/canvas/CMakeLists.txt b/src/utilities/imageeditor/canvas/CMakeLists.txt new file mode 100644 index 00000000..b5ab4cc3 --- /dev/null +++ b/src/utilities/imageeditor/canvas/CMakeLists.txt @@ -0,0 +1,28 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libs/dialogs + ${CMAKE_SOURCE_DIR}/src/libs/dimg/filters + ${CMAKE_SOURCE_DIR}/src/libs/threadimageio + ${CMAKE_SOURCE_DIR}/src/libs/widgets/common + ${CMAKE_SOURCE_DIR}/src/libs/widgets/imageplugins + ${CMAKE_SOURCE_DIR}/src/utilities/splashscreen + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/editor + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/rawimport +) + + +##### dimgcanvas library (static) + +tde_add_library( dimgcanvas STATIC_PIC AUTOMOC + SOURCES + dimginterface.cpp colorcorrectiondlg.cpp canvas.cpp undocache.cpp undoaction.cpp + undomanager.cpp imagepluginloader.cpp imageplugin.cpp +) + + +##### other files + +install( + FILES imageplugin.h + DESTINATION ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME} +) diff --git a/src/utilities/imageeditor/editor/CMakeLists.txt b/src/utilities/imageeditor/editor/CMakeLists.txt new file mode 100644 index 00000000..e327bdd0 --- /dev/null +++ b/src/utilities/imageeditor/editor/CMakeLists.txt @@ -0,0 +1,57 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libs/dialogs + ${CMAKE_SOURCE_DIR}/src/libs/dimg/filters + ${CMAKE_SOURCE_DIR}/src/libs/imageproperties + ${CMAKE_SOURCE_DIR}/src/libs/themeengine + ${CMAKE_SOURCE_DIR}/src/libs/threadimageio + ${CMAKE_SOURCE_DIR}/src/libs/widgets/common + ${CMAKE_SOURCE_DIR}/src/libs/widgets/imageplugins + ${CMAKE_SOURCE_DIR}/src/utilities/setup + ${CMAKE_SOURCE_DIR}/src/utilities/slideshow + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/canvas + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/tools + ${CMAKE_BINARY_DIR}/src/libs/dialogs +) + + +##### dimgeditor library (static) + +tde_add_library( dimgeditor STATIC_PIC AUTOMOC + SOURCES + editorwindow.cpp imageiface.cpp imagewindow.cpp editorstackview.cpp + editortooliface.cpp editortool.cpp editortoolsettings.cpp + LINK + dialog-static dimgcanvas-static dimgeditortools-static imagepluginswidgets-static rawimport-static +) + +##### showfoto library (static) + +tde_add_library( showfoto STATIC_PIC AUTOMOC + SOURCES + editorwindow.cpp imageiface.cpp editorstackview.cpp + editortooliface.cpp editortool.cpp editortoolsettings.cpp + LINK + dimg-static dialogshowfoto-static greycstoration-static dimgcanvas-static + dimgeditortools-static rawimport-static metadatawidgets-static + iccprofileswidgets-static imagepluginswidgets-static commonwidgets-static + tdeprint-shared +) + + +##### other files + +install( + FILES imageiface.h + DESTINATION ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME} +) + +install( + FILES digikamimagewindowui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +tde_create_translated_desktop( + SOURCE digikamimageplugin.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} +) diff --git a/src/utilities/imageeditor/rawimport/CMakeLists.txt b/src/utilities/imageeditor/rawimport/CMakeLists.txt new file mode 100644 index 00000000..c7335d88 --- /dev/null +++ b/src/utilities/imageeditor/rawimport/CMakeLists.txt @@ -0,0 +1,22 @@ +include_directories( + ${CMAKE_CURRENT_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/themeengine + ${CMAKE_SOURCE_DIR}/src/libs/threadimageio + ${CMAKE_SOURCE_DIR}/src/libs/whitebalance + ${CMAKE_SOURCE_DIR}/src/libs/widgets/common + ${CMAKE_SOURCE_DIR}/src/libs/widgets/iccprofiles + ${CMAKE_SOURCE_DIR}/src/utilities/splashscreen + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/editor +) + + +##### rawimport library (static) + +tde_add_library( rawimport STATIC_PIC AUTOMOC + SOURCES rawpreview.cpp rawsettingsbox.cpp rawimport.cpp rawpostprocessing.cpp + LINK commonwidgets-static iccprofileswidgets-static +) diff --git a/src/utilities/imageeditor/tools/CMakeLists.txt b/src/utilities/imageeditor/tools/CMakeLists.txt new file mode 100644 index 00000000..45b8f6cb --- /dev/null +++ b/src/utilities/imageeditor/tools/CMakeLists.txt @@ -0,0 +1,16 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libs/dimg/filters + ${CMAKE_SOURCE_DIR}/src/libs/greycstoration + ${CMAKE_SOURCE_DIR}/src/libs/widgets/common + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/canvas + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/editor +) + + +##### dimgeditortools library (static) + +tde_add_library( dimgeditortools STATIC_PIC AUTOMOC + SOURCES imageresize.cpp imageprint.cpp + LINK greycstoration-static +) diff --git a/src/utilities/lighttable/CMakeLists.txt b/src/utilities/lighttable/CMakeLists.txt new file mode 100644 index 00000000..d6268bae --- /dev/null +++ b/src/utilities/lighttable/CMakeLists.txt @@ -0,0 +1,31 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libs/dialogs + ${CMAKE_SOURCE_DIR}/src/libs/dimg/filters + ${CMAKE_SOURCE_DIR}/src/libs/imageproperties + ${CMAKE_SOURCE_DIR}/src/libs/thumbbar + ${CMAKE_SOURCE_DIR}/src/libs/themeengine + ${CMAKE_SOURCE_DIR}/src/libs/threadimageio + ${CMAKE_SOURCE_DIR}/src/libs/widgets/common + ${CMAKE_SOURCE_DIR}/src/utilities/setup + ${CMAKE_SOURCE_DIR}/src/utilities/slideshow + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/canvas + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/editor + ${CMAKE_BINARY_DIR}/src/libs/dialogs +) + + +##### lighttable library (static) + +tde_add_library( lighttable STATIC_PIC AUTOMOC + SOURCES lighttablebar.cpp lighttablewindow.cpp lighttablepreview.cpp lighttableview.cpp + LINK thumbbar-static tdecore-shared +) + + +##### other files + +install( + FILES lighttablewindowui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) diff --git a/src/utilities/scripts/CMakeLists.txt b/src/utilities/scripts/CMakeLists.txt new file mode 100644 index 00000000..6d82b8e0 --- /dev/null +++ b/src/utilities/scripts/CMakeLists.txt @@ -0,0 +1,6 @@ +##### other files + +install( + PROGRAMS digitaglinktree + DESTINATION ${BIN_INSTALL_DIR} +) diff --git a/src/utilities/setup/CMakeLists.txt b/src/utilities/setup/CMakeLists.txt new file mode 100644 index 00000000..ff939534 --- /dev/null +++ b/src/utilities/setup/CMakeLists.txt @@ -0,0 +1,31 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libs/dialogs + ${CMAKE_SOURCE_DIR}/src/libs/dimg/loaders + ${CMAKE_SOURCE_DIR}/src/libs/widgets/common + ${CMAKE_SOURCE_DIR}/src/utilities/batch + ${CMAKE_SOURCE_DIR}/src/utilities/cameragui + ${CMAKE_SOURCE_DIR}/src/utilities/imageeditor/canvas + ${KIPI_INCLUDE_DIRS} +) + + +##### setup library (static) + +tde_add_library( setup STATIC_PIC AUTOMOC + SOURCES + cameraselection.cpp setupcamera.cpp setupmime.cpp setupplugins.cpp setupidentity.cpp + setupgeneral.cpp setup.cpp setupcollections.cpp setupmetadata.cpp setupeditor.cpp + setupmisc.cpp setupicc.cpp setupiofiles.cpp setupdcraw.cpp setupslideshow.cpp setuptooltip.cpp + setuplighttable.cpp + LINK + dialog-static +) + +##### showfotosetup library (static) + +tde_add_library( showfotosetup STATIC_PIC AUTOMOC + SOURCES setupiofiles.cpp setupdcraw.cpp setupicc.cpp setupslideshow.cpp + LINK + dialog-static dimgloaders-static dimgeditortools-static rawimport-static +) diff --git a/src/utilities/slideshow/CMakeLists.txt b/src/utilities/slideshow/CMakeLists.txt new file mode 100644 index 00000000..cc7e1fb6 --- /dev/null +++ b/src/utilities/slideshow/CMakeLists.txt @@ -0,0 +1,13 @@ +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libs/themeengine + ${CMAKE_SOURCE_DIR}/src/libs/threadimageio +) + + +##### slideshow library (static) + +tde_add_library( slideshow STATIC_PIC AUTOMOC + SOURCES toolbar.cpp slideshow.cpp + LINK tdecore-shared +) |