diff --git a/CMakeLists.txt b/CMakeLists.txt index 273a0b45f3d..a972b8de6c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,1156 +1,1151 @@ cmake_minimum_required(VERSION 2.8.12) project(calligra) message(STATUS "Using CMake version: ${CMAKE_VERSION}") if (POLICY CMP0002) cmake_policy(SET CMP0002 OLD) endif() if (POLICY CMP0017) cmake_policy(SET CMP0017 NEW) endif () if (POLICY CMP0022) cmake_policy(SET CMP0022 OLD) endif () if (POLICY CMP0026) cmake_policy(SET CMP0026 OLD) endif() if (POLICY CMP0046) cmake_policy(SET CMP0046 OLD) endif () if (POLICY CMP0059) cmake_policy(SET CMP0059 OLD) endif() if (POLICY CMP0063) cmake_policy(SET CMP0063 NEW) endif() if (POLICY CMP0071) cmake_policy(SET CMP0071 NEW) endif() # ensure out-of-source build string(COMPARE EQUAL "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" isBuildInSource) if(isBuildInSource) message(FATAL_ERROR "Compiling Calligra inside the source folder is not possible.\nPlease refer to the build instruction: https://community.kde.org/Calligra/Building/3\nYou need to clean up the source folder from all build artifacts just created, otherwise further building attempts will fail again: With a git repo, you can use \"git clean -df\" in the toplevel source folder (attention! will remove also uncommited changes to the source code). With sources from a file bundle (like a zip file), delete the source folder and unbundle the sources again.") endif() ###################### ####################### ## Constants defines ## ####################### ###################### # define common versions of Calligra applications, used to generate calligraversion.h # update these version for every release: set(CALLIGRA_VERSION_STRING "3.1.89") set(CALLIGRA_STABLE_VERSION_MAJOR 3) # 3 for 3.x, 4 for 4.x, etc. set(CALLIGRA_STABLE_VERSION_MINOR 1) # 0 for 3.0, 1 for 3.1, etc. set(CALLIGRA_VERSION_RELEASE 89) # 89 for Alpha, increase for next test releases, set 0 for first Stable, etc. set(CALLIGRA_ALPHA 1) # uncomment only for Alpha #set(CALLIGRA_BETA 1) # uncomment only for Beta #set(CALLIGRA_RC 1) # uncomment only for RC set(CALLIGRA_YEAR 2018) # update every year if(NOT DEFINED CALLIGRA_ALPHA AND NOT DEFINED CALLIGRA_BETA AND NOT DEFINED CALLIGRA_RC) set(CALLIGRA_STABLE 1) # do not edit endif() message(STATUS "Calligra version: ${CALLIGRA_VERSION_STRING}") # Define the generic version of the Calligra libraries here # This makes it easy to advance it when the next Calligra release comes. # 14 was the last GENERIC_CALLIGRA_LIB_VERSION_MAJOR of the previous Calligra series # (2.x) so we're starting with 15 in 3.x series. if(CALLIGRA_STABLE_VERSION_MAJOR EQUAL 3) math(EXPR GENERIC_CALLIGRA_LIB_VERSION_MAJOR "${CALLIGRA_STABLE_VERSION_MINOR} + 15") else() # let's make sure we won't forget to update the "15" message(FATAL_ERROR "Reminder: please update offset == 15 used to compute GENERIC_CALLIGRA_LIB_VERSION_MAJOR to something bigger") endif() set(GENERIC_CALLIGRA_LIB_VERSION "${GENERIC_CALLIGRA_LIB_VERSION_MAJOR}.0.0") set(GENERIC_CALLIGRA_LIB_SOVERSION "${GENERIC_CALLIGRA_LIB_VERSION_MAJOR}") set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules") message("Module path:" ${CMAKE_MODULE_PATH}) # fetch git revision for the current build set(CALLIGRA_GIT_SHA1_STRING "") set(CALLIGRA_GIT_BRANCH_STRING "") include(GetGitRevisionDescription) get_git_head_revision(GIT_REFSPEC GIT_SHA1) get_git_branch(GIT_BRANCH) if(GIT_SHA1 AND GIT_BRANCH) string(SUBSTRING ${GIT_SHA1} 0 7 GIT_SHA1) set(CALLIGRA_GIT_SHA1_STRING ${GIT_SHA1}) set(CALLIGRA_GIT_BRANCH_STRING ${GIT_BRANCH}) endif() if(NOT DEFINED RELEASE_BUILD) # estimate mode by CMAKE_BUILD_TYPE content if not set on cmdline string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_TOLOWER) set(RELEASE_BUILD_TYPES "release" "relwithdebinfo" "minsizerel") list(FIND RELEASE_BUILD_TYPES "${CMAKE_BUILD_TYPE_TOLOWER}" INDEX) if (INDEX EQUAL -1) set(RELEASE_BUILD FALSE) else() set(RELEASE_BUILD TRUE) endif() endif() message(STATUS "Release build: ${RELEASE_BUILD}") # use CPP-11 if (CMAKE_VERSION VERSION_LESS "3.1") set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") else () set (CMAKE_CXX_STANDARD 11) endif () ############ ############# ## Options ## ############# ############ option(GHNS "support Get Hot New Stuff" OFF) option(PACKAGERS_BUILD "Build support of multiple CPU architectures in one binary. Should be used by packagers only." ON) ####################### ######################## ## Productset setting ## ######################## ####################### # For predefined productsets see the definitions in CalligraProducts.cmake and # in the files in the folder cmake/productsets. # Finding out the products & features to build is done in 5 steps: # 1. have the user define the products/features wanted, by giving a productset # 2. estimate all additional required products/features # 3. estimate which of the products/features can be build by external deps # 4. find which products/features have been temporarily disabled due to problems # 5. estimate which of the products/features can be build by internal deps # get the special macros include(CalligraProductSetMacros) # get the definitions of products, features and product sets include(CalligraProducts.cmake) set(PRODUCTSET_DEFAULT "ALL") if(NOT PRODUCTSET) set(PRODUCTSET ${PRODUCTSET_DEFAULT} CACHE STRING "Set of products/features to build" FORCE) endif() if (RELEASE_BUILD) set(CALLIGRA_SHOULD_BUILD_STAGING FALSE) if(BUILD_UNMAINTAINED) set(CALLIGRA_SHOULD_BUILD_UNMAINTAINED TRUE) else() set(CALLIGRA_SHOULD_BUILD_UNMAINTAINED FALSE) endif() else () set(CALLIGRA_SHOULD_BUILD_STAGING TRUE) set(CALLIGRA_SHOULD_BUILD_UNMAINTAINED TRUE) endif () # finally choose products/features to build calligra_set_productset(${PRODUCTSET}) ########################## ########################### ## Look for ECM, Qt, KF5 ## ########################### ########################## find_package(ECM 5.19 REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) # ECM KDE macros (include first, to have their policies and settings effect all other macros) include(KDEInstallDirs) include(KDECMakeSettings NO_POLICY_SCOPE) include(KDECompilerSettings NO_POLICY_SCOPE) # CMake macros include(CMakePackageConfigHelpers) include(WriteBasicConfigVersionFile) include(CheckFunctionExists) include(CheckTypeSize) include(CheckIncludeFile) include(GenerateExportHeader) include(FeatureSummary) # ECM macros include(ECMOptionalAddSubdirectory) include(ECMInstallIcons) include(ECMAddAppIcon) include(ECMSetupVersion) include(ECMAddTests) include(ECMMarkAsTest) include(ECMMarkNonGuiExecutable) include(ECMGenerateHeaders) # own macros include(MacroBoolTo01) include(MacroOptionalFindPackage) include(MacroEnsureVersion) include(MacroDesktopToJson) set(REQUIRED_KF5_VERSION "5.7.0") find_package(KF5 ${REQUIRED_KF5_VERSION} REQUIRED COMPONENTS Archive Codecs Completion Config ConfigWidgets CoreAddons DBusAddons DocTools GuiAddons I18n IconThemes ItemViews JobWidgets KCMUtils KDELibs4Support KIO Kross Notifications NotifyConfig Parts Sonnet TextWidgets Wallet WidgetsAddons WindowSystem XmlGui ) find_package(KF5Activities) find_package(KF5KHtml) set_package_properties(KF5Activities PROPERTIES TYPE OPTIONAL ) set_package_properties(KF5KHtml PROPERTIES PURPOSE "Required for HTML2ODS import filter" TYPE OPTIONAL ) if(KF5Activities_FOUND) set(HAVE_KACTIVITIES TRUE) endif() if(${KF5_VERSION} VERSION_LESS "5.16.0") set(CALLIGRA_OLD_PLUGIN_METADATA TRUE) endif() set(REQUIRED_QT_VERSION "5.3.0") find_package(Qt5 ${REQUIRED_QT_VERSION} REQUIRED COMPONENTS Core Gui Network PrintSupport Svg Test Widgets Xml ) find_package(Qt5 ${REQUIRED_QT_VERSION} QUIET COMPONENTS DBus OpenGL Quick QuickWidgets Sql ) # Qt5Declarative was removed in Qt 5.6.0 so search for it in a separate call # Including it in a collected find_package(Qt5 ...) call can lead to a fatal not-found error: # * Qt5 (required version >= 5.3.0) find_package(Qt5Declarative ${REQUIRED_QT_VERSION} QUIET) set_package_properties(Qt5DBus PROPERTIES TYPE RECOMMENDED ) set_package_properties(Qt5Declarative PROPERTIES PURPOSE "Required for QtQuick1 components" TYPE RECOMMENDED ) set_package_properties(Qt5OpenGL PROPERTIES PURPOSE "Required for QtQuick1 components" TYPE RECOMMENDED ) set_package_properties(Qt5Quick PROPERTIES PURPOSE "Required for QtQuick2 components" TYPE RECOMMENDED ) set_package_properties(Qt5QuickWidgets PROPERTIES PURPOSE "Required for Calligra Gemini" TYPE RECOMMENDED ) set_package_properties(Qt5Sql PROPERTIES PURPOSE "Optional for Sheets' database connection" TYPE OPTIONAL ) set_package_properties(Qt5WebKit PROPERTIES PURPOSE "Required for Braindump's Web shape" TYPE OPTIONAL ) set(HAVE_OPENGL ${Qt5OpenGL_FOUND}) if (GHNS) find_package(Attica 3.0) find_package(NewStuff) set_package_properties(Attica PROPERTIES DESCRIPTION "Attica is used for Get Hot New Stuff." URL "https://projects.kde.org/projects/kdesupport/attica" TYPE OPTIONAL ) if (NOT LIBATTICA_FOUND) set(GHNS FALSE) else () message(STATUS "WARNING: You are compiling with Get Hot New Stuff enabled. Do not do that when building distribution packages. GHNS is unusable these days until someone starts maintaining it again.") endif () endif () find_package(X11) if(X11_FOUND) find_package(Qt5 ${REQUIRED_QT_VERSION} REQUIRED COMPONENTS X11Extras ) set(HAVE_X11 TRUE) add_definitions(-DHAVE_X11) else() set(HAVE_X11 FALSE) endif() # use sane compile flags add_definitions( -DQT_USE_QSTRINGBUILDER -DQT_STRICT_ITERATORS -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_CAST_TO_ASCII ) # only with this definition will all the FOO_TEST_EXPORT macro do something # TODO: check if this can be moved to only those places which make use of it, # to reduce global compiler definitions that would trigger a recompile of # everything on a change (like adding/removing tests to/from the build) if(BUILD_TESTING) add_definitions(-DCOMPILING_TESTS) endif() # overcome some platform incompatibilities if(WIN32) if(NOT MINGW) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/winquirks) add_definitions(-D_USE_MATH_DEFINES) add_definitions(-DNOMINMAX) endif() set(WIN32_PLATFORM_NET_LIBS ws2_32.lib netapi32.lib) endif() ########################### ############################ ## Required dependencies ## ############################ ########################### find_package(Perl REQUIRED) find_package(ZLIB REQUIRED) add_definitions(-DBOOST_ALL_NO_LIB) find_package(Boost REQUIRED COMPONENTS system) # for pigment and stage if (NOT Boost_FOUND) message(FATAL_ERROR "Did not find Boost. Boost is required for the core libraries, stage, sheets.") endif () ########################### ############################ ## Optional dependencies ## ############################ ########################### ## ## Check for OpenEXR ## macro_optional_find_package(OpenEXR) macro_bool_to_01(OPENEXR_FOUND HAVE_OPENEXR) ## ## Test for GNU Scientific Library ## macro_optional_find_package(GSL 1.7) set_package_properties(GSL_FOUND PROPERTIES DESCRIPTION "GNU Scientific Library" URL "https://www.gnu.org/software/gsl" PURPOSE "Required by Sheets' solver plugin" TYPE OPTIONAL ) macro_bool_to_01(GSL_FOUND HAVE_GSL) configure_file(config-gsl.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-gsl.h ) ## ## Test for Phonon4Qt5 ## find_package(Phonon4Qt5 QUIET) set_package_properties(Phonon4Qt5 PROPERTIES DESCRIPTION "Abstraction lib for multimedia applications" URL "https://www.kde.org/" PURPOSE "Required by Stage event actions and Videoshape plugin" TYPE OPTIONAL ) ## ## Test for KF5CalendarCore ## find_package(KF5CalendarCore CONFIG QUIET) set_package_properties(KF5CalendarCore PROPERTIES DESCRIPTION "KDE Calendar Library" URL "https://www.kde.org/" PURPOSE "Optionally used by semantic item Event" TYPE OPTIONAL ) ## ## Test for KF5Contacts ## find_package(KF5Contacts CONFIG QUIET) set_package_properties(KF5Contacts PROPERTIES DESCRIPTION "KDE Address book Library" URL "https://www.kde.org/" PURPOSE "Optionally used by semantic item Contact" TYPE OPTIONAL ) ## ## Test for KF5AkonadiCore ## find_package(KF5Akonadi CONFIG QUIET) set_package_properties(KF5Akonadi PROPERTIES DESCRIPTION "Library for general Access to Akonadi" URL "https://www.kde.org/" PURPOSE "Optionally used by semantic items Event and Contact" TYPE OPTIONAL ) ## ## Test for KChart ## macro_optional_find_package(KChart 2.6.0 QUIET) set_package_properties(KChart PROPERTIES DESCRIPTION "Library for creating business charts (part of KDiagram)" URL "https://www.kde.org/" PURPOSE "Required by Chart shape" TYPE RECOMMENDED ) ## ## Test for eigen3 ## macro_optional_find_package(Eigen3) set_package_properties(Eigen3 PROPERTIES DESCRIPTION "C++ template library for linear algebra" URL "http://eigen.tuxfamily.org" PURPOSE "Required by Calligra Sheets" TYPE RECOMMENDED ) ## ## Test for QCA2 ## macro_optional_find_package(Qca-qt5 2.1.0 QUIET) set_package_properties(Qca-qt5 PROPERTIES DESCRIPTION "Qt Cryptographic Architecture" URL "http:/download.kde.org/stable/qca-qt5" PURPOSE "Required for encrypted OpenDocument files and encrypted xls files support (available as a module in kdesupport)" TYPE OPTIONAL ) ## ## Test for soprano ## # QT5TODO: push for released (and maintained) Qt5 version of Soprano, T462, T461 # macro_optional_find_package(Soprano) set(Soprano_FOUND FALSE) set_package_properties(Soprano PROPERTIES DESCRIPTION "RDF handling library" URL "http://soprano.sourceforge.net/" PURPOSE "Required to handle RDF metadata in ODF" TYPE OPTIONAL ) if(NOT Soprano_FOUND) set(SOPRANO_INCLUDE_DIR "") endif() ## ## Test for marble ## # Temporary fix to avoid looking for Marble unneccessary # Its only used in RDF so until soprano is ported there is no use for Marble if (Soprano_FOUND) macro_optional_find_package(Marble CONFIG) set(Marble_FOUND FALSE) set_package_properties(Marble PROPERTIES DESCRIPTION "World Globe Widget library" URL "https://marble.kde.org/" PURPOSE "Required by RDF to show locations on a map" TYPE OPTIONAL ) else() message(STATUS "Soprano not found. Skipped looking for Marble.") endif() ## ## Test for lcms ## macro_optional_find_package(LCMS2) set_package_properties(LCMS2 PROPERTIES DESCRIPTION "LittleCMS, a color management engine" URL "http://www.littlecms.com" PURPOSE "Will be used for color management" TYPE OPTIONAL ) if(LCMS2_FOUND) if(NOT ${LCMS2_VERSION} VERSION_LESS 2040 ) set(HAVE_LCMS24 TRUE) endif() set(HAVE_REQUIRED_LCMS_VERSION TRUE) set(HAVE_LCMS2 TRUE) endif() ## ## Test for Vc ## set(HAVE_VC FALSE) if (BUILD_VC) # NOTE: This tampers with cmake variables (at least cmake_minimum_required), so may give build problems set(OLD_CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ) set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules ) if( NOT MSVC) macro_optional_find_package(Vc 1.1.0) set_package_properties(Vc PROPERTIES DESCRIPTION "Portable, zero-overhead SIMD library for C++" URL "https://github.com/VcDevel/Vc" PURPOSE "Required by the pigment for vectorization" TYPE OPTIONAL ) macro_bool_to_01(Vc_FOUND HAVE_VC) macro_bool_to_01(PACKAGERS_BUILD DO_PACKAGERS_BUILD) endif() configure_file(config-vc.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-vc.h ) if(HAVE_VC) message(STATUS "Vc found!") set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/vc") include (VcMacros) if(Vc_COMPILER_IS_CLANG) set(ADDITIONAL_VC_FLAGS "-Wabi -ffp-contract=fast -fPIC") elseif (NOT MSVC) set(ADDITIONAL_VC_FLAGS "-Wabi -fabi-version=0 -ffp-contract=fast -fPIC") endif() #Handle Vc master if(Vc_COMPILER_IS_GCC OR Vc_COMPILER_IS_CLANG) AddCompilerFlag("-std=c++11" _ok) if(NOT _ok) AddCompilerFlag("-std=c++0x" _ok) endif() endif() macro(ko_compile_for_all_implementations_no_scalar _objs _src) if(PACKAGERS_BUILD) vc_compile_for_all_implementations(${_objs} ${_src} FLAGS ${ADDITIONAL_VC_FLAGS} ONLY SSE2 SSSE3 SSE4_1 AVX AVX2+FMA+BMI2) else() set(${_objs} ${_src}) endif() endmacro() macro(ko_compile_for_all_implementations _objs _src) if(PACKAGERS_BUILD) vc_compile_for_all_implementations(${_objs} ${_src} FLAGS ${ADDITIONAL_VC_FLAGS} ONLY Scalar SSE2 SSSE3 SSE4_1 AVX AVX2+FMA+BMI2) else() set(${_objs} ${_src}) endif() endmacro() if (NOT PACKAGERS_BUILD) # Optimize the whole Calligra for current architecture set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Vc_DEFINITIONS}") endif () endif() set(CMAKE_MODULE_PATH ${OLD_CMAKE_MODULE_PATH} ) else(BUILD_VC) configure_file(config-vc.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-vc.h ) endif(BUILD_VC) if(WIN32) set(LIB_INSTALL_DIR ${LIB_INSTALL_DIR} RUNTIME DESTINATION ${BIN_INSTALL_DIR} LIBRARY ${INSTALL_TARGETS_DEFAULT_ARGS} ARCHIVE ${INSTALL_TARGETS_DEFAULT_ARGS} ) endif() ## ## Test for Fontconfig ## ## Only test if on non-Windows system if(NOT WIN32 AND NOT APPLE) macro_optional_find_package(Fontconfig) set_package_properties(Fontconfig PROPERTIES DESCRIPTION "Library for configuring and customizing font access" URL "http://fontconfig.org" PURPOSE "Required to handle exact font size" TYPE RECOMMENDED ) endif() ## ## Test for Freetype ## ## Only test if on non-Windows system if(NOT WIN32 AND NOT APPLE) macro_optional_find_package(Freetype) set_package_properties(Freetype PROPERTIES DESCRIPTION "A Free, High-Quality, and Portable Font Engine" URL "http://www.freetype.org/" PURPOSE "Required to handle exact font size" TYPE RECOMMENDED ) endif() if(NOT FONTCONFIG_FOUND OR NOT FREETYPE_FOUND) set(FONTCONFIG_INCLUDE_DIR "") set(FREETYPE_INCLUDE_DIRS "") else() add_definitions( -DSHOULD_BUILD_FONT_CONVERSION ) endif() ## ## Test endianess ## include (TestBigEndian) test_big_endian(CMAKE_WORDS_BIGENDIAN) ## ## Test SharedMimeInfo ## macro_optional_find_package(SharedMimeInfo 1.3) set_package_properties(SharedMimeInfo PROPERTIES PURPOSE "Required to determine file types SVM or all of MSOOXML." TYPE RECOMMENDED ) ## ## Test for Okular ## macro_optional_find_package(Okular5 0.99.60 QUIET) set_package_properties(Okular5 PROPERTIES DESCRIPTION "A unified document viewer" URL "https://okular.kde.org/" PURPOSE "Required to build the plugins for Okular" TYPE OPTIONAL ) ## ## Test for librevenge ## macro_optional_find_package(LibRevenge) set_package_properties(LibRevenge PROPERTIES DESCRIPTION "A base library for writing document import filters" URL "http://sf.net/p/libwpd/librevenge/" PURPOSE "Required by various import filters" TYPE OPTIONAL ) ## ## Test for libodfgen ## macro_optional_find_package(LibOdfGen) set_package_properties(LibOdfGen PROPERTIES DESCRIPTION "Open Document Format Generation Library" URL "http://sf.net/p/libwpd/libodfgen/" PURPOSE "Required by various import filters" TYPE OPTIONAL ) ## ## Test for WordPerfect Document Library ## macro_optional_find_package(LibWpd) set_package_properties(LibWpd PROPERTIES DESCRIPTION "WordPerfect Document Library" URL "http://libwpd.sourceforge.net/" PURPOSE "Required by the Words WPD import filter" TYPE OPTIONAL ) ## ## Test for WordPerfect Graphics Library ## macro_optional_find_package(LibWpg) set_package_properties(LibWpg PROPERTIES DESCRIPTION "WordPerfect Graphics Library" URL "http://libwpg.sourceforge.net/" PURPOSE "Required by the Karbon WPG import filter" TYPE OPTIONAL ) ## ## Test for Microsoft Works Document Library ## macro_optional_find_package(LibWps) set_package_properties(LibWps PROPERTIES DESCRIPTION "Microsoft Works Document Library" URL "http://libwps.sourceforge.net/" PURPOSE "Required by the Words WPS import filter" TYPE OPTIONAL ) ## ## Test for Microsoft Visio Document Library ## macro_optional_find_package(LibVisio) set_package_properties(LibVisio PROPERTIES DESCRIPTION "Visio Import Filter Library" URL "https://wiki.documentfoundation.org/DLP/Libraries/libvisio" PURPOSE "Required by the visio import filter" TYPE OPTIONAL ) ## ## Test for Apple Keynote Document Library ## macro_optional_find_package(LibEtonyek) set_package_properties(LibEtonyek PROPERTIES DESCRIPTION "Apple Keynote Document Library" URL "https://wiki.documentfoundation.org/DLP/Libraries/libetonyek" PURPOSE "Required by the Stage keynote import filter" TYPE OPTIONAL ) ## ## Test for qt-poppler ## macro_optional_find_package(Poppler COMPONENTS Qt5) set_package_properties(Poppler PROPERTIES DESCRIPTION "A PDF rendering library" URL "http://poppler.freedesktop.org" PURPOSE "Required by the Karbon PDF import filter and CSTester PDF feature" TYPE OPTIONAL ) ## ## Test for qt-poppler not-officially-supported XPDF Headers ## Installing these is off by default in poppler sources, so lets make ## sure they're really there before trying to build the pdf import ## macro_optional_find_package(PopplerXPDFHeaders) set_package_properties(PopplerXPDFHeaders PROPERTIES DESCRIPTION "XPDF headers in the Poppler Qt5 interface library" URL "http://poppler.freedesktop.org" PURPOSE "Required by the Karbon PDF import filter" TYPE OPTIONAL ) ## ## Test for libgit2 ## macro_optional_find_package(Libgit2) ## ## Generate a file for prefix information ## ############################### ################################ ## Add Calligra helper macros ## ################################ ############################### include(MacroCalligraAddBenchmark) #################### ##################### ## Define includes ## ##################### #################### # WARNING: make sure that QT_INCLUDES is the first directory to be added to include_directory before # any other include directory # for config.h and includes (if any?) include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR}/interfaces ) set(KOVERSION_INCLUDES ${CMAKE_SOURCE_DIR}/libs/version ${CMAKE_BINARY_DIR}/libs/version ) include_directories(${KOVERSION_INCLUDES}) # koplugin is at the bottom of the stack set(KOPLUGIN_INCLUDES ${CMAKE_SOURCE_DIR}/libs/plugin) set(KUNDO2_INCLUDES ${CMAKE_SOURCE_DIR}/libs/kundo2 ${CMAKE_BINARY_DIR}/libs/kundo2) # koodf is at the bottom of the stack set(KOODF_INCLUDES ${CMAKE_SOURCE_DIR}/libs/odf ${CMAKE_SOURCE_DIR}/libs/store ${CMAKE_BINARY_DIR}/libs/odf ${CMAKE_BINARY_DIR}/libs/store ${KOVERSION_INCLUDES} ) # pigment depends on koplugin and lcms set(PIGMENT_INCLUDES ${KOPLUGIN_INCLUDES} ${KOVERSION_INCLUDES} ${CMAKE_SOURCE_DIR}/libs/pigment ${CMAKE_BINARY_DIR}/libs/pigment ${CMAKE_SOURCE_DIR}/libs/pigment/compositeops ${CMAKE_SOURCE_DIR}/libs/pigment/resources ${Boost_INCLUDE_DIRS} ) # flake depends on koodf and pigment set(FLAKE_INCLUDES ${CMAKE_SOURCE_DIR}/libs/flake ${KOODF_INCLUDES} ${PIGMENT_INCLUDES} ${KUNDO2_INCLUDES} ${CMAKE_SOURCE_DIR}/libs/widgetutils ${CMAKE_SOURCE_DIR}/libs/flake/commands ${CMAKE_SOURCE_DIR}/libs/flake/tools ${CMAKE_SOURCE_DIR}/libs/flake/svg ${CMAKE_BINARY_DIR}/libs/flake) # vectorimage set(VECTORIMAGE_INCLUDES ${CMAKE_SOURCE_DIR}/libs/vectorimage ${CMAKE_SOURCE_DIR}/libs/vectorimage/libemf ${CMAKE_SOURCE_DIR}/libs/vectorimage/libsvm ${CMAKE_SOURCE_DIR}/libs/vectorimage/libwmf) # KoText depends on koplugin, odf set(KOTEXT_INCLUDES ${CMAKE_SOURCE_DIR}/libs/text ${CMAKE_BINARY_DIR}/libs/text ${CMAKE_SOURCE_DIR}/libs/text/changetracker ${CMAKE_SOURCE_DIR}/libs/text/styles ${CMAKE_SOURCE_DIR}/libs/text/opendocument ${SOPRANO_INCLUDE_DIR} ${FLAKE_INCLUDES} ${KOODF_INCLUDES}) # TextLayout depends on kotext set(TEXTLAYOUT_INCLUDES ${KOTEXT_INCLUDES} ${CMAKE_SOURCE_DIR}/libs/textlayout ${CMAKE_BINARY_DIR}/libs/textlayout) # Widgets depends on kotext and flake set(KOWIDGETS_INCLUDES ${KOTEXT_INCLUDES} ${CMAKE_SOURCE_DIR}/libs/widgetutils ${CMAKE_BINARY_DIR}/libs/widgetutils ${CMAKE_SOURCE_DIR}/libs/widgets ${CMAKE_BINARY_DIR}/libs/widgets) # BasicFlakes depends on flake, widgets set(BASICFLAKES_INCLUDES ${KOWIDGETS_INCLUDES} ${CMAKE_SOURCE_DIR}/libs/basicflakes ${CMAKE_SOURCE_DIR}/libs/basicflakes/tools) # komain depends on kotext & flake set(KOMAIN_INCLUDES ${KOWIDGETS_INCLUDES} ${TEXTLAYOUT_INCLUDES} ${CMAKE_SOURCE_DIR}/libs/main ${CMAKE_BINARY_DIR}/libs/main ${CMAKE_SOURCE_DIR}/libs/main/config) set(KORDF_INCLUDES ${KOMAIN_INCLUDES} ${CMAKE_SOURCE_DIR}/libs/rdf ) set(KORDF_LIBS kordf) if(SHOULD_BUILD_FEATURE_SCRIPTING) set(KOKROSS_INCLUDES ${CMAKE_SOURCE_DIR}/libs/kross ${CMAKE_BINARY_DIR}/libs/kross) endif() # kopageapp set(KOPAGEAPP_INCLUDES ${TEXTLAYOUT_INCLUDES} ${PIGMENT_INCLUDES} ${KOMAIN_INCLUDES} ${CMAKE_SOURCE_DIR}/libs/widgets ${CMAKE_SOURCE_DIR}/libs/pageapp ${CMAKE_SOURCE_DIR}/libs/pageapp/commands ${CMAKE_BINARY_DIR}/libs/pageapp ) ############################################# #### filter libraries #### ############################################# # libodf2 set(KOODF2_INCLUDES ${CMAKE_SOURCE_DIR}/filters/libodf2 ${CMAKE_SOURCE_DIR}/filters/libodf2/chart ) # libodfreader set(KOODFREADER_INCLUDES ${CMAKE_SOURCE_DIR}/filters/libodfreader ) ################################################### #################################################### ## Detect which products/features can be compiled ## #################################################### ################################################### if (NOT WIN32) set(NOT_WIN TRUE) endif() if (NOT QT_MAC_USE_COCOA) set(NOT_COCOA TRUE) endif() if (KReport_FOUND AND KREPORT_SCRIPTING) set(KReport_WithScripting_FOUND TRUE) endif() calligra_drop_product_on_bad_condition( FEATURE_RDF Soprano_FOUND "Soprano not found" ) calligra_drop_product_on_bad_condition( PART_SHEETS EIGEN3_FOUND "Eigen devel not found" ) calligra_drop_product_on_bad_condition( OKULAR_GENERATOR_ODP Okular5_FOUND "Okular devel not found" ) calligra_drop_product_on_bad_condition( OKULAR_GENERATOR_ODT Okular5_FOUND "Okular devel not found" ) calligra_drop_product_on_bad_condition( PLUGIN_CHARTSHAPE KChart_FOUND "KChart devel not found" ) calligra_drop_product_on_bad_condition( PLUGIN_VIDEOSHAPE Phonon4Qt5_FOUND "Phonon4Qt5 devel not found" ) calligra_drop_product_on_bad_condition( FILTER_KEY_TO_ODP LIBODFGEN_FOUND "libodfgen devel not found" LIBETONYEK_FOUND "libetonyek devel not found" LIBREVENGE_FOUND "librevenge devel not found" ) calligra_drop_product_on_bad_condition( FILTER_VISIO_TO_ODG LIBODFGEN_FOUND "libodfgen devel not found" LIBVISIO_FOUND "libvisio devel not found" LIBREVENGE_FOUND "librevenge devel not found" ) calligra_drop_product_on_bad_condition( FILTER_WORDPERFECT_TO_ODT LIBODFGEN_FOUND "libodfgen devel not found" LIBWPD_FOUND "libwpd devel not found" LIBWPG_FOUND "libwpg devel not found" LIBREVENGE_FOUND "librevenge devel not found" ) calligra_drop_product_on_bad_condition( FILTER_WORKS_TO_ODT LIBODFGEN_FOUND "libodfgen devel not found" LIBWPS_FOUND "libwps devel not found" LIBREVENGE_FOUND "librevenge devel not found" ) calligra_drop_product_on_bad_condition( FILTER_WPG_TO_SVG LIBWPG_FOUND "libwpg devel not found" LIBREVENGE_FOUND "librevenge devel not found" ) calligra_drop_product_on_bad_condition( FILTER_WPG_TO_ODG LIBODFGEN_FOUND "libodfgen devel not found" LIBWPG_FOUND "libwpg devel not found" LIBREVENGE_FOUND "librevenge devel not found" ) calligra_drop_product_on_bad_condition( FILTER_PDF_TO_SVG NOT_WIN "not supported on Windows" PopplerXPDFHeaders_FOUND "poppler xpdf headers not found" ) calligra_drop_product_on_bad_condition( FILTER_HTML_TO_ODS NOT_WIN "not supported on Windows" NOT_COCOA "not supported with Qt Cocoa" KF5KHtml_FOUND "KF5KHtml devel not found" ) calligra_drop_product_on_bad_condition( FILTER_SHEETS_TO_HTML NOT_WIN "not supported on Windows" NOT_COCOA "not supported with Qt Cocoa" ) calligra_drop_product_on_bad_condition( FILTER_KSPREAD_TO_LATEX NOT_WIN "not supported on Windows" NOT_COCOA "not supported with Qt Cocoa" ) calligra_drop_product_on_bad_condition( APP_BRAINDUMP NOT_WIN "unmaintained on Windows" Qt5WebKitWidgets_FOUND "QWebPage needed for webpage plugin" ) calligra_drop_product_on_bad_condition( PLUGIN_CALLIGRAGEMINI_GIT LIBGIT2_FOUND "libgit2 devel not found" ) calligra_drop_product_on_bad_condition( PART_QTQUICK Qt5OpenGL_FOUND "Qt OpenGL not found" Qt5Declarative_FOUND "QtDeclarative not found" ) calligra_drop_product_on_bad_condition( PART_COMPONENTS Qt5Quick_FOUND "QtQuick not found" ) calligra_drop_product_on_bad_condition( APP_SLIDECOMPARE Qt5OpenGL_FOUND "Qt OpenGL not found" ) ############################################# #### Backward compatibility BUILD_x=off #### ############################################# # workaround: disable directly all products which might be activated by internal # dependencies, but belong to scope of old flag calligra_drop_products_on_old_flag(braindump APP_BRAINDUMP) calligra_drop_products_on_old_flag(karbon APP_KARBON) calligra_drop_products_on_old_flag(sheets PART_SHEETS APP_SHEETS) calligra_drop_products_on_old_flag(stage PART_STAGE APP_STAGE) calligra_drop_products_on_old_flag(words PART_WORDS APP_WORDS) -calligra_drop_products_on_old_flag(flow APP_FLOW) ############################################# #### Temporarily broken products #### ############################################# # If a product does not build due to some temporary brokeness disable it here, # by calling calligra_disable_product with the product id and the reason, # e.g.: # calligra_disable_product(APP_FOO "isn't buildable at the moment") calligra_disable_product(APP_BRAINDUMP "Disabled, will (probably) be removed from Calligra") calligra_disable_product(DOC "Not maintained") ############################################# #### Calculate buildable products #### ############################################# calligra_drop_unbuildable_products() ############################################# #### Setup product-depending vars #### ############################################# if(SHOULD_BUILD_FEATURE_RDF) add_definitions( -DSHOULD_BUILD_RDF ) endif() ################### #################### ## Subdirectories ## #################### ################### add_subdirectory(words) -if(SHOULD_BUILD_APP_FLOW) - add_subdirectory(flow) -endif() - add_subdirectory(stage) add_subdirectory(sheets) if(SHOULD_BUILD_APP_KARBON) add_subdirectory(karbon) endif() if(SHOULD_BUILD_APP_BRAINDUMP) add_subdirectory(braindump) endif() if(SHOULD_BUILD_DOC) add_subdirectory(doc) endif() if(SHOULD_BUILD_PART_QTQUICK) add_subdirectory(qtquick) endif() if(SHOULD_BUILD_PART_COMPONENTS) add_subdirectory(components) endif() if(SHOULD_BUILD_GEMINI) add_subdirectory(gemini) endif() # non-app directories are moved here because they can depend on SHOULD_BUILD_{appname} variables set above add_subdirectory(libs) add_subdirectory(interfaces) add_subdirectory(pics) add_subdirectory(plugins) add_subdirectory(servicetypes) add_subdirectory(devtools) add_subdirectory(extras) add_subdirectory(filters) add_subdirectory(data) feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) calligra_product_deps_report("product_deps") calligra_log_should_build() add_custom_target(apidox doc/api/gendocs.pl WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) configure_file(KoConfig.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/KoConfig.h ) if (SHOULD_BUILD_DEVEL_HEADERS) install( FILES ${CMAKE_CURRENT_BINARY_DIR}/KoConfig.h DESTINATION ${INCLUDE_INSTALL_DIR}/calligra COMPONENT Devel) endif() if (BUILD_TESTING) add_subdirectory(tests) endif(BUILD_TESTING) diff --git a/CalligraProducts.cmake b/CalligraProducts.cmake index 7946e2852ab..7a84a4c98b2 100644 --- a/CalligraProducts.cmake +++ b/CalligraProducts.cmake @@ -1,647 +1,618 @@ ### DEFINITION OF PRODUCTS, FEATURES AND PRODUCTSETS #################################################### # When building Calligra a lot of different things are created and installed. To # describe them and their internal dependencies the concepts of "product", # "feature" and "product set" are used. # A "product" is the smallest functional unit which can be created in the build # and which is useful on its own when installed. Examples are e.g. libraries, # plugins or executables. Products have external and internal required # dependencies at build-time. Internal dependencies are noted in terms of other # products or features (see below) and could be e.g. other libraries to link # against or build tools needed to generate source files. # A product gets defined by setting an identifier, a descriptive fullname and # the needed internal build-time requirements. Any other product or feature # listed as requirement must have been defined before. # A "feature" is not a standalone product, but adds abilities to one or multiple # given products. One examples is e.g. scriptability. Features have external and # internal required dependencies at build-time. Internal dependencies are noted # in terms of other products or features and could be e.g. other libraries to # link against or build tools needed to generate source files. # A feature gets defined by setting an identifier, a descriptive fullname and # the needed internal build-time requirements. Any other product or feature # listed as requirement must have been defined before. # A "productset" is a selection of products and features which should be build # together. The products and features can be either essential or optional to the # set. If essential (REQUIRES), the whole productset will not be build if a # product or feature is missing another internal or external dependency. If # optional (OPTIONAL), the rest of the set will still be build in that case. # The products and features to include in a set can be listed directly or # indirectly: they can be named explicitly, but also by including other # productsets in a set, whose products and features will then be part of the # first set as well. # Products, features and productsets can be listed as dependencies in multiple # product sets. As with dependencies for products or features, they must have # been defined before. # Products, features and product sets are in the same namespace, so a given # identifier can be only used either for a product or for a feature or for a # product set. # The ids of products and features (but not sets) are used to generate cmake # variables SHOULD_BUILD_${ID}, which then are used to control what is build and # how. ############################################# #### Product definitions #### ############################################# # For defining new products see end of this file, "How to add another product?" # IDEA: also add headers/sdk for all the libs ("_DEVEL"?) # IDEA: note external deps for products, so they are only checked if needed # There can be required or optional external deps, required will also result # in automatic disabling of product building # TODO: some products have multiple optional requirements, but need at least one. # See APP_CONVERTER, FILEMANAGER_* # building tools calligra_define_product(BUILDTOOL_RNG2CPP "rng2cpp") # Calligra-independent utility libs calligra_define_product(LIB_KOVECTORIMAGE "libkovectorimage") # calligra libs calligra_define_product(LIB_CALLIGRA "Calligra core libs" REQUIRES BUILDTOOL_RNG2CPP) calligra_define_product(LIB_KOMAIN "Lib for one-file-per-window apps" REQUIRES LIB_CALLIGRA) calligra_define_product(LIB_KOPAGEAPP "Lib for paged documents" REQUIRES LIB_CALLIGRA LIB_KOMAIN) calligra_define_product(LIB_KOODF2 "libkoodf2" REQUIRES LIB_CALLIGRA) calligra_define_product(LIB_KOODFREADER "libkoodfreader" REQUIRES LIB_KOODF2 LIB_CALLIGRA) calligra_define_product(LIB_MSO "libmso" REQUIRES LIB_CALLIGRA) calligra_define_product(LIB_KOMSOOXML "libkomsooxml" REQUIRES LIB_CALLIGRA LIB_KOODF2 LIB_KOMAIN) # features calligra_define_feature(FEATURE_SCRIPTING UNMAINTAINED "Scripting feature") calligra_define_feature(FEATURE_RDF UNMAINTAINED "RDF feature") # plugins calligra_define_product(PLUGIN_TEXTSHAPE "Text shape plugin" REQUIRES LIB_CALLIGRA) calligra_define_product(PLUGIN_PICTURESHAPE "Picture shape plugin" REQUIRES LIB_CALLIGRA) # parts calligra_define_product(PART_WORDS "Words engine" REQUIRES LIB_CALLIGRA LIB_KOMAIN PLUGIN_TEXTSHAPE) calligra_define_product(PART_STAGE "Stage engine" REQUIRES LIB_CALLIGRA LIB_KOMAIN LIB_KOPAGEAPP PLUGIN_TEXTSHAPE PLUGIN_PICTURESHAPE) calligra_define_product(PART_SHEETS "Sheets engine" REQUIRES LIB_CALLIGRA LIB_KOMAIN) calligra_define_product(PART_QTQUICK "QtQuick Plugin that provides Calligra components" UNPORTED REQUIRES PART_WORDS PART_STAGE)# SHEETS_PART) calligra_define_product(PART_COMPONENTS "QtQuick2 Plugin that provides Calligra components" REQUIRES PART_WORDS PART_STAGE PART_SHEETS) # apps calligra_define_product(APP_WORDS "Words app (for Desktop)" REQUIRES PART_WORDS) calligra_define_product(APP_STAGE "Stage app (for Desktop)" REQUIRES PART_STAGE) calligra_define_product(APP_SHEETS "Sheets app (for Desktop)" REQUIRES PART_SHEETS) calligra_define_product(APP_KARBON "Karbon app (for Desktop)" REQUIRES LIB_CALLIGRA LIB_KOMAIN LIB_KOPAGEAPP) -calligra_define_product(APP_FLOW "Flow app (for Desktop)" REQUIRES LIB_CALLIGRA LIB_KOMAIN LIB_KOPAGEAPP) calligra_define_product(APP_BRAINDUMP "Braindump app (for Desktop)" UNMAINTAINED REQUIRES LIB_CALLIGRA LIB_KOMAIN) calligra_define_product(DOC "Calligra Documentations" STAGING) # staging apps calligra_define_product(APP_GEMINI "The Calligra Gemini application" REQUIRES PART_COMPONENTS) # TODO: this needs to be split up by app products # extras calligra_define_product(APP_CONVERTER "Format converter for commandline" REQUIRES LIB_CALLIGRA LIB_KOMAIN) calligra_define_product(FILEMANAGER_PROPERTIES "Plugin for the KDE file properties dialog" REQUIRES LIB_CALLIGRA) calligra_define_product(FILEMANAGER_THUMBNAIL "Plugins for KDE filesystem thumbnailing" REQUIRES LIB_CALLIGRA LIB_KOMAIN) calligra_define_product(FILEMANAGER_QUICKPRINT "Plugin for the filemanager adding a \"Print\" action") calligra_define_product(FILEMANAGER_TEMPLATES "File templates for filemanager") calligra_define_product(OKULAR_GENERATOR_ODP "Plugin for Okular adding support for ODP" REQUIRES PART_STAGE) calligra_define_product(OKULAR_GENERATOR_ODT "Plugin for Okular adding support for ODT" REQUIRES PART_WORDS) # more plugins calligra_define_product(PLUGIN_COLORENGINES "Colorengine plugins" REQUIRES LIB_CALLIGRA) calligra_define_product(PLUGIN_MUSICSHAPE "Music shape plugin" REQUIRES LIB_CALLIGRA) calligra_define_product(PLUGIN_SPACENAVIGATOR "SpaceNavigator input plugin" REQUIRES LIB_CALLIGRA) calligra_define_product(PLUGIN_ARTISTICTEXTSHAPE "Artistic shape plugin" REQUIRES LIB_CALLIGRA) calligra_define_product(PLUGIN_DOCKERS "Default dockers plugin" REQUIRES LIB_CALLIGRA) calligra_define_product(PLUGIN_TEXTEDITING "Textediting plugins" REQUIRES LIB_CALLIGRA) calligra_define_product(PLUGIN_DEFAULTTOOLS "Default Flake tools plugin" REQUIRES LIB_CALLIGRA) calligra_define_product(PLUGIN_PATHSHAPES "Path shape plugins" REQUIRES LIB_CALLIGRA) calligra_define_product(PLUGIN_VARIABLES "Text variables plugin" REQUIRES LIB_CALLIGRA) calligra_define_product(PLUGIN_CHARTSHAPE "Chart shape plugin" REQUIRES LIB_CALLIGRA LIB_KOMAIN) calligra_define_product(PLUGIN_PLUGINSHAPE "Plugin shape plugin" REQUIRES LIB_CALLIGRA LIB_KOMAIN) calligra_define_product(PLUGIN_FORMULASHAPE "Formula shape plugin" REQUIRES LIB_CALLIGRA LIB_KOMAIN) calligra_define_product(PLUGIN_VIDEOSHAPE "Plugin for handling videos in Calligra" REQUIRES LIB_CALLIGRA) calligra_define_product(PLUGIN_VECTORSHAPE "Vectorgraphic shape plugin" REQUIRES LIB_CALLIGRA LIB_KOVECTORIMAGE) calligra_define_product(PLUGIN_SEMANTICITEMS "Semantic items plugins" REQUIRES FEATURE_RDF LIB_CALLIGRA) calligra_define_product(PLUGIN_SHAPEFILTEREFFECTS "Default shape filtereffects plugin" REQUIRES LIB_CALLIGRA) calligra_define_product(PLUGIN_STENCILSDOCKER "Stencils docker plugin" REQUIRES LIB_CALLIGRA) calligra_define_product(PLUGIN_KARBONPLUGINS "Semantic items plugins" REQUIRES LIB_CALLIGRA) calligra_define_product(PLUGIN_CALLIGRAGEMINI_GIT "Git support plugin for Calligra Gemini") # staging plugins calligra_define_product(PLUGIN_THREEDSHAPE "3D shape plugin" STAGING REQUIRES LIB_CALLIGRA) # Sheets filters calligra_define_product(FILTER_XLSX_TO_ODS "XLSX to ODS filter" REQUIRES LIB_KOMSOOXML PART_SHEETS) calligra_define_product(FILTER_XLS_TO_SHEETS "Sheets XLS import filter" REQUIRES LIB_MSO LIB_KOMSOOXML PART_SHEETS) calligra_define_product(FILTER_SHEETS_TO_XLS "Sheets XLS export filter" REQUIRES LIB_MSO LIB_KOMSOOXML PART_SHEETS) calligra_define_product(FILTER_CSV_TO_SHEETS "Sheets CSV import filter" REQUIRES PART_SHEETS) calligra_define_product(FILTER_SHEETS_TO_CSV "Sheets CSV export filter" REQUIRES PART_SHEETS) calligra_define_product(FILTER_APPLIXSPREAD_TO_KSPREAD "Applix Spreadsheet to KSpread filter" REQUIRES PART_SHEETS) calligra_define_product(FILTER_DBASE_TO_KSPREAD "dBASE to KSpread filter" REQUIRES LIB_KOMAIN) calligra_define_product(FILTER_GNUMERIC_TO_SHEETS "Sheets GNUMERIC import filter" REQUIRES PART_SHEETS) calligra_define_product(FILTER_SHEETS_TO_GNUMERIC "Sheets GNUMERIC import filter" REQUIRES PART_SHEETS) calligra_define_product(FILTER_OPENCALC_TO_SHEETS "Sheets OpenOffice.org Calc import filter" REQUIRES PART_SHEETS) calligra_define_product(FILTER_SHEETS_TO_OPENCALC "Sheets OpenOffice.org Calc export filter" REQUIRES PART_SHEETS) calligra_define_product(FILTER_QUATTROPRO_TO_SHEETS "Sheets Quattro Pro import filter" REQUIRES PART_SHEETS) calligra_define_product(FILTER_HTML_TO_ODS "HTML to ODS filter" REQUIRES LIB_KOMAIN) calligra_define_product(FILTER_SHEETS_TO_HTML "Sheets HTML export filter" REQUIRES PART_SHEETS) calligra_define_product(FILTER_KSPREAD_TO_LATEX "KSpread to LaTeX filter" REQUIRES LIB_KOMAIN) # odg filters calligra_define_product(FILTER_VISIO_TO_ODG "Visio to ODG filter" REQUIRES LIB_KOMAIN) calligra_define_product(FILTER_WPG_TO_ODG "WPG to ODG filter" REQUIRES LIB_KOMAIN) # Stage filters calligra_define_product(FILTER_KEY_TO_ODP "Apple Keynote to ODP filter" REQUIRES LIB_KOMAIN) calligra_define_product(FILTER_KPR_TO_ODP "KPresenter to ODP filter" REQUIRES LIB_KOMAIN) calligra_define_product(FILTER_PPT_TO_ODP "PPT to OPD filter" REQUIRES LIB_MSO LIB_KOMAIN) calligra_define_product(FILTER_PPTX_TO_ODP "PPTX to ODP filter" REQUIRES LIB_KOMSOOXML LIB_KOODF2 LIB_KOMAIN) # Words filters calligra_define_product(FILTER_DOC_TO_ODT "DOC to ODT filter" REQUIRES LIB_MSO LIB_KOMSOOXML LIB_KOMAIN) calligra_define_product(FILTER_DOCX_TO_ODT "DOCX to ODT filter" REQUIRES LIB_KOMSOOXML LIB_KOODF2 LIB_KOMAIN) calligra_define_product(FILTER_ODT_TO_DOCX "ODT to DOCX filter" REQUIRES LIB_KOODFREADER LIB_KOODF2 LIB_KOMAIN) calligra_define_product(FILTER_WORDPERFECT_TO_ODT "Word Perfect to ODT filter" REQUIRES LIB_KOMAIN) calligra_define_product(FILTER_WORKS_TO_ODT "MS Works to ODT filter" REQUIRES LIB_KOMAIN) calligra_define_product(FILTER_APPLIXWORD_TO_ODT "Applixword to ODT filter" REQUIRES LIB_KOMAIN) calligra_define_product(FILTER_ASCII_TO_WORDS "Words ASCII import filter" REQUIRES PART_WORDS LIB_KOODF2 LIB_KOMAIN) calligra_define_product(FILTER_ODT_TO_ASCII "ODT to ASCII filter" REQUIRES LIB_KOODFREADER LIB_KOMAIN) calligra_define_product(FILTER_RTF_TO_ODT "RTF to ODT filter" REQUIRES LIB_KOMAIN) calligra_define_product(FILTER_ODT_TO_MOBI "Mobi export filter" REQUIRES LIB_KOMAIN) calligra_define_product(FILTER_ODT_TO_EPUB2 "ODT Epub2 export filter" REQUIRES LIB_KOVECTORIMAGE LIB_KOMAIN) calligra_define_product(FILTER_ODT_TO_HTML "ODT HTML export filter" REQUIRES LIB_KOVECTORIMAGE LIB_KOMAIN) calligra_define_product(FILTER_ODT_TO_WIKI "ODT Wiki export filter" REQUIRES LIB_KOODFREADER LIB_KOODF2 LIB_KOMAIN) # Karbon filters calligra_define_product(FILTER_EPS_TO_SVG_AI "EPS to SVG/AI filter" REQUIRES LIB_KOMAIN) calligra_define_product(FILTER_XFIG_TO_ODG "XFig to ODG filter" REQUIRES LIB_KOMAIN) calligra_define_product(FILTER_PDF_TO_SVG "PDF to SVG filter" REQUIRES LIB_KOMAIN) calligra_define_product(FILTER_WPG_TO_SVG "WPG to SVG filter" REQUIRES LIB_KOMAIN) calligra_define_product(FILTER_KARBON_TO_IMAGE "Karbon image export filter" REQUIRES APP_KARBON) calligra_define_product(FILTER_KARBON_TO_SVG "Karbon SVG export filter" REQUIRES APP_KARBON) calligra_define_product(FILTER_SVG_TO_KARBON "Karbon SVG import filter" REQUIRES APP_KARBON) calligra_define_product(FILTER_KARBON_TO_WMF "Karbon WMF export filter" REQUIRES APP_KARBON) calligra_define_product(FILTER_WMF_TO_SVG "WMF to SVG filter" REQUIRES LIB_KOVECTORIMAGE LIB_KOMAIN) calligra_define_product(FILTER_KARBON1X_TO_KARBON "Karbon 1.x import filter" REQUIRES APP_KARBON) # meta apps calligra_define_product(APP_CALLIGRA "General Calligra app starter" REQUIRES LIB_CALLIGRA LIB_KOMAIN) # more extras calligra_define_product(OKULAR_GENERATOR_PPT "Plugin for Okular extended with support for PPT" REQUIRES OKULAR_GENERATOR_ODP FILTER_PPT_TO_ODP) calligra_define_product(OKULAR_GENERATOR_PPTX "Plugin for Okular extended with support for PPTX" REQUIRES OKULAR_GENERATOR_ODP FILTER_PPTX_TO_ODP) calligra_define_product(OKULAR_GENERATOR_DOC "Plugin for Okular extended with support for DOC" REQUIRES OKULAR_GENERATOR_ODT FILTER_DOC_TO_ODT) calligra_define_product(OKULAR_GENERATOR_DOCX "Plugin for Okular extended with support for DOCX" REQUIRES OKULAR_GENERATOR_ODT FILTER_DOCX_TO_ODT) calligra_define_product(OKULAR_GENERATOR_RTF "Plugin for Okular extended with support for RTF" REQUIRES OKULAR_GENERATOR_ODT FILTER_RTF_TO_ODT) calligra_define_product(OKULAR_GENERATOR_WORDPERFECT "Plugin for Okular extended with support for WORDPERFECT" REQUIRES OKULAR_GENERATOR_ODT FILTER_WORDPERFECT_TO_ODT) # developer utils calligra_define_product(APP_SLIDECOMPARE "slidecompare" REQUIRES LIB_CALLIGRA LIB_KOMAIN FILTER_PPT_TO_ODP) calligra_define_product(APP_DEVTOOLS "Tools for developers") calligra_define_product(APP_CSTESTER "cstester" REQUIRES PART_SHEETS PART_STAGE PART_WORDS) # development calligra_define_product(DEVEL_HEADERS "Headers of libraries" UNPORTED) ############################################# #### Product set definitions #### ############################################# # For defining new productsets see end of this file, # "How to add another productset?" # filter sets calligra_define_productset(FILTERS_SHEETS_IMPORT "All Sheets import filters" OPTIONAL FILTER_XLSX_TO_ODS FILTER_XLS_TO_SHEETS FILTER_CSV_TO_SHEETS FILTER_APPLIXSPREAD_TO_KSPREAD FILTER_DBASE_TO_KSPREAD FILTER_GNUMERIC_TO_SHEETS FILTER_OPENCALC_TO_SHEETS FILTER_QUATTROPRO_TO_SHEETS FILTER_HTML_TO_ODS ) calligra_define_productset(FILTERS_SHEETS_EXPORT "All Sheets export filters" OPTIONAL FILTER_SHEETS_TO_XLS FILTER_SHEETS_TO_CSV FILTER_SHEETS_TO_GNUMERIC FILTER_SHEETS_TO_OPENCALC FILTER_SHEETS_TO_HTML FILTER_KSPREAD_TO_LATEX ) calligra_define_productset(FILTERS_SHEETS "All Sheets filters" OPTIONAL FILTERS_SHEETS_IMPORT FILTERS_SHEETS_EXPORT ) calligra_define_productset(FILTERS_ODG_IMPORT "All odg import filters" OPTIONAL FILTER_VISIO_TO_ODG FILTER_WPG_TO_ODG ) -#calligra_define_productset(FILTERS_ODG_EXPORT "All Flowodg export filters" OPTIONAL ) none currently + calligra_define_productset(FILTERS_ODG "All odg filters" OPTIONAL FILTERS_ODG_IMPORT -# FILTERS_FLOW_EXPORT none currently ) -#calligra_define_productset(FILTERS_FLOW_EXPORT "All Flow export filters" OPTIONAL ) none currently -# calligra_define_productset(FILTERS_FLOW "All Flow filters" none currently -# OPTIONAL -# FILTERS_FLOW_IMPORT -# FILTERS_FLOW_EXPORT -#) calligra_define_productset(FILTERS_STAGE_IMPORT "All Stage import filters" OPTIONAL FILTER_KEY_TO_ODP FILTER_KPR_TO_ODP FILTER_PPT_TO_ODP FILTER_PPTX_TO_ODP ) #calligra_define_productset(FILTERS_STAGE_EXPORT "All Stage export filters" OPTIONAL ) none currently calligra_define_productset(FILTERS_STAGE "All Stage filters" OPTIONAL FILTERS_STAGE_IMPORT # FILTERS_STAGE_EXPORT ) calligra_define_productset(FILTERS_WORDS_IMPORT "All Words import filters" OPTIONAL FILTER_DOC_TO_ODT FILTER_DOCX_TO_ODT FILTER_WORDPERFECT_TO_ODT FILTER_WORKS_TO_ODT FILTER_APPLIXWORD_TO_ODT FILTER_ASCII_TO_WORDS FILTER_RTF_TO_ODT ) calligra_define_productset(FILTERS_WORDS_EXPORT "All Words export filters" OPTIONAL FILTER_ODT_TO_ASCII FILTER_ODT_TO_MOBI FILTER_ODT_TO_EPUB2 FILTER_ODT_TO_HTML FILTER_ODT_TO_DOCX FILTER_ODT_TO_WIKI ) calligra_define_productset(FILTERS_WORDS "All Words filters" OPTIONAL FILTERS_WORDS_IMPORT FILTERS_WORDS_EXPORT ) calligra_define_productset(FILTERS_KARBON_IMPORT "All Karbon import filters" OPTIONAL FILTER_EPS_TO_SVG_AI FILTER_XFIG_TO_ODG FILTER_PDF_TO_SVG FILTER_WPG_TO_SVG FILTER_SVG_TO_KARBON FILTER_WMF_TO_SVG FILTER_KARBON1X_TO_KARBON ) calligra_define_productset(FILTERS_KARBON_EXPORT "All Karbon export filters" OPTIONAL FILTER_KARBON_TO_IMAGE FILTER_KARBON_TO_SVG FILTER_KARBON_TO_WMF ) calligra_define_productset(FILTERS_KARBON "All Karbon filters" OPTIONAL FILTERS_KARBON_IMPORT FILTERS_KARBON_EXPORT ) # filemanager calligra_define_productset(FILEMANAGER "Extensions for the filemanager" OPTIONAL FILEMANAGER_PROPERTIES FILEMANAGER_QUICKPRINT FILEMANAGER_TEMPLATES FILEMANAGER_THUMBNAIL ) # apps calligra_define_productset(BRAINDUMP "Full Braindump (for Desktop)" REQUIRES APP_BRAINDUMP OPTIONAL # plugins PLUGIN_ARTISTICTEXTSHAPE PLUGIN_CHARTSHAPE PLUGIN_DEFAULTTOOLS PLUGIN_DOCKERS PLUGIN_FORMULASHAPE PLUGIN_MUSICSHAPE PLUGIN_PATHSHAPES PLUGIN_PICTURESHAPE PLUGIN_PLUGINSHAPE PLUGIN_TEXTEDITING PLUGIN_TEXTSHAPE PLUGIN_THREEDSHAPE PLUGIN_VARIABLES PLUGIN_VECTORSHAPE PLUGIN_VIDEOSHAPE ) -calligra_define_productset(FLOW "Full Flow (for Desktop)" - REQUIRES - APP_FLOW - OPTIONAL - # extras - FILEMANAGER - # plugins - PLUGIN_ARTISTICTEXTSHAPE - PLUGIN_CHARTSHAPE - PLUGIN_DEFAULTTOOLS - PLUGIN_DOCKERS - PLUGIN_FORMULASHAPE - PLUGIN_PATHSHAPES - PLUGIN_PICTURESHAPE - PLUGIN_PLUGINSHAPE - PLUGIN_TEXTEDITING - PLUGIN_TEXTSHAPE - PLUGIN_VARIABLES - PLUGIN_VECTORSHAPE - # filters - FILTERS_ODG -) + calligra_define_productset(KARBON "Full Karbon (for Desktop)" REQUIRES APP_KARBON PLUGIN_KARBONPLUGINS PLUGIN_STENCILSDOCKER PLUGIN_SHAPEFILTEREFFECTS OPTIONAL # extras FILEMANAGER # plugins PLUGIN_ARTISTICTEXTSHAPE PLUGIN_CHARTSHAPE PLUGIN_DEFAULTTOOLS PLUGIN_DOCKERS PLUGIN_FORMULASHAPE PLUGIN_PATHSHAPES PLUGIN_PICTURESHAPE PLUGIN_PLUGINSHAPE PLUGIN_TEXTEDITING PLUGIN_TEXTSHAPE PLUGIN_VARIABLES PLUGIN_VECTORSHAPE # filters FILTERS_KARBON FILTERS_ODG ) calligra_define_productset(SHEETS "Full Sheets (for Desktop)" REQUIRES APP_SHEETS OPTIONAL # extras FILEMANAGER # feature FEATURE_SCRIPTING # plugins PLUGIN_ARTISTICTEXTSHAPE PLUGIN_CHARTSHAPE PLUGIN_DEFAULTTOOLS PLUGIN_DOCKERS PLUGIN_FORMULASHAPE PLUGIN_PATHSHAPES PLUGIN_PICTURESHAPE PLUGIN_PLUGINSHAPE PLUGIN_TEXTEDITING PLUGIN_TEXTSHAPE PLUGIN_VARIABLES PLUGIN_VECTORSHAPE # filters FILTERS_SHEETS ) calligra_define_productset(STAGE "Full Stage (for Desktop)" REQUIRES APP_STAGE OPTIONAL # extras FILEMANAGER # plugins PLUGIN_ARTISTICTEXTSHAPE PLUGIN_CHARTSHAPE PLUGIN_DEFAULTTOOLS PLUGIN_DOCKERS PLUGIN_FORMULASHAPE PLUGIN_PATHSHAPES PLUGIN_PICTURESHAPE PLUGIN_PLUGINSHAPE PLUGIN_TEXTEDITING PLUGIN_TEXTSHAPE PLUGIN_VARIABLES PLUGIN_VECTORSHAPE PLUGIN_VIDEOSHAPE # filters FILTERS_STAGE ) calligra_define_productset(WORDS "Full Words (for Desktop)" REQUIRES APP_WORDS OPTIONAL # extras FILEMANAGER # plugins PLUGIN_ARTISTICTEXTSHAPE PLUGIN_CHARTSHAPE PLUGIN_DEFAULTTOOLS PLUGIN_DOCKERS PLUGIN_FORMULASHAPE PLUGIN_PATHSHAPES PLUGIN_PICTURESHAPE PLUGIN_PLUGINSHAPE PLUGIN_SEMANTICITEMS PLUGIN_TEXTEDITING PLUGIN_TEXTSHAPE PLUGIN_VARIABLES PLUGIN_VECTORSHAPE # filters FILTERS_WORDS ) calligra_define_productset(GEMINI "Calligra for 2:1 devices" REQUIRES APP_GEMINI OPTIONAL # plugins PLUGIN_ARTISTICTEXTSHAPE PLUGIN_CALLIGRAGEMINI_GIT PLUGIN_CHARTSHAPE PLUGIN_DEFAULTTOOLS PLUGIN_DOCKERS PLUGIN_FORMULASHAPE PLUGIN_PATHSHAPES PLUGIN_PICTURESHAPE PLUGIN_PLUGINSHAPE PLUGIN_TEXTEDITING PLUGIN_TEXTSHAPE PLUGIN_VARIABLES PLUGIN_VECTORSHAPE PLUGIN_VIDEOSHAPE # filters FILTERS_WORDS FILTERS_STAGE ) # okular support calligra_define_productset(OKULAR "Okular generators" OPTIONAL OKULAR_GENERATOR_ODP OKULAR_GENERATOR_PPT OKULAR_GENERATOR_PPTX OKULAR_GENERATOR_ODT OKULAR_GENERATOR_DOC OKULAR_GENERATOR_DOCX OKULAR_GENERATOR_RTF OKULAR_GENERATOR_WORDPERFECT ) # How to add another product? # =========================== # # 1. Define the product by a call of calligra_define_product, # e.g. # # calligra_define_product(MYPRODUCT "title of product") # # For the product id use a proper prefix (LIB_, PLUGIN_, FILTER_, APP_, PART_, # ...), whatever is appropriate. # # 2. Extend that call with a REQUIRES argument section, if the product has # hard internal build-time dependencies on other products or features. # Products/features that are listed as dependencies have to be defined before # (see also the API doc in cmake/modules/CalligraProductSetMacros.cmake) # E.g. # # calligra_define_product(MYPRODUCT "title of product" REQUIRES P1 P2) # # 3. Add a rule when to not build the product, in the section "Detect which # products/features can be compiled" of the toplevel CMakeLists.txt. Each # product should have their own boolean expression when to set the build flag # to FALSE, e.g. # # if (PLATFORMX OR NOT EXTERNAL_DEP_X_FOUND) # set(SHOULD_BUILD_MYPRODUCT FALSE) # endif () # # 4. Wrap everything belonging to the product with the build flag of the product. # Ideally this is done around subdirectory inclusions, results in easier code. # e.g. # # if (SHOULD_BUILD_MYPRODUCT) # add_subdirectory(myproduct) # endif () # # 5. Tag the product as STAGING, if it is not yet ready for release, but already # integrated in the master branch, e.g. # # calligra_define_product(MYPRODUCT "title of product" STAGING REQUIRES P1) # # 6. Add the product to all products, features and product sets which have this # product as REQUIRED or OPTIONAL dependency. # # # How to add another feature? # =========================== # # 1. Define the feature by a call of calligra_define_feature, # e.g. # # calligra_define_feature(MYFEATURE "title of feature") # # For the feature id use a proper prefix (FEATURE_, ...), whatever is # appropriate. # # 2. Extend that call with a REQUIRES argument section, if the feature has # hard internal build-time dependencies on other products or features. # Products or features that are listed as dependencies have to be defined # before # (see also the API doc in cmake/modules/CalligraProductSetMacros.cmake) # E.g. # # calligra_define_feature(MYFEATURE "title of feature" REQUIRES P1 F1) # # 3. Add a rule when to not build the feature, in the section "Detect which # products/features can be compiled" of the toplevel CMakeLists.txt. Each # feature should have their own boolean expression when to set the build flag # to FALSE, e.g. # # if (PLATFORMX OR NOT EXTERNAL_DEP_X_FOUND) # set(SHOULD_BUILD_MYFEATURE FALSE) # endif () # # 4. Wrap everything belonging to the feature with the build flag of the feature. # Ideally this is done around subdirectory inclusions, results in easier code. # e.g. # # if (SHOULD_BUILD_MYFEATURE) # add_subdirectory(myproduct) # endif () # # 5. Tag the feature as STAGING, if it is not yet ready for release, but already # integrated in the master branch, e.g. # # calligra_define_product(MYFEATURE "title of feature" STAGING REQUIRES P1 F1) # # 6. Add the feature to all products, features and product sets which have this # product as REQUIRED or OPTIONAL dependency. # # # How to add another productset? # ============================== # # There are two possible places to put a productset definition. The first is to # add it to this file, which should be done for more generic sets that are # useful for many people. The second is a file of its own, in the directory # "cmake/productsets", which should be done for more special ones or for those # which should not be added to the repository. # The file must be named with the name of the productset in lowercase and have # the extension ".cmake". # # 1. Define the productset by a call of calligra_define_productset, # e.g. # # calligra_define_productset(MYPRODUCTSET "title of productset") # # 2. Extend that call with REQUIRES or OPTIONAL argument sections, if the productset # has hard or soft internal dependencies on other products, features or # productsets. # Products, features or productsets that are listed as dependencies have to # be defined before # (see also the API doc in cmake/modules/CalligraProductSetMacros.cmake) # E.g. # # calligra_define_productset(MYPRODUCT "title of product" # REQUIRES P1 P2 F1 PS1 # OPTIONAL P3 F2 PS2) # # 3. Add the productset to all product sets which have this product set as # REQUIRED or OPTIONAL dependency. # # Example for a file-based productset definition: # You want a productset "MYWORDS". For that you add a file named # "mywords.cmake" into the directory "cmake/productsets", with the content: # --- 8< --- # calligra_define_productset(MYWORDS "My Words" # REQUIRES # APP_WORDS # PLUGIN_DEFAULTTOOLS # PLUGIN_DOCKERS # PLUGIN_PATHSHAPES # PLUGIN_VARIABLES # PLUGIN_TEXTSHAPE # PLUGIN_PLUGINSHAPE # PLUGIN_FORMULASHAPE # ) # --- 8< --- diff --git a/flow/AUTHORS b/flow/AUTHORS deleted file mode 100644 index c6167a47926..00000000000 --- a/flow/AUTHORS +++ /dev/null @@ -1,28 +0,0 @@ -The following people are responsible for Kivio in some way/shape/form. -Peter Simonsson - psn@linux.se - Current maintainer. - -Ian Reinhart Geiser - geiseri@kde.org - Developer. - -Laurent Montel - montel@kde.org - Developer. - -Frauke Oster - frauke@frsv.de - Developer. - -Kristof Borrey - borrey@kde.org - Artwork (stencils and icons) - -Joerg de la Haye - haye@ritterstrasse.org - Nassi Schneiderman stencils - -Dave Marotti - lndshark@verticaladdiction.net - Main author and the original author of Queesio, from which this source - is based. Main developer. - -Max Judin - max@thekompany.com - Responsible for most of the widgets which hold Kivio up. - -DmitryDmitry Poplavsky - dima@kde.org - Python (spy) stencil. Python integration. diff --git a/flow/CMakeLists.txt b/flow/CMakeLists.txt deleted file mode 100644 index 6eb295f5ee9..00000000000 --- a/flow/CMakeLists.txt +++ /dev/null @@ -1,18 +0,0 @@ -project(flow) - -add_definitions(-DTRANSLATION_DOMAIN=\"flow\") - -include_directories( - ${KOMAIN_INCLUDES} -) - -add_subdirectory(part) -add_subdirectory(templates) -add_subdirectory(pics) - - -########### install files ############### - -install( FILES - flow_dock.desktop - DESTINATION ${SERVICETYPES_INSTALL_DIR}) diff --git a/flow/LICENSE b/flow/LICENSE deleted file mode 100644 index ebb24a85e9d..00000000000 --- a/flow/LICENSE +++ /dev/null @@ -1,340 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) 19yy - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) 19yy name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. diff --git a/flow/Mainpage.dox b/flow/Mainpage.dox deleted file mode 100644 index 58946cd7de5..00000000000 --- a/flow/Mainpage.dox +++ /dev/null @@ -1,5 +0,0 @@ -/** - * \mainpage - */ - -// DOXYGEN_SET_PROJECT_NAME = Flow diff --git a/flow/Messages.sh b/flow/Messages.sh deleted file mode 100755 index bf9e1450208..00000000000 --- a/flow/Messages.sh +++ /dev/null @@ -1,13 +0,0 @@ -#! /bin/sh -# Messages.sh files must have one instance of the line with: -# 'potfilename=.pot' -# potfilename= must be at the start of the line and without spaces. -# It must refer to one pot file only. -# Release scripts rely on this. -potfilename=flow.pot - -source ../kundo2_aware_xgettext.sh - -$EXTRACTRC `find . -name \*.ui -o -name \*.rc` >> rc.cpp || exit 11 -kundo2_aware_xgettext $potfilename `find . -name \*.cpp -not -name \*.moc.\*` part/FlowAboutData.h -rm -f rc.cpp diff --git a/flow/NOTES b/flow/NOTES deleted file mode 100644 index e6349c336e4..00000000000 --- a/flow/NOTES +++ /dev/null @@ -1,36 +0,0 @@ -This file is just for miscellaneous notes on how things work in Kivio or -things that should/should-not be done. - -- The ID System ---------------------------------------------------------------------------- -The way Kivio locates stencils after saving and loading them is through an -ID system. Each stencil set is given a unique ID. Many times, this id -is simply the author or company's name concatenated with the native title of -the stencil set, and a roman numeral. This is the naming convention the -author has been using. The id's of the stencils themselves are usually -the same as the native title. - -It is critically important that the Id's ******NEVER****** be translated -or Kivio won't be able to load documents which are saved in one locale, -and then loaded in another. - -- Removing A Stencil Set ---------------------------------------------------------------------------- -Here are the steps the code does: - -- Removing a stencil set by clicking on the button 'x'. There are quite - a few things which happen as a result of a user clicking the 'x' on - a DragBarButton. - DragBarButton emits a closeRequired( DragBarButton * ) signal, - KivioStackBar catches it with slotDeleteButton( DragBarButton * ), - KivioStackBar then emits deleteButton(DragBarButton *, QWidget *, KivioStackBar *), - KivioDocument then catches this with slotDeleteStencilSet( signature ) and - iterates through all stencils on all pages of the document making sure it - is ok to delete this stencil set. If it is, it removes the stencil (spawner) set - with a call to removeSpawnerSet( ... ) and emits the signal - sig_deleteStencilSet( DragBarButton *, QWidget *, KivioStackBar * ) - StencilBarDockManager catches this with slotDeleteStencilSet( .... ) and tells the - KivioStackBar object to delete the passed DragBarButton and widget associated with - it. It then checks if any pages are visible on the KivioStackBar object. If - there are not, it then removes it from either the bars list, or topLevel bars list - and then deletes the KivioStackBar object. diff --git a/flow/flow_dock.desktop b/flow/flow_dock.desktop deleted file mode 100644 index cf235bb3f91..00000000000 --- a/flow/flow_dock.desktop +++ /dev/null @@ -1,40 +0,0 @@ -[Desktop Entry] -Type=ServiceType -X-KDE-ServiceType=Flow/Dock -Comment=Docker for Flow -Comment[bs]=Docker za Flow -Comment[ca]=Acoblador per al Flow -Comment[ca@valencia]=Acoblador per al Flow -Comment[cs]=Dok pro Flow -Comment[da]=Dokker til Flow -Comment[de]=Docker für Flow -Comment[el]=Προσάρτηση για το Flow -Comment[en_GB]=Docker for Flow -Comment[es]=Panel para Flow -Comment[et]=Flow dokk -Comment[eu]=Flow-rako panela -Comment[fi]=Flow-telakka -Comment[fr]=Panneau pour Flow -Comment[gl]=Doca para Flow -Comment[hu]=Dokkoló a Flowhoz -Comment[it]=Area di aggancio per Flow -Comment[ja]=Flow のドッキングパネル -Comment[kk]=Flow-дың докері -Comment[ko]=Flow용 도커 -Comment[nb]=Dokker for Flow -Comment[nds]=Andockmoduul för Flow -Comment[nl]=Vastzetten van Flow -Comment[pl]=Dokowanie dla Flow -Comment[pt]=Acoplador para o Flow -Comment[pt_BR]=Acoplador para o Flow -Comment[ru]=Панель для Flow -Comment[sk]=Docker pre Flow -Comment[sl]=Sidrišče za Flow -Comment[sv]=Dockningsfönster för Flow -Comment[tr]=Flow için Docker -Comment[uk]=Бічна панель Flow -Comment[x-test]=xxDocker for Flowxx -Comment[zh_CN]=Flow 停靠栏 -Comment[zh_TW]=Flow 的嵌入器 -[PropertyDef::X-KDE-PluginInfo-Name] -Type=QString diff --git a/flow/part/CMakeLists.txt b/flow/part/CMakeLists.txt deleted file mode 100644 index 87fe0c02b5d..00000000000 --- a/flow/part/CMakeLists.txt +++ /dev/null @@ -1,64 +0,0 @@ -project(flow) - -include_directories( ${KOPAGEAPP_INCLUDES}) - -### flowprivate ### -set(flowprivate_LIB_SRCS - FlowFactory.cpp - FlowPart.cpp - FlowDocument.cpp - FlowView.cpp -) - -add_library(flowprivate SHARED ${flowprivate_LIB_SRCS}) - -generate_export_header(flowprivate - BASE_NAME flow - EXPORT_FILE_NAME flow_generated_export.h - ) - -target_link_libraries(flowprivate kopageapp koplugin KF5::IconThemes) -target_link_libraries(flowprivate LINK_INTERFACE_LIBRARIES kopageapp) - -set_target_properties(flowprivate PROPERTIES - VERSION ${GENERIC_CALLIGRA_LIB_VERSION} SOVERSION ${GENERIC_CALLIGRA_LIB_SOVERSION} -) -install(TARGETS flowprivate ${INSTALL_TARGETS_DEFAULT_ARGS}) - -### flowpart ### -set(flowpart_PART_SRCS FlowFactoryInit.cpp ) - -add_library(flowpart MODULE ${flowpart_PART_SRCS}) - -calligra_part_desktop_to_json(flowpart flowpart.desktop) - -target_link_libraries(flowpart flowprivate) - -install(TARGETS flowpart DESTINATION ${PLUGIN_INSTALL_DIR}/calligra/parts) - -### kdeinit flow ### -set(flow_KDEINIT_SRCS main.cpp ) - -file(GLOB ICONS_SRCS "../pics/*-apps-calligraflow.png") -ecm_add_app_icon(flow_KDEINIT_SRCS ICONS ${ICONS_SRCS}) - -kf5_add_kdeinit_executable(calligraflow ${flow_KDEINIT_SRCS}) - -target_link_libraries(kdeinit_calligraflow komain) - -install(TARGETS kdeinit_calligraflow ${INSTALL_TARGETS_DEFAULT_ARGS}) - -target_link_libraries(calligraflow kdeinit_calligraflow) -install(TARGETS calligraflow ${INSTALL_TARGETS_DEFAULT_ARGS}) - -### desktop files ### -install( FILES flowpart.desktop DESTINATION ${SERVICES_INSTALL_DIR}/calligra) -install( PROGRAMS org.kde.calligraflow.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}) -install( FILES org.kde.calligraflow.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) - -### GUI files ### -install( FILES flow.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/flow) -install( FILES flowrc DESTINATION ${CONFIG_INSTALL_DIR} ) -if(APPLE) - install( FILES ${CMAKE_CURRENT_BINARY_DIR}/flow_KDEINIT_SRCS.icns DESTINATION ${BUNDLE_INSTALL_DIR}/calligraflow.app/Contents/Resources) -endif() diff --git a/flow/part/FlowAboutData.h b/flow/part/FlowAboutData.h deleted file mode 100644 index 1652451ee19..00000000000 --- a/flow/part/FlowAboutData.h +++ /dev/null @@ -1,51 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2006 Peter Simonsson - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef FLOWABOUTDATA_H -#define FLOWABOUTDATA_H - -#include -#include -#include -#include - -KAboutData* newFlowAboutData() -{ - KAboutData *aboutData = new KAboutData( - QStringLiteral("flow"), - i18n("Flow"), - QStringLiteral(CALLIGRA_VERSION_STRING), - i18n("Calligra Flowchart And Diagram Tool"), - KAboutLicense::LGPL, - i18n("(c) 2001-%1, The Flow Team", QStringLiteral(CALLIGRA_YEAR)), - QStringLiteral("https://www.calligra.org/flow/")); - aboutData->setProductName("flow"); // for bugs.kde.org - aboutData->setOrganizationDomain("kde.org"); -#if KCOREADDONS_VERSION >= 0x051600 - aboutData->setDesktopFileName(QStringLiteral("org.kde.flow")); -#endif - aboutData->addAuthor(i18n("Yue Liu"), i18n("Maintainer"), QStringLiteral("yue.liu@mail.com")); - aboutData->addAuthor(i18n("Peter Simonsson"), i18n("Former Maintainer"), QStringLiteral("peter.simonsson@gmail.com")); - aboutData->addAuthor(i18n("Laurent Montel"), i18n("KF5 Porting"), QStringLiteral("montel@kde.org")); - aboutData->setTranslator(i18nc("NAME OF TRANSLATORS", "Your names"), - i18nc("EMAIL OF TRANSLATORS", "Your emails")); - return aboutData; -} - -#endif diff --git a/flow/part/FlowDocument.cpp b/flow/part/FlowDocument.cpp deleted file mode 100644 index f5fe1ffecdf..00000000000 --- a/flow/part/FlowDocument.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2006 Peter Simonsson - Copyright (C) 2007 Thorsten Zachmann - Copyright (C) 2010 Boudewijn Rempt - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#include "FlowDocument.h" - -#include "FlowView.h" -#include "FlowFactory.h" - -FlowDocument::FlowDocument(KoPart *part) - : KoPADocument(part) -{ -} - -FlowDocument::~FlowDocument() -{ -} - -KoOdf::DocumentType FlowDocument::documentType() const -{ - return KoOdf::Graphics; -} - -const char * FlowDocument::odfTagName(bool withNamespace) -{ - return withNamespace ? "office:drawing": "drawing"; -} diff --git a/flow/part/FlowDocument.h b/flow/part/FlowDocument.h deleted file mode 100644 index 324565d4acb..00000000000 --- a/flow/part/FlowDocument.h +++ /dev/null @@ -1,61 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2006 Peter Simonsson - Copyright (C) 2007 Thorsten Zachmann - Copyright (C) 2010 Boudewijn Rempt - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef FLOWDOCUMENT_H -#define FLOWDOCUMENT_H - -#include -#include "flow_generated_export.h" - -#define FLOW_MIME_TYPE "application/vnd.oasis.opendocument.graphics" - -class KoPart; - -class FLOW_EXPORT FlowDocument : public KoPADocument -{ - Q_OBJECT - -public: - explicit FlowDocument(KoPart *part); - ~FlowDocument() override; - - KoOdf::DocumentType documentType() const override; - - - /// reimplemented from KoDocument - QByteArray nativeFormatMimeType() const override { return FLOW_MIME_TYPE; } - /// reimplemented from KoDocument - QByteArray nativeOasisMimeType() const override {return FLOW_MIME_TYPE;} - /// reimplemented from KoDocument - QStringList extraNativeMimeTypes() const override - { - return QStringList() << "application/vnd.oasis.opendocument.graphics-template"; - } - -Q_SIGNALS: - /// Emitted when the gui needs to be updated. - void updateGui(); - -protected: - const char *odfTagName( bool withNamespace ) override; -}; - -#endif diff --git a/flow/part/FlowFactory.cpp b/flow/part/FlowFactory.cpp deleted file mode 100644 index 5f0d26505a7..00000000000 --- a/flow/part/FlowFactory.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2006 Peter Simonsson - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#include "FlowFactory.h" - -#include "FlowDocument.h" -#include "FlowAboutData.h" -#include "FlowPart.h" - -#include - -#include -#include - -KoComponentData* FlowFactory::s_global = nullptr; - -static int factoryCount = 0; - -FlowFactory::FlowFactory() - : KPluginFactory() -{ - (void)global(); - - if (factoryCount == 0) { - - // Load the KoPA-specific tools - KoPluginLoader::load(QStringLiteral("CalligraPageApp/Tool")); - - // Load Flow specific dockers - KoPluginLoader::load(QStringLiteral("Flow/Dock")); - } - factoryCount++; -} - -FlowFactory::~FlowFactory() -{ -} - -QObject* FlowFactory::create( const char* /*iface*/, QWidget* /*parentWidget*/, QObject *parent, - const QVariantList& args, const QString& keyword ) -{ - Q_UNUSED( args ); - Q_UNUSED( keyword ); - FlowPart *part = new FlowPart(parent); - FlowDocument* doc = new FlowDocument(part); - doc->setDefaultStylesResourcePath(QStringLiteral("flow/styles/")); - part->setDocument(doc); - - return part; -} - -const KoComponentData &FlowFactory::global() -{ - if (!s_global) { - KAboutData *about = newFlowAboutData(); - s_global = new KoComponentData(*about); - delete about; - - // Add any application-specific resource directories here - - // Tell the iconloader about share/apps/calligra/icons - KIconLoader::global()->addAppDir(QStringLiteral("calligra")); - } - return *s_global; -} diff --git a/flow/part/FlowFactory.h b/flow/part/FlowFactory.h deleted file mode 100644 index b38a0186416..00000000000 --- a/flow/part/FlowFactory.h +++ /dev/null @@ -1,46 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2006 Peter Simonsson - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef FLOWFACTORY_H -#define FLOWFACTORY_H - -#include -#include "flow_generated_export.h" - -class KComponentData; -class KAboutData; -class KoComponentData; - -class FLOW_EXPORT FlowFactory : public KPluginFactory -{ - Q_OBJECT - -public: - explicit FlowFactory(); - ~FlowFactory() override; - - - QObject* create(const char* iface, QWidget* parentWidget, QObject *parent, const QVariantList& args, const QString& keyword) override; - - static const KoComponentData &global(); -private: - static KoComponentData* s_global; -}; - -#endif diff --git a/flow/part/FlowFactoryInit.cpp b/flow/part/FlowFactoryInit.cpp deleted file mode 100644 index d48501c5b96..00000000000 --- a/flow/part/FlowFactoryInit.cpp +++ /dev/null @@ -1,20 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2006 Peter Simonsson - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#include "FlowFactoryInit.h" -#include "moc_FlowFactoryInit.cpp" diff --git a/flow/part/FlowFactoryInit.h b/flow/part/FlowFactoryInit.h deleted file mode 100644 index f62662f47b9..00000000000 --- a/flow/part/FlowFactoryInit.h +++ /dev/null @@ -1,35 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2006 Peter Simonsson - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef FLOWFACTORYINIT_H -#define FLOWFACTORYINIT_H - -#include - -class FlowFactoryInit : public FlowFactory -{ - Q_OBJECT - Q_PLUGIN_METADATA(IID KPluginFactory_iid FILE "flowpart.json") - Q_INTERFACES(KPluginFactory) - -public: - explicit FlowFactoryInit() : FlowFactory() {} - virtual ~FlowFactoryInit() {} -}; - -#endif diff --git a/flow/part/FlowPart.cpp b/flow/part/FlowPart.cpp deleted file mode 100644 index a006bff63d3..00000000000 --- a/flow/part/FlowPart.cpp +++ /dev/null @@ -1,98 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2012 C. Boemann - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. -*/ - -#include "FlowPart.h" - -#include "FlowView.h" -#include "FlowDocument.h" -#include "FlowFactory.h" - -#include -#include -#include -#include - -#include - -FlowPart::FlowPart(QObject *parent) - : KoPart(FlowFactory::global(), parent) -{ - setTemplatesResourcePath(QStringLiteral("flow/templates/")); -} - -FlowPart::~FlowPart() -{ -} - -void FlowPart::setDocument(FlowDocument *document) -{ - KoPart::setDocument(document); - m_document = document; -} - -KoView * FlowPart::createViewInstance(KoDocument *document, QWidget *parent) -{ - FlowView *view = new FlowView(this, qobject_cast(document), parent); - connect(document, SIGNAL(replaceActivePage(KoPAPageBase*,KoPAPageBase*)), view, SLOT(replaceActivePage(KoPAPageBase*,KoPAPageBase*))); - return view; -} - -QGraphicsItem *FlowPart::createCanvasItem(KoDocument *document) -{ - KoPACanvasItem *canvasItem = new KoPACanvasItem(qobject_cast(document)); - return canvasItem; -} - -KoMainWindow *FlowPart::createMainWindow() -{ - return new KoMainWindow(FLOW_MIME_TYPE, componentData()); -} - -void FlowPart::showStartUpWidget(KoMainWindow *parent, bool alwaysShow) -{ - // Go through all (optional) plugins we require and quit if necessary - bool error = false; - KoShapeFactoryBase *factory; - - factory = KoShapeRegistry::instance()->value(QStringLiteral("TextShapeID")); - if (!factory) { - m_errorMessage = i18n("Can not find needed text component, Calligra Flow will quit now."); - error = true; - } - factory = KoShapeRegistry::instance()->value(QStringLiteral("PictureShape")); - if (!factory) { - m_errorMessage = i18n("Can not find needed picture component, Calligra Flow will quit now."); - error = true; - } - - if (error) { - QTimer::singleShot(0, this, &FlowPart::showErrorAndDie); - } else { - KoPart::showStartUpWidget(parent, alwaysShow); - } -} - -void FlowPart::showErrorAndDie() -{ - KMessageBox::error(nullptr, m_errorMessage, i18n( "Installation Error")); - // This means "the environment is incorrect" on Windows - // FIXME: Is this uniform on all platforms? - QCoreApplication::exit(10); -} - diff --git a/flow/part/FlowPart.h b/flow/part/FlowPart.h deleted file mode 100644 index 0c6b5785ffe..00000000000 --- a/flow/part/FlowPart.h +++ /dev/null @@ -1,65 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2012 C. Boemann - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. -*/ - -#ifndef FLOWPART_H -#define FLOWPART_H - -#include - -#include "flow_generated_export.h" - -class FlowDocument; -class QGraphicsItem; -class KoView; - -class FLOW_EXPORT FlowPart : public KoPart -{ - Q_OBJECT - -public: - explicit FlowPart(QObject *parent); - - ~FlowPart() override; - - void setDocument(FlowDocument *document); - - /** - * Creates and shows the start up widget. Reimplemented from KoDocument. - * - * @param parent the KoMainWindow used as parent for the widget. - * @param alwaysShow always show the widget even if the user has configured it to not show. - */ - void showStartUpWidget(KoMainWindow *parent, bool alwaysShow) override; - - /// reimplemented - KoView *createViewInstance(KoDocument *document, QWidget *parent) override; - /// reimplemented - QGraphicsItem *createCanvasItem(KoDocument *document) override; - /// reimplemented - KoMainWindow *createMainWindow() override; -protected Q_SLOTS: - /// Quits Stage with error message from m_errorMessage. - void showErrorAndDie(); - -protected: - QString m_errorMessage; - FlowDocument *m_document; -}; - -#endif // FLOWPART_H diff --git a/flow/part/FlowView.cpp b/flow/part/FlowView.cpp deleted file mode 100644 index c8e891a4f4f..00000000000 --- a/flow/part/FlowView.cpp +++ /dev/null @@ -1,75 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2006 Peter Simonsson - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#include "FlowView.h" - -#include "FlowDocument.h" -#include "FlowPart.h" - -#include - -#include -#include - -FlowView::FlowView(FlowPart *part, FlowDocument* document, QWidget* parent) - : KoPAView(part, document, KoPAView::NormalMode, parent), m_document(document) -{ - Q_ASSERT(m_document); - - setXMLFile(QStringLiteral("flow.rc")); - - initializeActions(); - initializeGUI(); - - connect(m_document, SIGNAL(updateGui()), this, SLOT(updateGui())); - - setAcceptDrops(true); -} - -FlowView::~FlowView() -{ -} - -FlowDocument* FlowView::document() const -{ - return m_document; -} - -void FlowView::initializeGUI() -{ -} - -void FlowView::initializeActions() -{ - QAction *act = actionCollection()->action(QStringLiteral("configure")); - act->setText(i18n("Configure Flow...")); - act->setMenuRole(QAction::PreferencesRole); -} - -void FlowView::updateGui() -{ - selectionChanged(); -} - -void FlowView::replaceActivePage(KoPAPageBase *page, KoPAPageBase *newActivePage) -{ - if (page == activePage() ) { - viewMode()->updateActivePage(newActivePage); - } -} diff --git a/flow/part/FlowView.h b/flow/part/FlowView.h deleted file mode 100644 index cb0d6ff39c2..00000000000 --- a/flow/part/FlowView.h +++ /dev/null @@ -1,55 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2006 Peter Simonsson - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef FLOWVIEW_H -#define FLOWVIEW_H - -#include - -class FlowDocument; -class FlowPart; - -class FlowView : public KoPAView -{ - Q_OBJECT - -public: - explicit FlowView(FlowPart *part, FlowDocument *document, QWidget *parent); - ~FlowView(); - - /// Returns the document - FlowDocument* document() const; - -protected Q_SLOTS: - /// Called when the doc emits updateGui - void updateGui(); - - void replaceActivePage(KoPAPageBase *page, KoPAPageBase *newActivePage); - -protected: - /// Creates and initializes the GUI. - void initializeGUI(); - /// Initializes all the actions - void initializeActions(); - -private: - FlowDocument* m_document; -}; - -#endif diff --git a/flow/part/flow.rc b/flow/part/flow.rc deleted file mode 100644 index 7c0c86cbbe3..00000000000 --- a/flow/part/flow.rc +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - &File - - - - - - &Edit - - - - - - - - - - - - - - - - - - &View - - - - - - - - - - - - - - - - &Insert - - - - F&ormat - - - - - - &Page - - - - - - - - - - - &Settings - - - - - - - - - - - - - - - - - - - - - - diff --git a/flow/part/flowpart.desktop b/flow/part/flowpart.desktop deleted file mode 100644 index a6c5dd406f3..00000000000 --- a/flow/part/flowpart.desktop +++ /dev/null @@ -1,46 +0,0 @@ -[Desktop Entry] -Name=Calligra Flowchart & Diagram Editing Component -Name[bg]=Компонент за блоксхеми и диаграми в Calligra -Name[bs]=Komponente za editovanje Calligra Flowchart i Dijagrama -Name[ca]=Component d'edició de diagrames de fluxos i diagrames del Calligra -Name[ca@valencia]=Component d'edició de diagrames de fluxos i diagrames del Calligra -Name[cs]=Komponenta editoru nákresů a diagramů Calligra -Name[da]=Calligra-komponent til redigering af diagrammer -Name[de]=Calligra-Komponente für Flussdiagramme & Diagrammbearbeitung -Name[el]=Συστατικό επεξεργασίας διαγραμμάτων ροής & απλών διαγραμμάτων του Calligra -Name[en_GB]=Calligra Flowchart & Diagram Editing Component -Name[es]=Componente de edición de de diagramas de flujos y esquemas de Calligra -Name[et]=Calligra skeemide redigeerimise komponent -Name[eu]=Calligra-ren fluxu-diagramen eta diagramen edizio-osagaia -Name[fi]=Calligran kaavionpiirtämisosa -Name[fr]=Composant conception de diagrammes et de tableaux de Calligra -Name[gl]=Compoñente de edición de diagramas para Calligra -Name[hu]=Calligra folyamatábra- és diagramkészítő komponens -Name[it]=Componente per la modifica di diagrammi di flusso di Calligra -Name[ja]=Calligra フローチャート & ダイアグラム編集コンポーネント -Name[kk]=Calligra-ның сұлба және диаграмма өңдеу бағдарламасы -Name[ko]=Calligra 순서도 및 다이어그램 편집 구성 요소 -Name[nb]=Calligra-komponent for flytskjema- og diagramredigering -Name[nds]=Calligra-Komponent för Afloopdiagrammen un Diagrammbewerken -Name[nl]=Calligra-stroomdiagram & Bewerkingscomponent voor diagrammen -Name[pl]=Składnik edycji diagramów oraz schematów przepływów dla Calligry -Name[pt]=Componente de Fluxogramas e Edição de Diagramas do Calligra -Name[pt_BR]=Componente de edição de fluxogramas e diagramas do Calligra -Name[ru]=Компонент редактирования диаграмм и блок-схем в Calligra -Name[sk]=Komponent na editovanie vývojových diagramov Calligra -Name[sl]=Komponenta urejanja grafov in diagramov poteka za Calligro -Name[sv]=Calligra flödesschema- och diagramredigeringskomponent -Name[tr]=Calligra Akış Şeması & Diyagram Düzenleme Bileşeni -Name[uk]=Компонент редагування діаграм та блок-схем Calligra -Name[x-test]=xxCalligra Flowchart & Diagram Editing Componentxx -Name[zh_CN]=Calligra 流程图和图表编辑组件 -Name[zh_TW]=Calligra 流程圖 & 圖表編輯元件 -X-KDE-Library=flowpart -MimeType=application/vnd.oasis.opendocument.graphics;application/vnd.visio; -Type=Service -X-KDE-ServiceTypes=Calligra/Part -X-KDE-NativeMimeType=application/vnd.oasis.opendocument.graphics -X-KDE-NativeOasisMimeType=application/vnd.oasis.opendocument.graphics -X-KDE-ExtraNativeMimeTypes=application/vnd.oasis.opendocument.graphics-template -Categories=Qt;KDE;Office; -Icon=calligraflow diff --git a/flow/part/flowrc b/flow/part/flowrc deleted file mode 100644 index faec9fd15ef..00000000000 --- a/flow/part/flowrc +++ /dev/null @@ -1,14 +0,0 @@ -[flow] -State=AAAA/wAAAAD9AAAAAwAAAAAAAADnAAACnfwCAAAABPsAAAAkAEYAbABvAHcAUwBoAGEAcABlAEIAbwB4AEQAbwBjAGsAZQByAQAAAJwAAAIZAAAAAAAAAAD7AAAADgBUAG8AbwBsAEIAbwB4AQAAAB4AAABQAAAAUAEAAAX7AAAAKABGAGwAbwB3AFMAdABlAG4AYwBpAGwAQgBvAHgARABvAGMAawBlAHIBAAAAcQAAAZ4AAACFAAgAGfsAAAAqAGQAbwBjAHUAbQBlAG4AdAAgAHMAZQBjAHQAaQBvAG4AIAB2AGkAZQB3AQAAAhIAAACpAAAAgQEAAAUAAAABAAABEgAAAp38AgAAAAb7AAAAIABzAGgAYQByAGUAZAB0AG8AbwBsAGQAbwBjAGsAZQByAQAAAB4AAAF2AAAAYgEAAAX7AAAAFgBTAHQAeQBsAGUARABvAGMAawBlAHIBAAABlwAAAE8AAABPAAAAT/wAAAHpAAAA0gAAANIAAADS+gAAAAABAAAAA/sAAAAiAFMAdAByAG8AawBlACAAUAByAG8AcABlAHIAdABpAGUAcwEAAAAA/////wAAANwACAAF+wAAACIAUwBoAGEAZABvAHcAIABQAHIAbwBwAGUAcgB0AGkAZQBzAQAAAAD/////AAAAuAAIAAX7AAAAIABTAGgAYQBwAGUAIABQAHIAbwBwAGUAcgB0AGkAZQBzAQAABBMAAAESAAAAeAEAAAX7AAAAMABEAGUAZgBhAHUAbAB0AFQAbwBvAGwAQQByAHIAYQBuAGcAZQBXAGkAZABnAGUAdAEAAAAVAAAAggAAAAAAAAAA+wAAACoAUwBuAGEAcABHAHUAaQBkAGUAQwBvAG4AZgBpAGcAVwBpAGQAZwBlAHQBAAAAmgAAAEsAAAAAAAAAAPsAAAAiAEQAZQBmAGEAdQBsAHQAVABvAG8AbABXAGkAZABnAGUAdAEAAADoAAAAWwAAAAAAAAAAAAAAAgAABR8AAAB0/AEAAAAC+wAAABoAVABvAG8AbABCAGEAcgBEAG8AYwBrAGUAcgAAAAAAAAAAvgAAAE4BAAAF+wAAACoAUwBoAGEAcABlAEMAbwBsAGwAZQBjAHQAaQBvAG4ARABvAGMAawBlAHIAAAAETQAAAQkAAABCAAAAQgAAAyYAAAKdAAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAWAG0AYQBpAG4AVABvAG8AbABCAGEAcgEAAAAA/////wAAAAAAAAAA - -[Grid] -ShowGrid=false -Color=230,230,230 -PaintGridInBackground=true - -[KoPageApp/DocumentStructureDocker] -ViewMode=Detailed - -[calligra] -FlakePluginsDisabled=karbonimagefilter,karbonsvgfilter -TextInlinePluginsDisabled=kprvariables diff --git a/flow/part/main.cpp b/flow/part/main.cpp deleted file mode 100644 index e6e7d56412b..00000000000 --- a/flow/part/main.cpp +++ /dev/null @@ -1,52 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2006 Peter Simonsson - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#include -#include -#include - -#include "FlowAboutData.h" -#include "FlowDocument.h" - -#include - -extern "C" Q_DECL_EXPORT int kdemain( int argc, char* argv[] ) -{ - /** - * Disable debug output by default, only log warnings. - * Debug logs can be controlled by the environment variable QT_LOGGING_RULES. - * - * For example, to get full debug output, run the following: - * QT_LOGGING_RULES="calligra.*=true" calligrafolw - * - * See: http://doc.qt.io/qt-5/qloggingcategory.html - */ - QLoggingCategory::setFilterRules("calligra.*.debug=false\ncalligra.*.warning=true"); - - KoApplication app(QByteArray(FLOW_MIME_TYPE), QStringLiteral("calligraflow"), newFlowAboutData, argc, argv); - // Migrate data from kde4 to kf5 locations - Calligra2Migration m("flow"); - m.setConfigFiles(QStringList() << QStringLiteral("flowrc")); - m.setUiFiles(QStringList() << QStringLiteral("flow.rc")); - m.migrate(); - - if (!app.start()) - return 1; - return app.exec(); -} diff --git a/flow/part/org.kde.calligraflow.appdata.xml b/flow/part/org.kde.calligraflow.appdata.xml deleted file mode 100644 index d22c7710af6..00000000000 --- a/flow/part/org.kde.calligraflow.appdata.xml +++ /dev/null @@ -1,207 +0,0 @@ - - - org.kde.calligraflow.desktop - CC0-1.0 - GPL-2.0+ - Flow - Flow - Flow - Flow - Flow - Flow - Flow - Flow - Flow - Flow - Flow - Flow - Flow - Fluxo - Flow (Fluxo) - Flow - Flow - Flow - Flow - Flow - Przepływ - Flow - Flow - Flow - Flow - Flow - Flow - xxFlowxx - Flow - Flowchart & Diagram Editing - Uređivanje dijagrama i organigrama - Edició de diagrames de fluxos i diagrames - Edició de diagrames de fluxos i diagrames - Programm zum Erstellen von Diagrammen - Επεξεργασία διαγραμμάτων ροής & απεικονίσεων - Flowchart & Diagram Editing - Edición de gráficos y diagramas de flujo - Voo- ja muud skeemid - Vuokaavio- ja diagrammimuokkaus - Édition de diagrammes - Editor de diagramas - Modifica de diagramma de fluxo & diagramma - Pengeditan Diagram & Flowchart - Diagrammi di flusso e modifica di diagrammi - フローチャートおよびダイアグラム図の作成 - 순서도 & 다이어그램 편집 - Bewerking van stroomdiagrammen & grafieken - Edytowanie wykresów przepływu i diagramów - Edição de Fluxogramas & Diagramas - Edição de fluxogramas e diagramas - Vývojový diagram & úprava diagramu - Flödesdiagram och diagramredigering - Редагування блок-схем і діаграм - xxFlowchart & Diagram Editingxx - 流程图 & 图标编辑 - -

