parent
a616663e12
commit
28f28e0af6
@ -0,0 +1,95 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
project(koffice)
|
||||||
|
|
||||||
|
### Includes ##################################################################
|
||||||
|
include(FindPkgConfig)
|
||||||
|
include(CheckFunctionExists)
|
||||||
|
include(CheckSymbolExists)
|
||||||
|
include(CheckIncludeFile)
|
||||||
|
include(CheckLibraryExists)
|
||||||
|
include(CheckCSourceCompiles)
|
||||||
|
include(CheckCXXSourceCompiles)
|
||||||
|
|
||||||
|
include(TDEMacros)
|
||||||
|
include(TDESetupPaths)
|
||||||
|
include(TDEVersion)
|
||||||
|
|
||||||
|
### Basic project setup ########################################################
|
||||||
|
cmake_minimum_required(VERSION ${TDE_CMAKE_MINIMUM_VERSION})
|
||||||
|
tde_set_project_version()
|
||||||
|
tde_setup_paths()
|
||||||
|
|
||||||
|
### Options ####################################################################
|
||||||
|
option(WITH_ALL_OPTIONS "Enable all optional support" ON)
|
||||||
|
option(WITH_LIBEXIF "Enable libexif support" ${WITH_ALL_OPTIONS})
|
||||||
|
option(WITH_GRAPHICSMAGICK "Enable GraphicsMagick filter" ${WITH_ALL_OPTIONS})
|
||||||
|
option(WITH_IMAGEMAGICK "Enable ImageMagick filter" ${WITH_ALL_OPTIONS})
|
||||||
|
option(WITH_OPENEXR "Enable OpenEXR support" ${WITH_ALL_OPTIONS})
|
||||||
|
option(WITH_KEXI_MYSQL "Enable Kexi MySQL plugin" ${WITH_ALL_OPTIONS})
|
||||||
|
option(WITH_KEXI_PGSQL "Enable Kexi PostgreSQL plugin" ${WITH_ALL_OPTIONS})
|
||||||
|
option(WITH_KEXI_MACROS "Enable Kexi macro plugin" ${WITH_ALL_OPTIONS})
|
||||||
|
option(WITH_KROSS_PYTHON "Enable Kross Python plugin" OFF)
|
||||||
|
option(WITH_KROSS_RUBY "Enable Kross Ruby plugin" ${WITH_ALL_OPTIONS})
|
||||||
|
|
||||||
|
### Components #################################################################
|
||||||
|
option(BUILD_ALL "Build all" ON)
|
||||||
|
option(BUILD_DOC "Build documentation" ${BUILD_ALL})
|
||||||
|
option(BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL})
|
||||||
|
option(BUILD_CHALK "Build Chalk" ${BUILD_ALL})
|
||||||
|
option(BUILD_KARBON "Build Karbon" ${BUILD_ALL})
|
||||||
|
option(BUILD_KCHART "Build KChart" ${BUILD_ALL})
|
||||||
|
option(BUILD_KDGANTT "Build KDGantt" ${BUILD_ALL})
|
||||||
|
option(BUILD_KEXI "Build Kexi" ${BUILD_ALL})
|
||||||
|
option(BUILD_KFORMULA "Build KFormula" ${BUILD_ALL})
|
||||||
|
option(BUILD_KIVIO "Build Kivio" ${BUILD_ALL})
|
||||||
|
option(BUILD_KOSHELL "Build KOffice Workspace" ${BUILD_ALL})
|
||||||
|
option(BUILD_KPLATO "Build KPlato" ${BUILD_ALL})
|
||||||
|
option(BUILD_KPRESENTER "Build KPresenter" ${BUILD_ALL})
|
||||||
|
option(BUILD_KSPREAD "Build KSpread" ${BUILD_ALL})
|
||||||
|
option(BUILD_KUGAR "Build Kugar" ${BUILD_ALL})
|
||||||
|
option(BUILD_KWORD "Build KWord" ${BUILD_ALL})
|
||||||
|
option(BUILD_KROSS "Build Kross scripting library" ${BUILD_ALL})
|
||||||
|
option(BUILD_EXAMPLE "Build KOffice example part" OFF)
|
||||||
|
option(BUILD_TESTS "Build KOffice tests" OFF)
|
||||||
|
|
||||||
|
### Configuration #############################################################
|
||||||
|
include(ConfigureChecks.cmake)
|
||||||
|
configure_file(config.h.cmake config.h @ONLY)
|
||||||
|
|
||||||
|
### Subdirectories ############################################################
|
||||||
|
add_subdirectory(lib)
|
||||||
|
add_subdirectory(interfaces)
|
||||||
|
add_subdirectory(autocorrect)
|
||||||
|
add_subdirectory(kounavail)
|
||||||
|
add_subdirectory(pics)
|
||||||
|
# add_subdirectory(plugins)
|
||||||
|
add_subdirectory(servicetypes)
|
||||||
|
# add_subdirectory(templates)
|
||||||
|
# add_subdirectory(tools)
|
||||||
|
# add_subdirectory(filters)
|
||||||
|
#
|
||||||
|
tde_conditional_add_project_docs(BUILD_DOC)
|
||||||
|
tde_conditional_add_project_translations(BUILD_TRANSLATIONS)
|
||||||
|
#
|
||||||
|
# tde_conditional_add_subdirectory(BUILD_CHALK chalk)
|
||||||
|
tde_conditional_add_subdirectory(BUILD_EXAMPLE example)
|
||||||
|
# tde_conditional_add_subdirectory(BUILD_KARBON karbon)
|
||||||
|
tde_conditional_add_subdirectory(BUILD_KCHART kchart)
|
||||||
|
# tde_conditional_add_subdirectory(BUILD_KDGANTT kdgantt)
|
||||||
|
tde_conditional_add_subdirectory(BUILD_KFORMULA kformula)
|
||||||
|
# tde_conditional_add_subdirectory(BUILD_KIVIO kivio)
|
||||||
|
# tde_conditional_add_subdirectory(BUILD_KOSHELL koshell)
|
||||||
|
# tde_conditional_add_subdirectory(BUILD_KPRESENTER kpresenter)
|
||||||
|
# tde_conditional_add_subdirectory(BUILD_KSPREAD kspread)
|
||||||
|
# tde_conditional_add_subdirectory(BUILD_KUGAR kugar)
|
||||||
|
# tde_conditional_add_subdirectory(BUILD_KWORD kword)
|
||||||
|
# tde_conditional_add_subdirectory(BUILD_KPLATO kplato)
|
||||||
|
# tde_conditional_add_subdirectory(BUILD_KEXI kexi)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,37 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
### TQt/TDE ###################################################################
|
||||||
|
find_package(TQt)
|
||||||
|
find_package(TDE)
|
||||||
|
tde_setup_architecture_flags()
|
||||||
|
tde_setup_largefiles()
|
||||||
|
|
||||||
|
### Big Endian ################################################################
|
||||||
|
include(TestBigEndian)
|
||||||
|
test_big_endian(WORDS_BIGENDIAN)
|
||||||
|
|
||||||
|
### System headers ############################################################
|
||||||
|
check_include_file("unistd.h" HAVE_UNISTD_H)
|
||||||
|
check_include_file("sys/param.h" HAVE_SYS_PARAM_H)
|
||||||
|
check_include_file("floatingpoint.h" HAVE_FLOATINGPOINT_H)
|
||||||
|
check_include_file("paths.h" HAVE_PATHS_H)
|
||||||
|
|
||||||
|
### KOffice library ##########################################################
|
||||||
|
if (BUILD_CHALK OR BUILD_KARBON OR BUILD_KIVIO OR BUILD_KPRESENTER)
|
||||||
|
set(BUILD_KOPAINTER ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
include(lib/ConfigureChecks.cmake)
|
||||||
|
include(filters/ConfigureChecks.cmake)
|
||||||
|
|
||||||
|
### KOffice applications ######################################################
|
||||||
|
if (BUILD_CHALK)
|
||||||
|
include(chalk/ConfigureChecks.cmake)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,14 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
install(
|
||||||
|
FILES autocorrect.xml en_US.xml
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/koffice/autocorrect
|
||||||
|
)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,65 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
check_symbol_exists("powf" "math.h" HAVE_MATH_POWF)
|
||||||
|
|
||||||
|
### XInput ####################################################################
|
||||||
|
pkg_search_module(XINPUT xi)
|
||||||
|
if (NOT XINPUT_FOUND)
|
||||||
|
tde_message_fatal("XInput is required for Chalk, but was not found")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
### LittleCMS #################################################################
|
||||||
|
pkg_search_module(LCMS lcms)
|
||||||
|
if (NOT LCMS_FOUND)
|
||||||
|
tde_message_fatal("lcms1 is required for Chalk, but was not found")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
### OpenGL ####################################################################
|
||||||
|
check_include_file("GL/gl.h" HAVE_GL_H)
|
||||||
|
check_include_file("GL/glu.h" HAVE_GLU_H)
|
||||||
|
|
||||||
|
if (NOT HAVE_GL_H OR NOT HAVE_GLU_H)
|
||||||
|
tde_message_fatal("OpenGL is required for Chalk, but headers are missing")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
### EXIF ######################################################################
|
||||||
|
pkg_search_module(EXIF libexif)
|
||||||
|
if (NOT EXIF_FOUND)
|
||||||
|
message(WARNING "libexif is missing, "
|
||||||
|
"Chalk won't be able to import/export JPEG files")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
### JPEG ######################################################################
|
||||||
|
find_package(JPEG)
|
||||||
|
if (NOT JPEG_FOUND)
|
||||||
|
message(WARNING "libjpeg is missing, "
|
||||||
|
"Chalk won't be able to import/export JPEG files")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
### PNG #######################################################################
|
||||||
|
find_package(PNG)
|
||||||
|
if (NOT PNG_FOUND)
|
||||||
|
message(WARNING "libpng is missing, "
|
||||||
|
"Chalk won't be able to import/export PNG files")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
### TIFF ######################################################################
|
||||||
|
find_package(TIFF)
|
||||||
|
if (NOT TIFF_FOUND)
|
||||||
|
message(WARNING "libtiff is missing, "
|
||||||
|
"Chalk won't be able to import/export TIFF files")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
### poppler-tqt ###############################################################
|
||||||
|
pkg_search_module(POPPLER poppler-tqt)
|
||||||
|
if (NOT POPPLER_FOUND)
|
||||||
|
message(WARNING "poppler-tqt is missing, "
|
||||||
|
"Chalk won't be able to import PDF files")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,12 @@
|
|||||||
|
// Defined if you have fvisibility and fvisibility-inlines-hidden support.
|
||||||
|
#cmakedefine __TDE_HAVE_GCC_VISIBILITY 1
|
||||||
|
|
||||||
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||||
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||||
|
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
|
||||||
|
|
||||||
|
#define VERSION "@VERSION@"
|
||||||
|
#define PREFIX "@CMAKE_INSTALL_PREFIX@"
|
||||||
|
|
||||||
|
// Chalk: powf exists in math.h
|
||||||
|
#define HAVE_POWF @HAVE_MATH_POWF@
|
@ -0,0 +1,61 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficecore
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficeui
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/store
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kwmf
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kopalette
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Libraries #################################################################
|
||||||
|
tde_add_kpart(libexamplepart SHARED AUTOMOC
|
||||||
|
SOURCES example_part.cpp example_view.cpp example_factory.cpp
|
||||||
|
LINK kofficeui-shared
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Programs ##################################################################
|
||||||
|
tde_add_tdeinit_executable(example AUTOMOC
|
||||||
|
SOURCES main.cpp
|
||||||
|
LINK kofficeui-shared
|
||||||
|
)
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
install(
|
||||||
|
FILES example.rc example_readonly.rc
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/example
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE example.desktop
|
||||||
|
PO_DIR koffice-desktops
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE examplepart.desktop
|
||||||
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
||||||
|
PO_DIR koffice-desktops
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE x-vnd.kde.example.desktop
|
||||||
|
DESTINATION ${MIME_INSTALL_DIR}/application
|
||||||
|
PO_DIR koffice-desktops
|
||||||
|
)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,8 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,36 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficecore
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficeui
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kstore
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kwmf
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kopalette
|
||||||
|
${CMAKE_SOURCE_DIR}/kchart/kdchart
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Libraries #################################################################
|
||||||
|
tde_add_library(kochart SHARED AUTOMOC
|
||||||
|
SOURCES koChart.cpp
|
||||||
|
LINK kofficecore-shared
|
||||||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Headers ###################################################################
|
||||||
|
install(FILES koChart.h DESTINATION ${INCLUDE_INSTALL_DIR}/KOffice)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,85 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficecore
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficeui
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/store
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kwmf
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kopalette
|
||||||
|
${CMAKE_SOURCE_DIR}/kchart/kdchart
|
||||||
|
${CMAKE_SOURCE_DIR}/interfaces
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Libraries #################################################################
|
||||||
|
tde_add_library(kchartcommon SHARED AUTOMOC
|
||||||
|
SOURCES
|
||||||
|
kchart_part.cpp kchart_view.cpp kchart_factory.cpp
|
||||||
|
kchartColorConfigPage.cpp kchartParameterConfigPage.cpp
|
||||||
|
kchartParameter3dConfigPage.cpp kchartBackgroundPixmapConfigPage.cpp
|
||||||
|
kchartSubTypeChartPage.cpp kchartComboConfigPage.cpp
|
||||||
|
kchartFontConfigPage.cpp kchartDataConfigPage.cpp kchartPieConfigPage.cpp
|
||||||
|
kchartParameterPieConfigPage.cpp kchartConfigDialog.cpp kchartWizard.cpp
|
||||||
|
kchartWizardLabelsLegendPage.cpp kchartWizardSelectChartSubTypePage.cpp
|
||||||
|
kchartWizardSelectChartTypePage.cpp kchartWizardSelectDataPage.cpp
|
||||||
|
kchartWizardSetupAxesPage.cpp kchartWizardSetupDataPage.cpp
|
||||||
|
kchartWizardSelectDataFormatPage.cpp
|
||||||
|
kchartDataEditor.cpp KChartViewIface.skel KChartViewIface.cpp
|
||||||
|
kchartLegendConfigPage.cpp kchart_params.cpp KChartParamsIface.skel
|
||||||
|
KChartParamsIface.cpp kchartHeaderFooterConfigPage.cpp
|
||||||
|
kchartLine3dConfigPage.cpp kchartParameterPolarConfigPage.cpp
|
||||||
|
kchartPageLayout.cpp kchartPrinterDlg.cpp
|
||||||
|
csvimportdialog.cpp csvimportdialogui.ui
|
||||||
|
LINK kofficeui-shared kdchart-shared kochart-shared
|
||||||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_add_kpart(libkchartpart SHARED AUTOMOC
|
||||||
|
SOURCES kchart_factory_init.cpp
|
||||||
|
LINK kchartcommon-shared
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
add_subdirectory(kdchart)
|
||||||
|
|
||||||
|
### Programs ##################################################################
|
||||||
|
tde_add_tdeinit_executable(kchart AUTOMOC
|
||||||
|
SOURCES main.cpp
|
||||||
|
LINK kofficecore-shared
|
||||||
|
)
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
install(
|
||||||
|
FILES kchart.rc kchart_readonly.rc
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/kchart
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE kchart.desktop
|
||||||
|
PO_DIR koffice-desktops
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE kchartpart.desktop
|
||||||
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
||||||
|
PO_DIR koffice-desktops
|
||||||
|
)
|
||||||
|
|
||||||
|
add_subdirectory(toolbar)
|
||||||
|
add_subdirectory(pics)
|
||||||
|
add_subdirectory(templates)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,56 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Libraries #################################################################
|
||||||
|
tde_add_library(kdchart SHARED AUTOMOC
|
||||||
|
SOURCES
|
||||||
|
KDChart.cpp
|
||||||
|
KDChartAreaPainter.cpp KDChartAxesPainter.cpp KDChartAxisParams.cpp
|
||||||
|
KDChartBarPainter.cpp KDChartBaseSeries.cpp KDChartBWPainter.cpp
|
||||||
|
KDChartCustomBox.cpp KDChartDataIntern.cpp KDChartHiLoPainter.cpp
|
||||||
|
KDChartLinesPainter.cpp KDChartPainter.cpp KDChartParams.cpp
|
||||||
|
KDChartParams_frame.cpp KDChartParams_io.cpp KDChartPiePainter.cpp
|
||||||
|
KDChartPlaneSeries.cpp KDChartPolarPainter.cpp KDChartPropertySet.cpp
|
||||||
|
KDChartRingPainter.cpp KDChartSeriesCollection.cpp KDChartTableBase.cpp
|
||||||
|
KDChartTextPiece.cpp KDChartVectorSeries.cpp KDChartVectorTable.cpp
|
||||||
|
KDChartWidget.cpp KDDrawText.cpp KDFrame.cpp KDFrameProfileSection.cpp
|
||||||
|
KDXMLTools.cpp KDChartEnums.cpp KDChartAxisParamsWrapper.cpp
|
||||||
|
KDChartCustomBoxWrapper.cpp KDChartParamsWrapper.cpp
|
||||||
|
KDChartTableDataWrapper.cpp
|
||||||
|
LINK tdecore-shared
|
||||||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Headers ##################################################################
|
||||||
|
install(
|
||||||
|
FILES
|
||||||
|
KDChart.h
|
||||||
|
KDChartAreaPainter.h KDChartAxesPainter.h
|
||||||
|
KDChartBarPainter.h KDChartBaseSeries.h KDChartBWPainter.h
|
||||||
|
KDChartDataIntern.h KDChartDataRegion.h KDChartHiLoPainter.h
|
||||||
|
KDChartLinesPainter.h KDChartPiePainter.h KDChartPainter.h
|
||||||
|
KDChartPolarPainter.h KDChartRingPainter.h
|
||||||
|
KDChartSeriesCollection.h KDChartPlaneSeries.h
|
||||||
|
KDChartVectorSeries.h KDChartTextPiece.h KDDrawText.h
|
||||||
|
KDChartNotEnoughSpaceException.h KDChartUnknownTypeException.h
|
||||||
|
KDChartUnknownTypeException.h KDXMLTools.h
|
||||||
|
DESTINATION ${INCLUDE_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,26 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
install(
|
||||||
|
FILES
|
||||||
|
chart_bar_beside.png chart_bar_layer.png chart_bar_percent.png
|
||||||
|
chart_hilo_close.png chart_hilo_normal.png chart_hilo_openclose.png
|
||||||
|
chart_area_normal.png chart_area_percent.png chart_area_stacked.png
|
||||||
|
chart_line_normal.png chart_line_percent.png chart_line_stacked.png
|
||||||
|
chart_polar_normal.png chart_polar_percent.png chart_polar_stacked.png
|
||||||
|
chart_legend_top.png chart_legend_topleft.png chart_legend_topright.png
|
||||||
|
chart_legend_nolegend.png chart_legend_left.png chart_legend_right.png
|
||||||
|
chart_legend_bottom.png chart_legend_bottomleft.png chart_legend_bottomright.png
|
||||||
|
chart_legend_toplefttop.png chart_legend_topleftleft.png
|
||||||
|
chart_legend_bottomleftbottom.png chart_legend_bottomleftleft.png
|
||||||
|
chart_legend_toprighttop.png chart_legend_toprightright.png
|
||||||
|
chart_legend_bottomrightbottom.png chart_legend_bottomrightright.png
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/kchart/pics
|
||||||
|
)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,21 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
install(
|
||||||
|
FILES .directory BarChart.desktop Empty.desktop
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/kchart/templates/chart
|
||||||
|
)
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES BarChart.chrt Empty.chrt
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/kchart/templates/chart/.source
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_install_icons()
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,13 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
add_subdirectory(crystalsvg)
|
||||||
|
# add_subdirectory(hicolor) # is empty
|
||||||
|
add_subdirectory(locolor)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,11 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
tde_install_icons()
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,11 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
tde_install_icons()
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,64 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficecore
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficeui
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/store
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kwmf
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kopalette
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kformula
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kotext
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Libraries #################################################################
|
||||||
|
tde_add_kpart(libkformulapart SHARED AUTOMOC
|
||||||
|
SOURCES
|
||||||
|
kfconfig.cpp kformula_doc.cpp kformula_view.cpp kformula_factory.cpp
|
||||||
|
kformulawidget.cpp kformula_view_iface.skel kformula_view_iface.cpp
|
||||||
|
formulastring.cpp fsparser.cpp
|
||||||
|
LINK
|
||||||
|
tdecore-shared tdeui-shared tdefx-shared tdeio-shared tdeparts-shared
|
||||||
|
kofficeui-shared kotext-shared kformulalib-shared
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Programs ##################################################################
|
||||||
|
tde_add_tdeinit_executable(kformula AUTOMOC
|
||||||
|
SOURCES main.cpp
|
||||||
|
LINK kofficecore-shared
|
||||||
|
)
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
install(
|
||||||
|
FILES kformula.rc kformula_readonly.rc tips
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/kformula
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE kformula.desktop
|
||||||
|
PO_DIR koffice-desktops
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE kformulapart.desktop
|
||||||
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
||||||
|
PO_DIR koffice-desktops
|
||||||
|
)
|
||||||
|
|
||||||
|
add_subdirectory(pics)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,11 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
tde_install_icons()
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,41 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficecore
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficeui
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/store
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kwmf
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kopalette
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Libraries #################################################################
|
||||||
|
tde_add_kpart(libkounavail SHARED AUTOMOC
|
||||||
|
SOURCES kounavail.cpp
|
||||||
|
LINK
|
||||||
|
tdecore-shared tdeui-shared tdefx-shared tdeio-shared tdeparts-shared
|
||||||
|
kofficecore-shared
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE kounavail.desktop
|
||||||
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
||||||
|
PO_DIR koffice-desktops
|
||||||
|
)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,25 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
add_subdirectory(store)
|
||||||
|
add_subdirectory(kwmf)
|
||||||
|
add_subdirectory(kofficecore)
|
||||||
|
add_subdirectory(kofficeui)
|
||||||
|
add_subdirectory(koproperty)
|
||||||
|
tde_conditional_add_subdirectory(BUILD_KROSS kross)
|
||||||
|
|
||||||
|
# All applications except for Kexi need the following components
|
||||||
|
if (BUILD_CHALK OR BUILD_KARBON OR BUILD_KCHART OR BUILD_KGANTT OR
|
||||||
|
BUILD_KFORMULA OR BUILD_KIVIO OR BUILD_KOSHELL OR BUILD_KPLATO OR
|
||||||
|
BUILD_KPRESENTER OR BUILD_KSPREAD OR BUILD_KUGAR OR BUILD_KWORD)
|
||||||
|
add_subdirectory(kotext)
|
||||||
|
add_subdirectory(kformula)
|
||||||
|
add_subdirectory(kopalette)
|
||||||
|
tde_conditional_add_subdirectory(BUILD_KOPAINTER kopainter)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,15 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
find_program(HAVE_MAKETDEWIDGETS maketdewidgets)
|
||||||
|
if (NOT HAVE_MAKETDEWIDGETS)
|
||||||
|
message(WARNING "maketdewidgets not found, won't generate Designer widgets")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (BUILD_KROSS)
|
||||||
|
include(lib/kross/ConfigureChecks.cmake)
|
||||||
|
endif()
|
@ -0,0 +1,70 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficecore
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficeui
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/store
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kwmf
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kopalette
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kotext
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Libraries #################################################################
|
||||||
|
# We have to name it kformulalib, not just kformula, since that's the name of
|
||||||
|
# the tdeinit module for kformula.
|
||||||
|
tde_add_library(kformulalib SHARED AUTOMOC
|
||||||
|
SOURCES
|
||||||
|
basicelement.cpp contextstyle.cpp formulacursor.cpp
|
||||||
|
formulaelement.cpp indexelement.cpp kformulacontainer.cpp
|
||||||
|
sequenceelement.cpp textelement.cpp bracketelement.cpp
|
||||||
|
matrixelement.cpp fractionelement.cpp rootelement.cpp symbolelement.cpp
|
||||||
|
kformulacommand.cpp kformulamimesource.cpp
|
||||||
|
MatrixDialog.cpp sequenceparser.cpp elementtype.cpp kformuladocument.cpp
|
||||||
|
symboltable.cpp kformulainputfilter.cpp kformulaview.cpp
|
||||||
|
spaceelement.cpp kformulaconfigpage.cpp
|
||||||
|
symbolaction.cpp fontstyle.cpp creationstrategy.cpp
|
||||||
|
oasiscreationstrategy.cpp tokenstyleelement.cpp tokenelement.cpp
|
||||||
|
identifierelement.cpp operatorelement.cpp glyphelement.cpp styleelement.cpp
|
||||||
|
stringelement.cpp paddedelement.cpp errorelement.cpp phantomelement.cpp
|
||||||
|
actionelement.cpp encloseelement.cpp entities.cpp operatordictionary.cpp
|
||||||
|
numberelement.cpp
|
||||||
|
LINK tdeui-shared kotext-shared
|
||||||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Programs ##################################################################
|
||||||
|
if (BUILD_TESTS)
|
||||||
|
tde_add_executable(koformulatest AUTOMOC
|
||||||
|
SOURCES main.cpp kformulawidget.cpp
|
||||||
|
LINK kformulalib-shared
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
### Headers ###################################################################
|
||||||
|
# install(
|
||||||
|
# FILES
|
||||||
|
# kformulacontainer.h kformuladocument.h kformulaview.h
|
||||||
|
# kformuladefs.h kformulaconfigpage.h
|
||||||
|
# DESTINATION ${INCLUDE_INSTALL_DIR}/KOffice
|
||||||
|
# )
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
add_subdirectory(pics)
|
||||||
|
add_subdirectory(fonts)
|
||||||
|
add_subdirectory(dtd)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,11 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
install(FILES kformula.dtd DESTINATION ${DATA_INSTALL_DIR}/kformula/dtd)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,18 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
set(FONTDIR "${DATA_INSTALL_DIR}/kformula/fonts")
|
||||||
|
install(
|
||||||
|
FILES cmex10.ttf Arev.ttf ArevIt.ttf ArevBd.ttf ArevBI.ttf
|
||||||
|
DESTINATION ${FONTDIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
install(CODE "execute_process(COMMAND mkfontscale \$ENV{DESTDIR}${FONTDIR})")
|
||||||
|
install(CODE "execute_process(COMMAND mkfontdir \$ENV{DESTDIR}${FONTDIR})")
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,11 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
add_subdirectory(crystalsvg)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,11 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
tde_install_icons()
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,87 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/store
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kwmf
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Libraries #################################################################
|
||||||
|
tde_add_library(kofficecore SHARED AUTOMOC
|
||||||
|
SOURCES
|
||||||
|
KoDocument.cpp KoGlobal.cpp KoUnit.cpp KoFilterManager.cpp
|
||||||
|
KoMainWindow.cpp KoApplication.cpp KoQueryTrader.cpp
|
||||||
|
KoFilter.cpp KoFilterChain.cpp KoDocumentInfo.cpp
|
||||||
|
KoPictureKey.cpp KoPictureBase.cpp KoPicture.cpp KoPictureShared.cpp
|
||||||
|
KoPictureImage.cpp KoPictureClipart.cpp KoPictureCollection.cpp
|
||||||
|
KoPictureEps.cpp KoPictureWmf.cpp
|
||||||
|
KoView.cpp KoFrame.cpp KoContainerHandler.cpp KoDocumentChild.cpp
|
||||||
|
KoDocumentInfoDlg.cpp KoFactory.cpp KoChild.cpp
|
||||||
|
koDocumentInfoAboutWidget.ui koDocumentInfoAuthorWidget.ui
|
||||||
|
koDocumentInfoUserMetadataWidget.ui
|
||||||
|
KoApplicationIface.cpp KoApplicationIface.skel
|
||||||
|
KoDocumentIface.cpp KoDocumentIface.skel KoViewIface.cpp KoViewIface.skel
|
||||||
|
KoMainWindowIface.cpp KoMainWindowIface.skel kofficeversion.cpp
|
||||||
|
KoOasisStyles.cpp KoOasisSettings.cpp KoOasisLoadingContext.cpp
|
||||||
|
KoStyleStack.cpp KoGenStyles.cpp KoPageLayout.cpp
|
||||||
|
KoFileDialog.cpp KoXmlNS.cpp KoDom.cpp Koversiondialog.cpp KoOasisStore.cpp
|
||||||
|
kkbdaccessextensions.cpp koDetailsPaneBase.ui koOpenPaneBase.ui
|
||||||
|
KoOpenPane.cpp KoTemplates.cpp KoDetailsPane.cpp KoSpeaker.cpp KoRect.cpp
|
||||||
|
LINK
|
||||||
|
tdeio-shared tdefx-shared tdeabc-shared tdeprint-shared tdeparts-shared
|
||||||
|
kstore-shared kwmf-shared kowmf-shared
|
||||||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_add_kpart(kodocinfopropspage SHARED AUTOMOC
|
||||||
|
SOURCES KoDocInfoPropsFactory.cpp
|
||||||
|
LINK tdecore-shared tdeio-shared tdefx-shared kjs-shared kofficecore-shared
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Headers ###################################################################
|
||||||
|
install(
|
||||||
|
FILES
|
||||||
|
KoContainerHandler.h
|
||||||
|
KoFilter.h KoFilterChain.h
|
||||||
|
KoGlobal.h KoUnit.h KoDocument.h
|
||||||
|
KoMainWindow.h
|
||||||
|
KoApplication.h KoQueryTrader.h
|
||||||
|
KoFilterManager.h
|
||||||
|
KoDocumentInfo.h
|
||||||
|
KoView.h KoFrame.h KoDocumentChild.h
|
||||||
|
KoDocumentInfoDlg.h KoFactory.h KoChild.h
|
||||||
|
KoApplicationIface.h KoDocumentIface.h KoViewIface.h KoMainWindowIface.h
|
||||||
|
KoPictureKey.h KoPicture.h KoPictureCollection.h kofficeversion.h
|
||||||
|
KoOasisStyles.h KoStyleStack.h KoGenStyles.h KoOasisSettings.h
|
||||||
|
KoPageLayout.h KoXmlNS.h KoDom.h Koversiondialog.h
|
||||||
|
kkbdaccessextensions.h
|
||||||
|
koffice_export.h KoOpenPane.h
|
||||||
|
KoSpeaker.h KoOasisLoadingContext.h
|
||||||
|
KoPoint.h
|
||||||
|
|
||||||
|
DESTINATION ${INCLUDE_INSTALL_DIR}/KOffice
|
||||||
|
)
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
install(FILES koffice_shell.rc DESTINATION ${DATA_INSTALL_DIR}/koffice)
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE kodocinfopropspage.desktop
|
||||||
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
||||||
|
PO_DIR koffice-desktops
|
||||||
|
)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,77 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/store
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficecore
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Libraries #################################################################
|
||||||
|
tde_add_library(kofficeui SHARED AUTOMOC
|
||||||
|
SOURCES
|
||||||
|
KoPageLayoutDia.cpp KoZoomAction.cpp KoTabBar.cpp
|
||||||
|
KoPartSelectDia.cpp KoPartSelectAction.cpp
|
||||||
|
KoRuler.cpp KoTemplateChooseDia.cpp KoTabChooser.cpp
|
||||||
|
KoKoolBar.cpp KoTemplateCreateDia.cpp KoContextCelp.cpp
|
||||||
|
kcoloractions.cpp KoPictureFilePreview.cpp KoUnitWidgets.cpp
|
||||||
|
ttdeaction.cpp tkcoloractions.cpp tkcombobox.cpp ttdetoolbarbutton.cpp
|
||||||
|
KoCharSelectDia.cpp KoInsertLink.cpp KoEditPath.cpp KoCommandHistory.cpp
|
||||||
|
KoSelectAction.cpp Kolinewidthaction.cpp Kolinestyleaction.cpp
|
||||||
|
KoTooluButton.cpp KoBrush.cpp KoImageResource.cpp KoToolBox.cpp
|
||||||
|
KoZoomHandler.cpp KoGuideLineDia.cpp KoGuides.cpp KoZoomMode.cpp
|
||||||
|
KoGeneralPropertyUi.ui KoPageLayoutColumns.cpp KoPageLayoutColumnsBase.ui
|
||||||
|
KoPageLayoutSize.cpp KoPageLayoutHeaderBase.ui KoPageLayoutHeader.cpp
|
||||||
|
KoPen.cpp
|
||||||
|
LINK kofficecore-shared
|
||||||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Headers ###################################################################
|
||||||
|
install(
|
||||||
|
FILES
|
||||||
|
KoPageLayoutDia.h KoZoomAction.h KoTabBar.h
|
||||||
|
KoPartSelectDia.h KoPartSelectAction.h
|
||||||
|
KoRuler.h KoTemplateChooseDia.h KoTabChooser.h
|
||||||
|
KoKoolBar.h KoTemplateCreateDia.h KoContextCelp.h
|
||||||
|
kcoloractions.h KoPictureFilePreview.h KoUnitWidgets.h
|
||||||
|
ttdeaction.h tkcoloractions.h ttdetoolbarbutton.h tkcombobox.h
|
||||||
|
KoCharSelectDia.h KoInsertLink.h KoTooluButton.h KoEditPath.h
|
||||||
|
KoCommandHistory.h KoImageResource.h
|
||||||
|
KoSelectAction.h Kolinewidthaction.h Kolinestyleaction.h
|
||||||
|
KoZoomHandler.h KoGuideLineDia.h KoGuides.h
|
||||||
|
KoPageLayoutHeader.h KoPageLayoutSize.h
|
||||||
|
KoPageLayoutColumns.h KoBrush.h KoPen.h KoZoomMode.h
|
||||||
|
DESTINATION ${INCLUDE_INSTALL_DIR}/KOffice
|
||||||
|
)
|
||||||
|
|
||||||
|
### Widgets ###################################################################
|
||||||
|
if (HAVE_MAKETDEWIDGETS)
|
||||||
|
add_custom_command(OUTPUT kofficewidgets.cpp
|
||||||
|
COMMAND maketdewidgets -o kofficewidgets.cpp ${CMAKE_CURRENT_SOURCE_DIR}/koffice.widgets
|
||||||
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/koffice.widgets
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_add_kpart(kofficewidgets AUTOMOC
|
||||||
|
SOURCES kofficewidgets.cpp
|
||||||
|
LINK tdeio-shared
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/designer
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
add_subdirectory(pics)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -1,32 +1,26 @@
|
|||||||
[Global]
|
[Global]
|
||||||
PluginName=KOfficeWidgets
|
PluginName=KOfficeWidgets
|
||||||
|
|
||||||
[KoBuggyUnitDoubleSpinBox]
|
[KoUnitDoubleSpinBox]
|
||||||
ToolTip=KOffice Spin box for double precision numbers with unit display
|
ToolTip=KOffice Spin box for double precision numbers with unit display
|
||||||
WhatsThis=KOffice Spin box for double precision numbers with unit display
|
WhatsThis=KOffice Spin box for double precision numbers with unit display
|
||||||
IncludeFile=koUnitWidgets.h
|
IncludeFile=KoUnitWidgets.h
|
||||||
Group=Input (KOffice)
|
|
||||||
|
|
||||||
[KoUnitDoubleSpinBox2]
|
|
||||||
ToolTip=KOffice Spin box for double precision numbers with unit display
|
|
||||||
WhatsThis=KOffice Spin box for double precision numbers with unit display
|
|
||||||
IncludeFile=koUnitWidgets.h
|
|
||||||
Group=Input (KOffice)
|
Group=Input (KOffice)
|
||||||
|
|
||||||
[KoUnitDoubleLineEdit]
|
[KoUnitDoubleLineEdit]
|
||||||
ToolTip=KOffice Line edit for double precision numbers with unit display
|
ToolTip=KOffice Line edit for double precision numbers with unit display
|
||||||
WhatsThis=KOffice Line edit for double precision numbers with unit display
|
WhatsThis=KOffice Line edit for double precision numbers with unit display
|
||||||
IncludeFile=koUnitWidgets.h
|
IncludeFile=KoUnitWidgets.h
|
||||||
Group=Input (KOffice)
|
Group=Input (KOffice)
|
||||||
|
|
||||||
[KoUnitDoubleComboBox]
|
[KoUnitDoubleComboBox]
|
||||||
ToolTip=KOffice Combo box for double precision numbers with unit display
|
ToolTip=KOffice Combo box for double precision numbers with unit display
|
||||||
WhatsThis=KOffice Combo box for double precision numbers with unit display
|
WhatsThis=KOffice Combo box for double precision numbers with unit display
|
||||||
IncludeFile=koUnitWidgets.h
|
IncludeFile=KoUnitWidgets.h
|
||||||
Group=Input (KOffice)
|
Group=Input (KOffice)
|
||||||
|
|
||||||
[KoUnitDoubleSpinComboBox]
|
[KoUnitDoubleSpinComboBox]
|
||||||
ToolTip=KOffice Combo box (with spin control) for double precision numbers with unit display
|
ToolTip=KOffice Combo box (with spin control) for double precision numbers with unit display
|
||||||
WhatsThis=KOffice Combo box (with spin control) for double precision numbers with unit display
|
WhatsThis=KOffice Combo box (with spin control) for double precision numbers with unit display
|
||||||
IncludeFile=koUnitWidgets.h
|
IncludeFile=KoUnitWidgets.h
|
||||||
Group=Input (KOffice)
|
Group=Input (KOffice)
|
||||||
|
@ -0,0 +1,23 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES
|
||||||
|
koRulerFirst.png koRulerLeft.png koffice-logo.png
|
||||||
|
koKoolBarDown.png koKoolBarUp.png
|
||||||
|
koPortrait.png koLandscape.png
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/koffice/pics
|
||||||
|
)
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES
|
||||||
|
kounitdoublecombobox.png kounitdoublelineedit.png
|
||||||
|
kounitdoublespinbox2.png kounitdoublespincombobox.png
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/kofficewidgets/pics
|
||||||
|
)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,33 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficecore
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficeui
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Libraries #################################################################
|
||||||
|
tde_add_library(kopainter SHARED AUTOMOC
|
||||||
|
SOURCES
|
||||||
|
svgpathparser.cpp koColor.cpp koFrameButton.cpp koColorSlider.cpp
|
||||||
|
koColorChooser.cpp koIconChooser.cpp kogradientmanager.cpp
|
||||||
|
ko_color_wheel.cpp ko_gray_widget.cpp ko_hsv_widget.cpp
|
||||||
|
ko_rgb_widget.cpp ko_cmyk_widget.cpp
|
||||||
|
LINK kofficeui-shared
|
||||||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,33 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficecore
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Libraries #################################################################
|
||||||
|
tde_add_library(kopalette SHARED AUTOMOC
|
||||||
|
SOURCES
|
||||||
|
kopalette.cpp kopalettemanager.cpp
|
||||||
|
kotoolboxpalette.cpp kotabpalette.cpp
|
||||||
|
LINK kofficecore-shared
|
||||||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Headers ###################################################################
|
||||||
|
install(FILES kopalettemanager.h DESTINATION ${INCLUDE_INSTALL_DIR}/KOffice)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,36 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficecore
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/koproperty/editors
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Libraries #################################################################
|
||||||
|
tde_add_library(koproperty SHARED AUTOMOC
|
||||||
|
SOURCES
|
||||||
|
property.cpp customproperty.cpp set.cpp editor.cpp
|
||||||
|
editoritem.cpp factory.cpp widget.cpp
|
||||||
|
LINK tdecore-shared tdeui-shared kopropertyeditors-shared
|
||||||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
add_subdirectory(editors)
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
tde_install_icons()
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,33 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficecore
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/koproperty/editors
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Libraries #################################################################
|
||||||
|
tde_add_library(kopropertyeditors SHARED AUTOMOC
|
||||||
|
SOURCES
|
||||||
|
booledit.cpp coloredit.cpp combobox.cpp cursoredit.cpp dateedit.cpp
|
||||||
|
datetimeedit.cpp dummywidget.cpp fontedit.cpp linestyledit.cpp
|
||||||
|
pixmapedit.cpp pointedit.cpp rectedit.cpp sizeedit.cpp sizepolicyedit.cpp
|
||||||
|
spinbox.cpp stringedit.cpp stringlistedit.cpp symbolcombo.cpp timeedit.cpp
|
||||||
|
urledit.cpp
|
||||||
|
LINK tdeui-shared tdeio-shared
|
||||||
|
)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,57 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/store
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficecore
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficeui
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Libraries #################################################################
|
||||||
|
tde_add_library(kotext SHARED AUTOMOC
|
||||||
|
SOURCES
|
||||||
|
KoComplexText.cpp KoRichText.cpp
|
||||||
|
KoTextZoomHandler.cpp KoBorder.cpp
|
||||||
|
KoTextFormat.cpp KoParagCounter.cpp KoStyleCollection.cpp KoTextCommand.cpp
|
||||||
|
KoTextParag.cpp KoTextDocument.cpp KoTextFormatter.cpp KoParagLayout.cpp
|
||||||
|
KoTextObject.cpp KoTextView.cpp KoAutoFormat.cpp KoAutoFormatDia.cpp
|
||||||
|
KoParagDia.cpp KoVariable.cpp KoCustomVariablesDia.cpp
|
||||||
|
KoChangeCaseDia.cpp KoStyleManager.cpp KoSearchDia.cpp
|
||||||
|
timedateformatwidget.ui TimeFormatWidget.cpp DateFormatWidget.cpp
|
||||||
|
kofonttabbase.ui KoFontTab.cpp KoTextBookmark.cpp
|
||||||
|
kohighlightingtabbase.ui KoHighlightingTab.cpp
|
||||||
|
kodecorationtabbase.ui KoDecorationTab.cpp
|
||||||
|
kolayouttabbase.ui KoLayoutTab.cpp kolanguagetabbase.ui KoLanguageTab.cpp
|
||||||
|
KoFontDiaPreview.cpp KoCompletionDia.cpp KoCompletionBase.ui
|
||||||
|
KoTextViewIface.skel KoTextViewIface.cpp KoFontDia.cpp KoBgSpellCheck.cpp
|
||||||
|
KoCommentDia.cpp KoSpell.cpp KoCreateStyleDia.cpp KoTextCustomItem.cpp
|
||||||
|
KoImportStyleDia.cpp KoTextIterator.cpp KoOasisContext.cpp KoListStyleStack.cpp
|
||||||
|
KoUserStyle.cpp KoUserStyleCollection.cpp KoParagStyle.cpp KoParagDecorationTab.ui
|
||||||
|
LINK kofficeui-shared kohyphen-static tdespell2-shared tdeutils-shared
|
||||||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
add_subdirectory(kohyphen)
|
||||||
|
|
||||||
|
### Headers ###################################################################
|
||||||
|
# install(
|
||||||
|
# FILES
|
||||||
|
# KoTextZoomHandler.h KoTextFormat.h KoParagCounter.h KoStyleCollection.h
|
||||||
|
# KoTextDocument.h KoBgSpellCheck.h KoCommentDia.h KoCreateStyleDia.h
|
||||||
|
# DESTINATION ${INCLUDE_INSTALL_DIR}/KOffice
|
||||||
|
# )
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,41 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficecore
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficeui
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Libraries #################################################################
|
||||||
|
tde_add_library(kohyphen STATIC_PIC AUTOMOC
|
||||||
|
SOURCES hnjalloc.c hyphen.c kohyphen.cpp
|
||||||
|
LINK tdecore-shared
|
||||||
|
)
|
||||||
|
|
||||||
|
### Programs ##################################################################
|
||||||
|
if (BUILD_TESTS)
|
||||||
|
tde_add_executable(kohyphentest AUTOMOC
|
||||||
|
SOURCES kohyphentest.cpp
|
||||||
|
LINK
|
||||||
|
tdecore-shared tdeui-shared tdefx-shared tdeio-shared
|
||||||
|
tdetexteditor kohyphen-static
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
add_subdirectory(hyphdicts)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,18 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
install(
|
||||||
|
FILES
|
||||||
|
dicts.xml
|
||||||
|
hyph_cs.dic hyph_en.dic hyph_hu.dic hyph_uk.dic hyph_da.dic hyph_de.dic
|
||||||
|
hyph_en_CA.dic hyph_es.dic hyph_fr.dic hyph_it.dic hyph_nl.dic hyph_pt_BR.dic
|
||||||
|
hyph_pt.dic hyph_pt_PT.dic hyph_ru.dic hyph_sk.dic hyph_sv.dic hyph_sl.dic
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/koffice/hyphdicts
|
||||||
|
)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,17 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
### Python ####################################################################
|
||||||
|
# FIXME: Kross Python plugin cannot be built since it is incompatible with
|
||||||
|
# Python >= 3.
|
||||||
|
if (WITH_KROSS_PYTHON)
|
||||||
|
tde_message_fatal("Kross is uncompatible with Python >= 3.")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (WITH_KROSS_RUBY)
|
||||||
|
# TODO
|
||||||
|
endif()
|
@ -0,0 +1,36 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficecore
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
### Libraries #################################################################
|
||||||
|
tde_add_library(kwmf SHARED AUTOMOC
|
||||||
|
SOURCES kwmf.cpp qwmf.cpp
|
||||||
|
LINK tdecore-shared
|
||||||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_add_library(kowmf SHARED AUTOMOC
|
||||||
|
SOURCES
|
||||||
|
kowmfreadprivate.cpp kowmfstack.cpp
|
||||||
|
kowmfread.cpp kowmfwrite.cpp kowmfpaint.cpp
|
||||||
|
LINK tdecore-shared
|
||||||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,34 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/lib/kofficecore
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_add_library(kstore SHARED AUTOMOC
|
||||||
|
SOURCES
|
||||||
|
KoStore.cpp KoTarStore.cpp KoDirectoryStore.cpp KoZipStore.cpp
|
||||||
|
KoStoreDrag.cpp KoStoreBase.cpp KoXmlWriter.cpp
|
||||||
|
LINK tdecore-shared tdeui-shared tdeio-shared
|
||||||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES KoStore.h KoStoreDevice.h KoXmlWriter.h
|
||||||
|
DESTINATION ${INCLUDE_INSTALL_DIR}/KOffice
|
||||||
|
)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,11 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
add_subdirectory(crystalsvg)
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,11 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
tde_install_icons()
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
@ -0,0 +1,18 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Trinity KOffice #
|
||||||
|
# --------------- #
|
||||||
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
||||||
|
# Improvements and feedback are welcome. #
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
### Data ######################################################################
|
||||||
|
foreach(DESKTOP_FILE kofficepart.desktop kofilter.desktop koplugin.desktop
|
||||||
|
kochart.desktop kofilterwrapper.desktop)
|
||||||
|
tde_create_translated_desktop(
|
||||||
|
SOURCE ${DESKTOP_FILE}
|
||||||
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
||||||
|
PO_DIR koffice-desktops
|
||||||
|
)
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# kate: indent-width 2; replace-tabs true;
|
Loading…
Reference in new issue