From eea71ca9ecdfbd4682054a86cc9bbf954af94693 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Fri, 28 Jun 2019 15:14:51 +0200 Subject: [PATCH] Conversion to the cmake building system. Delete empty files (dummy.cpp, xsldbgconfig.h). Remove hard-coded path for the kmdr-executor executable. Replaced $TQTDIR/doc/html string path for TQTDOCDIR in kommander. Add man pages taken from the Debian packaging. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gregory guy Fix linking - kxsldbgcommon-static and kimagemapeditorcommon-static needs to be embedded. Move the linking of xml and readline libraries to the appropriate static libraries. Add build option WITH_QUANTA_CVSSERVICE. Add a test whether the readline can be linked standalone or whether ncurses is needed. Signed-off-by: Slávek Banko (cherry picked from commit 4c43d1fbb66a296958ed1d0dbddf3f8ac4466130) --- CMakeLists.txt | 62 +++-- ConfigureChecks.cmake | 239 +++++++++++++++--- config.h.cmake | 77 ++++++ doc/CMakeLists.txt | 9 + doc/kimagemapeditor/CMakeLists.txt | 1 + doc/klinkstatus/CMakeLists.txt | 1 + doc/kommander/CMakeLists.txt | 1 + doc/kxsldbg/CMakeLists.txt | 1 + doc/man/CMakeLists.txt | 6 + doc/man/kimagemapeditor/CMakeLists.txt | 5 + doc/man/kimagemapeditor/kimagemapeditor.1 | 47 ++++ doc/man/klinkstatus/CMakeLists.txt | 5 + doc/man/klinkstatus/klinkstatus.1 | 52 ++++ doc/man/kommander/CMakeLists.txt | 11 + doc/man/kommander/extractkmdr.1 | 53 ++++ doc/man/kommander/kmdr-editor.1 | 70 +++++ doc/man/kommander/kmdr-executor.1 | 87 +++++++ doc/man/kommander/kmdr-plugins.1 | 71 ++++++ doc/man/kommander/kmdr2po.1 | 47 ++++ doc/man/kxsldbg/CMakeLists.txt | 5 + doc/man/kxsldbg/kxsldbg.1 | 54 ++++ doc/man/quanta/CMakeLists.txt | 5 + doc/man/quanta/quanta.1 | 71 ++++++ doc/man/tdefilereplace/CMakeLists.txt | 5 + doc/man/tdefilereplace/tdefilereplace.1 | 160 ++++++++++++ doc/quanta/CMakeLists.txt | 1 + doc/tdefilereplace/CMakeLists.txt | 1 + doc/xsldbg/CMakeLists.txt | 6 + kimagemapeditor/CMakeLists.txt | 83 ++++++ kimagemapeditor/Makefile.am | 3 + kimagemapeditor/kimeshell.cpp | 8 +- kimagemapeditor/pics/CMakeLists.txt | 16 ++ klinkstatus/CMakeLists.txt | 2 + klinkstatus/data/CMakeLists.txt | 2 + klinkstatus/data/icons/16x16/CMakeLists.txt | 8 + klinkstatus/data/icons/CMakeLists.txt | 6 + klinkstatus/data/styles/CMakeLists.txt | 4 + klinkstatus/src/CMakeLists.txt | 87 +++++++ klinkstatus/src/cfg/CMakeLists.txt | 32 +++ klinkstatus/src/cfg/Makefile.am | 6 +- klinkstatus/src/engine/CMakeLists.txt | 27 ++ klinkstatus/src/klinkstatus.h | 2 +- klinkstatus/src/parser/CMakeLists.txt | 25 ++ klinkstatus/src/ui/CMakeLists.txt | 32 +++ klinkstatus/src/ui/sessionwidgetbase.ui | 16 +- klinkstatus/src/ui/settings/CMakeLists.txt | 32 +++ klinkstatus/src/ui/settings/Makefile.am | 4 + .../settings/configidentificationdialogui.ui | 8 +- .../src/ui/settings/configsearchdialog.ui | 9 +- klinkstatus/src/utils/CMakeLists.txt | 29 +++ kommander/CMakeLists.txt | 20 ++ kommander/editor/CMakeLists.txt | 83 ++++++ kommander/editor/assoctexteditor.ui | 3 + kommander/editor/choosewidget.ui | 6 +- kommander/editor/connectioneditor.ui | 16 +- kommander/editor/formsettings.ui | 9 +- kommander/editor/functions.ui | 32 +-- kommander/editor/mainwindow.cpp | 10 +- kommander/editor/mainwindowactions.cpp | 4 - kommander/editor/pics/CMakeLists.txt | 4 + kommander/editor/widgetfactory.cpp | 4 + kommander/editor/widgetfactory.h | 2 +- kommander/examples/CMakeLists.txt | 3 + kommander/examples/current/CMakeLists.txt | 7 + kommander/examples/old/CMakeLists.txt | 10 + kommander/examples/tutorial/CMakeLists.txt | 10 + kommander/executor/CMakeLists.txt | 58 +++++ kommander/factory/CMakeLists.txt | 36 +++ kommander/factory/kommanderfactory.cpp | 4 - kommander/icons/CMakeLists.txt | 9 + kommander/kmdrtools/CMakeLists.txt | 7 + kommander/part/CMakeLists.txt | 43 ++++ kommander/plugin/CMakeLists.txt | 38 +++ kommander/plugin/specialinformation.cpp | 34 +-- kommander/pluginmanager/CMakeLists.txt | 30 +++ kommander/widget/CMakeLists.txt | 46 ++++ kommander/widget/kmdrmainwindow.cpp | 5 + kommander/widget/kmdrmainwindow.h | 2 +- kommander/widgets/CMakeLists.txt | 49 ++++ kommander/widgets/aboutdialog.cpp | 5 + kommander/widgets/aboutdialog.h | 2 +- kommander/widgets/dialog.cpp | 11 +- kommander/widgets/fontdialog.cpp | 5 + kommander/widgets/fontdialog.h | 2 +- kommander/widgets/popupmenu.cpp | 5 + kommander/widgets/popupmenu.h | 2 +- kommander/widgets/toolbox.cpp | 5 + kommander/widgets/toolbox.h | 3 +- kommander/working/CMakeLists.txt | 6 + .../working/plugintemplate/CMakeLists.txt | 17 ++ kxsldbg/CMakeLists.txt | 84 ++++++ kxsldbg/kxsldbg.h | 2 +- kxsldbg/kxsldbgpart/CMakeLists.txt | 109 ++++++++ kxsldbg/kxsldbgpart/Makefile.am | 3 + .../kxsldbgpart/libqtnotfier/CMakeLists.txt | 34 +++ .../kxsldbgpart/libqtnotfier/xsldbgthread.cpp | 4 +- kxsldbg/kxsldbgpart/libxsldbg/CMakeLists.txt | 54 ++++ kxsldbg/kxsldbgpart/libxsldbg/arraylist.h | 4 + kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h | 4 + kxsldbg/kxsldbgpart/libxsldbg/callstack.h | 4 + kxsldbg/kxsldbgpart/libxsldbg/cmds.h | 4 + kxsldbg/kxsldbgpart/libxsldbg/debug.h | 4 + kxsldbg/kxsldbgpart/libxsldbg/debugXSL.h | 4 + kxsldbg/kxsldbgpart/libxsldbg/files.h | 4 + kxsldbg/kxsldbgpart/libxsldbg/help.h | 4 + kxsldbg/kxsldbgpart/libxsldbg/help_unix.cpp | 10 +- kxsldbg/kxsldbgpart/libxsldbg/options.h | 4 + kxsldbg/kxsldbgpart/libxsldbg/qtnotifier2.h | 4 + kxsldbg/kxsldbgpart/libxsldbg/search.cpp | 7 + kxsldbg/kxsldbgpart/libxsldbg/search.h | 4 + kxsldbg/kxsldbgpart/libxsldbg/utils.h | 4 + kxsldbg/kxsldbgpart/libxsldbg/xsldbg.h | 4 + kxsldbg/kxsldbgpart/libxsldbg/xsldbgevent.h | 4 + kxsldbg/kxsldbgpart/libxsldbg/xsldbgio.h | 4 + kxsldbg/kxsldbgpart/libxsldbg/xsldbgmsg.h | 4 + kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.h | 4 + kxsldbg/xsldbgmain.cpp | 1 - lib/CMakeLists.txt | 2 + lib/compatibility/CMakeLists.txt | 2 + lib/compatibility/tdemdi/CMakeLists.txt | 21 ++ .../tdemdi/qextmdi/CMakeLists.txt | 27 ++ .../tdemdi/qextmdi/kdockwidget.cpp | 3 + .../tdemdi/qextmdi/tdemdimainfrm.cpp | 2 + quanta/components/CMakeLists.txt | 9 +- quanta/components/csseditor/csseditors.ui | 6 +- quanta/components/csseditor/cssselectors.ui | 11 +- .../csseditor/fontfamilychoosers.ui | 11 +- quanta/components/cvsservice/CMakeLists.txt | 21 ++ quanta/components/cvsservice/cvscommitdlgs.ui | 8 +- .../components/cvsservice/cvsupdatetodlgs.ui | 5 + .../debugger/conditionalbreakpointdialogs.ui | 10 +- .../components/debugger/dbgp/dbgpsettingss.ui | 6 +- .../debugger/gubed/gubedsettingss.ui | 6 +- .../components/debugger/pathmapperdialogs.ui | 6 +- quanta/components/framewizard/fmfpeditors.ui | 3 + quanta/components/tableeditor/tableeditors.ui | 3 + quanta/dialogs/actionconfigdialogs.ui | 19 +- quanta/dialogs/donationdialog.ui | 9 +- quanta/dialogs/dtepeditdlgs.ui | 5 + quanta/dialogs/dtepstructureeditdlgs.ui | 8 +- quanta/dialogs/fourbuttonmessagebox.ui | 1 + quanta/dialogs/loadentitydlgs.ui | 4 + quanta/dialogs/settings/abbreviations.ui | 10 +- quanta/dialogs/specialchardialogs.ui | 8 +- quanta/dialogs/tagdialogs/tagmail.ui | 3 + quanta/parsers/dtd/CMakeLists.txt | 4 + quanta/parsers/dtd/dtdparser.cpp | 4 + quanta/parts/kafka/CMakeLists.txt | 2 +- .../parts/kafka/htmldocumentpropertiesui.ui | 5 + quanta/project/eventconfigurationdlgs.ui | 7 +- quanta/project/eventeditordlgs.ui | 3 + quanta/project/membereditdlgs.ui | 16 +- quanta/project/projectnewwebs.ui | 9 +- quanta/project/projectuploads.ui | 9 +- quanta/project/rescanprjdir.ui | 8 +- quanta/project/subprojecteditdlgs.ui | 3 + quanta/project/teammembersdlgs.ui | 13 +- quanta/project/uploadprofiledlgs.ui | 5 + quanta/project/uploadprofilespage.ui | 3 + quanta/src/CMakeLists.txt | 27 +- quanta/src/quanta.cpp | 4 + quanta/src/quanta_init.cpp | 5 + quanta/src/viewmanager.cpp | 4 + quanta/treeviews/CMakeLists.txt | 5 + quanta/treeviews/filestreeview.cpp | 3 + quanta/treeviews/projecttreeview.cpp | 4 + quanta/treeviews/quantapropertiespage.ui | 3 + quanta/treeviews/templatedirform.ui | 6 +- 168 files changed, 2722 insertions(+), 276 deletions(-) create mode 100644 doc/CMakeLists.txt create mode 100644 doc/kimagemapeditor/CMakeLists.txt create mode 100644 doc/klinkstatus/CMakeLists.txt create mode 100644 doc/kommander/CMakeLists.txt create mode 100644 doc/kxsldbg/CMakeLists.txt create mode 100644 doc/man/CMakeLists.txt create mode 100644 doc/man/kimagemapeditor/CMakeLists.txt create mode 100644 doc/man/kimagemapeditor/kimagemapeditor.1 create mode 100644 doc/man/klinkstatus/CMakeLists.txt create mode 100644 doc/man/klinkstatus/klinkstatus.1 create mode 100644 doc/man/kommander/CMakeLists.txt create mode 100644 doc/man/kommander/extractkmdr.1 create mode 100644 doc/man/kommander/kmdr-editor.1 create mode 100644 doc/man/kommander/kmdr-executor.1 create mode 100644 doc/man/kommander/kmdr-plugins.1 create mode 100644 doc/man/kommander/kmdr2po.1 create mode 100644 doc/man/kxsldbg/CMakeLists.txt create mode 100644 doc/man/kxsldbg/kxsldbg.1 create mode 100644 doc/man/quanta/CMakeLists.txt create mode 100644 doc/man/quanta/quanta.1 create mode 100644 doc/man/tdefilereplace/CMakeLists.txt create mode 100644 doc/man/tdefilereplace/tdefilereplace.1 create mode 100644 doc/quanta/CMakeLists.txt create mode 100644 doc/tdefilereplace/CMakeLists.txt create mode 100644 doc/xsldbg/CMakeLists.txt create mode 100644 kimagemapeditor/CMakeLists.txt create mode 100644 kimagemapeditor/pics/CMakeLists.txt create mode 100644 klinkstatus/CMakeLists.txt create mode 100644 klinkstatus/data/CMakeLists.txt create mode 100644 klinkstatus/data/icons/16x16/CMakeLists.txt create mode 100644 klinkstatus/data/icons/CMakeLists.txt create mode 100644 klinkstatus/data/styles/CMakeLists.txt create mode 100644 klinkstatus/src/CMakeLists.txt create mode 100644 klinkstatus/src/cfg/CMakeLists.txt create mode 100644 klinkstatus/src/engine/CMakeLists.txt create mode 100644 klinkstatus/src/parser/CMakeLists.txt create mode 100644 klinkstatus/src/ui/CMakeLists.txt create mode 100644 klinkstatus/src/ui/settings/CMakeLists.txt create mode 100644 klinkstatus/src/utils/CMakeLists.txt create mode 100644 kommander/CMakeLists.txt create mode 100644 kommander/editor/CMakeLists.txt create mode 100644 kommander/editor/pics/CMakeLists.txt create mode 100644 kommander/examples/CMakeLists.txt create mode 100644 kommander/examples/current/CMakeLists.txt create mode 100644 kommander/examples/old/CMakeLists.txt create mode 100644 kommander/examples/tutorial/CMakeLists.txt create mode 100644 kommander/executor/CMakeLists.txt create mode 100644 kommander/factory/CMakeLists.txt create mode 100644 kommander/icons/CMakeLists.txt create mode 100644 kommander/kmdrtools/CMakeLists.txt create mode 100644 kommander/part/CMakeLists.txt create mode 100644 kommander/plugin/CMakeLists.txt create mode 100644 kommander/pluginmanager/CMakeLists.txt create mode 100644 kommander/widget/CMakeLists.txt create mode 100644 kommander/widgets/CMakeLists.txt create mode 100644 kommander/working/CMakeLists.txt create mode 100644 kommander/working/plugintemplate/CMakeLists.txt create mode 100644 kxsldbg/CMakeLists.txt create mode 100644 kxsldbg/kxsldbgpart/CMakeLists.txt create mode 100644 kxsldbg/kxsldbgpart/libqtnotfier/CMakeLists.txt create mode 100644 kxsldbg/kxsldbgpart/libxsldbg/CMakeLists.txt create mode 100644 lib/compatibility/CMakeLists.txt create mode 100644 lib/compatibility/tdemdi/CMakeLists.txt create mode 100644 lib/compatibility/tdemdi/qextmdi/CMakeLists.txt create mode 100644 quanta/components/cvsservice/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index ef86ed13..68fef180 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,17 +15,17 @@ cmake_minimum_required( VERSION 2.8.12 ) ##### general package setup ##################### project( tdewebdev ) +set( VERSION R14.0.10 ) ##### include essential cmake modules ########### +include( FindPkgConfig ) +include( CheckFunctionExists ) +include( CheckIncludeFile ) +include( CheckLibraryExists ) +include( CheckCSourceCompiles ) include( CheckCXXSourceCompiles ) -include( CheckFunctionExists ) -include( CheckIncludeFileCXX ) -include( CheckStructHasMember ) -include( CheckSymbolExists ) -include( CheckTypeSize ) -include( FindPkgConfig ) ##### include our cmake modules ################# @@ -40,19 +40,30 @@ include( TDESetupPaths ) tde_setup_paths( ) -##### optional stuff ############################ +##### optional stuff -# option( WITH_LIBVISUAL "Enable libvisual support" OFF ) -# option( WITH_KONQSIDEBAR "Enable konqsidebar plugin" OFF ) -# option( WITH_XINE "Enable xine-engine support" OFF ) -# option( WITH_LIBGPOD "Enable iPod support from libgpod" OFF ) +option( WITH_ALL_OPTIONS "Enable all optional support" OFF ) +option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} ) +option( WITH_OTHER_EDITORS "Build with other editors than kate" ${WITH_ALL_OPTIONS} ) +option( WITH_QUANTA_CVSSERVICE "Build quanta with cvs service support" ${WITH_ALL_OPTIONS} ) -##### user requested modules #################### +##### user requested modules -option( BUILD_ALL "Build all" OFF ) -option( BUILD_TDEFILEREPLACE "Build tdefilereplace" ${BUILD_ALL} ) -option( BUILD_QUANTA "Build quanta" ${BUILD_ALL} ) +option( BUILD_ALL "Build all" ON ) +option( BUILD_QUANTA "Build quanta" ${BUILD_ALL} ) +option( BUILD_KXSLDBG "Build kxsldbg" ${BUILD_ALL} ) +option( BUILD_KOMMANDER "Build Kommander" ${BUILD_ALL} ) +option( BUILD_KLINKSTATUS "Build klinkstatus" ${BUILD_ALL} ) +option( BUILD_KIMAGEMAPEDITOR "Build kimagemapeditor" ${BUILD_ALL} ) +option( BUILD_TDEFILEREPLACE "Build tdefilereplace" ${BUILD_ALL} ) +option( BUILD_DOC "Build documentation" ${BUILD_ALL} ) + + +##### user defined options + +set( XSLDBG_BIN "xsldbg" CACHE STRING "Name of the xsldbg executable" ) +set( KMDR_EXECUTOR_PATH "${CMAKE_INSTALL_PREFIX}/bin/kmdr-executor" CACHE STRING "Path for the kmdr-executor executable" ) ##### configure checks ########################## @@ -62,24 +73,23 @@ include( ConfigureChecks.cmake ) ###### global compiler settings ################# -add_definitions( - -DHAVE_CONFIG_H - ${TQT_CFLAGS_OTHER} -) +add_definitions( -DHAVE_CONFIG_H -UQT_NO_ASCII_CAST ) -set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include tqt.h" ) +set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" ) set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" ) set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" ) ##### source directories ######################## -if( BUILD_QUANTA ) - add_subdirectory( lib ) -endif( ) - -tde_conditional_add_subdirectory( BUILD_TDEFILEREPLACE tdefilereplace ) -tde_conditional_add_subdirectory( BUILD_QUANTA quanta ) +tde_conditional_add_subdirectory( BUILD_QUANTA lib ) +tde_conditional_add_subdirectory( BUILD_QUANTA quanta ) +tde_conditional_add_subdirectory( BUILD_KXSLDBG kxsldbg ) +tde_conditional_add_subdirectory( BUILD_KOMMANDER kommander ) +tde_conditional_add_subdirectory( BUILD_KLINKSTATUS klinkstatus ) +tde_conditional_add_subdirectory( BUILD_KIMAGEMAPEDITOR kimagemapeditor ) +tde_conditional_add_subdirectory( BUILD_TDEFILEREPLACE tdefilereplace ) +tde_conditional_add_subdirectory( BUILD_DOC doc ) ##### write configure files ##################### diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index b7d6dc10..6b936f76 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -9,43 +9,210 @@ # ################################################# -##### check for gcc visibility support ######### -# FIXME -# This should check for [T]Qt3 visibility support +# required stuff +find_package( TQt ) +find_package( TDE ) + +tde_setup_architecture_flags( ) + +include(TestBigEndian) +test_big_endian(WORDS_BIGENDIAN) + + +##### check for gcc visibility support if( WITH_GCC_VISIBILITY ) - if( NOT UNIX ) - tde_message_fatal(FATAL_ERROR "\ngcc visibility support was requested, but your system is not *NIX" ) - endif( NOT UNIX ) - set( __KDE_HAVE_GCC_VISIBILITY 1 ) - set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden") - set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden") -endif( ) - - -# libxml-2.0 -if( BUILD_QUANTA ) - pkg_search_module( LIBXML libxml-2.0 ) - if( LIBXML_FOUND ) - if( ${LIBXML_VERSION} VERSION_LESS "2.6" ) - tde_message_fatal( "libxml-2.0 version must be at least 2.6" ) - endif( ) - else( ) - tde_message_fatal( "libxml-2.0 are required, but not found on your system" ) - endif( ) -endif( ) - - -# libxslt -if( BUILD_QUANTA ) - pkg_search_module( LIBXSLT libxslt ) - if( NOT LIBXSLT_FOUND ) - tde_message_fatal( "libxslt are required, but not found on your system" ) - endif( ) -endif( ) + tde_setup_gcc_visibility( ) +endif( WITH_GCC_VISIBILITY ) -# required stuff -find_package( Qt ) -find_package( TQt ) -find_package( TDE ) +##### find X11 + +find_package( X11) + + +##### check for headers + +check_include_file( unistd.h HAVE_UNISTD_H ) +check_include_file( string.h HAVE_STRING_H ) +check_include_file( sys/time.h HAVE_SYS_TIME_H ) +check_include_file( sys/stat.h HAVE_SYS_STAT_H ) +check_include_file( stdlib.h HAVE_STDLIB_H ) +check_include_file( stdarg.h HAVE_STDARG_H ) +check_include_file( time.h HAVE_TIME_H ) +check_include_file( locale.h LOCALE_PREFIX ) +check_include_file( pthread.h USE_XSLDBG_AS_THREAD ) + + +##### check for functions + +check_function_exists( gettimeofday HAVE_GETTIMEOFDAY ) +check_function_exists( usleep HAVE_USLEEP ) +check_function_exists( stat HAVE_STAT ) + + +if( (BUILD_QUANTA) OR (BUILD_KXSLDBG) OR (BUILD_KLINKSTATUS) ) + +##### check for icu's c++ standard + + pkg_search_module( ICU_UC icu-uc ) + tde_execute_process( + COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=CXXFLAGS icu-uc + OUTPUT_VARIABLE ICU_CXXFLAGS + ) + + +##### check for libxml-2.0 + + pkg_search_module( LIBXML libxml-2.0 ) + + if( NOT LIBXML_FOUND ) + tde_message_fatal( "libxml-2.0 is required but was not found on your system" ) + elseif( ${LIBXML_VERSION} VERSION_LESS "2.6" ) + tde_message_fatal( "libxml-2.0 version must be, at least, up to 2.6" ) + else() + set( LIBXML_2_5 1 ) + tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES ) + set( CMAKE_REQUIRED_INCLUDES ${LIBXML_INCLUDE_DIRS} ) + set( CMAKE_REQUIRED_LIBRARIES ${LIBXML_LIBRARIES} ) + check_function_exists( xmlSetEntityReferenceFunc HAVE_INCLUDE_FIX ) + tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES ) + endif( NOT LIBXML_FOUND ) + + +##### check for libxslt + + pkg_search_module( LIBXSLT libxslt ) + + if( NOT LIBXSLT_FOUND ) + tde_message_fatal( "libxslt are required, but not found on your system" ) + endif( NOT LIBXSLT_FOUND ) + + + if( BUILD_QUANTA ) + if( WITH_QUANTA_CVSSERVICE ) + tde_import( cervisia ) + find_file( CVSSERVICE_HEADERS NAMES repository_stub.h cvsservice_stub.h cvsjob_stub.h ) + if( CVSSERVICE_HEADERS ) + set( ENABLE_CVSSERVICE 1 ) + set( CVSSERVICE_LIBRARIES "cvsservice-static;cvsservice-shared" CACHE INTERNAL "tdesdk and embedded cvssercice libs" FORCE ) + else() + tde_message_fatal( "csv service (cervisia) is required for quanta but not found on your system." ) + endif() + endif() + + find_program( WGET_EXECUTABLE wget ) + if( NOT WGET_EXECUTABLE ) + message( STATUS "wget (download utility) installation is advised since some quanta's features will make use of It." ) + endif() + + find_program( TIDY_EXECUTABLE NAMES tidy tidy5 ) + if( NOT TIDY_EXECUTABLE ) + message( STATUS "tidy (HTML/XML syntax checker) installation is advised since some quanta's features will make use of It." ) + endif() + + find_program( TDEFILEREPLACE_EXECUTABLE tdefilereplace ) + if( NOT TDEFILEREPLACE_EXECUTABLE ) + message( STATUS "tdefilereplace (Batch search and replace tool - tdeutils) installation is advised since some quanta's features will make use of It." ) + endif() + + find_program( KOMPARE_EXECUTABLE kompare ) + if( NOT KOMPARE_EXECUTABLE ) + message( STATUS "kompare (diff utility - tdesdk) installation is advised since some quanta's features will make use of It." ) + endif() + endif( BUILD_QUANTA ) + + + if( BUILD_KXSLDBG ) + find_package( Threads ) + + tde_save( CMAKE_REQUIRED_INCLUDES ) + set( CMAKE_REQUIRED_INCLUDES ${LIBXML_INCLUDE_DIRS} ) + check_include_file( "libxml/DOCBparser.h" LIBXML_DOCB_ENABLED ) + check_include_file( "libxml/xinclude.h" LIBXML_XINCLUDE_ENABLED ) + tde_restore( CMAKE_REQUIRED_INCLUDES ) + + +##### check for libexslt + + pkg_search_module( LIBEXSLT libexslt ) + if( NOT LIBEXSLT_FOUND ) + tde_message_fatal( "libexlt is required but was not found on your system" ) + endif() + + +##### check for readline + + find_path( READLINE_INCLUDE_DIR + NAMES "readline/readline.h" "readline/history.h" + HINTS "/usr/include" "/usr/local/include" + DOC "Looking for readline header's path" + ) + find_library( READLINE_LIBRARY + NAMES readline history + DOC "Looking for readline libraries" + ) + + if( (READLINE_INCLUDE_DIR) AND ( READLINE_LIBRARY ) ) + set( HAVE_READLINE 1 ) + set( HAVE_HISTORY 1 ) + set( READLINE_LIBRARIES ${READLINE_LIBRARY} ) + set( READLINE_INCLUDE_DIRS ${READLINE_INCLUDE_DIR} ) + else() + tde_message_fatal( "readline is required but was not found on your system" ) + endif() + +##### look for Curses + + tde_save_and_set( CMAKE_REQUIRED_INCLUDES ${READLINE_INCLUDE_DIRS} ) + tde_save_and_set( CMAKE_REQUIRED_LIBRARIES ${READLINE_LIBRARIES} ) + check_c_source_compiles(" + #include + int main(void) + { + char *result = readline(\"prompt\"); + return 0; + }" + BUILD_READLINE_STANDALONE + ) + if( NOT BUILD_READLINE_STANDALONE ) + find_package( Curses ) + if( NOT CURSES_FOUND ) + tde_message_fatal( "(n)curses is required but was not found on your system" ) + endif() + list( APPEND READLINE_LIBRARIES ${CURSES_LIBRARIES} ) + endif() + tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES ) + endif( BUILD_KXSLDBG ) +endif( (BUILD_QUANTA) OR (BUILD_KXSLDBG) OR (BUILD_KLINKSTATUS) ) + + +##### option other editors + +if( WITH_OTHER_EDITORS ) + set( ENABLE_EDITORS 1 ) +endif( WITH_OTHER_EDITORS ) + + +##### define TQTDOCDIR + +if( BUILD_KOMMANDER ) + if( NOT DEFINED TQTDOCDIR ) + find_path( TQT_DOCDIR ntqsql.html + PATHS + ${TQTDIR}/doc/html $ENV{TQTDIR}/doc/html + /opt/trinity/share/tqt3/doc/html + /usr/share/doc/packages/tqt3/html + /usr/lib/tqt3/doc + /usr/lib/tqt3/doc/html + /usr/doc/tqt3/html + /usr/doc/tqt3 + /usr/share/doc/tqt3-doc + /usr/share/tqt3/doc/html + /usr/X11R6/share/doc/tqt/html + ) + if( TQT_DOCDIR ) + set( TQTDOCDIR "${TQT_DOCDIR}" ) + endif() + endif() +endif( BUILD_KOMMANDER ) diff --git a/config.h.cmake b/config.h.cmake index e69de29b..121c38d9 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -0,0 +1,77 @@ +#define VERSION "@VERSION@" + +// Defined if you have fvisibility and fvisibility-inlines-hidden support. +#cmakedefine __KDE_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 to 1 if you have the header file. */ +#cmakedefine HAVE_UNISTD_H 1 + +/* Define to 1 if you have the header file. */ +#cmakedefine HAVE_STRING_H 1 + +/* Define to 1 if you have the header file. */ +#cmakedefine HAVE_SYS_TIME_H 1 + +/* Define to 1 if you have the header file. */ +#cmakedefine HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +#cmakedefine HAVE_STDLIB_H 1 + +/* Define to 1 if you have the header file. */ +#cmakedefine HAVE_STDARG_H 1 + +/* Define to 1 if you have the header file. */ +#cmakedefine HAVE_TIME_H 1 + +/* Define to 1 if you have the header file. */ +#cmakedefine USE_XSLDBG_AS_THREAD 1 + +/* Define to 1 if you have the header file. */ +//#cmakedefine LOCALE_PREFIX 1 + +/* Define to 1 if you have the header file. */ +#cmakedefine HAVE_READLINE @HAVE_READLINE@ + +/* Define to 1 if you have the 'gettimeofday' function */ +#cmakedefine HAVE_GETTIMEOFDAY 1 + +/* Define to 1 if you have the 'usleep' function */ +#cmakedefine HAVE_USLEEP 1 + +/* Define to 1 if you have the 'stat' function */ +#cmakedefine HAVE_STAT 1 + +/* Define to 1 if you have the header file. */ +#cmakedefine HAVE_HISTORY @HAVE_HISTORY@ + +/* Define the name of the xsldbg executable */ +#cmakedefine XSLDBG_BIN "@XSLDBG_BIN@" + +/* Defined if you build build for other editors than Kate */ +#cmakedefine ENABLE_EDITORS 1 + +/* Defined if you build with cvsservice */ +#cmakedefine ENABLE_CVSSERVICE 1 + +/* Defined if libxml-2.0 is up to 2.6 */ +#cmakedefine LIBXML_2_5 1 + +/* Defined if you have header file */ +#cmakedefine LIBXML_DOCB_ENABLED + +/* Defined if you have header file */ +#cmakedefine LIBXML_XINCLUDE_ENABLED + +/* Defined if you have xmlSetEntityReferenceFunc within libxml2 */ +#cmakedefine HAVE_INCLUDE_FIX 1 + +/* Define the kmdr-executor executable path */ +#cmakedefine KMDR_EXECUTOR_PATH "@KMDR_EXECUTOR_PATH@" + +/* Define TQTDOCDIR PATH */ +#cmakedefine TQTDOCDIR "@TQTDOCDIR@" diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt new file mode 100644 index 00000000..f7529066 --- /dev/null +++ b/doc/CMakeLists.txt @@ -0,0 +1,9 @@ +add_subdirectory( man ) + +tde_conditional_add_subdirectory( BUILD_QUANTA quanta ) +tde_conditional_add_subdirectory( BUILD_KXSLDBG kxsldbg ) +tde_conditional_add_subdirectory( BUILD_KXSLDBG xsldbg ) +tde_conditional_add_subdirectory( BUILD_KOMMANDER kommander ) +tde_conditional_add_subdirectory( BUILD_KLINKSTATUS klinkstatus ) +tde_conditional_add_subdirectory( BUILD_KIMAGEMAPEDITOR kimagemapeditor ) +tde_conditional_add_subdirectory( BUILD_TDEFILEREPLACE tdefilereplace ) diff --git a/doc/kimagemapeditor/CMakeLists.txt b/doc/kimagemapeditor/CMakeLists.txt new file mode 100644 index 00000000..cd7e12b9 --- /dev/null +++ b/doc/kimagemapeditor/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION kimagemapeditor ) diff --git a/doc/klinkstatus/CMakeLists.txt b/doc/klinkstatus/CMakeLists.txt new file mode 100644 index 00000000..39be9f18 --- /dev/null +++ b/doc/klinkstatus/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION klinkstatus ) diff --git a/doc/kommander/CMakeLists.txt b/doc/kommander/CMakeLists.txt new file mode 100644 index 00000000..fabb11a5 --- /dev/null +++ b/doc/kommander/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION kommander ) diff --git a/doc/kxsldbg/CMakeLists.txt b/doc/kxsldbg/CMakeLists.txt new file mode 100644 index 00000000..10326ba8 --- /dev/null +++ b/doc/kxsldbg/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION kxsldbg ) diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt new file mode 100644 index 00000000..2112e66e --- /dev/null +++ b/doc/man/CMakeLists.txt @@ -0,0 +1,6 @@ +tde_conditional_add_subdirectory( BUILD_QUANTA quanta ) +tde_conditional_add_subdirectory( BUILD_KXSLDBG kxsldbg ) +tde_conditional_add_subdirectory( BUILD_KOMMANDER kommander ) +tde_conditional_add_subdirectory( BUILD_KLINKSTATUS klinkstatus ) +tde_conditional_add_subdirectory( BUILD_KIMAGEMAPEDITOR kimagemapeditor ) +tde_conditional_add_subdirectory( BUILD_TDEFILEREPLACE tdefilereplace ) diff --git a/doc/man/kimagemapeditor/CMakeLists.txt b/doc/man/kimagemapeditor/CMakeLists.txt new file mode 100644 index 00000000..bf2486b8 --- /dev/null +++ b/doc/man/kimagemapeditor/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES kimagemapeditor.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/kimagemapeditor/kimagemapeditor.1 b/doc/man/kimagemapeditor/kimagemapeditor.1 new file mode 100644 index 00000000..681db952 --- /dev/null +++ b/doc/man/kimagemapeditor/kimagemapeditor.1 @@ -0,0 +1,47 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH KIMAGEMAPEDITOR 1 "October 19, 2004" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +kimagemapeditor \- an HTML image map editor for TDE +.SH SYNOPSIS +.B kimagemapeditor +[ \fIgeneric-options\fP ] +[ \fB\-c, \-\-stdout\fP ] +[ \fIfile\fP ... ] +.SH DESCRIPTION +\fBKImageMapEditor\fP is a tool that allows you to edit image maps in +HTML files. As well as providing a standalone application, +KImageMapEditor makes itself available as a KPart for embedding into +larger applications. +.PP +The files passed on the command line may be either HTML files or image +files. +.PP +This application is part of the official TDE web development module. +.SH OPTIONS +Below are the kimagemapeditor-specific options. +For a full summary of options, run \fIkimagemapeditor \-\-help\fP. +.TP +\fB\-c, \-\-stdout\fP +Write the resulting HTML code to standard output when exiting. +.SH SEE ALSO +.BR quanta (1). +.SH AUTHOR +KImageMapEditor was written by Jan Schafer . +.br +This manual page was prepared by Ben Burton +for the Debian GNU/Linux system (but may be used by others). diff --git a/doc/man/klinkstatus/CMakeLists.txt b/doc/man/klinkstatus/CMakeLists.txt new file mode 100644 index 00000000..555edb4f --- /dev/null +++ b/doc/man/klinkstatus/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES klinkstatus.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/klinkstatus/klinkstatus.1 b/doc/man/klinkstatus/klinkstatus.1 new file mode 100644 index 00000000..c1b2b61b --- /dev/null +++ b/doc/man/klinkstatus/klinkstatus.1 @@ -0,0 +1,52 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH KLINKSTATUS 1 "October 19, 2004" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +klinkstatus \- a web link validity checker for TDE +.SH SYNOPSIS +.B klinkstatus +[ \fIgeneric-options\fP ] +[ \fIURL\fP ] +.SH DESCRIPTION +\fBKLinkStatus\fP is a web link validity checker for TDE. It allows you to +search internal and external links throughout your web site. Simply +point it to a single page and choose the depth to search. +.PP +You can also check local files, or files over ftp:, fish: or any other +KIO protocols. For performance, links can be checked simultaneously. +.PP +This application is part of the official TDE web development module. +.SH OPTIONS +For a full summary of options, run \fIklinkstatus \-\-help\fP. +.SH SEE ALSO +.BR quanta (1). +.PP +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/klinkstatus/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/klinkstatus/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdewebdev-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/klinkstatus/\fP. +.SH AUTHOR +KLinkStatus was written by Paulo Moura Guedes . +.br +This manual page was prepared by Ben Burton +for the Debian GNU/Linux system (but may be used by others). diff --git a/doc/man/kommander/CMakeLists.txt b/doc/man/kommander/CMakeLists.txt new file mode 100644 index 00000000..92110a2d --- /dev/null +++ b/doc/man/kommander/CMakeLists.txt @@ -0,0 +1,11 @@ +INSTALL( + FILES + kmdr2po.1 + kmdr-executor.1 + extractkmdr.1 + kmdr-editor.1 + kmdr-plugins.1 + + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/kommander/extractkmdr.1 b/doc/man/kommander/extractkmdr.1 new file mode 100644 index 00000000..5dfad28d --- /dev/null +++ b/doc/man/kommander/extractkmdr.1 @@ -0,0 +1,53 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH EXTRACTKMDR 1 "March 25, 2005" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +extractkmdr \- extract message strings from Kommander dialogs +.SH SYNOPSIS +.B extractkmdr +[ \fB\-\-tag=\fP\fIname\fP ... ] +[ \fB\-\-context=\fP\fIname\fP ] +\fIfile\fP ... +.SH DESCRIPTION +\fBextractkmdr\fP finds all text tags and other message strings within the +given Kommander dialog (.kmdr) files. It then writes the corresponding +\fIi18n()\fP calls to standard output (usually redirected to rc.cpp) +so that xgettext can parse them. +.PP +To create a complete gettext message file (PO-file) from a Kommander +dialog, the +.BR kmdr2po (1) +utility is more convenient. +.PP +This utility is part of the TDE web development module. +.SH OPTIONS +.TP +\fB\-\-tag=\fP\fIname\fP +Extract also the contents of the tag \fIname\fP. +This option may be used multiple times +(e.g., \-\-tag=tag_one \-\-tag=tag_two). +.TP +\fB\-\-context=\fP\fIname\fP +Give all i18n() calls the given context: i18n("\fIname\fP", ...). +.SH SEE ALSO +.BR kmdr-editor (1), +.BR kmdr-executor (1), +.BR kmdr-plugins (1), +.BR kmdr2po (1). +.SH AUTHOR +This manual page was prepared by Ben Burton +for the Debian GNU/Linux system (but may be used by others). diff --git a/doc/man/kommander/kmdr-editor.1 b/doc/man/kommander/kmdr-editor.1 new file mode 100644 index 00000000..5ecb637c --- /dev/null +++ b/doc/man/kommander/kmdr-editor.1 @@ -0,0 +1,70 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH KMDR-EDITOR 1 "March 25, 2005" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +kmdr-editor \- editor for the Kommander visual dialog building tool +.SH SYNOPSIS +.B kmdr-editor +[ \fIgeneric-options\fP ] +.SH DESCRIPTION +\fBKommander\fP is a visual dialog building tool whose +primary objective is to create +as much functionality as possible without using any scripting language. +.PP +More specifically, Kommander is a set of tools that allow you to create +dynamic GUI dialogs that generate, based on their state, a piece of text. +The piece of text can be a command line to a program, any piece of code, +business documents that contain a lot of repititious or templated text and so +on. The resulting generated text can then be executed as a command line +program (hence the name "Kommander"), written to a file, passed to a +script for extended processing, and literally anything else you can +think of. The best part of it all? You aren't required to write a single +line of code! +.PP +This editor (\fBkmdr-editor\fP) allows you to lay out your entire dialog +through a graphical +user interface. Once a dialog has been created by the editor, it is +saved as a file with extension \fI.kmdr\fP. The dialog that this XML file +represents can then be run instantly with the executor (\fBkmdr-executor\fP). +.PP +This application is part of the official TDE web development module. +.SH OPTIONS +For a full summary of options, run \fIkmdr-editor \-\-help\fP. +.SH SEE ALSO +.BR extractkmdr (1), +.BR kmdr-executor (1), +.BR kmdr-plugins (1), +.BR kmdr2po (1), +.BR quanta (1). +.PP +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kommander/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kommander/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdewebdev-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kommander/\fP. +.SH AUTHOR +Kommander was written by Marc Britton , +Eric Laffoon , Michal Rudolf , +Andras Mantia and Trolltech. +.br +This manual page was prepared by Ben Burton +for the Debian GNU/Linux system (but may be used by others). diff --git a/doc/man/kommander/kmdr-executor.1 b/doc/man/kommander/kmdr-executor.1 new file mode 100644 index 00000000..cc197d69 --- /dev/null +++ b/doc/man/kommander/kmdr-executor.1 @@ -0,0 +1,87 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH KMDR-EXECUTOR 1 "March 25, 2005" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +kmdr-executor \- executor for the Kommander visual dialog building tool +.SH SYNOPSIS +.B kmdr-executor +[ \fIgeneric-options\fP ] +[ \fB\-c\fP \fIcatalog\fP ] +{ \fB\-\-stdin\fP | \fIfile\fP } +[ \fIarg\fP ... ] +.SH DESCRIPTION +\fBKommander\fP is a visual dialog building tool whose +primary objective is to create +as much functionality as possible without using any scripting language. +.PP +More specifically, Kommander is a set of tools that allow you to +create dynamic GUI dialogs +that generate, based on their state, a piece of text. The piece of text +can be a command line to a program, any piece of code, business +documents that contain a lot of repititious or templated text and so on. +The resulting generated text can then be executed as a command line +program (hence the name "Kommander"), written to a file, passed to a +script for extended processing, and literally anything else you can +think of. The best part of it all? You aren't required to write a single +line of code! +.PP +This executor (\fBkmdr-executor\fP) is used to run a dialog that has +been created by the +dialog editor (\fBkmdr-editor\fP). Either the dialog file (generally +a \fI.kmdr\fP file) should be passed on +the command-line, or else the option \-\-stdin should be passed and the +dialog description should be supplied as XML on standard input. +Additional arguments for the dialog itself may also be supplied. +.PP +This application is part of the official TDE web development module. +.SH OPTIONS +Below are the kommander-specific options. +For a full summary of options, run \fIkmdr-editor \-\-help\fP. +.TP +\fB\-c\fP \fIcatalog\fP +Use the given catalog for translation. +.TP +\fB\-\-stdin\fP +Read the XML dialog description from standard input instead of passing +a \fI.kmdr\fP file on the command-line. +.TP +\fIarg\fP ... +Additional arguments to be passed on to the dialog itself. +.SH SEE ALSO +.BR extractkmdr (1), +.BR kmdr-editor (1), +.BR kmdr-plugins (1), +.BR kmdr2po (1), +.BR quanta (1). +.PP +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kommander/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kommander/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdewebdev-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kommander/\fP. +.SH AUTHOR +Kommander was written by Marc Britton , +Eric Laffoon , Michal Rudolf , +Andras Mantia and Trolltech. +.br +This manual page was prepared by Ben Burton +for the Debian GNU/Linux system (but may be used by others). diff --git a/doc/man/kommander/kmdr-plugins.1 b/doc/man/kommander/kmdr-plugins.1 new file mode 100644 index 00000000..5a8d222b --- /dev/null +++ b/doc/man/kommander/kmdr-plugins.1 @@ -0,0 +1,71 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH KMDR-PLUGINS 1 "March 25, 2005" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +kmdr-plugins \- plugin manager for the Kommander visual dialog building tool +.SH SYNOPSIS +.B kmdr-plugins +[ \fIgeneric-options\fP ] +.SH DESCRIPTION +\fBKommander\fP is a visual dialog building tool whose +primary objective is to create +as much functionality as possible without using any scripting language. +.PP +It is possible to extend Kommander by writing your own plugins. The +plugin manager +.B kmdr-plugins +is a simple user interface to Kommander's configuration file, and +can be used to select which external plugins Kommander should load. +Closing the plugin manager will automatically save any changes. +.PP +By loading a plugin, the custom widgets that it defines +will become available in Kommander's menus and toolbars, and these +custom widgets can be used in Kommander dialogs. +.PP +See +.BR kmdr-editor (1) +and +.BR kmdr-executor (1) +for a more detailed description of Kommander. +.PP +This application is part of the official TDE web development module. +.SH OPTIONS +For a full summary of options, run \fIkmdr-plugins \-\-help\fP. +.SH SEE ALSO +.BR extractkmdr (1), +.BR kmdr-editor (1), +.BR kmdr-executor (1), +.BR kmdr2po (1), +.BR quanta (1). +.PP +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kommander/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kommander/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdewebdev-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kommander/\fP. +.SH AUTHOR +Kommander was written by Marc Britton , +Eric Laffoon , Michal Rudolf , +Andras Mantia and Trolltech. +.br +This manual page was prepared by Ben Burton +for the Debian GNU/Linux system (but may be used by others). diff --git a/doc/man/kommander/kmdr2po.1 b/doc/man/kommander/kmdr2po.1 new file mode 100644 index 00000000..4693644e --- /dev/null +++ b/doc/man/kommander/kmdr2po.1 @@ -0,0 +1,47 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH KMDR2PO 1 "March 25, 2005" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +kmdr2po \- create a PO-file from a Kommander dialog +.SH SYNOPSIS +.B kmdr2po +.I dialog +.SH DESCRIPTION +\fBkmdr2po\fP creates a gettext message file (PO-file) from the given +Kommander dialog (.kmdr) file. It does this by using +.BR extractkmdr (1) +to extract all text tags and other message strings, and then running +.BR xgettext (1) +to create the corresponding PO-file. +.PP +The final PO-file will be created in the current directory. Its name +will be derived from the dialog filename by replacing the suffix +\fI.kmdr\fP with \fI.po\fP. +.PP +This utility is part of the TDE web development module. +.SH WARNING +A temporary file named \fI_from_rc.cc\fP in the current directory +will be created and subsequently removed. +.SH SEE ALSO +.BR extractkmdr (1), +.BR kmdr-editor (1), +.BR kmdr-executor (1), +.BR kmdr-plugins (1), +.BR xgettext (1). +.SH AUTHOR +This manual page was prepared by Ben Burton +for the Debian GNU/Linux system (but may be used by others). diff --git a/doc/man/kxsldbg/CMakeLists.txt b/doc/man/kxsldbg/CMakeLists.txt new file mode 100644 index 00000000..bcba60ea --- /dev/null +++ b/doc/man/kxsldbg/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES kxsldbg.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/kxsldbg/kxsldbg.1 b/doc/man/kxsldbg/kxsldbg.1 new file mode 100644 index 00000000..11b551f6 --- /dev/null +++ b/doc/man/kxsldbg/kxsldbg.1 @@ -0,0 +1,54 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH KXSLDBG 1 "October 19, 2004" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +kxsldbg \- a graphical XSLT debugger for TDE +.SH SYNOPSIS +.B kxsldbg +[ \fIgeneric-options\fP ] +.SH DESCRIPTION +\fBKXSLDbg\fP is a graphical debugger for XSLT scripts. It provides +a graphical front-end to the text-based debugger +.BR xsldbg (1). +KXSLDbg can be run as a standalone application or as an embedded TDE part. +.PP +XSLT is an XML language for defining transformations of XML files from +XML to some other arbitrary format, such as XML, HTML, plain text, etc., +using standard XSLT stylesheets. +.PP +This application is part of the official TDE web development module. +.SH OPTIONS +For a full summary of options, run \fIkxsldbg \-\-help\fP. +.SH SEE ALSO +.BR quanta (1), +.BR xsldbg (1). +.PP +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kxsldbg/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kxsldbg/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdewebdev-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kxsldbg/\fP. +.SH AUTHOR +KXSLDbg was written by Keith Isdale . +.br +This manual page was prepared by Ben Burton +for the Debian GNU/Linux system (but may be used by others). diff --git a/doc/man/quanta/CMakeLists.txt b/doc/man/quanta/CMakeLists.txt new file mode 100644 index 00000000..de356ee8 --- /dev/null +++ b/doc/man/quanta/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES quanta.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/quanta/quanta.1 b/doc/man/quanta/quanta.1 new file mode 100644 index 00000000..5640297b --- /dev/null +++ b/doc/man/quanta/quanta.1 @@ -0,0 +1,71 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH QUANTA 1 "October 19, 2004" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +quanta \- a web development environment for TDE +.SH SYNOPSIS +.B quanta +[ \fIgeneric-options\fP ] [ \fB\-\-unique\fP ] +[ \fB\-\-nologo\fP ] [ \fIfile\fP ] +.SH DESCRIPTION +\fBQuanta Plus\fP is a web development environment for working with HTML +and associated languages. It strives to be neutral and transparent +to all markup languages, while supporting popular web-based scripting +languages, CSS and other emerging W3C recommendations. +.PP +Quanta Plus supports many external components, debuggers and other tools +for web development, several of which are shipped with the TDE web development +module. +.PP +Quanta Plus is not in any way affiliated with any commercial versions +of Quanta. The primary coders from the original team left the GPLed +version to produce a commercial product. +.PP +This application is part of the official TDE web development module. +.SH OPTIONS +Below are the quanta-specific options. For a full summary of options, +run \fIquanta \-\-help\fP. +.TP +\fB\-\-unique\fP +Run as a one-instance application. +.TP +\fB\-\-nologo\fP +Do not show the logo during startup. +.SH SEE ALSO +.BR kimagemapeditor (1), +.BR klinkstatus (1), +.BR kmdr-editor (1), +.BR kmdr-executor (1), +.BR kxsldbg (1). +.PP +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/quanta/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/quanta/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdewebdev-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/quanta/\fP. +.SH AUTHOR +Quanta was written by Eric Laffoon , Andras Mantia + and others including inactive authors +Dmitry Poplavsky and Alexander Yakovlev . +.br +This manual page was prepared by Ben Burton +for the Debian GNU/Linux system (but may be used by others). diff --git a/doc/man/tdefilereplace/CMakeLists.txt b/doc/man/tdefilereplace/CMakeLists.txt new file mode 100644 index 00000000..e01cb047 --- /dev/null +++ b/doc/man/tdefilereplace/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES tdefilereplace.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/tdefilereplace/tdefilereplace.1 b/doc/man/tdefilereplace/tdefilereplace.1 new file mode 100644 index 00000000..63557c92 --- /dev/null +++ b/doc/man/tdefilereplace/tdefilereplace.1 @@ -0,0 +1,160 @@ +.\" This file was generated by (a slightly modified) kdemangen.pl and edited by hand +.TH TDEFILEREPLACE 1 "June 2006" "Trinity Desktop Environment" "Batch search and replace tool" +.SH NAME +tdefilereplace +\- Batch search and replace tool +.SH SYNOPSIS +\fBtdefilereplace\fP [Qt\-options] [TDE\-options] [PATH] +.SH DESCRIPTION +\fBKFileReplace\fP is an application used to search and replace a list of strings in a file tree. The strings may be literal or Qt\-like regular expressions. There are also other options to tune your search. +.SH OPTIONS +.SS +.SS Arguments: +.TP +.B PATH +Starting folder +.SS Generic options: +.TP +.B \-\-help +Show help about options +.TP +.B \-\-help\-qt +Show Qt specific options +.TP +.B \-\-help\-tde +Show TDE specific options +.TP +.B \-\-help\-all +Show all options +.TP +.B \-\-author +Show author information +.TP +.B \-v, \-\-version +Show version information +.TP +.B \-\-license +Show license information +.TP +.B \-\- +End of options +.SS +.SS TDE options: +.TP +.B \-\-caption +Use 'caption' as name in the titlebar +.TP +.B \-\-icon +Use 'icon' as the application icon +.TP +.B \-\-miniicon +Use 'icon' as the icon in the titlebar +.TP +.B \-\-config +Use alternative configuration file +.TP +.B \-\-dcopserver +Use the DCOP Server specified by 'server' +.TP +.B \-\-nocrashhandler +Disable crash handler, to get core dumps +.TP +.B \-\-waitforwm +Waits for a WM_NET compatible windowmanager +.TP +.B \-\-style