- Calligra Flow is an easy to use diagramming and flowcharting application with tight integration to the other Calligra applications. - It enables you to create network diagrams, organisation charts, flowcharts and more. -

-

Calligra Flow je jednostavan alat za crtanje dijagrama i organigrama sa bliskom integracijom s drugim Calligra aplikacijama. Omogućava vam da crtate mrežne dijagrame, organizacione dijagrame, dijagrame toka i drugo.

-

El Calligra Flow és una aplicació fàcil d'utilitzar per fer diagrames i diagrames de flux amb una estreta integració amb altres aplicacions del Calligra. Permet crear diagrames de xarxa, diagrames d'organització, diagrames de flux i més.

-

El Calligra Flow és una aplicació fàcil d'utilitzar per fer diagrames i diagrames de flux amb una estreta integració amb altres aplicacions del Calligra. Permet crear diagrames de xarxa, diagrames d'organització, diagrames de flux i més.

-

Calligra Flow ist ein einfach zu verwendendes Programm für Diagramme und Flussdiagramme mit enger Integration in andere Calligra-Programme. Mit diesem Programm können Sie Netzwerkdiagramme, Organisationsdiagramme, Flussdiagramme und andere Diagramme erstellen und bearbeiten

-

Το Calligra Flow είναι μια ευκολόχρηστη εφαρμογή απεικονίσεων και διαγραμμάτων ροής με στενή ενσωμάτωση στις άλλες εφαρμογές του Calligra. Σας επιτρέπει να δημιουργήσετε διαγράμματα δικτύου, οργανογράμματα, διαγράμματα ροής και άλλα.

