git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1230056 283d02a7-25f6-0310-bc7c-ecb5cbfe19dav3.5.13-sru
parent
f540079925
commit
1c10429218
@ -0,0 +1,21 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include( ConfigureChecks.cmake )
|
||||
|
||||
add_subdirectory( common )
|
||||
add_subdirectory( filters )
|
||||
add_subdirectory( datatools )
|
||||
add_subdirectory( kbabeldict )
|
||||
add_subdirectory( commonui )
|
||||
add_subdirectory( catalogmanager )
|
||||
add_subdirectory( kbabel )
|
||||
add_subdirectory( addons )
|
@ -0,0 +1,15 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
find_program( LEX_EXECUTABLE "lex" )
|
||||
if( NOT LEX_EXECUTABLE )
|
||||
tde_message_fatal( "lex is required, but was not found on your system" )
|
||||
endif( )
|
@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( preview )
|
||||
add_subdirectory( kfile-plugins )
|
@ -0,0 +1,35 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kfile_po.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kfile_po (module) #########################
|
||||
|
||||
tde_add_kpart( kfile_po AUTOMOC
|
||||
SOURCES kfile_po.cpp
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,34 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES pothumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### pothumbnail (module) ######################
|
||||
|
||||
tde_add_kpart( pothumbnail
|
||||
SOURCES pothumbcreator.cpp
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,63 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( libcvs )
|
||||
add_subdirectory( libsvn )
|
||||
add_subdirectory( icons )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libcvs
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libsvn
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../kbabeldict
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../commonui
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
tde_install_icons( )
|
||||
install( FILES catalogmanager.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
||||
install( FILES catalogmanagerui.rc DESTINATION ${DATA_INSTALL_DIR}/catalogmanager )
|
||||
|
||||
|
||||
##### catalogmanager (executable) ###############
|
||||
|
||||
tde_add_executable( catalogmanager
|
||||
SOURCES
|
||||
main.cpp
|
||||
LINK
|
||||
catalogmanager-static catalogmanagercvs-static catalogmanagersvn-static
|
||||
kbabelcommonui-static kbabeldict-static
|
||||
kbabelcommon-shared kbabeldictplugin-shared kio-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### catalogmanager (static) ###################
|
||||
|
||||
tde_add_library( catalogmanager STATIC AUTOMOC
|
||||
SOURCES
|
||||
catalogmanageriface.skel validationoptions.ui catalogmanagerview.cpp
|
||||
catalogmanager.cpp findinfilesdialog.cpp catmanlistitem.cpp
|
||||
multiroughtransdlg.cpp validateprogresswidget.ui validateprogress.cpp
|
||||
markpatternwidget.ui markpatterndialog.cpp
|
||||
DEPENDENCIES kbabelcommon-shared
|
||||
)
|
@ -0,0 +1,12 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kbabel/icons )
|
@ -0,0 +1,23 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### catalogmanagercvs (static) ################
|
||||
|
||||
tde_add_library( catalogmanagercvs STATIC_PIC AUTOMOC
|
||||
SOURCES cvshandler.cpp cvsdialog.cpp
|
||||
)
|
@ -0,0 +1,23 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### catalogmanagersvn (static) ################
|
||||
|
||||
tde_add_library( catalogmanagersvn STATIC_PIC AUTOMOC
|
||||
SOURCES svnhandler.cpp svndialog.cpp
|
||||
)
|
@ -0,0 +1,63 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( libgettext )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### headers ###################################
|
||||
|
||||
install( FILES
|
||||
catalog.h catalogitem.h editcmd.h msgfmt.h catalogsettings.h
|
||||
findoptions.h catalogview.h tagextractor.h poinfo.h regexpextractor.h
|
||||
itempart.h catalogfileplugin.h kbabeldatatool.h kbproject.h
|
||||
kbprojectmanager.h projectsettings.h
|
||||
DESTINATION ${INCLUDE_INSTALL_DIR}/kbabel )
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kbabelfilter.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
|
||||
install( FILES kbprojectsettings.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
|
||||
install( FILES kbabel-projectrename.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabelcommon (shared) #####################
|
||||
|
||||
add_custom_command( OUTPUT version.h
|
||||
COMMAND echo \"/* Generated file - DO NOT EDIT */\" > version.h
|
||||
COMMAND echo \"\#undef VERSION\" >> version.h
|
||||
COMMAND echo \"\#define VERSION \\\"`cat ${CMAKE_CURRENT_SOURCE_DIR}/../VERSION`\\\"\" >> version.h
|
||||
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../VERSION )
|
||||
|
||||
set_source_files_properties( catalog.cpp PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/version.h )
|
||||
|
||||
tde_add_library( kbabelcommon SHARED AUTOMOC
|
||||
SOURCES
|
||||
catalog.cpp catalogitem.cpp editcmd.cpp msgfmt.cpp
|
||||
catalogsettings.cpp tagextractor.cpp diff.cpp argextractor.cpp
|
||||
kbmailer.cpp poinfo.cpp regexpextractor.cpp importplugin.cpp
|
||||
exportplugin.cpp kbproject.cpp kbprojectmanager.cpp
|
||||
kbprojectsettings.kcfgc projectsettings.cpp stringdistance.cpp
|
||||
VERSION 3.2.0
|
||||
LINK gettext-static kio-shared
|
||||
DESTINATION ${LIB_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,31 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### pofiles.cc (source) #######################
|
||||
|
||||
add_custom_command( OUTPUT pofiles.cpp
|
||||
COMMAND ${LEX_EXECUTABLE} -+ -opofiles.cpp ${CMAKE_CURRENT_SOURCE_DIR}/pofiles.ll
|
||||
)
|
||||
|
||||
|
||||
##### gettext (static) ##########################
|
||||
|
||||
tde_add_library( gettext STATIC_PIC
|
||||
SOURCES pofiles.cpp
|
||||
)
|
@ -0,0 +1,41 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../kbabeldict
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES
|
||||
kbabel_validator.desktop kbabel_tool.desktop
|
||||
DESTINATION ${SERVICETYPES_INSTALL_DIR} )
|
||||
|
||||
|
||||
|
||||
##### kbabelcommonui (static) ###################
|
||||
|
||||
tde_add_library( kbabelcommonui STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
klisteditor.ui context.cpp kactionselector.cpp
|
||||
toolselectionwidget.cpp toolaction.cpp finddialog.cpp
|
||||
roughtransdlg.cpp projectprefwidgets.cpp projectpref.cpp
|
||||
projectwizard.cpp projectwizardwidget.ui projectwizardwidget2.ui
|
||||
cmdedit.cpp diffpreferences.ui
|
||||
DEPENDENCIES kbabelcommon-shared
|
||||
)
|
@ -0,0 +1,23 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( arguments )
|
||||
add_subdirectory( accelerators )
|
||||
add_subdirectory( context )
|
||||
add_subdirectory( equations )
|
||||
add_subdirectory( pluralforms )
|
||||
add_subdirectory( xml )
|
||||
add_subdirectory( not-translated )
|
||||
add_subdirectory( whitespace )
|
||||
add_subdirectory( length )
|
||||
add_subdirectory( setfuzzy )
|
||||
add_subdirectory( punctuation )
|
||||
add_subdirectory( regexp )
|
@ -0,0 +1,36 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kbabel_accelstool.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabel_accelstool (module) ################
|
||||
|
||||
tde_add_kpart( kbabel_accelstool AUTOMOC
|
||||
SOURCES main.cc
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,36 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kbabel_argstool.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabel_argstool (module) #######################
|
||||
|
||||
tde_add_kpart( kbabel_argstool AUTOMOC
|
||||
SOURCES main.cc
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,36 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kbabel_contexttool.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabel_contexttool (module) ###############
|
||||
|
||||
tde_add_kpart( kbabel_contexttool AUTOMOC
|
||||
SOURCES main.cc
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,36 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kbabel_equationstool.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabel_equationstool (module) #############
|
||||
|
||||
tde_add_kpart( kbabel_equationstool AUTOMOC
|
||||
SOURCES main.cc
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,36 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kbabel_lengthtool.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabel_lengthtool (module) ################
|
||||
|
||||
tde_add_kpart( kbabel_lengthtool AUTOMOC
|
||||
SOURCES main.cc
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,36 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kbabel_nottranslatedtool.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabel_nottranslatedtool (module) #########
|
||||
|
||||
tde_add_kpart( kbabel_nottranslatedtool AUTOMOC
|
||||
SOURCES main.cc
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,36 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kbabel_pluralformstool.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabel_pluraltool (module) ################
|
||||
|
||||
tde_add_kpart( kbabel_pluraltool AUTOMOC
|
||||
SOURCES main.cc
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,36 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kbabel_punctuationtool.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabel_punctuationtool (module) ###########
|
||||
|
||||
tde_add_kpart( kbabel_punctuationtool AUTOMOC
|
||||
SOURCES main.cc
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,37 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kbabel_regexptool.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
install( FILES regexplist.xml DESTINATION ${DATA_INSTALL_DIR}/kbabel )
|
||||
|
||||
|
||||
##### kbabel_regexptool (module) ################
|
||||
|
||||
tde_add_kpart( kbabel_regexptool AUTOMOC
|
||||
SOURCES main.cc
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,36 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kbabel_setfuzzytool.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabel_setfuzzytool (module) ##############
|
||||
|
||||
tde_add_kpart( kbabel_setfuzzytool AUTOMOC
|
||||
SOURCES main.cc
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,36 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kbabel_whitespacetool.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabel_whitespacetool (module) ############
|
||||
|
||||
tde_add_kpart( kbabel_whitespacetool AUTOMOC
|
||||
SOURCES main.cc
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,36 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES kbabel_xmltool.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabel_xmltool (module) ###################
|
||||
|
||||
tde_add_kpart( kbabel_xmltool AUTOMOC
|
||||
SOURCES main.cc
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,14 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( gettext )
|
||||
add_subdirectory( linguist )
|
||||
add_subdirectory( xliff )
|
@ -0,0 +1,46 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES
|
||||
kbabel_gettext_import.desktop kbabel_gettext_export.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabel_gettextimport (module) #############
|
||||
|
||||
tde_add_kpart( kbabel_gettextimport
|
||||
SOURCES gettextimport.cpp
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### kbabel_gettextexport (module) #############
|
||||
|
||||
tde_add_kpart( kbabel_gettextexport
|
||||
SOURCES gettextexport.cpp
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,46 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES
|
||||
kbabel_linguist_export.desktop kbabel_linguist_import.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabel_linguistexport (module) ############
|
||||
|
||||
tde_add_kpart( kbabel_linguistexport
|
||||
SOURCES linguistexport.cpp
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### kbabel_linguistimport (module) ############
|
||||
|
||||
tde_add_kpart( kbabel_linguistimport
|
||||
SOURCES linguistimport.cpp
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,46 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES
|
||||
kbabel_xliff_export.desktop kbabel_xliff_import.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabel_xliffexport (module) ###############
|
||||
|
||||
tde_add_kpart( kbabel_xliffexport
|
||||
SOURCES xliffexport.cpp
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### kbabel_xliffimport (module) #######################
|
||||
|
||||
tde_add_kpart( kbabel_xliffimport
|
||||
SOURCES xliffimport.cpp
|
||||
LINK kbabelcommon-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,65 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( pics )
|
||||
add_subdirectory( icons )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../commonui
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../kbabeldict
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
tde_install_icons( kbabel )
|
||||
install( FILES kbabel.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
||||
install( FILES kbabel.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
|
||||
install( FILES kbabelui.rc DESTINATION ${DATA_INSTALL_DIR}/kbabel )
|
||||
install( FILES kbabel-project.upd kbabel-difftoproject.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabel (executable) #######################
|
||||
|
||||
tde_add_executable( kbabel
|
||||
SOURCES
|
||||
main.cpp
|
||||
LINK
|
||||
kbabel-static kbabelcommonui-static kbabeldict-static
|
||||
kbabelcommon-shared kbabeldictplugin-shared ktexteditor-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### kbabel (static) ###########################
|
||||
|
||||
tde_add_library( kbabel STATIC AUTOMOC
|
||||
SOURCES
|
||||
kbbookmarkhandler.cpp kbcatalog.cpp headerwidget.ui headereditor.cpp
|
||||
spelldlgwidget.ui spelldlg.cpp gotodialog.cpp kbhighlighting.cpp
|
||||
mymultilineedit.cpp hidingmsgedit.cpp kbabelpref.cpp
|
||||
kbcatalogview.cpp commentview.cpp contextview.cpp charselectview.cpp
|
||||
taglistview.cpp sourceview.cpp kbabelview.cpp kbabelview2.cpp
|
||||
kbabel.cpp kbabeliface.skel kbabelsplash.cpp kbabelsettings.kcfgc
|
||||
fontpreferences.ui editordiffpreferences.ui editorpreferences.ui
|
||||
searchpreferences.ui colorpreferences.ui kbcataloglistview.cpp
|
||||
kbcataloglistviewitem.cpp errorlistview.cpp
|
||||
)
|
@ -0,0 +1,18 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
tde_install_icons(
|
||||
msgid2msgstr nexterror nextfuzzy nextfuzzyuntrans nextuntranslated
|
||||
preverror prevfuzzy prevfuzzyuntrans prevuntranslated search2msgstr
|
||||
transsearch insert_tag diff autodiff togglefuzzy insert_arg
|
||||
spellcheck_all spellcheck_actual spellcheck_from_cursor
|
||||
spellcheck_selected catalogmanager
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kbabel/icons )
|
@ -0,0 +1,15 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
install( FILES
|
||||
broken.png missing.png needwork.png ok.png pref_identity.png
|
||||
splash.png noflag.png
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kbabel/pics )
|
@ -0,0 +1,70 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( modules )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### headers ###################################
|
||||
|
||||
install( FILES
|
||||
searchengine.h kbabeldictbox.h kbabeldictiface.h
|
||||
dictionarymenu.h dictchooser.h
|
||||
DESTINATION ${INCLUDE_INSTALL_DIR}/kbabel )
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
tde_install_icons( kbabeldict )
|
||||
install( FILES kbabeldict.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
||||
install( FILES kbabeldict_module.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabeldict (executable) ###################
|
||||
|
||||
tde_add_executable( kbabeldict AUTOMOC
|
||||
SOURCES
|
||||
main.cpp kbabeldictview.cpp kbabeldict.cpp kbabelsplash.cpp
|
||||
LINK kbabeldict-static kbabeldictplugin-shared kbabelcommon-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### kbabeldict (static) #######################
|
||||
|
||||
tde_add_library( kbabeldict STATIC AUTOMOC
|
||||
SOURCES
|
||||
kbabeldictbox.cpp kbabeldictiface.skel dictionarymenu.cpp
|
||||
dictchooser.cpp aboutmoduledlg.cpp
|
||||
DEPENDENCIES kbabelcommon-shared
|
||||
)
|
||||
|
||||
|
||||
##### kbabeldictplugin (shared) #################
|
||||
|
||||
tde_add_library( kbabeldictplugin SHARED AUTOMOC
|
||||
SOURCES searchengine.cpp
|
||||
VERSION 1.2.0
|
||||
LINK kdecore-shared
|
||||
DESTINATION ${LIB_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
add_subdirectory( pocompendium )
|
||||
add_subdirectory( poauxiliary )
|
||||
add_subdirectory( tmx )
|
||||
tde_conditional_add_subdirectory( WITH_DBSEARCHENGINE dbsearchengine )
|
@ -0,0 +1,42 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include( ConfigureChecks.cmake )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../common
|
||||
${CMAKE_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES dbsearchengine.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabeldict_dbsearchengine (module) ########
|
||||
|
||||
tde_add_kpart( kbabeldict_dbsearchengine AUTOMOC
|
||||
SOURCES
|
||||
KDBSearchEngine.cpp preferenceswidget.cpp dbse_factory.cpp
|
||||
dbseprefwidget.ui database.cpp dbscan.cpp
|
||||
LINK kbabelcommon-shared kbabeldictplugin-shared db
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,21 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
check_c_source_compiles("
|
||||
#include <db.h>
|
||||
void main() { DB *db; db->open(db, 0, 0, NULL, DB_BTREE, DB_CREATE, 0644); } "
|
||||
HAVE_BERKELEY_DB )
|
||||
|
||||
if( HAVE_BERKELEY_DB )
|
||||
set( BDB_LIBRARY db )
|
||||
else( )
|
||||
tde_message_fatal( "berkeley db is required, but was not found on your system" )
|
||||
endif( )
|
@ -0,0 +1,38 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES poauxiliary.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabeldict_poauxiliary (module) ###########
|
||||
|
||||
tde_add_kpart( kbabeldict_poauxiliary AUTOMOC
|
||||
SOURCES
|
||||
poauxiliary.cpp preferenceswidget.cpp pa_factory.cpp pwidget.ui
|
||||
LINK kbabelcommon-shared kbabeldictplugin-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,39 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES pocompendium.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabeldict_pocompendium (module) ##########
|
||||
|
||||
tde_add_kpart( kbabeldict_pocompendium AUTOMOC
|
||||
SOURCES
|
||||
pocompendium.cpp preferenceswidget.cpp pc_factory.cpp pwidget.ui
|
||||
compendiumdata.cpp
|
||||
LINK kbabelcommon-shared kbabeldictplugin-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,39 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../../../common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../common
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
install( FILES tmxcompendium.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
|
||||
|
||||
##### kbabeldict_tmxcompendium (module) #########
|
||||
|
||||
tde_add_kpart( kbabeldict_tmxcompendium AUTOMOC
|
||||
SOURCES
|
||||
tmxcompendium.cpp preferenceswidget.cpp pc_factory.cpp pwidget.ui
|
||||
tmxcompendiumdata.cpp
|
||||
LINK kbabelcommon-shared kbabeldictplugin-shared
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
Loading…
Reference in new issue