-

Calligra Flow is an easy to use diagramming and flowcharting application with tight integration to the other Calligra applications. It enables you to create network diagrams, organisation charts, flowcharts and more.

-

Calligra Flow es una aplicación de fácil uso que sirve para crear diagramas de flujo y gráficos, y que goza de una alta integración con el resto de aplicaciones de Calligra. Le permite crear diagramas de red, gráficos de organización, gráficos de flujo y más.

-

Calligra Flow on hõlpsasti kasutatav voo- ja muude skeemide rakendus, mis on tihedalt seotud muude Calligra rakendustega. See võimaldab luua võrguskeeme, organisatsiooniskeeme, vooskeeme jms.

-

Calligra Flow on helppokäyttöinen diagrammi- ja vuokaaviosovellus, joka integroituu tiukasti muihin Calligra-sovelluksiin. Sillä voit luoda verkko-, organisaatio- ja vuokaavioita sekä muita.

-

Calligra Flow est une application de diagrammes et d'organigrammes facile à utiliser fortement intégrée avec les autres application Calligra. Elle vous permet de créer des plans de réseaux, des organigrammes, des graphiques, et autres.

-

Calligra Flow é unha aplicación de diagramas fácil de usar e completamente integrada co resto de aplicacións de Calligra. Permítelle crear diagramas de rede, gráficas de organización, diagramas de fluxo, e moito máis.

-

Calligra Flow es un application facile de usar pro facer diagrammas e diagrammas de fluxo con un forte integration con altere applicationes de Calligra. Illo permitte te crear diagrammas de rete, graphicos de organisation, diagrammas de fluxo e alteres.

-

Calligra Flow adalah aplikasi diagram dan flowchart yang mudah digunakan dengan integrasi yang kuat ke aplikasi Calligra lainnya. Ini memungkinkan Anda untuk memciptakan diagram jaringan, bagan organisasi, bagan alir, dan lainnya.

-

Calligra Flow è un'applicazione di facile utilizzo per creare diagrammi di flusso e altro con una stretta integrazione con le altre applicazioni di Calligra. Ti consente di creare diagrammi di rete, organigrammi, diagrammi di flusso e altro.

-

Calligra Flow は簡単にダイアグラムやフローチャートを作成する事ができるアプリケーションです。作成した図は他の Calligra アプリケーションでも使用する事ができます。

-

Calligra Flow는 다른 Calligra 응용 프로그램과의 긴밀한 통합으로 다이어그램 작성 및 플로우차트응용 프로그램을 사용하기 쉽습니다. 네트워크 다이어그램, 조직도, 순서도 등을 만들 수 있습니다.

-

Calligra Flow is een gemakkelijk te gebruiken toepassing voor het maken van diagrammen en flowcharts met nauwe integratie met de andere toepassingen van Calligra. Het stelt u in staat om netwerkdiagrammen, organisatiediagrammen, flowcharts en meer te maken.

-

Przepływ Calligra jest łatwym w użyciu programem do rysowania diagramów i wykresów przepływu, będącym ściśle powiązanym z innymi programami Calligra. Umożliwia tworzenie diagramów sieciowych, wykresów organizacyjnych, wykresów przepływów i innych.

-

O Calligra Flow é uma aplicação de diagramas e fluxogramas com uma integração forte com as outras aplicações do Calligra. Permite-lhe criar diagramas de rede, organigramas, fluxogramas, entre outros.

-

Calligra Flow é um aplicativo para criação de diagramas e fluxogramas fácil de usar e com uma forte integração com as outros aplicativos do Calligra. Permite-lhe criar diagramas de rede, organogramas, fluxogramas, entre outros.

-

Calligra Flow je ľahko použiteľná aplikácia na diagramy a vývojové diagramy s úzkou integráciou s inými aplikáciami Calligra. Umožní vám vytvárať sieťové diagramy, organizačné schémy, vývojové diagramy a viac.

-

Calligra Flow är ett lättanvänt program för att skapa diagram och flödesdiagram med nära integration med övriga program i Calligra. Det möjliggör att skapa nätverksdiagram, organisationsdiagram, flödesdiagram med mera.

-

Calligra Flow — проста у користуванні програма для створення діаграм та блок-схем з тісною інтеграцією з іншими програмами Calligra. За її допомогою ви можете створювати мережеві діаграми, організаційні діаграми, блок-схеми тощо.

-

xxCalligra Flow is an easy to use diagramming and flowcharting application with tight integration to the other Calligra applications. It enables you to create network diagrams, organisation charts, flowcharts and more.xx

-

Features:

-

Svojstva:

-

Característiques:

-

Característiques:

-

Vlastnosti:

-

Funktionen:

-

Χαρακτηριστικά:

-

Features:

-

Características:

-

Omadused:

-

Ominaisuuksia:

-

Fonctionnalités :

-

Funcionalidades:

-

Characteristicas

-

Fitur:

-

Funzionalità:

-

機能:

-

기능 :

-

Mogelijkheden:

-

Cechy:

-

Funcionalidades:

-

Funcionalidades:

-

Возможности:

-

Funkcie:

-

Funktioner:

-

Можливості:

-

xxFeatures:xx

-

功能:

-
    -
  • Create network diagrams, organisation charts, flowcharts and more
  • -
  • Kreirajte mrežne dijagrame, organizacione dijagrame, dijagrame toka i drugo
  • -
  • Crea diagrames de xarxa, diagrames d'organització, diagrames de flux i més
  • -
  • Crea diagrames de xarxa, diagrames d'organització, diagrames de flux i més
  • -
  • Erstellung von Netzwerkdiagrammen, Organisationsdiagrammen, Flussdiagrammen und mehr
  • -
  • Δημιουργήστε διαγράμματα, οργανογράμματα, διαγράμματα ροής και άλλα
  • -
  • Create network diagrams, organisation charts, flowcharts and more
  • -
  • Crea diagramas de red, gráficos de organización, gráficos de flujo y más
  • -
  • Võrguskeemide, organisatsiooniskeemide, vooskeemide ja muude skeemide loomine
  • -
  • Verkko-, organisaatio- ja vuokaavioiden sekä muiden luonti
  • -
  • Créez des plans de réseaux, des organigrammes, des graphiques et autres
  • -
  • Cree diagramas de rede, gráficas de organización, diagramas de fluxo, e moito máis.
  • -
  • Crea diagrammas de rete, graphicos de organisation, diagrammas de fluxo e alteres.
  • -
  • Ciptakan diagram jaringan, bagan organisasi, bagan alir, dan lainnya
  • -
  • Crea diagrammi di rete, organigrammi, diagrammi di flusso e altro
  • -
  • ネットワークダイアグラム、組織図、フローチャートなどの作成
  • -
  • 네트워크 다이어그램, 조직도, 순서도 등을 만듭니다
  • -
  • Netwerkdiagrammen, organisatiediagrammen, stroomdiagrammen en meer
  • -
  • Tworzenie diagramów sieciowych, wykresów organizacyjnych, wykresów przepływów i innych.
  • -
  • Criar diagramas de rede, organigramas, fluxogramas, entre outros
  • -
  • Criar diagramas de rede, organogramas, fluxogramas, entre outros
  • -
  • Vytváranie sieťových diagramov, organizačných schém, vývojových diagramov a viac
  • -
  • Skapa nätverksdiagram, organisationsdiagram, flödesdiagram med mera
  • -
  • Створення мережевих діаграм, організаційних діаграм, блок-схем тощо.
  • -
  • xxCreate network diagrams, organisation charts, flowcharts and morexx
  • -
  • Scriptable stencil creation using Python
  • -
  • Skriptno kreiranje likova za crtanje koristeći Python
  • -
  • Creació de patrons amb scripts usant el Python
  • -
  • Creació de patrons amb scripts usant el Python
  • -
  • Skriptfähige Erstellung von Schablonen mittels Python
  • -
  • Δημιουργία σχεδιότυπου συγγραφής σεναρίων με χρήση της Python
  • -
  • Scriptable stencil creation using Python
  • -
  • Creación de plantillas mediante scripts utilizando Python
  • -
  • Skriptitav trafarettide loomine Pythoni abil
  • -
  • Skriptattava sapluunojen luonti Pythonilla
  • -
  • Création de pochoirs programmable en utilisant le langage Python
  • -
  • Cree pinceis con Python.
  • -
  • Creation de stencil de script usante Python
  • -
  • Penciptaan stensil yang dapat diskrip menggunakan Python
  • -
  • Creazione forme con script utilizzando Python
  • -
  • Python スクリプトでのステンシルの作成
  • -
  • Python을 사용하여 스크립팅 가능한 스텐실 생성
  • -
  • Maken van stencils met scripts met Python
  • -
  • Tworzenie wzorców skryptowych przy użyciu Python
  • -
  • Criação de formas programáveis com o Python
  • -
  • Criação de formas programáveis usando Python
  • -
  • Skriptovateľné vytváranie šablón pomocou Pythonu
  • -
  • Möjlighet att skapa stenciler med skript genom att använda Python
  • -
  • Створення шаблонів на основі скриптів мовою Python.
  • -
  • xxScriptable stencil creation using Pythonxx
  • -
  • Support for Dia stencils.
  • -
  • Podrška za Dia šablone.
  • -
  • Admet patrons del Dia.
  • -
  • Admet patrons del Dia.
  • -
  • Unterstützung für Dia-Schablonen.
  • -
  • Υποστήριξη για σχεδιότυπα του Dia.
  • -
  • Support for Dia stencils.
  • -
  • Admite las plantillas de Dia.
  • -
  • Dia trafarettide toetamine
  • -
  • Dian sapluunojen tuki
  • -
  • Prise en charge des pochoirs issus de Dia.
  • -
  • Compatíbel con pinceis de Dia.
  • -
  • Supporto pro stencils de Dia.
  • -
  • Dukungan untuk stensilan Dia
  • -
  • Supporta le forme di Dia.
  • -
  • Dia ステンシルのサポート
  • -
  • 도표 스텐실 지원.
  • -
  • Ondersteuning voor Dia-stencils.
  • -
  • Obsługa wzorców Dia.
  • -
  • Suporte para formas do Dia.
  • -
  • Suporte para formas do Dia.
  • -
  • Podpora pre Dia šablóny.
  • -
  • Stöd för Dia-stenciler.
  • -
  • Підтримка шаблонів Dia.
  • -
  • xxSupport for Dia stencils.xx
  • -
-
- http://www.calligra.org/flow/ - https://bugs.kde.org/enter_bug.cgi?format=guided&product=calligraflow - - - http://kde.org/images/screenshots/flow.png - - - KDE - - calligraflow - -
diff --git a/flow/part/org.kde.calligraflow.desktop b/flow/part/org.kde.calligraflow.desktop deleted file mode 100644 index 3f6f935d96d..00000000000 --- a/flow/part/org.kde.calligraflow.desktop +++ /dev/null @@ -1,108 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Calligra Flow -Name[bs]=Calligra Flow -Name[ca]=Calligra Flow -Name[ca@valencia]=Calligra Flow -Name[cs]=Calligra Flow -Name[da]=Calligra Flow -Name[de]=Calligra Flow -Name[el]=Calligra Flow -Name[en_GB]=Calligra Flow -Name[es]=Calligra Flow -Name[et]=Calligra Flow -Name[eu]=Calligra Flow -Name[fi]=Calligra Flow -Name[fr]=Calligra Flow -Name[gl]=Calligra Flow -Name[hu]=Calligra Flow -Name[it]=Calligra Flow -Name[ja]=Calligra Flow -Name[kk]=Calligra Flow -Name[ko]=Calligra Flow -Name[lt]=Calligra Flow -Name[nb]=Calligra Flow -Name[nds]=Calligra-Flow -Name[nl]=Calligra Flow -Name[pl]=Schematy Calligra -Name[pt]=Calligra Flow -Name[pt_BR]=Calligra Flow -Name[ru]=Calligra Flow -Name[sk]=Calligra Flow -Name[sl]=Calligra Flow -Name[sv]=Calligra Flow -Name[tr]=Calligra Flow -Name[ug]=Calligra Flow -Name[uk]=Calligra Flow -Name[x-test]=xxCalligra Flowxx -Name[zh_CN]=Calligra Flow -Name[zh_TW]=Calligra Flow -Exec=calligraflow %u -GenericName=Flowchart & Diagram Editing -GenericName[bg]=Редактиране на блоксхеми и диаграми -GenericName[bs]=Flowchart i Dijagram editovanje -GenericName[ca]=Editor de diagrames de fluxos -GenericName[ca@valencia]=Editor de diagrames de fluxos -GenericName[cs]=Editor nákresů a diagramů -GenericName[cy]=Golygu Siartiau Llif & Diagram -GenericName[da]=Flydediagrammer & diagramredigering -GenericName[de]=Flussdiagramme & Diagrammbearbeitung -GenericName[el]=Επεξεργασία διαγραμμάτων ροής & απλών διαγραμμάτων -GenericName[en_GB]=Flowchart & Diagram Editing -GenericName[eo]=Desegnilo por fluo- kaj aliaj diagramoj -GenericName[es]=Edición de diagramas de flujo y esquemas -GenericName[et]=Skeemide redigeerimine -GenericName[eu]=Fluxu-diagramen eta diagramen edizioa -GenericName[fa]=روندنما و ویرایش نمودار -GenericName[fi]=Kaavioiden piirtäminen -GenericName[fr]=Conception de diagrammes et de tableaux -GenericName[fy]=Bewurkje fan (stroom)diagrammen -GenericName[ga]=Eagarthóireacht Sreabhchairteacha agus Léaráidí -GenericName[gl]=Editor de diagramas -GenericName[he]=עריכת תרשימי זרימה ודיאגרמות -GenericName[hi]=फ्लोचार्ट व डायग्राम संपादन -GenericName[hne]=फ्लोचार्ट अउ डायग्राम संपादन -GenericName[hr]=Uređivannje dijagrama i prikaza protoka -GenericName[hu]=Folyamatábra- és diagramkészítő -GenericName[is]=Flæðirits og skýringamynda vinnsla -GenericName[it]=Editor di diagrammi di flusso -GenericName[ja]=フローチャート & ダイアグラム編集 -GenericName[kk]=Блок-сұлба мен Диаграммаларды өңдеу -GenericName[ko]=순서도와 다이어그램 편집 -GenericName[lv]=Plūsmkaršu un diagrammu rediģēšana -GenericName[ms]=Pengeditan Carta Aliran & Rajah -GenericName[nb]=Flytskjema- og diagramredigering -GenericName[nds]=Afloopdiagrammen un Diagrammbewerken -GenericName[ne]=फ्लो चित्रपट र चित्र सम्पादन -GenericName[nl]=Bewerken van (stroom)diagrammen -GenericName[pl]=Edycja diagramów oraz schematów przepływów -GenericName[pt]=Fluxogramas e Edição de Diagramas -GenericName[pt_BR]=Edição de fluxogramas e diagramas -GenericName[ru]=Схемы -GenericName[sk]= Vývojové diagramy -GenericName[sl]=Urejanje grafov in diagramov poteka -GenericName[sv]=Flödesscheman och diagramredigering -GenericName[ta]=பாய்வு நிரல்பட மற்றும் வரிபட தொகுப்பு -GenericName[tg]=Ҷадвалҳо ва диаграмма -GenericName[tr]=Diyagram Düzenleyici -GenericName[ug]=ئېقىن رەسىم ۋە چېرتيوژ تەھرىرلەش -GenericName[uk]=Редагування діаграм та блок-схем -GenericName[uz]=Sxema va diagrammalarni tahrirlash -GenericName[uz@cyrillic]=Схема ва диаграммаларни таҳрирлаш -GenericName[wa]=Aspougnaedje di grafikes matematikes eyet d' diyagrames -GenericName[xh]=Umzobo wokulandelana kweenkqubo & Uhlelo lomzobo -GenericName[x-test]=xxFlowchart & Diagram Editingxx -GenericName[zh_CN]=流程图和图表编辑 -GenericName[zh_TW]=流程圖與圖表編輯 -MimeType=application/vnd.oasis.opendocument.graphics;application/vnd.visio; -X-KDE-ServiceTypes=Calligra/Application -Icon=calligraflow -X-KDE-NativeMimeType=application/vnd.oasis.opendocument.graphics -# application/vnd.oasis.opendocument.graphics is not on this list because Karbon has the default; -# Flow will be used only in absence of Karbon -X-Calligra-DefaultMimeTypes=application/vnd.oasis.opendocument.graphics;application/vnd.visio; -X-DocPath=http://userbase.kde.org/Special:MyLanguage/Flow -X-KDE-StartupNotify=true -X-DBUS-StartupType=Multi -X-DBUS-ServiceName=org.calligra.flow -Categories=Qt;KDE;Office;FlowChart; diff --git a/flow/pics/1024-apps-calligraflow.png b/flow/pics/1024-apps-calligraflow.png deleted file mode 100644 index a32962f3309..00000000000 Binary files a/flow/pics/1024-apps-calligraflow.png and /dev/null differ diff --git a/flow/pics/128-apps-calligraflow.png b/flow/pics/128-apps-calligraflow.png deleted file mode 100644 index 5ec5d351794..00000000000 Binary files a/flow/pics/128-apps-calligraflow.png and /dev/null differ diff --git a/flow/pics/16-apps-calligraflow.png b/flow/pics/16-apps-calligraflow.png deleted file mode 100644 index 45a06c0219b..00000000000 Binary files a/flow/pics/16-apps-calligraflow.png and /dev/null differ diff --git a/flow/pics/22-apps-calligraflow.png b/flow/pics/22-apps-calligraflow.png deleted file mode 100644 index 715791daef4..00000000000 Binary files a/flow/pics/22-apps-calligraflow.png and /dev/null differ diff --git a/flow/pics/256-apps-calligraflow.png b/flow/pics/256-apps-calligraflow.png deleted file mode 100644 index 811249a86b0..00000000000 Binary files a/flow/pics/256-apps-calligraflow.png and /dev/null differ diff --git a/flow/pics/32-apps-calligraflow.png b/flow/pics/32-apps-calligraflow.png deleted file mode 100644 index 9bde863676e..00000000000 Binary files a/flow/pics/32-apps-calligraflow.png and /dev/null differ diff --git a/flow/pics/48-apps-calligraflow.png b/flow/pics/48-apps-calligraflow.png deleted file mode 100644 index 7e82f7ed079..00000000000 Binary files a/flow/pics/48-apps-calligraflow.png and /dev/null differ diff --git a/flow/pics/512-apps-calligraflow.png b/flow/pics/512-apps-calligraflow.png deleted file mode 100644 index 375da78229a..00000000000 Binary files a/flow/pics/512-apps-calligraflow.png and /dev/null differ diff --git a/flow/pics/64-apps-calligraflow.png b/flow/pics/64-apps-calligraflow.png deleted file mode 100644 index f33f9d6882d..00000000000 Binary files a/flow/pics/64-apps-calligraflow.png and /dev/null differ diff --git a/flow/pics/CMakeLists.txt b/flow/pics/CMakeLists.txt deleted file mode 100644 index 72b1689f5b7..00000000000 --- a/flow/pics/CMakeLists.txt +++ /dev/null @@ -1,16 +0,0 @@ -ecm_install_icons( ICONS - 16-apps-calligraflow.png - 22-apps-calligraflow.png - 32-apps-calligraflow.png - 48-apps-calligraflow.png - 64-apps-calligraflow.png - 128-apps-calligraflow.png - 256-apps-calligraflow.png - 512-apps-calligraflow.png - 1024-apps-calligraflow.png - sc-apps-calligraflow.svgz - - DESTINATION ${ICON_INSTALL_DIR} - THEME hicolor -) - diff --git a/flow/pics/sc-apps-calligraflow.svgz b/flow/pics/sc-apps-calligraflow.svgz deleted file mode 100644 index 43b894a09cc..00000000000 Binary files a/flow/pics/sc-apps-calligraflow.svgz and /dev/null differ diff --git a/flow/templates/CMakeLists.txt b/flow/templates/CMakeLists.txt deleted file mode 100644 index 799e5869290..00000000000 --- a/flow/templates/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -add_subdirectory( basic ) diff --git a/flow/templates/basic/.directory b/flow/templates/basic/.directory deleted file mode 100644 index e17c0b127da..00000000000 --- a/flow/templates/basic/.directory +++ /dev/null @@ -1,67 +0,0 @@ -[Desktop Entry] -Name=Basic -Name[bg]=Основни -Name[br]=Diazez -Name[bs]=Osnovno -Name[ca]=Bàsic -Name[ca@valencia]=Bàsic -Name[cs]=Základní -Name[cy]=Sylfaenol -Name[da]=Basal -Name[de]=Einfach -Name[el]=Βασικό -Name[en_GB]=Basic -Name[eo]=Baza -Name[es]=Básico -Name[et]=Baasmallid -Name[eu]=Oinarrizkoa -Name[fa]=پایه‌ای -Name[fi]=Yksinkertainen -Name[fr]=Basique -Name[fy]=Basis -Name[ga]=Bunúsach -Name[gl]=Básico -Name[he]=בסיס -Name[hi]=मूल -Name[hne]=मूल -Name[hr]=Osnovno -Name[hu]=Alap -Name[ia]=Basic -Name[is]=Einfalt -Name[it]=Semplice -Name[ja]=基本的 -Name[kk]=Негізгі -Name[ko]=기본 -Name[lv]=Vienkāršs -Name[mai]=मूल -Name[mr]=मुळ -Name[ms]=Asas -Name[nb]=Grunnleggende -Name[nds]=Eenfach -Name[ne]=आधारभूत -Name[nl]=Basis -Name[oc]=Basic -Name[pl]=Podstawowy -Name[pt]=Básico -Name[pt_BR]=Básico -Name[ru]=Обычный -Name[sk]=Základné -Name[sl]=Osnovno -Name[sv]=Grundläggande -Name[ta]=அடிப்படை -Name[tg]=Асосӣ -Name[tr]=Temel -Name[ug]=ئاساس -Name[uk]=Основний -Name[uz]=Oddiy -Name[uz@cyrillic]=Оддий -Name[wa]=Di båze -Name[x-test]=xxBasicxx -Name[zh_CN]=基本 -Name[zh_TW]=基本 -X-KDE-DefaultTab=true - -[Dolphin] -PreviewsShown=true -Timestamp=2013,1,19,16,2,5 -Version=3 diff --git a/flow/templates/basic/48-actions-template_basicflow.png b/flow/templates/basic/48-actions-template_basicflow.png deleted file mode 100644 index a12eac8d7d4..00000000000 Binary files a/flow/templates/basic/48-actions-template_basicflow.png and /dev/null differ diff --git a/flow/templates/basic/48-actions-template_empty_landscape.png b/flow/templates/basic/48-actions-template_empty_landscape.png deleted file mode 100644 index 4d24ba5fcf0..00000000000 Binary files a/flow/templates/basic/48-actions-template_empty_landscape.png and /dev/null differ diff --git a/flow/templates/basic/48-actions-template_empty_portrait.png b/flow/templates/basic/48-actions-template_empty_portrait.png deleted file mode 100644 index 5bd5489bebb..00000000000 Binary files a/flow/templates/basic/48-actions-template_empty_portrait.png and /dev/null differ diff --git a/flow/templates/basic/CMakeLists.txt b/flow/templates/basic/CMakeLists.txt deleted file mode 100644 index f7128aaabd8..00000000000 --- a/flow/templates/basic/CMakeLists.txt +++ /dev/null @@ -1,15 +0,0 @@ -########### install files ############### - -install( FILES empty-portrait.otg empty-landscape.otg - DESTINATION ${DATA_INSTALL_DIR}/flow/templates/Basic/.source) -install( FILES empty-portrait.desktop empty-landscape.desktop - DESTINATION ${DATA_INSTALL_DIR}/flow/templates/Basic) - -ecm_install_icons(ICONS - 48-actions-template_basicflow.png - 48-actions-template_empty_portrait.png - sc-actions-template_empty_landscape.svgz - 48-actions-template_empty_landscape.png - sc-actions-template_basicworkflow.svgz - sc-actions-template_empty_portrait.svgz - DESTINATION ${DATA_INSTALL_DIR}/flow/icons THEME hicolor ) diff --git a/flow/templates/basic/basicflow.desktop b/flow/templates/basic/basicflow.desktop deleted file mode 100644 index f0754aa1ddb..00000000000 --- a/flow/templates/basic/basicflow.desktop +++ /dev/null @@ -1,103 +0,0 @@ -[Desktop Entry] -Type=Link -URL=.source/basicflow.kft -Icon=template_basicflow -Name=Basic Flowcharting -Name[bs]=Osnovno crtanje dijagrama -Name[ca]=Diagrama de flux bàsic -Name[ca@valencia]=Diagrama de flux bàsic -Name[cs]=Základní diagramy -Name[cy]=Llifsiartio Sylfaenol -Name[da]=Basalt flydediagram -Name[de]=Einfaches Flussdiagramm -Name[el]=Βασικό διάγραμμα ροής -Name[en_GB]=Basic Flowcharting -Name[eo]=Baza Fludiagramado -Name[es]=Diagramas de flujo básicos -Name[et]=Lihtne vooskeem -Name[eu]=Oinarrizko fluxu-diagramak -Name[fa]=روندنمای پایه‌ای -Name[fi]=Tavallinen vuokaavio -Name[fr]=Diagramme de base -Name[fy]=Basis stroomdiagrammen -Name[ga]=Sreabhchairteacha Bunúsacha -Name[gl]=Diagramas de fluxo básicos -Name[he]=תרשימי זרימה בסיסיים -Name[hi]=मूल फ्लोचार्टिंग -Name[hne]=मूल फ्लोचार्टिंग -Name[hr]=Osnovno iscrtavanje protoka -Name[hu]=Egyszerű folyamatábra -Name[is]=Einfalt flæðirit -Name[it]=Diagramma di flusso semplice -Name[ja]=基本的なフローチャート -Name[kk]=Блок-сұлбаның негізі -Name[ko]=기본 순서도 -Name[lv]=Pamata plūsmkartēšana -Name[ms]=Pencartaaliran Asas -Name[nb]=Enkelt flytdiagram -Name[nds]=Eenfach Afloopdiagramm -Name[ne]=आधारभूत फ्लो चित्रपट -Name[nl]=Basis stroomdiagrammen -Name[pl]=Podstawowe schematy przepływów -Name[pt]=Fluxogramas Básicos -Name[pt_BR]=Fluxogramas básicos -Name[ru]=Базовая организационная структура -Name[sk]=Základné kreslenie toku -Name[sl]=Osnovni diagrami poteka -Name[sv]=Grundläggande flödesschema -Name[ta]=அடிப்படை பாய்வு நிரல்படம் -Name[tg]=Ҷадвалҳои асосӣ -Name[tr]=Temel Akış Şeması -Name[uk]=Основи блок-схем -Name[wa]=Grafikes matematikes di båze -Name[x-test]=xxBasic Flowchartingxx -Name[zh_CN]=基本流程图 -Name[zh_TW]=基本流程圖 -Comment=Creates a document with the basic stencils for flowcharting loaded. -Comment[bs]=Kreira dokument napunjen osnovnim matricama za crtanje dijagrama. -Comment[ca]=Crea un document amb les plantilles bàsiques carregades per a diagrama de flux. -Comment[ca@valencia]=Crea un document amb les plantilles bàsiques carregades per a diagrama de flux. -Comment[cs]=Vytvoří dokument se základními šablonami. -Comment[cy]=Creu dogfen efo'r stensiliau sylfaenol ar gyfer llifsiartio wedi'u llwytho. -Comment[da]=Laver et dokument med de basale stenciler til flydediagrammer indlæst. -Comment[de]=Erstellt ein Dokument mit Basis-Schablonen für Flussdiagramme. -Comment[el]=Δημιουργεί ένα έγγραφο με φορτωμένα τα βασικά σχεδιότυπα για διάγραμμα ροής. -Comment[en_GB]=Creates a document with the basic stencils for flowcharting loaded. -Comment[es]=Crea un documento con las plantillas básicas para los diagramas de flujo cargadas. -Comment[et]=Loob dokumendi vooskeemile vajalike põhiliste trafarettidega. -Comment[eu]=Fluxu-diagrametarako oinarrizko txantiloiak kargatuta dituen dokumentu bat sortzen du. -Comment[fa]=سندی با شابلون پایه‌ای برای روندنمایی بارشده ایجاد می‌کند. -Comment[fi]=Luo tiedoston peruskaavaimet ladattuna. -Comment[fr]=Crée un document avec les stencils de base pour charger le diagramme. -Comment[fy]=Makket in dokumint mei de basis-stensils foar stroomdiagrammen laden. -Comment[gl]=Crea un documento e carga as figuras básicas para diagramas de fluxo. -Comment[he]=יצירת מסמך וטעינת הסטנסילים הבסיסיים עבור תרשימי זרימה -Comment[hi]=मूल स्टेंसिल तथा फ्लोचार्टिंग को लोड कर एक दस्तावेज़ बनाता है. -Comment[hne]=मूल स्टेंसिल अउ फ्लोचार्टिंग ल लोड कर एक कागद बनाथे . -Comment[hu]=Új dokumentum létrehozása egyszerű folyamatábrás sablonokkal. -Comment[is]=Býr til flæðirit með einfaldan stensil hlaðið inn. -Comment[it]=Crea un documento caricando le forme di base per i diagrammi di flusso. -Comment[ja]=フローチャートのための基本的なステンシルを読み込んで文書を作成 -Comment[kk]=Блок-сұлбаның негізгі блоктарынан құрылған құжатты құру. -Comment[ko]=문서를 만들고 기본 순서도 도형 모음을 불러옵니다. -Comment[lv]=Izveido dokumentu ar ielādētiem pamata plūsmkartes elementiem. -Comment[ms]=Cipta dokumen dengan stensil asas bagi pencartaaliran yang dimuatkan. -Comment[nb]=Lager et dokument der de enkle flytdiagramsjablongene er lastet inn. -Comment[nds]=Stellt en Dokment mit Grundvörlagen för laadt Afloopdiagrammen op. -Comment[ne]=लोड गरिएको फ्लोचित्रपटका लागि आधारभूत स्टेनसिलमा कागजात सिर्जना गर्दछ । -Comment[nl]=Maakt een document met de basis-stencils voor stroomdiagrammen geladen. -Comment[pl]=Tworzy dokument zawierający podstawowe szablony do diagramów przepływu. -Comment[pt]=Cria um documento com os 'stencils' básicos para fluxogramas carregados. -Comment[pt_BR]=Cria um documento com os estênceis básicos para fluxogramas carregados. -Comment[ru]=Пустой документ с набором шаблонов для организационной структуры -Comment[se]=Ráhkada dokumeanta masa oktageardaneamus stensiillat leat juo viežžojuvvon. -Comment[sk]=Vytvorí dokument so základnými šablónami pre kreslenie diagramov. -Comment[sl]=Ustvari dokument z naloženimi osnovnimi šablonami za diagrame poteka. -Comment[sv]=Skapar ett dokument med grundläggande schabloner för flödesscheman laddade. -Comment[ta]=பாய்வு நிரல்படம் ஏற்றப்பட்ட அடிப்படைகளுடன் வெற்று ஆவணத்தை உருவாக்குகிறது -Comment[tr]=Temel akış şeması şablonları yüklü bir belge oluşturur. -Comment[uk]=Створює документ з основними трафаретами для блок-схем. -Comment[wa]=Ahive on documint avou les creyons di båze tcherdjî po fé des grafikes matematikes. -Comment[x-test]=xxCreates a document with the basic stencils for flowcharting loaded.xx -Comment[zh_CN]=用基本模板为加载的流程图创建文档。 -Comment[zh_TW]=建立載入流程圖基本板模的文件。 diff --git a/flow/templates/basic/empty-landscape.desktop b/flow/templates/basic/empty-landscape.desktop deleted file mode 100644 index 317f1ca54d6..00000000000 --- a/flow/templates/basic/empty-landscape.desktop +++ /dev/null @@ -1,67 +0,0 @@ -[Desktop Entry] -Type=Link -URL=.source/empty-landscape.otg -Icon=template_empty_landscape -Name=Empty Landscape Document -Name[bs]=Prazan položeni dokument -Name[ca]=Document apaïsat buit -Name[ca@valencia]=Document apaïsat buit -Name[cs]=Prázdný dokument na šířku -Name[da]=Tomt liggende dokument -Name[de]=Leeres Querformat-Dokument -Name[el]=Έγγραφο κενού τοπίου -Name[en_GB]=Empty Landscape Document -Name[es]=Documento apaisado vacío -Name[et]=Tühi rõhtpaigutusega dokument -Name[eu]=Dokumentu horizontal hutsa -Name[fi]=Tyhjä vaakasuuntainen tiedosto -Name[fr]=Document paysage vide -Name[gl]=Documento apaisado baleiro -Name[hu]=Üres fekvő dokumentum -Name[it]=Documento orizzontale vuoto -Name[ja]=空の横向き文書 -Name[kk]=Бос көлденең құжат -Name[ko]=빈 가로 문서 -Name[mr]=रिकामे लँडस्केप दस्तऐवज -Name[nb]=Tomt liggende dokument -Name[nl]=Leeg landschap-document -Name[pl]=Pusty poziomy dokument -Name[pt]=Documento em Paisagem Vazio -Name[pt_BR]=Documento em paisagem vazio -Name[sk]=Prázdny ležatý dokument -Name[sv]=Tomt liggande dokument -Name[tr]=Boş Enine Belge -Name[uk]=Порожній альбомний документ -Name[x-test]=xxEmpty Landscape Documentxx -Name[zh_CN]=空横向文档 -Comment=Creates a landscape-oriented document with no stencils loaded. -Comment[bs]=Kreira položeno-orijentisani dokument bez učitanih matrica. -Comment[ca]=Crea un document amb orientació apaïsada sense carregar cap plantilla. -Comment[ca@valencia]=Crea un document amb orientació apaïsada sense carregar cap plantilla. -Comment[cs]=Vytvoří prázdný dokument na šířku bez šablon. -Comment[da]=Opretter et dokument i liggende format uden stenciler indlæst. -Comment[de]=Erstellt ein Dokument im Querformat ohne Schablonen. -Comment[el]=Δημιουργεί ένα έγγραφο προσανατολισμού τοπίου χωρίς φορτωμένα σχεδιότυπα. -Comment[en_GB]=Creates a landscape-oriented document with no stencils loaded. -Comment[es]=Crea un documento en formato apaisado sin plantillas cargadas. -Comment[et]=Loob trafarettideta rõhtpaigutusega dokumendi. -Comment[eu]=Orientazio horizontaleko dokumentua sortzen du txantiloirik kargatu gabe duena. -Comment[fi]=Luo uuden vaakasuuntaisen tiedoston, jossa ei ole kaavaimia ladattuna. -Comment[fr]=Crée un document orienté-paysage sans stencil chargé. -Comment[gl]=Crea un documento apaisado sen ningunha figura cargada. -Comment[hu]=Létrehoz egy fekvő tájolású dokumentumot betöltött sablonok nélkül. -Comment[it]=Crea un documento orientato orizzontalmente senza caricare forme. -Comment[ja]=ステンシルを読み込まずに横向きの文書を作成します。 -Comment[kk]=Бағыты көлденең блок-сұлбаның бос құжатын құру. -Comment[ko]=도형 모음을 가져오지 않고 빈 가로 방향 문서를 만듭니다. -Comment[nb]=Lager et liggende dokument uten å laste inn noen stensiler. -Comment[nl]=Maakt een document aan met landschap oriëntatie zonder geladen stencils. -Comment[pl]=Tworzy dokument zorientowany poziomo bez wczytanych szablonów. -Comment[pt]=Cria um documento no formato de paisagem sem qualquer 'stencil' carregado. -Comment[pt_BR]=Cria um documento no formato de paisagem sem qualquer estêncil carregado. -Comment[sk]=Vytvorí dokument orientovaný na šírku bez načítaných šablón. -Comment[sv]=Skapar ett dokument med liggande orientering utan att ladda några schabloner. -Comment[tr]=Şablon yüklenmemiş bir enine belge oluşturur. -Comment[uk]=Створює порожній документ з альбомною орієнтацією сторінки без завантаження трафаретів. -Comment[x-test]=xxCreates a landscape-oriented document with no stencils loaded.xx -Comment[zh_CN]=创建没有加载模板的横向文档。 diff --git a/flow/templates/basic/empty-landscape.otg b/flow/templates/basic/empty-landscape.otg deleted file mode 100644 index 37d4c3607ac..00000000000 Binary files a/flow/templates/basic/empty-landscape.otg and /dev/null differ diff --git a/flow/templates/basic/empty-portrait.desktop b/flow/templates/basic/empty-portrait.desktop deleted file mode 100644 index b1480858e0b..00000000000 --- a/flow/templates/basic/empty-portrait.desktop +++ /dev/null @@ -1,67 +0,0 @@ -[Desktop Entry] -Type=Link -URL=.source/empty-portrait.otg -Icon=template_empty_portrait -Name=Empty Portrait Document -Name[bs]=Prazan uspravni dokument -Name[ca]=Document vertical buit -Name[ca@valencia]=Document vertical buit -Name[cs]=Prázdný dokument na výšku -Name[da]=Tomt stående dokument -Name[de]=Leeres Hochformat-Dokument -Name[el]=Έγγραφο κενού πορτραίτου -Name[en_GB]=Empty Portrait Document -Name[es]=Documento vertical vacío -Name[et]=Tühi püstpaigutusega dokument -Name[eu]=Dokumentu bertikal hutsa -Name[fi]=Tyhjä pystysuuntainen tiedosto -Name[fr]=Document portrait vide -Name[gl]=Documento vertical baleiro -Name[hu]=Üres álló dokumentum -Name[it]=Documento verticale vuoto -Name[ja]=空の縦向き文書 -Name[kk]=Бос тік құжат -Name[ko]=빈 세로 문서 -Name[mr]=रिकामे पोर्ट्रेट दस्तऐवज -Name[nb]=Tomt stående dokument -Name[nl]=Leeg portret-document -Name[pl]=Pusty pionowy dokument -Name[pt]=Documento em Retrato Vazio -Name[pt_BR]=Documento em retrato vazio -Name[sk]=Prázdny stojatý dokument -Name[sv]=Tomt stående dokument -Name[tr]=Boş Portre Belge -Name[uk]=Порожній книжковий документ -Name[x-test]=xxEmpty Portrait Documentxx -Name[zh_CN]=空纵向文档 -Comment=Creates a portrait-oriented document with no stencils loaded. -Comment[bs]=Kreira uspravno-orijentisani dokument bez učitanih matrica. -Comment[ca]=Crea un document amb orientació vertical sense carregar cap plantilla. -Comment[ca@valencia]=Crea un document amb orientació vertical sense carregar cap plantilla. -Comment[cs]=Vytvoří prázdný dokument na výšku bez šablon. -Comment[da]=Opretter et dokument i stående format uden stenciler indlæst. -Comment[de]=Erstellt ein Dokument im Hochformat ohne Schablonen. -Comment[el]=Δημιουργεί ένα έγγραφο προσανατολισμού πορτραίτου χωρίς φορτωμένα σχεδιότυπα. -Comment[en_GB]=Creates a portrait-oriented document with no stencils loaded. -Comment[es]=Crea un documento orientado verticalmente sin plantillas cargadas. -Comment[et]=Loob trafarettideta püstpaigutusega dokumendi. -Comment[eu]=Orientazio bertikaleko dokumentua sortzen du txantiloirik kargatu gabe duena. -Comment[fi]=Luo uuden pystysuuntaisen tiedoston, jossa ei ole kaavaimia ladattuna. -Comment[fr]=Crée un document portrait-orienté sans stencil chargé. -Comment[gl]=Crea un documento vertical sen ningunha figura cargada. -Comment[hu]=Létrehoz egy álló tájolású dokumentumot betöltött sablonok nélkül. -Comment[it]=Crea un documento orientato verticalmente senza caricare forme. -Comment[ja]=ステンシルを読み込まずに縦向きの文書を作成します。 -Comment[kk]=Бағыты тік блок-сұлбаның бос құжатын құру. -Comment[ko]=도형 모음을 가져오지 않고 빈 세로 방향 문서를 만듭니다. -Comment[nb]=Lager et stående dokument uten å laste inn noen sjablonger. -Comment[nl]=Maakt een document aan met portret oriëntatie zonder geladen stencils. -Comment[pl]=Tworzy dokument zorientowany pionowo bez wczytanych szablonów. -Comment[pt]=Cria um documento no formato de retrato sem qualquer 'stencil' carregado. -Comment[pt_BR]=Cria um documento no formato de retrato sem qualquer estêncil carregado. -Comment[sk]=Vytvorí dokument orientovaný na výšku bez načítaných šablón. -Comment[sv]=Skapar ett dokument med stående orientering utan att ladda några schabloner. -Comment[tr]=Şablon yüklenmemiş bir portre-tipi belge oluşturur. -Comment[uk]=Створює порожній документ з книжковою орієнтацією сторінки без завантаження трафаретів. -Comment[x-test]=xxCreates a portrait-oriented document with no stencils loaded.xx -Comment[zh_CN]=创建没有加载模板的纵向文档。 diff --git a/flow/templates/basic/empty-portrait.otg b/flow/templates/basic/empty-portrait.otg deleted file mode 100644 index 899139fab3d..00000000000 Binary files a/flow/templates/basic/empty-portrait.otg and /dev/null differ diff --git a/flow/templates/basic/sc-actions-template_basicworkflow.svgz b/flow/templates/basic/sc-actions-template_basicworkflow.svgz deleted file mode 100644 index 9ba0bea5f81..00000000000 Binary files a/flow/templates/basic/sc-actions-template_basicworkflow.svgz and /dev/null differ diff --git a/flow/templates/basic/sc-actions-template_empty_landscape.svgz b/flow/templates/basic/sc-actions-template_empty_landscape.svgz deleted file mode 100644 index 9bbcdf40667..00000000000 Binary files a/flow/templates/basic/sc-actions-template_empty_landscape.svgz and /dev/null differ diff --git a/flow/templates/basic/sc-actions-template_empty_portrait.svgz b/flow/templates/basic/sc-actions-template_empty_portrait.svgz deleted file mode 100644 index 59b52eb200a..00000000000 Binary files a/flow/templates/basic/sc-actions-template_empty_portrait.svgz and /dev/null differ