diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 00000000..0e66b1b6 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,121 @@ +############################################ +# # +# Improvements and feedbacks are welcome # +# # +# This file is released under GPL >= 3 # +# # +############################################ + + +cmake_minimum_required( VERSION 2.8 ) + + +#### general package setup + +project( tdeedu ) +set( VERSION R14.1.0 ) + + +#### include essential cmake modules + +include( FindPkgConfig ) +include( CheckFunctionExists ) +include( CheckSymbolExists ) +include( CheckIncludeFile ) +include( CheckLibraryExists ) +include( CheckCSourceCompiles ) +include( CheckCXXSourceCompiles ) + + +#### include our cmake modules + +set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" ) +include( TDEMacros ) +enable_testing( ) + + +##### setup install paths + +include( TDESetupPaths ) +tde_setup_paths( ) + + +##### optional stuff + +option( WITH_ALL_OPTIONS "Enable all optional support" OFF ) +option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} ) +option( WITH_ARTS "Enable aRts support" ${WITH_ALL_OPTIONS} ) +option( WITH_OCAML_SOLVER "Enable ocalm/facile solver (kalzium)" ${WITH_ALL_OPTIONS} ) +option( WITH_LIBUSB "Enable libusb support (kstars)" ${WITH_ALL_OPTIONS} ) +option( WITH_V4L "Enable video4linux support (kstars)" ${WITH_ALL_OPTIONS} ) + + +##### user requested modules + +option( BUILD_ALL "Build all" ON ) + +option( BUILD_BLINKEN "Build blinken" ${BUILD_ALL} ) +option( BUILD_KALZIUM "Build kalzium" ${BUILD_ALL} ) +option( BUILD_KANAGRAM "Build kanagram" ${BUILD_ALL} ) +option( BUILD_KBRUCH "Build kbruch" ${BUILD_ALL} ) +option( BUILD_KEDUCA "Build keduca" ${BUILD_ALL} ) +option( BUILD_KGEOGRAPHY "Build kgeography" ${BUILD_ALL} ) +option( BUILD_KHANGMAN "Build khangman" ${BUILD_ALL} ) +option( BUILD_KIG "Build kig" ${BUILD_ALL} ) +option( BUILD_KITEN "Build kiten" ${BUILD_ALL} ) +option( BUILD_KLATIN "Build klatin" ${BUILD_ALL} ) +option( BUILD_KLETTRES "Build klettres" ${BUILD_ALL} ) +option( BUILD_KMPLOT "Build kmplot" ${BUILD_ALL} ) +option( BUILD_KPERCENTAGE "Build kpercentage" ${BUILD_ALL} ) +option( BUILD_KSTARS "Build kstars" ${BUILD_ALL} ) +option( BUILD_KTOUCH "Build ktouch" ${BUILD_ALL} ) +option( BUILD_KTURTLE "Build kturtle" ${BUILD_ALL} ) +option( BUILD_KVERBOS "Build kverbos" ${BUILD_ALL} ) +option( BUILD_KVOCTRAIN "Build kvoctrain" ${BUILD_ALL} ) +option( BUILD_KWORDQUIZ "Build kwordquiz" ${BUILD_ALL} ) +option( BUILD_DOC "Build documentation" ${BUILD_ALL} ) + + +##### configure checks + +include( ConfigureChecks.cmake ) + + +###### global compiler settings + +add_definitions( -DHAVE_CONFIG_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" ) + + +##### directories + +add_subdirectory( applnk ) +add_subdirectory( libtdeedu ) +tde_conditional_add_subdirectory( BUILD_BLINKEN blinken ) +tde_conditional_add_subdirectory( BUILD_KALZIUM kalzium ) +tde_conditional_add_subdirectory( BUILD_KANAGRAM kanagram ) +tde_conditional_add_subdirectory( BUILD_KBRUCH kbruch ) +tde_conditional_add_subdirectory( BUILD_KEDUCA keduca ) +tde_conditional_add_subdirectory( BUILD_KGEOGRAPHY kgeography ) +tde_conditional_add_subdirectory( BUILD_KHANGMAN khangman ) +tde_conditional_add_subdirectory( BUILD_KIG kig ) +tde_conditional_add_subdirectory( BUILD_KITEN kiten ) +tde_conditional_add_subdirectory( BUILD_KLATIN klatin ) +tde_conditional_add_subdirectory( BUILD_KLETTRES klettres ) +tde_conditional_add_subdirectory( BUILD_KMPLOT kmplot ) +tde_conditional_add_subdirectory( BUILD_KPERCENTAGE kpercentage ) +tde_conditional_add_subdirectory( BUILD_KSTARS kstars ) +tde_conditional_add_subdirectory( BUILD_KTOUCH ktouch ) +tde_conditional_add_subdirectory( BUILD_KTURTLE kturtle ) +tde_conditional_add_subdirectory( BUILD_KVERBOS kverbos ) +tde_conditional_add_subdirectory( BUILD_KVOCTRAIN kvoctrain ) +tde_conditional_add_subdirectory( BUILD_KWORDQUIZ kwordquiz ) +tde_conditional_add_subdirectory( BUILD_DOC doc ) + + +##### write configure files + +configure_file( config.h.cmake config.h @ONLY ) diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake new file mode 100644 index 00000000..62b6a5ee --- /dev/null +++ b/ConfigureChecks.cmake @@ -0,0 +1,83 @@ +########################################### +# # +# Improvements and feedback are welcome # +# # +# This file is released under GPL >= 3 # +# # +########################################### + +# required stuff +find_package( TQt ) +find_package( TDE ) + +tde_setup_architecture_flags( ) + +include(TestBigEndian) +test_big_endian(WORDS_BIGENDIAN) + +tde_setup_largefiles( ) + + +##### check for gcc visibility support + +if( WITH_GCC_VISIBILITY ) + tde_setup_gcc_visibility( ) +endif( WITH_GCC_VISIBILITY ) + + +##### check for arts + +if( WITH_ARTS ) + pkg_search_module( ARTS arts ) + if( NOT ARTS_FOUND ) + tde_message_fatal( "aRts is requested but was not found on your system" ) + endif( NOT ARTS_FOUND ) + set( WITHOUT_ARTS false ) +endif( WITH_ARTS ) + +if( NOT WITH_ARTS ) + set( WITHOUT_ARTS 1 ) +endif( NOT WITH_ARTS ) + + +##### check for Python + +if( BUILD_KIG ) + + find_package( PythonInterp ) + find_package( PythonLibs ) + if( NOT PYTHONLIBS_FOUND ) + tde_message_fatal( "Python is required, but was not found on your system" ) + endif( NOT PYTHONLIBS_FOUND ) + + if( "${PYTHON_VERSION_STRING}" VERSION_LESS "3.0" ) + set( KIG_Python_init "initkig" + CACHE STRING "KIG: Init function for python-boost" ) + else( ) + set( KIG_Python_init "PyInit_kig" + CACHE STRING "KIG: Init function for python-boost" ) + endif( ) + +endif( ) + + +##### check for Doxygen + +if( BUILD_DOC AND BUILD_KIG ) + find_program( DOXYGEN_BINARY NAMES doxygen ) + if( NOT DOXYGEN_BINARY ) + tde_message_fatal( "Doxygen is required to build Kig scripting api documentation, but was not found on your system" ) + endif( ) +endif( ) + + +##### check for boost + +if( BUILD_KIG OR BUILD_KBRUCH ) + + find_package( Boost ) + if( NOT Boost_FOUND ) + tde_message_fatal( "Boost is required, but was not found on your system" ) + endif( NOT Boost_FOUND ) + +endif( BUILD_KIG OR BUILD_KBRUCH ) diff --git a/applnk/CMakeLists.txt b/applnk/CMakeLists.txt new file mode 100644 index 00000000..86b65c6a --- /dev/null +++ b/applnk/CMakeLists.txt @@ -0,0 +1,31 @@ +##### desktop files + +install( + FILES languages.desktop + DESTINATION ${APPS_INSTALL_DIR}/Edutainment/Languages + RENAME .directory +) + +install( + FILES mathematics.desktop + DESTINATION ${APPS_INSTALL_DIR}/Edutainment/Mathematics + RENAME .directory +) + +install( + FILES science.desktop + DESTINATION ${APPS_INSTALL_DIR}/Edutainment/Science + RENAME .directory +) + +install( + FILES tools.desktop + DESTINATION ${APPS_INSTALL_DIR}/Edutainment/Tools + RENAME .directory +) + +install( + FILES miscellaneous.desktop + DESTINATION ${APPS_INSTALL_DIR}/Edutainment/Miscellaneous + RENAME .directory +) diff --git a/blinken/CMakeLists.txt b/blinken/CMakeLists.txt new file mode 100644 index 00000000..253f2a9a --- /dev/null +++ b/blinken/CMakeLists.txt @@ -0,0 +1,13 @@ +add_subdirectory( src ) +add_subdirectory( images ) +add_subdirectory( icons ) +add_subdirectory( sounds ) +add_subdirectory( fonts ) + + +##### other data + +install( + FILES README.packagers + DESTINATION ${DATA_INSTALL_DIR}/blinken +) diff --git a/blinken/fonts/CMakeLists.txt b/blinken/fonts/CMakeLists.txt new file mode 100644 index 00000000..c44516c4 --- /dev/null +++ b/blinken/fonts/CMakeLists.txt @@ -0,0 +1,4 @@ +install( + FILES steve.ttf + DESTINATION ${DATA_INSTALL_DIR}/blinken/fonts +) diff --git a/blinken/icons/CMakeLists.txt b/blinken/icons/CMakeLists.txt new file mode 100644 index 00000000..08f69ef5 --- /dev/null +++ b/blinken/icons/CMakeLists.txt @@ -0,0 +1 @@ +tde_install_icons( blinken ) diff --git a/blinken/images/CMakeLists.txt b/blinken/images/CMakeLists.txt new file mode 100644 index 00000000..03d97abb --- /dev/null +++ b/blinken/images/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) + +install( + FILES ${_pics} + DESTINATION ${DATA_INSTALL_DIR}/blinken/images +) diff --git a/blinken/images/graphics_sources.tar.gz b/blinken/images/graphics_sources.tar.gz deleted file mode 100644 index dc0de367..00000000 Binary files a/blinken/images/graphics_sources.tar.gz and /dev/null differ diff --git a/blinken/images/graphics_sources/README b/blinken/images/graphics_sources/README new file mode 100644 index 00000000..4917d67d --- /dev/null +++ b/blinken/images/graphics_sources/README @@ -0,0 +1,7 @@ +Graphics by Danny Allen (danny@dannyallen.co.uk) +Packaged 5th August 2005 + +Included here are the cleaned-up SVG sources from my creation of the blinKen graphics. +I have packaged them up for future reference and modification. + +Enjoy! \ No newline at end of file diff --git a/blinken/images/graphics_sources/final_blank.svg b/blinken/images/graphics_sources/final_blank.svg new file mode 100644 index 00000000..315cf17e --- /dev/null +++ b/blinken/images/graphics_sources/final_blank.svg @@ -0,0 +1,189 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/blinken/images/graphics_sources/final_buttons.svg b/blinken/images/graphics_sources/final_buttons.svg new file mode 100644 index 00000000..c58cdb61 --- /dev/null +++ b/blinken/images/graphics_sources/final_buttons.svg @@ -0,0 +1,487 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/blinken/sounds/CMakeLists.txt b/blinken/sounds/CMakeLists.txt new file mode 100644 index 00000000..a25bf70b --- /dev/null +++ b/blinken/sounds/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _wavs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.wav ) + +install( + FILES ${_wavs} + DESTINATION ${DATA_INSTALL_DIR}/blinken/sounds +) diff --git a/blinken/src/CMakeLists.txt b/blinken/src/CMakeLists.txt new file mode 100644 index 00000000..f8ccd4b7 --- /dev/null +++ b/blinken/src/CMakeLists.txt @@ -0,0 +1,51 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### blinken (executable) + +tde_add_executable( blinken AUTOMOC + + SOURCES + main.cpp + blinken.cpp + artsplayer.cpp + blinkengame.cpp + number.cpp + highscoredialog.cpp + counter.cpp + fontutils.cpp + fontchecker.cpp + button.cpp + settings.kcfgc + LINK + tdecore-shared + tdeui-shared + tdeio-shared + artskde-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES blinken.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES blinken.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) diff --git a/config.h.cmake b/config.h.cmake new file mode 100644 index 00000000..8fd3dc61 --- /dev/null +++ b/config.h.cmake @@ -0,0 +1,23 @@ +#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@ + +// blinken and kanagram can build without aRts support. +#cmakedefine WITHOUT_ARTS 1 + +// Defined to 1 if you have ocaml/facile. +#cmakedefine HAVE_FACILE 1 + +// Define the version for the kig app. +#define KIGVERSION "0.10.7" + +// Define the Python interpreter (python2 vs python3) +#cmakedefine KIG_Python_init @KIG_Python_init@ + +// Defined to 1 if you have header file. +#cmakedefine HAVE_LINUX_VIDEODEV2_H 1 diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt new file mode 100644 index 00000000..0e60f1e9 --- /dev/null +++ b/doc/CMakeLists.txt @@ -0,0 +1,21 @@ +add_subdirectory( man ) + +tde_conditional_add_subdirectory( BUILD_BLINKEN blinken ) +tde_conditional_add_subdirectory( BUILD_KALZIUM kalzium ) +tde_conditional_add_subdirectory( BUILD_KANAGRAM kanagram ) +tde_conditional_add_subdirectory( BUILD_KBRUCH kbruch ) +tde_conditional_add_subdirectory( BUILD_KEDUCA keduca ) +tde_conditional_add_subdirectory( BUILD_KGEOGRAPHY kgeography ) +tde_conditional_add_subdirectory( BUILD_KHANGMAN khangman ) +tde_conditional_add_subdirectory( BUILD_KIG kig ) +tde_conditional_add_subdirectory( BUILD_KITEN kiten ) +tde_conditional_add_subdirectory( BUILD_KLATIN klatin ) +tde_conditional_add_subdirectory( BUILD_KLETTRES klettres ) +tde_conditional_add_subdirectory( BUILD_KMPLOT kmplot ) +tde_conditional_add_subdirectory( BUILD_KPERCENTAGE kpercentage ) +tde_conditional_add_subdirectory( BUILD_KSTARS kstars ) +tde_conditional_add_subdirectory( BUILD_KTOUCH ktouch ) +tde_conditional_add_subdirectory( BUILD_KTURTLE kturtle ) +tde_conditional_add_subdirectory( BUILD_KVERBOS kverbos ) +tde_conditional_add_subdirectory( BUILD_KVOCTRAIN kvoctrain ) +tde_conditional_add_subdirectory( BUILD_KWORDQUIZ kwordquiz ) diff --git a/doc/blinken/CMakeLists.txt b/doc/blinken/CMakeLists.txt new file mode 100644 index 00000000..ae534de9 --- /dev/null +++ b/doc/blinken/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION blinken ) diff --git a/doc/kalzium/CMakeLists.txt b/doc/kalzium/CMakeLists.txt new file mode 100644 index 00000000..8bfae6e4 --- /dev/null +++ b/doc/kalzium/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION kalzium ) diff --git a/doc/kanagram/CMakeLists.txt b/doc/kanagram/CMakeLists.txt new file mode 100644 index 00000000..110146d9 --- /dev/null +++ b/doc/kanagram/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION kanagram ) diff --git a/doc/kbruch/CMakeLists.txt b/doc/kbruch/CMakeLists.txt new file mode 100644 index 00000000..dec0c1eb --- /dev/null +++ b/doc/kbruch/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION kbruch ) diff --git a/doc/keduca/CMakeLists.txt b/doc/keduca/CMakeLists.txt new file mode 100644 index 00000000..e5d4a280 --- /dev/null +++ b/doc/keduca/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION keduca ) diff --git a/doc/kgeography/CMakeLists.txt b/doc/kgeography/CMakeLists.txt new file mode 100644 index 00000000..02ae11d0 --- /dev/null +++ b/doc/kgeography/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION kgeography ) diff --git a/doc/khangman/CMakeLists.txt b/doc/khangman/CMakeLists.txt new file mode 100644 index 00000000..906ffa45 --- /dev/null +++ b/doc/khangman/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION khangman ) diff --git a/doc/kig/CMakeLists.txt b/doc/kig/CMakeLists.txt new file mode 100644 index 00000000..79f1f924 --- /dev/null +++ b/doc/kig/CMakeLists.txt @@ -0,0 +1,3 @@ +add_subdirectory( scripting-api ) + +tde_create_handbook( DESTINATION kig ) diff --git a/doc/kig/scripting-api/CMakeLists.txt b/doc/kig/scripting-api/CMakeLists.txt new file mode 100644 index 00000000..4da90801 --- /dev/null +++ b/doc/kig/scripting-api/CMakeLists.txt @@ -0,0 +1,18 @@ +set( top_srcdir ${CMAKE_SOURCE_DIR} ) +set( srcdir ${CMAKE_CURRENT_SOURCE_DIR} ) + +configure_file( Doxyfile.scripting-api.in Doxyfile.scripting-api @ONLY ) + +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) +file( COPY ${_pics} DESTINATION ${CMAKE_CURRENT_BINARY_DIR} ) + +add_custom_target( kig-scripting-apidox ALL + COMMAND ${DOXYGEN_BINARY} Doxyfile.scripting-api + COMMENT "Build Kig scripting-api documentation" +) + +install( + DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/build/html/ + DESTINATION ${HTML_INSTALL_DIR}/en/kig/scripting-api + PATTERN "${CMAKE_CURRENT_BINARY_DIR}/build/html/*" +) diff --git a/doc/kiten/CMakeLists.txt b/doc/kiten/CMakeLists.txt new file mode 100644 index 00000000..97c4b7a7 --- /dev/null +++ b/doc/kiten/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION kiten ) diff --git a/doc/klatin/CMakeLists.txt b/doc/klatin/CMakeLists.txt new file mode 100644 index 00000000..fbca68e6 --- /dev/null +++ b/doc/klatin/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION klatin ) diff --git a/doc/klettres/CMakeLists.txt b/doc/klettres/CMakeLists.txt new file mode 100644 index 00000000..69286f2f --- /dev/null +++ b/doc/klettres/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION klettres ) diff --git a/doc/kmplot/CMakeLists.txt b/doc/kmplot/CMakeLists.txt new file mode 100644 index 00000000..38ef89ec --- /dev/null +++ b/doc/kmplot/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION kmplot ) diff --git a/doc/kpercentage/CMakeLists.txt b/doc/kpercentage/CMakeLists.txt new file mode 100644 index 00000000..c4339aef --- /dev/null +++ b/doc/kpercentage/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION kpercentage ) diff --git a/doc/kstars/CMakeLists.txt b/doc/kstars/CMakeLists.txt new file mode 100644 index 00000000..e946b889 --- /dev/null +++ b/doc/kstars/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION kstars ) diff --git a/doc/ktouch/CMakeLists.txt b/doc/ktouch/CMakeLists.txt new file mode 100644 index 00000000..fd05afa3 --- /dev/null +++ b/doc/ktouch/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION ktouch ) diff --git a/doc/kturtle/CMakeLists.txt b/doc/kturtle/CMakeLists.txt new file mode 100644 index 00000000..ef3991af --- /dev/null +++ b/doc/kturtle/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION kturtle ) diff --git a/doc/kverbos/CMakeLists.txt b/doc/kverbos/CMakeLists.txt new file mode 100644 index 00000000..be43cbae --- /dev/null +++ b/doc/kverbos/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION kverbos ) diff --git a/doc/kvoctrain/CMakeLists.txt b/doc/kvoctrain/CMakeLists.txt new file mode 100644 index 00000000..a29c3751 --- /dev/null +++ b/doc/kvoctrain/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION kvoctrain ) diff --git a/doc/kwordquiz/CMakeLists.txt b/doc/kwordquiz/CMakeLists.txt new file mode 100644 index 00000000..33b30fe2 --- /dev/null +++ b/doc/kwordquiz/CMakeLists.txt @@ -0,0 +1 @@ +tde_create_handbook( DESTINATION kwordquiz ) diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt new file mode 100644 index 00000000..6f2b90f2 --- /dev/null +++ b/doc/man/CMakeLists.txt @@ -0,0 +1,20 @@ +tde_conditional_add_subdirectory( BUILD_BLINKEN blinken ) +tde_conditional_add_subdirectory( BUILD_KALZIUM kalzium ) +tde_conditional_add_subdirectory( BUILD_KANAGRAM kanagram ) +tde_conditional_add_subdirectory( BUILD_KBRUCH kbruch ) +tde_conditional_add_subdirectory( BUILD_KEDUCA keduca ) +tde_conditional_add_subdirectory( BUILD_KGEOGRAPHY kgeography ) +tde_conditional_add_subdirectory( BUILD_KHANGMAN khangman ) +tde_conditional_add_subdirectory( BUILD_KIG kig ) +tde_conditional_add_subdirectory( BUILD_KITEN kiten ) +tde_conditional_add_subdirectory( BUILD_KLATIN klatin ) +tde_conditional_add_subdirectory( BUILD_KLETTRES klettres ) +tde_conditional_add_subdirectory( BUILD_KMPLOT kmplot ) +tde_conditional_add_subdirectory( BUILD_KPERCENTAGE kpercentage ) +tde_conditional_add_subdirectory( BUILD_KSTARS indi ) +tde_conditional_add_subdirectory( BUILD_KSTARS kstars ) +tde_conditional_add_subdirectory( BUILD_KTOUCH ktouch ) +tde_conditional_add_subdirectory( BUILD_KTURTLE kturtle ) +tde_conditional_add_subdirectory( BUILD_KVERBOS kverbos ) +tde_conditional_add_subdirectory( BUILD_KVOCTRAIN kvoctrain ) +tde_conditional_add_subdirectory( BUILD_KWORDQUIZ kwordquiz ) diff --git a/doc/man/blinken/CMakeLists.txt b/doc/man/blinken/CMakeLists.txt new file mode 100644 index 00000000..9b8f71ca --- /dev/null +++ b/doc/man/blinken/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES blinken.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/blinken/blinken.1 b/doc/man/blinken/blinken.1 new file mode 100644 index 00000000..745feac0 --- /dev/null +++ b/doc/man/blinken/blinken.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 BLINKEN 1 "December 13, 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 +blinken \- electronic memory game for TDE +.SH SYNOPSIS +.B blinken +.RI "[ " generic-options " ]" +.SH DESCRIPTION +\fBBlinken\fP is based on an electronic game released in 1978 called +``Simon Says'', which challenges players to remember sequences of +increasing length. On the face of the device, there are 4 different +color buttons, each with its own distinctive sound. These buttons +light up randomly, creating the sequence that the player must then +recall. If the player is successful in remembering the sequence of +lights in the correct order, they advance to the next stage, where an +identical sequence with one extra step is presented. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +For a full summary of options, run \fIblinken \-\-help\fP. +.SH SEE ALSO +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/blinken/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/blinken/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/blinken/\fP. +.SH AUTHOR +Blinken was written by Albert Astals Cid and +Danny Allen . +.br +This manual page was prepared by Daniel Schepler +for the Debian GNU/Linux system (but may be used by others). diff --git a/doc/man/indi/CMakeLists.txt b/doc/man/indi/CMakeLists.txt new file mode 100644 index 00000000..451eb394 --- /dev/null +++ b/doc/man/indi/CMakeLists.txt @@ -0,0 +1,17 @@ +INSTALL( + FILES + celestrongps.1 + indiserver.1 + lx200classic.1 + temma.1 + lx200_16.1 + lx200generic.1 + v4ldriver.1 + fliccd.1 + lx200autostar.1 + lx200gps.1 + v4lphilips.1 + + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/indi/celestrongps.1 b/doc/man/indi/celestrongps.1 new file mode 100644 index 00000000..45adf8fd --- /dev/null +++ b/doc/man/indi/celestrongps.1 @@ -0,0 +1,69 @@ +.\" 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 CELESTRONGPS 1 "March 16, 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 +celestrongps \- Celestron GPS driver for INDI telescope control +.SH SYNOPSIS +.B celestrongps +[ \fB\-v\fP ] +.SH DESCRIPTION +KStars allows you to configure +and control astronomical instruments such as telescopes and focusers via +the INDI protocol. \fBcelestrongps\fP is a device driver for supporting +particular types of external hardware. +.PP +You should normally not need to run this driver directly. Instead you +should use KStars to configure and operate your astronomical instruments. +Most operations can be found under the Devices menu within KStars. +.PP +KStars will start the INDI server internally, and the INDI server will +in turn start this device driver. +.PP +Much more detailed information can be found in the KStars Handbook, as +described below. +.PP +KStars is a graphical desktop planetarium for TDE, and forms part of +the official TDE edutainment module. +.SH OPTIONS +.TP +\fB\-v\fP +Write more verbose output to stderr. +.SH SEE ALSO +.BR indiserver (1), +.BR kstars (1). +.PP +The KStars Handbook contains detailed information on how to use INDI for +telescope control. You can read this handbook in the TDE Help Centre. +Alternatively you can enter the URL +\fIhelp:/kstars/indi.html\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kstars/indi.html\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kstars/indi.html\fP. +.SH AUTHOR +KStars was written by Jason Harris , +Heiko Evermann , Thomas Kabelmann , +Pablo de Vicente , Jasem Mutlaq , +Carsten Niehaus , Mark Hollomon , +Vincent Jagot and +Martin Piskernig . +.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/indi/fliccd.1 b/doc/man/indi/fliccd.1 new file mode 100644 index 00000000..3a0a73c0 --- /dev/null +++ b/doc/man/indi/fliccd.1 @@ -0,0 +1,69 @@ +.\" 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 FLICCD 1 "March 16, 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 +fliccd \- Finger Lakes Instruments CCD driver for INDI telescope control +.SH SYNOPSIS +.B v4ldriver +[ \fB\-v\fP ] +.SH DESCRIPTION +KStars allows you to configure +and control astronomical instruments such as telescopes and focusers via +the INDI protocol. \fBfliccd\fP is a device driver for supporting +particular types of external hardware. +.PP +You should normally not need to run this driver directly. Instead you +should use KStars to configure and operate your astronomical instruments. +Most operations can be found under the Devices menu within KStars. +.PP +KStars will start the INDI server internally, and the INDI server will +in turn start this device driver. +.PP +Much more detailed information can be found in the KStars Handbook, as +described below. +.PP +KStars is a graphical desktop planetarium for TDE, and forms part of +the official TDE edutainment module. +.SH OPTIONS +.TP +\fB\-v\fP +Write more verbose output to stderr. +.SH SEE ALSO +.BR indiserver (1), +.BR kstars (1). +.PP +The KStars Handbook contains detailed information on how to use INDI for +telescope control. You can read this handbook in the TDE Help Centre. +Alternatively you can enter the URL +\fIhelp:/kstars/indi.html\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kstars/indi.html\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kstars/indi.html\fP. +.SH AUTHOR +KStars was written by Jason Harris , +Heiko Evermann , Thomas Kabelmann , +Pablo de Vicente , Jasem Mutlaq , +Carsten Niehaus , Mark Hollomon , +Vincent Jagot and +Martin Piskernig . +.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/indi/indiserver.1 b/doc/man/indi/indiserver.1 new file mode 100644 index 00000000..d11ee6dc --- /dev/null +++ b/doc/man/indi/indiserver.1 @@ -0,0 +1,123 @@ +.\" 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 INDISERVER 1 "October 16, 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 +indiserver \- INDI server for telescope control under KStars +.SH SYNOPSIS +.B indiserver +[ \fB\-p\fP \fIport\fP ] +[ \fB\-r\fP \fIattempts\fP ] +[ \fB\-vv\fP ] +\fIdriver\fP [ \fIdriver\fP ... ] +.SH DESCRIPTION +KStars allows you to configure +and control astronomical instruments such as telescopes and focusers via +the INDI protocol. \fBindiserver\fP is a server that sits between the +KStars user interface and the low-level hardware drivers. +.PP +The INDI server is a network server, in that either local or remote clients +may connect to it to control astronomical instruments. The INDI server must +be running on the machine that is physically connected to the +astronomical instruments. +.PP +Note that there is no need for you to run the INDI server directly. Using +the KStars device manager, you can set up astronomical instruments and start +or stop the INDI server all from within KStars. +.PP +You may however choose to run the INDI server manually from the command +line. In this case you must pass the names of one or more drivers for +individual astronomical instruments. The current list of available +drivers is: +.PP +.RS +celestrongps (Celestron GPS) +.br +fliccd (Finger Lakes Instruments CCD) +.br +lx200_16 (LX200 16") +.br +lx200autostar (LX200 Autostar) +.br +lx200classic (LX200 Classic) +.br +lx200generic (LX200 Generic) +.br +lx200gps (LX200 GPS) +.br +temma (Temma Takahashi) +.br +v4ldriver (Video4Linux Generic) +.br +v4lphilips (Philips Webcam) +.RE +.PP +Much more detailed information can be found in the KStars Handbook, as +described below. +.PP +KStars is a graphical desktop planetarium for TDE, and forms part of +the official TDE edutainment module. +.SH OPTIONS +.TP +\fB\-p\fP \fIport\fP +Specify the port to listen on (defaults to 7624). +.TP +\fB\-r\fP \fIattempts\fP +Specify the maximum number of restart attempts for each driver (defaults to 2). +.TP +\fB\-vv\fP +Write more verbose output to stderr. +.SH EXAMPLE +To start an INDI server running an LX200 GPS driver and listening to +connections on port 8000: +.PP +.RS +\fIprompt$\fP indiserver -p 8000 lx200gps +.RE +.SH SEE ALSO +.BR celestrongps (1), +.BR fliccd (1), +.BR lx200_16 (1), +.BR lx200autostar (1), +.BR lx200classic (1), +.BR lx200generic (1), +.BR lx200gps (1), +.BR kstars (1), +.BR temma (1), +.BR v4ldriver (1), +.BR v4lphilips (1). +.PP +The KStars Handbook contains detailed information on how to use INDI for +telescope control. You can read this handbook in the TDE Help Centre. +Alternatively you can enter the URL +\fIhelp:/kstars/indi.html\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kstars/indi.html\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kstars/indi.html\fP. +.SH AUTHOR +KStars was written by Jason Harris , +Heiko Evermann , Thomas Kabelmann , +Pablo de Vicente , Jasem Mutlaq , +Carsten Niehaus , Mark Hollomon , +Vincent Jagot and +Martin Piskernig . +.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/indi/lx200_16.1 b/doc/man/indi/lx200_16.1 new file mode 100644 index 00000000..d169ebf1 --- /dev/null +++ b/doc/man/indi/lx200_16.1 @@ -0,0 +1,69 @@ +.\" 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 LX200_16 1 "March 16, 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 +lx200_16 \- LX200 16" driver for INDI telescope control +.SH SYNOPSIS +.B lx200_16 +[ \fB\-v\fP ] +.SH DESCRIPTION +KStars allows you to configure +and control astronomical instruments such as telescopes and focusers via +the INDI protocol. \fBlx200_16\fP is a device driver for supporting +particular types of external hardware. +.PP +You should normally not need to run this driver directly. Instead you +should use KStars to configure and operate your astronomical instruments. +Most operations can be found under the Devices menu within KStars. +.PP +KStars will start the INDI server internally, and the INDI server will +in turn start this device driver. +.PP +Much more detailed information can be found in the KStars Handbook, as +described below. +.PP +KStars is a graphical desktop planetarium for TDE, and forms part of +the official TDE edutainment module. +.SH OPTIONS +.TP +\fB\-v\fP +Write more verbose output to stderr. +.SH SEE ALSO +.BR indiserver (1), +.BR kstars (1). +.PP +The KStars Handbook contains detailed information on how to use INDI for +telescope control. You can read this handbook in the TDE Help Centre. +Alternatively you can enter the URL +\fIhelp:/kstars/indi.html\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kstars/indi.html\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kstars/indi.html\fP. +.SH AUTHOR +KStars was written by Jason Harris , +Heiko Evermann , Thomas Kabelmann , +Pablo de Vicente , Jasem Mutlaq , +Carsten Niehaus , Mark Hollomon , +Vincent Jagot and +Martin Piskernig . +.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/indi/lx200autostar.1 b/doc/man/indi/lx200autostar.1 new file mode 100644 index 00000000..b13bbffe --- /dev/null +++ b/doc/man/indi/lx200autostar.1 @@ -0,0 +1,69 @@ +.\" 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 LX200AUTOSTAR 1 "March 16, 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 +lx200autostar \- LX200 Autostar driver for INDI telescope control +.SH SYNOPSIS +.B lx200autostar +[ \fB\-v\fP ] +.SH DESCRIPTION +KStars allows you to configure +and control astronomical instruments such as telescopes and focusers via +the INDI protocol. \fBlx200autostar\fP is a device driver for supporting +particular types of external hardware. +.PP +You should normally not need to run this driver directly. Instead you +should use KStars to configure and operate your astronomical instruments. +Most operations can be found under the Devices menu within KStars. +.PP +KStars will start the INDI server internally, and the INDI server will +in turn start this device driver. +.PP +Much more detailed information can be found in the KStars Handbook, as +described below. +.PP +KStars is a graphical desktop planetarium for TDE, and forms part of +the official TDE edutainment module. +.SH OPTIONS +.TP +\fB\-v\fP +Write more verbose output to stderr. +.SH SEE ALSO +.BR indiserver (1), +.BR kstars (1). +.PP +The KStars Handbook contains detailed information on how to use INDI for +telescope control. You can read this handbook in the TDE Help Centre. +Alternatively you can enter the URL +\fIhelp:/kstars/indi.html\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kstars/indi.html\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kstars/indi.html\fP. +.SH AUTHOR +KStars was written by Jason Harris , +Heiko Evermann , Thomas Kabelmann , +Pablo de Vicente , Jasem Mutlaq , +Carsten Niehaus , Mark Hollomon , +Vincent Jagot and +Martin Piskernig . +.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/indi/lx200classic.1 b/doc/man/indi/lx200classic.1 new file mode 100644 index 00000000..a37527a8 --- /dev/null +++ b/doc/man/indi/lx200classic.1 @@ -0,0 +1,69 @@ +.\" 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 LX200CLASSIC 1 "March 16, 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 +lx200classic \- LX200 Classic driver for INDI telescope control +.SH SYNOPSIS +.B lx200classic +[ \fB\-v\fP ] +.SH DESCRIPTION +KStars allows you to configure +and control astronomical instruments such as telescopes and focusers via +the INDI protocol. \fBlx200classic\fP is a device driver for supporting +particular types of external hardware. +.PP +You should normally not need to run this driver directly. Instead you +should use KStars to configure and operate your astronomical instruments. +Most operations can be found under the Devices menu within KStars. +.PP +KStars will start the INDI server internally, and the INDI server will +in turn start this device driver. +.PP +Much more detailed information can be found in the KStars Handbook, as +described below. +.PP +KStars is a graphical desktop planetarium for TDE, and forms part of +the official TDE edutainment module. +.SH OPTIONS +.TP +\fB\-v\fP +Write more verbose output to stderr. +.SH SEE ALSO +.BR indiserver (1), +.BR kstars (1). +.PP +The KStars Handbook contains detailed information on how to use INDI for +telescope control. You can read this handbook in the TDE Help Centre. +Alternatively you can enter the URL +\fIhelp:/kstars/indi.html\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kstars/indi.html\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kstars/indi.html\fP. +.SH AUTHOR +KStars was written by Jason Harris , +Heiko Evermann , Thomas Kabelmann , +Pablo de Vicente , Jasem Mutlaq , +Carsten Niehaus , Mark Hollomon , +Vincent Jagot and +Martin Piskernig . +.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/indi/lx200generic.1 b/doc/man/indi/lx200generic.1 new file mode 100644 index 00000000..b37ccfee --- /dev/null +++ b/doc/man/indi/lx200generic.1 @@ -0,0 +1,69 @@ +.\" 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 LX200GENERIC 1 "March 16, 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 +lx200generic \- LX200 Generic driver for INDI telescope control +.SH SYNOPSIS +.B lx200generic +[ \fB\-v\fP ] +.SH DESCRIPTION +KStars allows you to configure +and control astronomical instruments such as telescopes and focusers via +the INDI protocol. \fBlx200generic\fP is a device driver for supporting +particular types of external hardware. +.PP +You should normally not need to run this driver directly. Instead you +should use KStars to configure and operate your astronomical instruments. +Most operations can be found under the Devices menu within KStars. +.PP +KStars will start the INDI server internally, and the INDI server will +in turn start this device driver. +.PP +Much more detailed information can be found in the KStars Handbook, as +described below. +.PP +KStars is a graphical desktop planetarium for TDE, and forms part of +the official TDE edutainment module. +.SH OPTIONS +.TP +\fB\-v\fP +Write more verbose output to stderr. +.SH SEE ALSO +.BR indiserver (1), +.BR kstars (1). +.PP +The KStars Handbook contains detailed information on how to use INDI for +telescope control. You can read this handbook in the TDE Help Centre. +Alternatively you can enter the URL +\fIhelp:/kstars/indi.html\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kstars/indi.html\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kstars/indi.html\fP. +.SH AUTHOR +KStars was written by Jason Harris , +Heiko Evermann , Thomas Kabelmann , +Pablo de Vicente , Jasem Mutlaq , +Carsten Niehaus , Mark Hollomon , +Vincent Jagot and +Martin Piskernig . +.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/indi/lx200gps.1 b/doc/man/indi/lx200gps.1 new file mode 100644 index 00000000..ea0d2fc8 --- /dev/null +++ b/doc/man/indi/lx200gps.1 @@ -0,0 +1,69 @@ +.\" 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 LX200GPS 1 "March 16, 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 +lx200gps \- LX200 GPS driver for INDI telescope control +.SH SYNOPSIS +.B lx200gps +[ \fB\-v\fP ] +.SH DESCRIPTION +KStars allows you to configure +and control astronomical instruments such as telescopes and focusers via +the INDI protocol. \fBlx200gps\fP is a device driver for supporting +particular types of external hardware. +.PP +You should normally not need to run this driver directly. Instead you +should use KStars to configure and operate your astronomical instruments. +Most operations can be found under the Devices menu within KStars. +.PP +KStars will start the INDI server internally, and the INDI server will +in turn start this device driver. +.PP +Much more detailed information can be found in the KStars Handbook, as +described below. +.PP +KStars is a graphical desktop planetarium for TDE, and forms part of +the official TDE edutainment module. +.SH OPTIONS +.TP +\fB\-v\fP +Write more verbose output to stderr. +.SH SEE ALSO +.BR indiserver (1), +.BR kstars (1). +.PP +The KStars Handbook contains detailed information on how to use INDI for +telescope control. You can read this handbook in the TDE Help Centre. +Alternatively you can enter the URL +\fIhelp:/kstars/indi.html\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kstars/indi.html\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kstars/indi.html\fP. +.SH AUTHOR +KStars was written by Jason Harris , +Heiko Evermann , Thomas Kabelmann , +Pablo de Vicente , Jasem Mutlaq , +Carsten Niehaus , Mark Hollomon , +Vincent Jagot and +Martin Piskernig . +.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/indi/temma.1 b/doc/man/indi/temma.1 new file mode 100644 index 00000000..46b9e4ea --- /dev/null +++ b/doc/man/indi/temma.1 @@ -0,0 +1,69 @@ +.\" 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 TEMMA 1 "March 16, 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 +temma \- Temma Takahashi driver for INDI telescope control +.SH SYNOPSIS +.B temma +[ \fB\-v\fP ] +.SH DESCRIPTION +KStars allows you to configure +and control astronomical instruments such as telescopes and focusers via +the INDI protocol. \fBtemma\fP is a device driver for supporting +particular types of external hardware. +.PP +You should normally not need to run this driver directly. Instead you +should use KStars to configure and operate your astronomical instruments. +Most operations can be found under the Devices menu within KStars. +.PP +KStars will start the INDI server internally, and the INDI server will +in turn start this device driver. +.PP +Much more detailed information can be found in the KStars Handbook, as +described below. +.PP +KStars is a graphical desktop planetarium for TDE, and forms part of +the official TDE edutainment module. +.SH OPTIONS +.TP +\fB\-v\fP +Write more verbose output to stderr. +.SH SEE ALSO +.BR indiserver (1), +.BR kstars (1). +.PP +The KStars Handbook contains detailed information on how to use INDI for +telescope control. You can read this handbook in the TDE Help Centre. +Alternatively you can enter the URL +\fIhelp:/kstars/indi.html\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kstars/indi.html\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kstars/indi.html\fP. +.SH AUTHOR +KStars was written by Jason Harris , +Heiko Evermann , Thomas Kabelmann , +Pablo de Vicente , Jasem Mutlaq , +Carsten Niehaus , Mark Hollomon , +Vincent Jagot and +Martin Piskernig . +.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/indi/v4ldriver.1 b/doc/man/indi/v4ldriver.1 new file mode 100644 index 00000000..9220a16b --- /dev/null +++ b/doc/man/indi/v4ldriver.1 @@ -0,0 +1,69 @@ +.\" 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 V4LDRIVER 1 "March 16, 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 +v4ldriver \- Video4Linux Generic driver for INDI telescope control +.SH SYNOPSIS +.B v4ldriver +[ \fB\-v\fP ] +.SH DESCRIPTION +KStars allows you to configure +and control astronomical instruments such as telescopes and focusers via +the INDI protocol. \fBv4ldriver\fP is a device driver for supporting +particular types of external hardware. +.PP +You should normally not need to run this driver directly. Instead you +should use KStars to configure and operate your astronomical instruments. +Most operations can be found under the Devices menu within KStars. +.PP +KStars will start the INDI server internally, and the INDI server will +in turn start this device driver. +.PP +Much more detailed information can be found in the KStars Handbook, as +described below. +.PP +KStars is a graphical desktop planetarium for TDE, and forms part of +the official TDE edutainment module. +.SH OPTIONS +.TP +\fB\-v\fP +Write more verbose output to stderr. +.SH SEE ALSO +.BR indiserver (1), +.BR kstars (1). +.PP +The KStars Handbook contains detailed information on how to use INDI for +telescope control. You can read this handbook in the TDE Help Centre. +Alternatively you can enter the URL +\fIhelp:/kstars/indi.html\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kstars/indi.html\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kstars/indi.html\fP. +.SH AUTHOR +KStars was written by Jason Harris , +Heiko Evermann , Thomas Kabelmann , +Pablo de Vicente , Jasem Mutlaq , +Carsten Niehaus , Mark Hollomon , +Vincent Jagot and +Martin Piskernig . +.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/indi/v4lphilips.1 b/doc/man/indi/v4lphilips.1 new file mode 100644 index 00000000..1553652d --- /dev/null +++ b/doc/man/indi/v4lphilips.1 @@ -0,0 +1,69 @@ +.\" 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 V4LPHILIPS 1 "March 16, 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 +v4lphilips \- Philips Webcam driver for INDI telescope control +.SH SYNOPSIS +.B v4lphilips +[ \fB\-v\fP ] +.SH DESCRIPTION +KStars allows you to configure +and control astronomical instruments such as telescopes and focusers via +the INDI protocol. \fBv4lphilips\fP is a device driver for supporting +particular types of external hardware. +.PP +You should normally not need to run this driver directly. Instead you +should use KStars to configure and operate your astronomical instruments. +Most operations can be found under the Devices menu within KStars. +.PP +KStars will start the INDI server internally, and the INDI server will +in turn start this device driver. +.PP +Much more detailed information can be found in the KStars Handbook, as +described below. +.PP +KStars is a graphical desktop planetarium for TDE, and forms part of +the official TDE edutainment module. +.SH OPTIONS +.TP +\fB\-v\fP +Write more verbose output to stderr. +.SH SEE ALSO +.BR indiserver (1), +.BR kstars (1). +.PP +The KStars Handbook contains detailed information on how to use INDI for +telescope control. You can read this handbook in the TDE Help Centre. +Alternatively you can enter the URL +\fIhelp:/kstars/indi.html\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kstars/indi.html\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kstars/indi.html\fP. +.SH AUTHOR +KStars was written by Jason Harris , +Heiko Evermann , Thomas Kabelmann , +Pablo de Vicente , Jasem Mutlaq , +Carsten Niehaus , Mark Hollomon , +Vincent Jagot and +Martin Piskernig . +.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/kalzium/CMakeLists.txt b/doc/man/kalzium/CMakeLists.txt new file mode 100644 index 00000000..937a8237 --- /dev/null +++ b/doc/man/kalzium/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES kalzium.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/kalzium/kalzium.1 b/doc/man/kalzium/kalzium.1 new file mode 100644 index 00000000..b01903f1 --- /dev/null +++ b/doc/man/kalzium/kalzium.1 @@ -0,0 +1,55 @@ +.\" 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 KALZIUM 1 "March 16, 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 +kalzium \- a chemistry teaching tool for TDE +.SH SYNOPSIS +.B kalzium +.RI "[ " generic-options " ]" +.SH DESCRIPTION +\fBKalzium\fP is a program which shows you the Periodic System of +Elements (PSE). You can use Kalzium to search for information about +the elements or to learn facts about the PSE. +.PP +Kalzium provides you with all kinds of information about the PSE. You +can look up lots of information about the elements and also use +visualisations to show them. +.PP +You can visualize the Periodic Table of the Elements by blocks, groups, +acidic behavior or different states of matter. You can also plot data for a +range of elements (weight, mean weight, density, IE1, IE2, electronegativity), +and you can go back in time to see what elements were known at a given date. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +For a full summary of options, run \fIkalzium \-\-help\fP. +.SH SEE ALSO +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kalzium/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kalzium/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kalzium/\fP. +.SH AUTHOR +Kalzium was written by Carsten Niehaus . +.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/kanagram/CMakeLists.txt b/doc/man/kanagram/CMakeLists.txt new file mode 100644 index 00000000..ef8290d9 --- /dev/null +++ b/doc/man/kanagram/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES kanagram.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/kanagram/kanagram.1 b/doc/man/kanagram/kanagram.1 new file mode 100644 index 00000000..0955cd6d --- /dev/null +++ b/doc/man/kanagram/kanagram.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 KANAGRAM 1 "December 13, 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 +kanagram \- a letter order game for TDE +.SH SYNOPSIS +.B kanagram +.RI "[ " generic-options " ]" +.SH DESCRIPTION +\fBKAnagram\fP is a game that is based on the word/letter puzzles that the +author played as a child. A word is picked at random and displayed with +its letters in a messed order, with difficulty dependent on the chosen level. +You have an unlimited number of attempts, and scores are kept. +.PP +It is a very simply constructed game, with 3 dificulty levels of play. +It is fully customizable, allowing you to write in your own words and set +your own 'look and feel' of the game. It is aimed for children aged 10+ +because of the difficulty, but of course everyone is welcome to try. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +For a full summary of options, run \fIkanagram \-\-help\fP. +.SH SEE ALSO +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kanagram/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kanagram/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kanagram/\fP. +.SH AUTHOR +KAnagram was written by Joshua Keel and +Danny Allen . +.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/kbruch/CMakeLists.txt b/doc/man/kbruch/CMakeLists.txt new file mode 100644 index 00000000..315b557f --- /dev/null +++ b/doc/man/kbruch/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES kbruch.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/kbruch/kbruch.1 b/doc/man/kbruch/kbruch.1 new file mode 100644 index 00000000..68655e82 --- /dev/null +++ b/doc/man/kbruch/kbruch.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 KBRUCH 1 "October 16, 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 +kbruch \- a fraction calculation teaching tool for TDE +.SH SYNOPSIS +.B kbruch +.RI "[ " generic-options " ]" +.SH DESCRIPTION +\fBKBruch\fP is a small program to practice calculating with fractions. +Different exercises are provided for this purpose. The program checks +the user's input and gives feedback. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +For a full summary of options, run \fIkbruch \-\-help\fP. +.SH SEE ALSO +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kbruch/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kbruch/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kbruch/\fP. +.SH AUTHOR +KBruch was written by Sebastian Stein , +Eva Brucherseifer and others. +.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/keduca/CMakeLists.txt b/doc/man/keduca/CMakeLists.txt new file mode 100644 index 00000000..3a78fe2d --- /dev/null +++ b/doc/man/keduca/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES keduca.1 keducabuilder.1 keduca-shrinker.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/keduca/keduca-shrinker.1 b/doc/man/keduca/keduca-shrinker.1 new file mode 100644 index 00000000..57de2841 --- /dev/null +++ b/doc/man/keduca/keduca-shrinker.1 @@ -0,0 +1,66 @@ +.\" 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 KEDUCA-SHRINKER 1 "September 1, 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 +keduca-shrinker \- extract a random sample from a large KEduca test file +.SH SYNOPSIS +.B keduca-shrinker +[ \fB\-o, \-\-output\fP=\fIfile\fP ] +[ \fB\-n, \-\-number\fP=\fInumber\fP ] +\fB\-i, \-\-input\fP=\fIfile\fP +.SH DESCRIPTION +\fBkeduca-shrinker\fP is a small program that reads a large KEduca +test file (.edu) and extracts a random sample of questions to create a +new smaller test file. For example, it could take a 100 question test +file as input and then output a test file with 20 questions selected at +random. +.PP +Note that the input file \fBmust\fP be uncompressed. When you save the +original test in the KEduca Editor, you should explicitly clear the "Compress +the file" checkbox. Otherwise keduca-shrinker will not be able to read it. +.PP +\fBKEduca\fP is a flash-card application for working with interactive +form-based tests. It is shipped as part of the official TDE edutainment +module. +.SH OPTIONS +.TP +\fB\-i, \-\-input\fP=\fIfile\fP +The large KEduca test file that should be read as input. +.TP +\fB\-o, \-\-output\fP=\fIfile\fP +The smaller KEduca test file that should be written as output. +This defaults to the input filename with \fI-shrinked\fP appended to its +base. For example, if the input file is \fIfoo.edu\fP then the +default output file is \fIfoo-shrinked.edu\fP. +.TP +\fB\-n, \-\-number\fP=\fInumber\fP +The number of random questions to select from the input file. +This defaults to 20. +.SH SEE ALSO +.BR keduca (1), +.BR keducabuilder (1). +.PP +This tool is not yet part of the official TDE edutainment module. +Its upstream site is +\fIhttps://gna.org/projects/keduca-shrinker/\fP. +.SH AUTHOR +keduca-shrinker was written by Mathieu Roy . +It is licensed under the GNU General Public License (see the script +itself for details). +.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/keduca/keduca.1 b/doc/man/keduca/keduca.1 new file mode 100644 index 00000000..634977aa --- /dev/null +++ b/doc/man/keduca/keduca.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 KEDUCA 1 "September 1, 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 +keduca \- interactive form-based tests for TDE +.SH SYNOPSIS +.B keduca +.RI "[ " generic-options " ]" +[ \fIfile\fP ] +.SH DESCRIPTION +\fBKEduca\fP is a flash-card application that allows you to work with +interactive form-based tests. This application is used only for viewing +and taking these tests \- you can create and edit tests using the +related application \fBKEducaBuilder\fP. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +For a full summary of options, run \fIkeduca \-\-help\fP. +.SH SEE ALSO +.BR keduca-shrinker (1), +.BR keducabuilder (1). +.PP +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/keduca/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/keduca/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/keduca/\fP. +.SH AUTHOR +KEduca was written by Javier Campos , +Klas Kalass , Henrique Pinto +and Anne-Marie Mahfouf . +.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/keduca/keducabuilder.1 b/doc/man/keduca/keducabuilder.1 new file mode 100644 index 00000000..a6431a28 --- /dev/null +++ b/doc/man/keduca/keducabuilder.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 KEDUCABUILDER 1 "September 1, 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 +keducabuilder \- test/exam editor for KEduca +.SH SYNOPSIS +.B keducabuilder +.RI "[ " generic-options " ]" +[ \fIfile\fP ] +.SH DESCRIPTION +\fBKEducaBuilder\fP is the test editor for \fBKEduca\fP, a flash-card +application for working with interactive form-based tests. +KEducaBuilder is used to create and edit these tests, whereas KEduca +itself can be used to view and take these tests. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +For a full summary of options, run \fIkeduca \-\-help\fP. +.SH SEE ALSO +.BR keduca (1), +.BR keduca-shrinker (1). +.PP +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/keduca/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/keduca/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/keduca/\fP. +.SH AUTHOR +KEduca was written by Javier Campos , +Klas Kalass , Henrique Pinto +and Anne-Marie Mahfouf . +.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/kgeography/CMakeLists.txt b/doc/man/kgeography/CMakeLists.txt new file mode 100644 index 00000000..9d7f9033 --- /dev/null +++ b/doc/man/kgeography/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES kgeography.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/kgeography/kgeography.1 b/doc/man/kgeography/kgeography.1 new file mode 100644 index 00000000..451605d9 --- /dev/null +++ b/doc/man/kgeography/kgeography.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 KGEOGRAPHY 1 "December 13, 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 +kgeography \- geography learning tool for TDE +.SH SYNOPSIS +.B kgeography +.RI "[ " generic-options " ]" +.SH DESCRIPTION +\fBKGeography\fP contains maps allowing you to learn various countries or + the political divisions of several countries. It has several modes, + including a map browser and games involving the names, capitals, or + flags of the map divisions. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +For a full summary of options, run \fIkgeography \-\-help\fP. +.SH SEE ALSO +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kgeography/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kgeography/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kgeography/\fP. +.SH AUTHOR +KGeography was written by Albert Astals Cid . +.br +This manual page was prepared by Daniel Schepler +for the Debian GNU/Linux system (but may be used by others). diff --git a/doc/man/khangman/CMakeLists.txt b/doc/man/khangman/CMakeLists.txt new file mode 100644 index 00000000..7b589ffa --- /dev/null +++ b/doc/man/khangman/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES khangman.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/khangman/khangman.1 b/doc/man/khangman/khangman.1 new file mode 100644 index 00000000..b130aa3c --- /dev/null +++ b/doc/man/khangman/khangman.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 KHANGMAN 1 "October 16, 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 +khangman \- the classical hangman game for TDE +.SH SYNOPSIS +.B khangman +.RI "[ " generic-options " ]" +.SH DESCRIPTION +\fBKHangMan\fP is a game based on the well known hangman game. It is aimed +for children aged 6 and above. It has four levels of difficulty: +Animals (animals words), Easy, Medium and Hard. +.PP +A word is picked at random and the letters are hidden. You must guess +the word by trying one letter after another. Each time you guess a wrong +letter, a picture of a hangman is drawn. You must guess the word before +getting hanged! You have 10 tries. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +For a full summary of options, run \fIkhangman \-\-help\fP. +.SH SEE ALSO +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/khangman/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/khangman/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/khangman/\fP. +.SH AUTHOR +KHangMan was written by Primoz Anzur and +Anne-Marie Mahfouf . +.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/kig/CMakeLists.txt b/doc/man/kig/CMakeLists.txt new file mode 100644 index 00000000..2fc853a2 --- /dev/null +++ b/doc/man/kig/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES kig.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/kig/kig.1 b/doc/man/kig/kig.1 new file mode 100644 index 00000000..208ed916 --- /dev/null +++ b/doc/man/kig/kig.1 @@ -0,0 +1,81 @@ +.\" 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 KIG 1 "October 16, 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 +kig \- an interactive geometry program for TDE +.SH SYNOPSIS +.B kig +.RI "[ " generic-options " ]" +[ \fIURL\fP ] +.br +.B kig \-c, \-\-convert\-to\-native +[ \fB\-o, \-\-outfile\fP \fInative-file\fP ] +\fIfile\fP +.SH DESCRIPTION +\fBKig\fP is an application for interactive geometry. It is intended to +serve two purposes: +.PP +.RS +\- to allow students to interactively explore mathematical figures and +concepts using the computer; +.PP +\- to serve as a WYSIWYG tool for drawing mathematical figures and +including them in other documents. +.RE +.PP +With this program you can do geometry on a computer just like you would +on a blackboard in a classroom. However, the program allows you to move +and change parts of a geometrical drawing so that you can see how the other +parts change as a result. +.PP +Kig supports loci and user-defined macros. It also supports imports +and exports to/from foreign file formats including Cabri, Dr. Geo, KGeo, +KSeg and XFig. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +Below are the kig-specific options. +For a full summary of options, run \fIkig \-\-help\fP. +.TP +.B \-c, \-\-convert\-to\-native +Do not show a GUI. Instead, convert the specified file to the native +Kig format. The native Kig file will be written to standard output +unless \-\-outfile is passed (see below). +.TP +\fB\-o, \-\-outfile\fP \fInative-file\fP +Used with \-\-convert\-to\-native to specify where to save the newly +created Kig file. Note that a filename of '\-' means standard +output (which is also the default). +.SH SEE ALSO +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kig/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kig/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kig/\fP. +.SH AUTHOR +Kig was written by Dominique Devriese , +Maurizio Paolini , +Franco Pasquarelli , +Pino Toscano and others. +.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/kiten/CMakeLists.txt b/doc/man/kiten/CMakeLists.txt new file mode 100644 index 00000000..7b7866e5 --- /dev/null +++ b/doc/man/kiten/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES kiten.1 kitengen.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/kiten/kiten.1 b/doc/man/kiten/kiten.1 new file mode 100644 index 00000000..8ae3bd3e --- /dev/null +++ b/doc/man/kiten/kiten.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 KITEN 1 "May 12, 2003" +.\" 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 +kiten \- a Japanese reference/study tool for TDE +.SH SYNOPSIS +.B kiten +.RI "[ " generic-options " ]" +.SH DESCRIPTION +\fBKiten\fP is a Japanese reference and study tool for TDE. It is an +application with multiple functions. Firstly, it is a convenient +English to Japanese and Japanese to English dictionary. Secondly, it is +a Kanji dictionary, with multiple ways to look up specific characters. +Thirdly, it is a tool to help you learn Kanji. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +For a full summary of options, run \fIkiten \-\-help\fP. +.SH SEE ALSO +.BR kitengen (1). +.PP +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kiten/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kiten/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kiten/\fP. +.SH AUTHOR +Kiten was written by Jason Katz-Brown , +Jim Breen and +Neil Stevens . +.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/kiten/kitengen.1 b/doc/man/kiten/kitengen.1 new file mode 100644 index 00000000..12b27ee1 --- /dev/null +++ b/doc/man/kiten/kitengen.1 @@ -0,0 +1,55 @@ +.\" 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 KITENGEN 1 "May 12, 2003" +.\" 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 +kitengen \- index table generator for Kiten +.SH SYNOPSIS +.B kitengen +.I input output.xjdx +.SH DESCRIPTION +\fBkitengen\fP is an index table generator for Kiten. +.PP +This program is for Kiten's internal use and should \fBnot\fP be run +directly. +.PP +\fBKiten\fP is a Japanese reference and study tool for TDE. It is an +application with multiple functions. Firstly, it is a convenient +English to Japanese and Japanese to English dictionary. Secondly, it is +a Kanji dictionary, with multiple ways to look up specific characters. +Thirdly, it is a tool to help you learn Kanji. +.PP +This application is part of the official TDE edutainment module. +.SH SEE ALSO +.BR kiten (1). +.PP +Full user documentation for Kiten is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kiten/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kiten/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kiten/\fP. +.SH AUTHOR +Kiten was written by Jason Katz-Brown , +Jim Breen and +Neil Stevens . +.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/klatin/CMakeLists.txt b/doc/man/klatin/CMakeLists.txt new file mode 100644 index 00000000..11a6862c --- /dev/null +++ b/doc/man/klatin/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES klatin.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/klatin/klatin.1 b/doc/man/klatin/klatin.1 new file mode 100644 index 00000000..35c59e21 --- /dev/null +++ b/doc/man/klatin/klatin.1 @@ -0,0 +1,56 @@ +.\" 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 KLATIN 1 "March 16, 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 +klatin \- an application to help revise/teach Latin +.SH SYNOPSIS +.B klatin +.RI "[ " generic-options " ]" +.SH DESCRIPTION +\fBKLatin\fP is a program to help revise Latin. There are three "sections" +in which different aspects of the language can be revised. These are the +vocabulary, grammar and verb testing sections. In addition there is a +set of revision notes that can be used for self-guided revision. +.PP +In the vocabulary section an XML file is loaded containing various +words and their local language translations. KLatin asks you what each +of these words translate into. The questions take place in a +multiple-choice environment. +.PP +In the grammar and verb sections KLatin asks for a particular part of a +noun or a verb, such as the "ablative singular", or the "1st person +indicative passive plural", and is not multiple choice. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +For a full summary of options, run \fIklatin \-\-help\fP. +.SH SEE ALSO +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/klatin/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/klatin/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/klatin/\fP. +.SH AUTHOR +KLatin was written by George Wright and others. +.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/klettres/CMakeLists.txt b/doc/man/klettres/CMakeLists.txt new file mode 100644 index 00000000..76b03538 --- /dev/null +++ b/doc/man/klettres/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES klettres.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/klettres/klettres.1 b/doc/man/klettres/klettres.1 new file mode 100644 index 00000000..6f6a3177 --- /dev/null +++ b/doc/man/klettres/klettres.1 @@ -0,0 +1,50 @@ +.\" 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 KLETTRES 1 "March 16, 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 +klettres \- a foreign alphabet tutor for TDE +.SH SYNOPSIS +.B klettres +.RI "[ " generic-options " ]" +.SH DESCRIPTION +\fBKLettres\fP is an application specially designed to help the user to +learn the alphabet in a new language and then to learn to read simple +syllables. The user can be a young child aged from two and a half or an +adult that wants to learn the basics of a foreign language. +.PP +Seven languages are currently available: Czech, Danish, Dutch, English, +French, Italian and Slovak. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +For a full summary of options, run \fIklettres \-\-help\fP. +.SH SEE ALSO +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/klettres/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/klettres/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/klettres/\fP. +.SH AUTHOR +KLettres was written by Anne-Marie Mahfouf and many others. +.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/kmplot/CMakeLists.txt b/doc/man/kmplot/CMakeLists.txt new file mode 100644 index 00000000..8ae09555 --- /dev/null +++ b/doc/man/kmplot/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES kmplot.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/kmplot/kmplot.1 b/doc/man/kmplot/kmplot.1 new file mode 100644 index 00000000..aa8e4cb5 --- /dev/null +++ b/doc/man/kmplot/kmplot.1 @@ -0,0 +1,58 @@ +.\" 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 KMPLOT 1 "March 16, 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 +kmplot \- a mathematical function plotter for TDE +.SH SYNOPSIS +.B kmplot +.RI "[ " generic-options " ]" +[ \fIURL\fP ] +.SH DESCRIPTION +\fBKmPlot\fP is a mathematical function plotter for TDE. +It has a powerful built-in parser. You can plot different functions +simultaneously and combine them to build new functions. +.PP +KmPlot supports parametric functions and functions in polar +coordinates. Several grid modes are supported. Plots may be printed +with high precision in the correct scale. +.PP +KmPlot also provides some numerical and visual features, like +filling and calculating the area between the plot and the first axis, +finding maximum and minimum values, +changing function parameters dynamically and +plotting derivatives and integral functions. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +For a full summary of options, run \fIkmplot \-\-help\fP. +.SH SEE ALSO +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kmplot/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kmplot/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kmplot/\fP. +.SH AUTHOR +KmPlot was written by Klaus-Dieter Moeller , +Matthias Messmer and Fredrik Edemar . +.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/kpercentage/CMakeLists.txt b/doc/man/kpercentage/CMakeLists.txt new file mode 100644 index 00000000..ca578f95 --- /dev/null +++ b/doc/man/kpercentage/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES kpercentage.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/kpercentage/kpercentage.1 b/doc/man/kpercentage/kpercentage.1 new file mode 100644 index 00000000..26aceb23 --- /dev/null +++ b/doc/man/kpercentage/kpercentage.1 @@ -0,0 +1,50 @@ +.\" 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 KPERCENTAGE 1 "May 12, 2003" +.\" 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 +kpercentage \- a percentage calculation teaching tool for TDE +.SH SYNOPSIS +.B kpercentage +.RI "[ " generic-options " ]" +.SH DESCRIPTION +\fBKPercentage\fP is a small math application that will help pupils to +improve their skills in calculating percentages. +.PP +There is a special training section for the three basic tasks. Finally +the pupil can select a random mode, in which all three tasks are mixed +randomly. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +For a full summary of options, run \fIkpercentage \-\-help\fP. +.SH SEE ALSO +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kpercentage/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kpercentage/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kpercentage/\fP. +.SH AUTHOR +KPercentage was written by Matthias Messmer , +Carsten Niehaus and Robert Gogolok . +.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/kstars/CMakeLists.txt b/doc/man/kstars/CMakeLists.txt new file mode 100644 index 00000000..d169cb9b --- /dev/null +++ b/doc/man/kstars/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES kstars.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/kstars/kstars.1 b/doc/man/kstars/kstars.1 new file mode 100644 index 00000000..d6cce79b --- /dev/null +++ b/doc/man/kstars/kstars.1 @@ -0,0 +1,117 @@ +.\" 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 KSTARS 1 "March 16, 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 +kstars \- a desktop planetarium for TDE +.SH SYNOPSIS +.B kstars +.RI "[ " generic-options " ]" +[ \fB\-\-date\fP \fIdate-and-time\fP ] +[ \fB\-\-paused\fP ] +.PP +.B kstars \fB\-\-dump\fP +[ \fB\-\-filename\fP \fIimage-file\fP ] +[ \fB\-\-height\fP \fIpixels\fP ] [ \fB\-\-width\fP \fIpixels\fP ] +[ \fB\-\-date\fP \fIdate-and-time\fP ] +[ \fB\-\-script\fP \fIscript-file\fP ] +.SH DESCRIPTION +\fBKStars\fP is a graphical desktop planetarium for TDE. It depicts an +accurate simulation of the night sky, including stars, constellations, +star clusters, nebulae, galaxies, all planets, the Sun, the Moon, +comets and asteroids. You can see the sky as it appears from any +location on Earth, on any date. +.PP +The user interface is highly intuitive and flexible. The display can +be panned and zoomed with the mouse, and you can easily identify +objects and track their motion across the sky. KStars includes many +powerful features, yet the interface is clean and simple and fun to use. +.PP +Normally KStars launches a full graphical user interface. By passing the +\fB\-\-dump\fP option, you can make KStars dump an image of the sky to +a graphics file and exit immediately without launching a graphical user +interface at all. Several other options are available to control +precisely how this image is dumped. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +Below are the kstars-specific options. +For a full summary of options, run \fIkstars \-\-help\fP. +.PP +Options that can be used when starting the full graphical user interface +are as follows. +.TP +\fB\-\-date\fP \fIdate-and-time\fP +Starts with the simulation clock set to the given date and time (default is +current date and time). +.TP +\fB\-\-paused\fP +Starts with the simulation clock paused. +.PP +Options that can be used when dumping an image of the sky are as +follows. +.TP +\fB\-\-dump\fP +Dumps the sky image to a graphics file and exits immediately. +Several other options (described below) are available to control +precisely how the image is dumped. +.TP +\fB\-\-date\fP \fIdate-and-time\fP +Specifies the date and time for the sky image to dump (default is +current date and time). +.TP +\fB\-\-filename\fP \fIimage-file\fP +Dumps the sky image to the given file (default is \fIkstars.png\fP). +.TP +\fB\-\-height\fP \fIpixels\fP +Specifies the height of the sky image to dump (default is 480). +.TP +\fB\-\-script\fP \fIscript-file\fP +Specifies a DCOP script to run before the sky image is dumped. +The script can be used to set where the image is pointing, set the +geographic location, set the time and date, change the zoom level, and +adjust other view options. +.br +KStars includes a script builder (found in the Tools menu) to help +with writing DCOP scripts. The full user documentation (discussed +below) contains a more detailed explanation of how such scripts can +be written and used. +.TP +\fB\-\-width\fP \fIpixels\fP +Specifies the width of the sky image to dump (default is 640). +.SH SEE ALSO +.BR indiserver (1). +.PP +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kstars/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kstars/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kstars/\fP. +.SH AUTHOR +KStars was written by Jason Harris , +Heiko Evermann , Thomas Kabelmann , +Pablo de Vicente , Jasem Mutlaq , +Carsten Niehaus , Mark Hollomon , +Vincent Jagot and +Martin Piskernig . +.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/ktouch/CMakeLists.txt b/doc/man/ktouch/CMakeLists.txt new file mode 100644 index 00000000..5f042bb3 --- /dev/null +++ b/doc/man/ktouch/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES ktouch.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/ktouch/ktouch.1 b/doc/man/ktouch/ktouch.1 new file mode 100644 index 00000000..4738c6a8 --- /dev/null +++ b/doc/man/ktouch/ktouch.1 @@ -0,0 +1,56 @@ +.\" 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 KTOUCH 1 "January 31, 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 +ktouch \- a touch typing tutor for TDE +.SH SYNOPSIS +.B ktouch +.RI "[ " generic-options " ]" +[ \fIURL\fP ] +.SH DESCRIPTION +\fBKTouch\fP is a program for learning touch typing \- it helps you learn to +type on a keyboard quickly and correctly. Every finger has its place on +the keyboard with associated keys to press. +.PP +KTouch helps you learn to touch type by providing you with text to +train on, and adjusts to different levels depending on how good you are. +It can display which key to press next, and the correct finger to use. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +Below are the ktouch-specific options. +For a full summary of options, run \fIktouch \-\-help\fP. +.TP +\fIURL\fP +The training file to open. +.SH SEE ALSO +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/ktouch/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/ktouch/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/ktouch/\fP. +.SH AUTHOR +KTouch was written by Haavard Froeiland +and Andreas Nicolai . +.br +This manual page was prepared +for the Debian GNU/Linux system (but may be used by others). diff --git a/doc/man/kturtle/CMakeLists.txt b/doc/man/kturtle/CMakeLists.txt new file mode 100644 index 00000000..6f15fe8f --- /dev/null +++ b/doc/man/kturtle/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES kturtle.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/kturtle/kturtle.1 b/doc/man/kturtle/kturtle.1 new file mode 100644 index 00000000..756e2c62 --- /dev/null +++ b/doc/man/kturtle/kturtle.1 @@ -0,0 +1,61 @@ +.\" 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 KTURTLE 1 "March 16, 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 +kturtle \- an educational Logo programming environment +.SH SYNOPSIS +.B kturtle +.RI "[ " generic-options " ]" +.SH DESCRIPTION +\fBKTurtle\fP is an educational programming environment using the Logo +programming language. It tries to make programming as easy and +accessible as possible. This makes KTurtle suitable for teaching kids +the basics of mathematics, geometry and programming. +.PP +The commands used to program are in the style of the Logo programming +language. The unique feature of Logo is that the commands are often +translated into the speaking language of the programmer. +.PP +KTurtle is named after "the turtle" that plays a central role in the +programming environment. The user programs the turtle, using the Logo +commands, to draw a picture on the canvas. +.PP +Note that this version of Logo is only focused on the educational +qualities of the programming language and will not try to suit +professional programmers' needs. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +For a full summary of options, run \fIkturtle \-\-help\fP. +.SH SEE ALSO +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kturtle/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kturtle/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kturtle/\fP. +.SH AUTHOR +KTurtle was written by Cies Breijs , +Walter Schreppers and +Anne-Marie Mahfouf . +.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/kverbos/CMakeLists.txt b/doc/man/kverbos/CMakeLists.txt new file mode 100644 index 00000000..82fab51c --- /dev/null +++ b/doc/man/kverbos/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES kverbos.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/kverbos/kverbos.1 b/doc/man/kverbos/kverbos.1 new file mode 100644 index 00000000..a78e0dec --- /dev/null +++ b/doc/man/kverbos/kverbos.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 KVERBOS 1 "October 16, 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 +kverbos \- a Spanish verb form study application for TDE +.SH SYNOPSIS +.B kverbos +.RI "[ " generic-options " ] [ " file " ]" +.SH DESCRIPTION +\fBKverbos\fP allows the user to learn the forms of Spanish verbs. The program +suggests a verb and a time and the user enters the different verb forms. +The program corrects the user input and gives feedback. +.PP +The user can edit the list of the verbs that can be studied. The program +can build regular verb forms by itself. Irregular verb forms have to be +entered by the user. +.PP +If a form of a verb is uncertain then the internet offers good sources: +.br +http://csgrs6k1.uwaterloo.ca/~dmg/lando/verbos/con-jugador.html +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +For a full summary of options, run \fIkverbos \-\-help\fP. +.SH SEE ALSO +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kverbos/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kverbos/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kverbos/\fP. +.SH AUTHOR +Kverbos was written by Arnold Kraschinski . +.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/kvoctrain/CMakeLists.txt b/doc/man/kvoctrain/CMakeLists.txt new file mode 100644 index 00000000..acc3225d --- /dev/null +++ b/doc/man/kvoctrain/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES kvoctrain.1 langen2kvtml.1 spotlight2kvtml.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/kvoctrain/kvoctrain.1 b/doc/man/kvoctrain/kvoctrain.1 new file mode 100644 index 00000000..50b8bd39 --- /dev/null +++ b/doc/man/kvoctrain/kvoctrain.1 @@ -0,0 +1,60 @@ +.\" 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 KVOCTRAIN 1 "March 16, 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 +kvoctrain \- a vocabulary trainer for TDE +.SH SYNOPSIS +.B kvoctrain +.RI "[ " generic-options " ] [ " file " ]" +.SH DESCRIPTION +\fBKVocTrain\fP is a little utility to help you train your vocabulary when you +are trying to learn a foreign language. You can create your own database +with the words you need. It is intended as a replacement for index +(flash) cards. +.PP +You probably remember flashcards from school. The teacher would write the +original expression on the front side of the card and the translation on +the back. Then look at the cards one after another. If you knew the +translation, you could put it away. If you failed, you put it back to +try again. +.PP +KVocTrain is not intended to teach you grammer or other sophisticated +things. This is and probably will stay beyond the scope of this application. +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +For a full summary of options, run \fIkvoctrain \-\-help\fP. +.SH SEE ALSO +.BR langen2kvtml (1), +.BR spotlight2kvtml (1). +.PP +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kvoctrain/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kvoctrain/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kvoctrain/\fP. +.SH AUTHOR +KVocTrain was written by Ewald Arnold +and Peter Hedlund . +.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/kvoctrain/langen2kvtml.1 b/doc/man/kvoctrain/langen2kvtml.1 new file mode 100644 index 00000000..226baef4 --- /dev/null +++ b/doc/man/kvoctrain/langen2kvtml.1 @@ -0,0 +1,83 @@ +.\" 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 LANGEN2KVTML 1 "November 22, 2002" +.\" 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 +langen2kvtml \- convert Langenscheidt data files to KVocTrain data files +.SH SYNOPSIS +.B langen2kvtml +[ \fB\-\-lang=\fP\fIxx\fP ] [ \fB\-\-trans=\fP\fIxx\fP ] +[ \fB\-\-author=\fP\fIname\fP ] [ \fB\-\-longlesson\fP ] +[ \fB\-\-outdir=\fP\fIdir\fP ] [ \fB\-\-proxy=\fP\fIproxy\fP ] +{ \fB\-\-country=\fP\fIxx\fP | \fIvocfile\fP ... } +.SH DESCRIPTION +\fBlangen2kvtml\fP is a script that will convert Langenscheidt +data files (*.voc) to KVocTrain data files (*.kvtml). +.PP +For each Langenscheidt data file given on the command-line, a +corresponding KVocTrain data file will be created. If no Langenscheidt +data files are given, a set of data files for the given country (see +the \fB\-\-country\fP option) will be downloaded from the internet and +converted. If neither data files nor a country are specified, country +GB (Great Britain) will be assumed. +.PP +Note that you \fBmust\fP run KVocTrain at least once before this script +can be used. In some circumstances this script will edit the user's +KVocTrain preferences file. +.PP +This utility is part of the official TDE edutainment module. +.SH OPTIONS +.TP +\fB\-\-lang=\fP\fIxx\fP +Specifies the original language used in the data file(s). The script +will try to guess this based on the names of the Langenscheidt data files. +.TP +\fB\-\-trans=\fP\fIxx\fP +Specifies the translated language used in the data file(s). This +defaults to de (Deutsch). +.TP +\fB\-\-author=\fP\fIname\fP +Specifies the author of the data file(s). This defaults to +http://www.vokabeln.de. +.TP +\fB\-\-longlesson\fP +Specifies that long lesson names should be used in the converted +KVocTrain data file(s). Short lesson names are the default. +.TP +\fB\-\-outdir=\fP\fIdir\fP +Specifies that the converted KVocTrain data files be written in the +given directory. This defaults to the current directory. +.TP +\fB\-\-proxy=\fP\fIproxy\fP +Specifies a proxy to use when downloading Langenscheidt data files from +the internet. +.TP +\fB\-\-country=\fP\fIxx\fP +Requests that Langenscheidt data files for the given country be +downloaded from the internet and converted. The country should be +specified by the code used at \fIhttp://www.vokabeln.de/\fP, such as +GB for Great Britain, D for Germany and so on. +.SH SEE ALSO +.BR kvoctrain (1), +.BR spotlight2kvtml (1). +.PP +Langenscheidt data files can be downloaded directly from +\fIhttp://www.vokabeln.de/files.htm\fP. +.SH AUTHOR +langen2kvtml was written by Andreas Neuper. +.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/kvoctrain/spotlight2kvtml.1 b/doc/man/kvoctrain/spotlight2kvtml.1 new file mode 100644 index 00000000..eaff0a1a --- /dev/null +++ b/doc/man/kvoctrain/spotlight2kvtml.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 SPOTLIGHT2KVTML 1 "March 16, 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 +spotlight2kvtml \- convert a Spotlight Online vocabulary list to a +KVocTrain data file +.SH SYNOPSIS +.B spotlight2kvtml +.I spotfile month year +.SH DESCRIPTION +\fBspotlight2kvtml\fP is used to convert a Spotlight Online vocabulary +list to a KVocTrain data file (*.kvtml). +.PP +The given vocabulary list (\fIspotfile\fP) must be in plain text format +(i.e., you will need to convert the downloaded RTF or Word document into +a plain text file). The name of the new KVocTrain data file +will be derived from the given \fIspotfile\fP. +.PP +The given month and year will be used in the title and lesson names +in the new KVocTrain data file. +.PP +Note that Spotlight Online changes its vocabulary list format from time +to time, so spotlight2kvtml might be out of date and might not behave +correctly. +.PP +This utility is part of the official TDE edutainment module. +.SH SEE ALSO +.BR kvoctrain (1), +.BR langen2kvtml (1). +.PP +Spotlight Online vocabulary lists can be downloaded from +\fIhttp://www.spotlight-online.de/\fP. +.SH AUTHOR +spotlight2kvtml was written by Ewald Arnold +and others. +.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/kwordquiz/CMakeLists.txt b/doc/man/kwordquiz/CMakeLists.txt new file mode 100644 index 00000000..a5e33e4c --- /dev/null +++ b/doc/man/kwordquiz/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES kwordquiz.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/kwordquiz/kwordquiz.1 b/doc/man/kwordquiz/kwordquiz.1 new file mode 100644 index 00000000..538db52f --- /dev/null +++ b/doc/man/kwordquiz/kwordquiz.1 @@ -0,0 +1,69 @@ +.\" 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 KWORDQUIZ 1 "March 16, 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 +kwordquiz \- a flashcard and vocabulary learning program for TDE +.SH SYNOPSIS +.B kwordquiz +.RI "[ " generic-options " ]" +.PP +.B kwordquiz +.RI "[ " generic-options " ]" +[ \fB\-m, \-\-mode\fP \fInumber\fP ] +[ \fB\-g, \-\-goto\fP \fIsession\fP ] +.I file +.SH DESCRIPTION +\fBKWordQuiz\fP is a flashcard-based tool that helps you to master new +vocabularies. It may be a language or any other kind of terminology. +.PP +KWordQuiz can open several types of vocabulary data. Supported +are \fI.kvtml\fP files used by other TDE programs such as KVocTrain, +\fI.wql\fP files used by WordQuiz for Windows, \fI.csv\fP files with +comma-separated text, and \fI.xml.gz\fP +files created by Pauker (\fIhttp://pauker.sourceforge.net/\fP). +.PP +This application is part of the official TDE edutainment module. +.SH OPTIONS +Below are the kwordquiz-specific options. +For a full summary of options, run \fIkwordquiz \-\-help\fP. +.PP +.TP +\fB\-m, \-\-mode\fP \fInumber\fP +Specify the order and direction in which questions are asked. +The \fInumber\fP argument must be 1, 2, 3, 4 or 5 (corresponding to the +five entries in the Mode menu). +.TP +\fB\-g, \-\-goto\fP \fIsession\fP +Begin a quiz immediately. The \fIsession\fP argument may be +\fBflash\fP (for a flashcard quiz), \fBmc\fP (for a multiple choice +quiz) or \fBqa\fP (for a question and answer quiz). +.SH SEE ALSO +Full user documentation is available through the TDE Help Centre. +You can also enter the URL +\fIhelp:/kwordquiz/\fP +directly into konqueror or you can run +`\fIkhelpcenter help:/kwordquiz/\fP' +from the command-line. +.PP +If the TDE Help Centre is not installed then you can install the package +\fItdeedu-doc-html\fP and read this documentation in HTML format from +\fI/opt/trinity/share/doc/tde/HTML/en/kwordquiz/\fP. +.SH AUTHOR +KWordQuiz was written by Peter Hedlund . +.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/libtdeedu/CMakeLists.txt b/doc/man/libtdeedu/CMakeLists.txt new file mode 100644 index 00000000..fb1f2c0a --- /dev/null +++ b/doc/man/libtdeedu/CMakeLists.txt @@ -0,0 +1,5 @@ +INSTALL( + FILES test_extdate.1 test_extdatepicker.1 + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc +) diff --git a/doc/man/libtdeedu/test_extdate.1 b/doc/man/libtdeedu/test_extdate.1 new file mode 100644 index 00000000..90bd63d8 --- /dev/null +++ b/doc/man/libtdeedu/test_extdate.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 TEST_EXTDATE 1 "October 16, 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 +test_extdate \- text-based tests for the ExtDate classes +.SH SYNOPSIS +.B test_extdate +.SH DESCRIPTION +This is a simple test program for testing the non-GUI functionality of the +ExtDate classes. It compares the results of several operations against +the results from QDate and writes the results to the console. +.PP +The \fBExtDate library\fP consists of a group of classes allowing TDE +applications to access calendar dates outside of the limited range of +years imposed by QDate. +.PP +The QDate class has a limited range of valid dates. It does not +recognize dates prior to 14 Oct 1752 (when the Gregorian calendar +was adopted by England), nor dates after 31 Dec 8000. Both of these +limits are arbitrary. +.PP +This library is part of the official TDE edutainment module. +.SH SEE ALSO +.BR test_extdatepicker (1). +.PP +See \fI/opt/trinity/share/doc/libtdeedu-dev/README.extdate\fP for further +information on this library. +.SH AUTHOR +The ExtDate library was written by Jason Harris +and others. +.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/libtdeedu/test_extdatepicker.1 b/doc/man/libtdeedu/test_extdatepicker.1 new file mode 100644 index 00000000..9a25504f --- /dev/null +++ b/doc/man/libtdeedu/test_extdatepicker.1 @@ -0,0 +1,50 @@ +.\" 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 TEST_EXTDATEPICKER 1 "October 16, 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 +test_extdatepicker \- GUI-based tests for the ExtDate classes +.SH SYNOPSIS +.B test_extdatepicker +[ \fIgeneric-options\fP ] +.SH DESCRIPTION +This is a simple test program for testing the graphical functionality of +the ExtDate classes. It presents a KDatePicker widget and an +ExtDatePicker widget side by side for user interaction. +.PP +The \fBExtDate library\fP consists of a group of classes allowing TDE +applications to access calendar dates outside of the limited range of +years imposed by QDate. +.PP +The QDate class has a limited range of valid dates. It does not +recognize dates prior to 14 Oct 1752 (when the Gregorian calendar +was adopted by England), nor dates after 31 Dec 8000. Both of these +limits are arbitrary. +.PP +This library is part of the official TDE edutainment module. +.SH OPTIONS +For a full summary of options, run \fItest_extdatepicker \-\-help\fP. +.SH SEE ALSO +.BR test_extdate (1). +.PP +See \fI/opt/trinity/share/doc/libtdeedu-dev/README.extdate\fP for further +information on this library. +.SH AUTHOR +The ExtDate library was written by Jason Harris +and others. +.br +This manual page was prepared by Ben Burton +for the Debian GNU/Linux system (but may be used by others). diff --git a/kalzium/CMakeLists.txt b/kalzium/CMakeLists.txt new file mode 100644 index 00000000..9acff430 --- /dev/null +++ b/kalzium/CMakeLists.txt @@ -0,0 +1,8 @@ +##### configure checks + +include( ConfigureChecks.cmake ) + + +##### subdirectories + +add_subdirectory( src ) diff --git a/kalzium/ConfigureChecks.cmake b/kalzium/ConfigureChecks.cmake new file mode 100644 index 00000000..a51abf1b --- /dev/null +++ b/kalzium/ConfigureChecks.cmake @@ -0,0 +1,75 @@ +########################################### +# # +# Improvements and feedback are welcome # +# # +# This file is released under GPL >= 3 # +# # +########################################### + + +##### check for ocaml/facile + +if( WITH_OCAML_SOLVER ) + + if( NOT DEFINED HAVE_OCAML ) + message( STATUS "Search for ocaml" ) + + foreach( _exec ocamlc ocamldep ocamlopt ) + string( TOUPPER "${_exec}_EXECUTABLE" _exec_var ) + if( NOT DEFINED ${_exec_var} ) + find_program( ${_exec_var} NAMES ${_exec} ) + if( NOT ${_exec_var} ) + tde_message_fatal( "${_exec} is requested, but was not found on your system" ) + endif( ) + endif( ) + endforeach( ) + + if( NOT DEFINED OCAML_BASEDIR ) + execute_process( + COMMAND ${OCAMLOPT_EXECUTABLE} -where + OUTPUT_VARIABLE OCAML_BASEDIR + ERROR_VARIABLE OCAML_BASEDIR + OUTPUT_STRIP_TRAILING_WHITESPACE + ERROR_STRIP_TRAILING_WHITESPACE + ) + if( EXISTS ${OCAML_BASEDIR} AND IS_DIRECTORY ${OCAML_BASEDIR} ) + set( OCAML_BASEDIR ${OCAML_BASEDIR} CACHE PATH "Ocaml base directory" ) + set( OCAML_LIBRARY_DIR ${OCAML_BASEDIR} CACHE PATH "Ocaml libraries directory" ) + else( ) + tde_message_fatal( "Ocaml is requested, but was not found on your system" ) + endif( ) + endif( ) + + set( HAVE_OCAML 1 CACHE INTERNAL "" ) + message( STATUS "Search for ocaml - found" ) + endif( ) + + + if( NOT DEFINED HAVE_FACILE ) + message( STATUS "Search for facile" ) + + if( NOT DEFINED FACILE_LIBRARIES ) + find_library( FACILE_LIBRARIES + NAMES facile.a + HINTS ${OCAML_BASEDIR} + PATH_SUFFIXES facile ocaml/facile + ) + endif( ) + + if( NOT DEFINED FACILE_INCLUDE_DIR ) + find_path( FACILE_INCLUDE_DIR + NAMES facile.cmi + HINTS ${OCAML_BASEDIR} + PATH_SUFFIXES facile lib/ocaml/facile + ) + endif( ) + + if( NOT DEFINED FACILE_LIBRARIES OR NOT DEFINED FACILE_INCLUDE_DIR ) + tde_message_fatal( "Facile is requested, but was not found on your system" ) + endif( ) + + set( HAVE_FACILE 1 CACHE INTERNAL "Enable build with ocaml/facile" ) + message( STATUS "Search for facile - found" ) + endif( ) + +endif( WITH_OCAML_SOLVER ) diff --git a/kalzium/src/CMakeLists.txt b/kalzium/src/CMakeLists.txt new file mode 100644 index 00000000..b0b0cac2 --- /dev/null +++ b/kalzium/src/CMakeLists.txt @@ -0,0 +1,109 @@ +add_subdirectory( icons ) +add_subdirectory( elementpics ) +add_subdirectory( data ) +tde_conditional_add_subdirectory( WITH_OCAML_SOLVER solver ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/libtdeedu/tdeeduplot + ${CMAKE_SOURCE_DIR}/libtdeedu/tdeeduui +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} + ${OCAML_LIBRARY_DIR} +) + +if( WITH_OCAML_SOLVER ) + set( OCAML_LIBRARIES asmrun nums m ${CMAKE_DL_LIBS} ) + set( OCAML_SOLVER + ${CMAKE_CURRENT_BINARY_DIR}/solver/modwrap.o + ${CMAKE_CURRENT_BINARY_DIR}/solver/solver.o + ) +else( ) + add_custom_target( kalzium_solver COMMENT "Empty kalzium solver" ) +endif( ) + + +##### kalzium (executable) + +tde_add_executable( kalzium AUTOMOC + + SOURCES + prefs.kcfgc + settings_colors.ui + settings_misc.ui + settings_units.ui + plotsetupwidget.ui + molcalcwidgetbase.ui + timewidget.ui + somwidget.ui + spectrumview.ui + eqresult.cpp + eqchemview.cpp + kalzium.cpp + main.cpp + periodictableview.cpp + element.cpp + detailinfodlg.cpp + orbitswidget.cpp + plotwidget.cpp + elementdataviewer.cpp + detailedgraphicaloverview.cpp + molcalcwidget.cpp + timewidget_impl.cpp + somwidget_impl.cpp + kalziumtip.cpp + spectrum.cpp + isotope.cpp + kalziumdataobject.cpp + spectrumwidget.cpp + exporter.cpp + spectrumviewimpl.cpp + kalziumutils.cpp + parser.cpp + moleculeparser.cpp + tempunit.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdehtml-shared + tdeeduplot-shared + tdeeduui-shared + ${OCAML_SOLVER} + ${OCAML_LIBRARIES} + + DEPENDENCIES + kalzium_solver + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### icons + +tde_install_icons( ) + + +##### other data + +install( + FILES kalziumui.rc + DESTINATION ${DATA_INSTALL_DIR}/kalzium +) + +install( + FILES kalzium.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES kalzium.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) diff --git a/kalzium/src/data/CMakeLists.txt b/kalzium/src/data/CMakeLists.txt new file mode 100644 index 00000000..a2229e0f --- /dev/null +++ b/kalzium/src/data/CMakeLists.txt @@ -0,0 +1,9 @@ +add_subdirectory( toolpics ) + + +##### other data + +install( + FILES bg.jpg data.xml knowledge.xml tools.xml + DESTINATION ${DATA_INSTALL_DIR}/kalzium/data +) diff --git a/kalzium/src/data/toolpics/CMakeLists.txt b/kalzium/src/data/toolpics/CMakeLists.txt new file mode 100644 index 00000000..f1189d0d --- /dev/null +++ b/kalzium/src/data/toolpics/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.jpg *.png ) + +install( + FILES ${_pics} + DESTINATION ${DATA_INSTALL_DIR}/kalzium/data/toolpics +) diff --git a/kalzium/src/elementpics/CMakeLists.txt b/kalzium/src/elementpics/CMakeLists.txt new file mode 100644 index 00000000..924eed7b --- /dev/null +++ b/kalzium/src/elementpics/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _jpgs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.jpg ) + +install( + FILES ${_jpgs} + DESTINATION ${DATA_INSTALL_DIR}/kalzium/elempics +) diff --git a/kalzium/src/icons/CMakeLists.txt b/kalzium/src/icons/CMakeLists.txt new file mode 100644 index 00000000..8fcaaaaa --- /dev/null +++ b/kalzium/src/icons/CMakeLists.txt @@ -0,0 +1,6 @@ +tde_auto_add_subdirectories( htmlview ) + + +##### icons + +tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kalzium/icons ) diff --git a/kalzium/src/icons/htmlview/CMakeLists.txt b/kalzium/src/icons/htmlview/CMakeLists.txt new file mode 100644 index 00000000..0bbc208e --- /dev/null +++ b/kalzium/src/icons/htmlview/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _pngs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) + +install( + FILES ${_pngs} icons.svg style.css + DESTINATION ${DATA_INSTALL_DIR}/kalzium/data/htmlview +) diff --git a/kalzium/src/molcalcwidgetbase.ui b/kalzium/src/molcalcwidgetbase.ui index d643dfe7..79a6074e 100644 --- a/kalzium/src/molcalcwidgetbase.ui +++ b/kalzium/src/molcalcwidgetbase.ui @@ -128,8 +128,8 @@ slotCalcButtonClicked() - - klineedit.h - kpushbutton.h - + + klineedit.h + kpushbutton.h + diff --git a/kalzium/src/plotsetupwidget.ui b/kalzium/src/plotsetupwidget.ui index b777713c..b8972882 100644 --- a/kalzium/src/plotsetupwidget.ui +++ b/kalzium/src/plotsetupwidget.ui @@ -249,8 +249,8 @@ - - knuminput.h - kcombobox.h - + + knuminput.h + kcombobox.h + diff --git a/kalzium/src/settings_colors.ui b/kalzium/src/settings_colors.ui index cd9316cb..46168417 100644 --- a/kalzium/src/settings_colors.ui +++ b/kalzium/src/settings_colors.ui @@ -902,35 +902,7 @@ - - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - + + kcolorbutton.h + diff --git a/kalzium/src/solver/CMakeLists.txt b/kalzium/src/solver/CMakeLists.txt new file mode 100644 index 00000000..aef745d4 --- /dev/null +++ b/kalzium/src/solver/CMakeLists.txt @@ -0,0 +1,118 @@ +##### macro to build ocaml sources + +macro( tde_add_ocaml_source _target _ml ) + + get_filename_component( basename "${_ml}" NAME_WE ) + + if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${basename}.mli ) + add_custom_command( + OUTPUT + ${CMAKE_CURRENT_BINARY_DIR}/${basename}.cmi + + COMMENT "Compile ${basename}.mli" + + COMMAND ${OCAMLC_EXECUTABLE} + -o ${CMAKE_CURRENT_BINARY_DIR}/${basename}.cmi + -I ${FACILE_INCLUDE_DIR} + -c ${CMAKE_CURRENT_SOURCE_DIR}/${basename}.mli + + DEPENDS + ${CMAKE_CURRENT_SOURCE_DIR}/${basename}.ml + ${ARGN} + + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} + ) + + set( _build_cmi ${CMAKE_CURRENT_BINARY_DIR}/${basename}.cmi ) + else( ) + set( _build_cmi "" ) + endif( ) + + add_custom_command( + OUTPUT + ${CMAKE_CURRENT_BINARY_DIR}/${basename}.cmx + + COMMENT "Compile ${basename}.ml" + + COMMAND ${OCAMLOPT_EXECUTABLE} + -o ${CMAKE_CURRENT_BINARY_DIR}/${basename}.cmx + -I ${FACILE_INCLUDE_DIR} + -c ${CMAKE_CURRENT_SOURCE_DIR}/${basename}.ml + + DEPENDS + ${CMAKE_CURRENT_SOURCE_DIR}/${basename}.ml + ${_build_cmi} + ${ARGN} + + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} + ) + + list( APPEND ${_target}-ocaml + ${CMAKE_CURRENT_BINARY_DIR}/${basename}.cmx + ) +endmacro( ) + + +# build kalzium ocaml solver + +tde_add_ocaml_source( kalzium_solver chemset.ml ) + +tde_add_ocaml_source( kalzium_solver datastruct.ml + ${CMAKE_CURRENT_BINARY_DIR}/chemset.cmi +) + +tde_add_ocaml_source( kalzium_solver chem.ml + ${CMAKE_CURRENT_BINARY_DIR}/chemset.cmi + ${CMAKE_CURRENT_BINARY_DIR}/datastruct.cmi +) + +tde_add_ocaml_source( kalzium_solver parser.ml + ${CMAKE_CURRENT_BINARY_DIR}/chemset.cmi +) + +tde_add_ocaml_source( kalzium_solver lexer.ml + ${CMAKE_CURRENT_BINARY_DIR}/chemset.cmi + ${CMAKE_CURRENT_BINARY_DIR}/parser.cmi +) + +tde_add_ocaml_source( kalzium_solver calc.ml + ${CMAKE_CURRENT_BINARY_DIR}/chem.cmi + ${CMAKE_CURRENT_BINARY_DIR}/chemset.cmi + ${CMAKE_CURRENT_BINARY_DIR}/datastruct.cmi + ${CMAKE_CURRENT_BINARY_DIR}/parser.cmi + ${CMAKE_CURRENT_BINARY_DIR}/lexer.cmx +) + +add_custom_command( + OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/modwrap.o + + COMMAND ${OCAMLOPT_EXECUTABLE} + -I ${FACILE_INCLUDE_DIR} + -c ${CMAKE_CURRENT_SOURCE_DIR}/modwrap.c + + DEPENDS + ${CMAKE_CURRENT_SOURCE_DIR}/modwrap.c + ${CMAKE_CURRENT_BINARY_DIR}/solver.o + + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +) + +add_custom_command( + OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/solver.o + + COMMAND ${OCAMLOPT_EXECUTABLE} -output-obj + -o ${CMAKE_CURRENT_BINARY_DIR}/solver.o + ${FACILE_INCLUDE_DIR}/facile.cmxa + ${kalzium_solver-ocaml} + + DEPENDS + ${kalzium_solver-ocaml} + + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +) + +add_custom_target( kalzium_solver + DEPENDS + ${CMAKE_CURRENT_BINARY_DIR}/modwrap.o + ${CMAKE_CURRENT_BINARY_DIR}/solver.o +) diff --git a/kalzium/src/somwidget.ui b/kalzium/src/somwidget.ui index 1494a1fe..d52a7abf 100644 --- a/kalzium/src/somwidget.ui +++ b/kalzium/src/somwidget.ui @@ -179,7 +179,7 @@ the state of matter - - knuminput.h - + + knuminput.h + diff --git a/kalzium/src/spectrumview.ui b/kalzium/src/spectrumview.ui index 785d21af..25071379 100644 --- a/kalzium/src/spectrumview.ui +++ b/kalzium/src/spectrumview.ui @@ -217,8 +217,8 @@ slotExportAsImage() - - spectrumwidget.h - kpushbutton.h - + + spectrumwidget.h + kpushbutton.h + diff --git a/kalzium/src/timewidget.ui b/kalzium/src/timewidget.ui index a684726f..b4c3b3ca 100644 --- a/kalzium/src/timewidget.ui +++ b/kalzium/src/timewidget.ui @@ -195,7 +195,7 @@ of the elements - - knuminput.h - + + knuminput.h + diff --git a/kanagram/CMakeLists.txt b/kanagram/CMakeLists.txt new file mode 100644 index 00000000..d939b490 --- /dev/null +++ b/kanagram/CMakeLists.txt @@ -0,0 +1,5 @@ +add_subdirectory( data ) +add_subdirectory( images ) +add_subdirectory( src ) +add_subdirectory( icons ) +add_subdirectory( sounds ) diff --git a/kanagram/data/CMakeLists.txt b/kanagram/data/CMakeLists.txt new file mode 100644 index 00000000..f5667fd5 --- /dev/null +++ b/kanagram/data/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _kvtmls RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.kvtml ) + +install( + FILES ${_kvtmls} + DESTINATION ${DATA_INSTALL_DIR}/kanagram/data/en +) diff --git a/kanagram/icons/CMakeLists.txt b/kanagram/icons/CMakeLists.txt new file mode 100644 index 00000000..63f765b3 --- /dev/null +++ b/kanagram/icons/CMakeLists.txt @@ -0,0 +1 @@ +tde_install_icons( ) diff --git a/kanagram/images/CMakeLists.txt b/kanagram/images/CMakeLists.txt new file mode 100644 index 00000000..75ab6f7a --- /dev/null +++ b/kanagram/images/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) + +install( + FILES ${_pics} + DESTINATION ${DATA_INSTALL_DIR}/kanagram/images +) diff --git a/kanagram/images/graphics_sources.tar.gz b/kanagram/images/graphics_sources.tar.gz deleted file mode 100644 index c430a622..00000000 Binary files a/kanagram/images/graphics_sources.tar.gz and /dev/null differ diff --git a/kanagram/images/graphics_sources/README b/kanagram/images/graphics_sources/README new file mode 100644 index 00000000..58bb2df9 --- /dev/null +++ b/kanagram/images/graphics_sources/README @@ -0,0 +1,9 @@ +Graphics by Danny Allen (danny@dannyallen.co.uk) +Packaged 5th August 2005 + +Included here are the cleaned-up SVG sources from my creation of the Kanagram graphics. +I have packaged them up for future reference and modification. + +To get the correct PNG output from the "eyes" sources, select the blue rectangle in the background, send it to the back layer, and whilst keeping the rectangle selected, open the export dialog and only export the area covered by the rectangle. + +Enjoy! \ No newline at end of file diff --git a/kanagram/images/graphics_sources/eyes1.svg b/kanagram/images/graphics_sources/eyes1.svg new file mode 100644 index 00000000..3791c166 --- /dev/null +++ b/kanagram/images/graphics_sources/eyes1.svg @@ -0,0 +1,631 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/kanagram/images/graphics_sources/eyes2.svg b/kanagram/images/graphics_sources/eyes2.svg new file mode 100644 index 00000000..53bf3381 --- /dev/null +++ b/kanagram/images/graphics_sources/eyes2.svg @@ -0,0 +1,631 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/kanagram/images/graphics_sources/eyes5.svg b/kanagram/images/graphics_sources/eyes5.svg new file mode 100644 index 00000000..820b0626 --- /dev/null +++ b/kanagram/images/graphics_sources/eyes5.svg @@ -0,0 +1,639 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/kanagram/images/graphics_sources/eyes6.svg b/kanagram/images/graphics_sources/eyes6.svg new file mode 100644 index 00000000..50de7585 --- /dev/null +++ b/kanagram/images/graphics_sources/eyes6.svg @@ -0,0 +1,631 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/kanagram/images/graphics_sources/eyes7.svg b/kanagram/images/graphics_sources/eyes7.svg new file mode 100644 index 00000000..717c6ac0 --- /dev/null +++ b/kanagram/images/graphics_sources/eyes7.svg @@ -0,0 +1,631 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/kanagram/images/graphics_sources/eyes8.svg b/kanagram/images/graphics_sources/eyes8.svg new file mode 100644 index 00000000..1ab7c938 --- /dev/null +++ b/kanagram/images/graphics_sources/eyes8.svg @@ -0,0 +1,655 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + z + z + + + + + + + + + + diff --git a/kanagram/images/graphics_sources/help_out3.svg b/kanagram/images/graphics_sources/help_out3.svg new file mode 100644 index 00000000..184b1136 --- /dev/null +++ b/kanagram/images/graphics_sources/help_out3.svg @@ -0,0 +1,830 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/kanagram/images/graphics_sources/icon_buttons.svg b/kanagram/images/graphics_sources/icon_buttons.svg new file mode 100644 index 00000000..54e41b05 --- /dev/null +++ b/kanagram/images/graphics_sources/icon_buttons.svg @@ -0,0 +1,978 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/kanagram/sounds/CMakeLists.txt b/kanagram/sounds/CMakeLists.txt new file mode 100644 index 00000000..ecc94857 --- /dev/null +++ b/kanagram/sounds/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _oggs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.ogg ) + +install( + FILES ${_oggs} + DESTINATION ${DATA_INSTALL_DIR}/kanagram/sounds +) diff --git a/kanagram/src/CMakeLists.txt b/kanagram/src/CMakeLists.txt new file mode 100644 index 00000000..18ff7c85 --- /dev/null +++ b/kanagram/src/CMakeLists.txt @@ -0,0 +1,68 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + +##### kanagram (executable) + +tde_add_executable( kanagram AUTOMOC + + SOURCES + mainsettingswidget.ui + vocabsettingswidget.ui + vocabeditwidget.ui + newstuffwidget.ui + main.cpp + kanagram.cpp + kanagramgame.cpp + fontutils.cpp + mainsettings.cpp + vocabsettings.cpp + vocabedit.cpp + keduvocdocument.cpp + keduvocexpression.cpp + keduvockvtmlreader.cpp + keduvockvtmlwriter.cpp + leitnerbox.cpp + leitnersystem.cpp + multiplechoice.cpp + grammarmanager.cpp + leitnersystemview.cpp + newstuffdialog.cpp + newstuff.cpp + kanagramsettings.kcfgc + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdenewstuff-shared + artskde-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### icons + +tde_install_icons( ) + + +##### other data + +install( + FILES kanagram.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES kanagram.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) diff --git a/kanagram/src/leitnersystemview.cpp b/kanagram/src/leitnersystemview.cpp index b2d757d8..dbcbfbcc 100644 --- a/kanagram/src/leitnersystemview.cpp +++ b/kanagram/src/leitnersystemview.cpp @@ -212,5 +212,5 @@ void LeitnerSystemView::mousePressEvent(TQMouseEvent* e) updateContents(); } } - +#include "leitnersystemview.moc" diff --git a/kbruch/CMakeLists.txt b/kbruch/CMakeLists.txt new file mode 100644 index 00000000..192ddd69 --- /dev/null +++ b/kbruch/CMakeLists.txt @@ -0,0 +1,8 @@ +add_subdirectory( src ) +add_subdirectory( testcases ) + + +file( STRINGS "VERSION" _KBRUCH_VERSION ) +file( WRITE ${CMAKE_CURRENT_SOURCE_DIR}/src/version.h + "#undef KBRUCH_VERSION\n#define KBRUCH_VERSION \"${_KBRUCH_VERSION}\"" +) diff --git a/kbruch/src/CMakeLists.txt b/kbruch/src/CMakeLists.txt new file mode 100644 index 00000000..d37f661c --- /dev/null +++ b/kbruch/src/CMakeLists.txt @@ -0,0 +1,69 @@ +add_subdirectory( svg-source) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kbruch (executable) + +tde_add_executable( kbruch AUTOMOC + + SOURCES + settingsclass.kcfgc + taskvieweroptionsbase.ui + exercisebase.cpp + task.cpp ratio.cpp + taskview.cpp + statisticsview.cpp + primenumber.cpp + kbruch.cpp + mainqtwidget.cpp + taskwidget.cpp + fractionbasewidget.cpp + resultwidget.cpp + exercisecompare.cpp + ratiowidget.cpp + rationalwidget.cpp + exerciseconvert.cpp + exercisefactorize.cpp + factorizedwidget.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### icons + +tde_install_icons( ) + + +##### other data + +install( + FILES kbruchui.rc + DESTINATION ${DATA_INSTALL_DIR}/kbruch +) + +install( + FILES kbruch.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES kbruch.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) diff --git a/kbruch/src/svg-source/CMakeLists.txt b/kbruch/src/svg-source/CMakeLists.txt new file mode 100644 index 00000000..dd8e9ff8 --- /dev/null +++ b/kbruch/src/svg-source/CMakeLists.txt @@ -0,0 +1,3 @@ +##### icons + +tde_install_icons( ) diff --git a/kbruch/src/taskvieweroptionsbase.ui b/kbruch/src/taskvieweroptionsbase.ui index a35ec107..1e67553b 100644 --- a/kbruch/src/taskvieweroptionsbase.ui +++ b/kbruch/src/taskvieweroptionsbase.ui @@ -215,10 +215,8 @@ - - tdefontdialog.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - + + tdefontdialog.h + kcolorbutton.h + diff --git a/kbruch/testcases/CMakeLists.txt b/kbruch/testcases/CMakeLists.txt new file mode 100644 index 00000000..179bb4c1 --- /dev/null +++ b/kbruch/testcases/CMakeLists.txt @@ -0,0 +1,33 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/../src + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${Boost_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} + ${Boost_LIBRARY_DIRS} +) + + +##### kbruch_test (test) + +tde_add_check_executable( kbruch_test AUTOMOC + + SOURCES + ${CMAKE_SOURCE_DIR}/kbruch/src/primenumber.cpp + ${CMAKE_SOURCE_DIR}/kbruch/src/ratio.cpp + ${CMAKE_SOURCE_DIR}/kbruch/src/task.cpp + ratio_test.cpp + primenumber_test.cpp + kbruch_test.cpp + LINK + tdeui-shared + + TEST +) diff --git a/kbruch/testcases/kbruch_test.cpp b/kbruch/testcases/kbruch_test.cpp index b4e978d1..a98496eb 100644 --- a/kbruch/testcases/kbruch_test.cpp +++ b/kbruch/testcases/kbruch_test.cpp @@ -16,8 +16,8 @@ ***************************************************************************/ // for BOOST testing -#include -using boost::unit_test_framework::test_suite; +#include +using namespace boost::unit_test; // the test classes #include "primenumber_test.cpp" @@ -27,11 +27,12 @@ using boost::unit_test_framework::test_suite; test_suite* init_unit_test_suite(int /* argc */, char** /* argv */) { // create the top test suite - std::auto_ptr top_test_suite(BOOST_TEST_SUITE("Master test suite")); + test_suite* top_test_suite = BOOST_TEST_SUITE("Master test suite"); // add test suites to the top test suite top_test_suite->add(new primenumber_test_suite()); top_test_suite->add(new ratio_test_suite()); - return top_test_suite.release(); + framework::master_test_suite().add( top_test_suite ); + return 0; } diff --git a/keduca/CMakeLists.txt b/keduca/CMakeLists.txt new file mode 100644 index 00000000..da35483b --- /dev/null +++ b/keduca/CMakeLists.txt @@ -0,0 +1,9 @@ +add_subdirectory( libkeduca ) +add_subdirectory( keduca ) +add_subdirectory( keducabuilder ) +add_subdirectory( resources ) + +install( + PROGRAMS keduca-shrinker + DESTINATION ${BIN_INSTALL_DIR} +) diff --git a/keduca/keduca-shrinker b/keduca/keduca-shrinker new file mode 100644 index 00000000..188b3e0e --- /dev/null +++ b/keduca/keduca-shrinker @@ -0,0 +1,154 @@ +#!/usr/bin/perl +# +# Copyright (c) 2005 Mathieu Roy +# http://yeupou.coleumes.org +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# USA +# +# $Id: keduca-shrinker.pl,v 1.3 2005/04/23 11:30:50 yeupou Exp $ + +use Getopt::Long; + +my $getopt; +my $debug; +my $help; + +my $input; +my $output; +my $number = "20"; + + +########### Get options, give help + +eval { + $getopt = GetOptions("debug" => \$debug, + "help" => \$help, + "number=s" => \$number, + "input=s" => \$input, + "output=s" => \$ouput); +}; + +if ($help) { + print STDERR < $output"); + +########### Define subs + +sub fisher_yates_shuffle { + my $table = shift; + my $i; + for ($i = @$table; --$i;) { + my $j = int rand($i+1); + next if $i == $j; + @$table[$i,$j] = @$table[$j,$i]; + } +} + + +########### Grab the file header, store questions in an array. +# I know, it's XML, it may be simple to call an xml parser. +# But in fact, we have nothing to parse here, we do not care about +# the real content, so... +my $structure = "header"; +my $header; +my $footer; +my @questions; +my $newquestion; + +while () { + ## Grab the structure (footer and header) + # the header last when data begins + # the footer begin when data ends + + $header .= $_ if $structure eq "header"; + + $structure = "content" if /\/m; + $structure = "footer" if /\<\/Data\>/m; + + $footer .= $_ if $structure eq "footer"; + + ## Grab the questions + if ($structure eq "content") { + $newquestion .= $_; + + # If we found the string , that the end of a question + if (/\<\/question\>/m) { + push(@questions, $newquestion); + $newquestion = ""; + } + + } +} + +########### Select the number of questions we want +# warn the user if there's nothing to do +if (scalar(@questions) < $number) { + print "There are only ".scalar(@questions)." questions in the input file, less than $number.\n"; + # Copy & exit + system("cp", $input, $output); + exit; +} else { + # Shuffle + fisher_yates_shuffle(\@questions); + # Keeps only the desired amount (number-1, as 0 is counted) + $#questions = ($number-1); +} + +########### Final output +print OUTPUT $header; +print OUTPUT @questions; +print OUTPUT $footer; + +close(INPUT); +close(OUTPUT); diff --git a/keduca/keduca/CMakeLists.txt b/keduca/keduca/CMakeLists.txt new file mode 100644 index 00000000..988a64e1 --- /dev/null +++ b/keduca/keduca/CMakeLists.txt @@ -0,0 +1,74 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_BINARY_DIR}/keduca/libkeduca +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### keduca (executable) + +tde_add_executable( keduca AUTOMOC + + SOURCES + main.cpp + keduca.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeparts-shared + keduca-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### libkeducapart (kpart) + +tde_add_kpart( libkeducapart AUTOMOC + + SOURCES + configdialogbase.ui + keduca_part.cpp + tderadioeduca.cpp + kquestion.cpp + kgroupeduca.cpp + keducaview.cpp + keducaprefs.cpp + kcheckeduca.cpp + settings.kcfgc + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeparts-shared + keduca-static + + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES keducaui.rc keduca_partui.rc + DESTINATION ${DATA_INSTALL_DIR}/keduca +) + +install( + FILES keduca.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) + +install( + FILES keduca_part.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/keduca/keducabuilder/CMakeLists.txt b/keduca/keducabuilder/CMakeLists.txt new file mode 100644 index 00000000..92e6d7e3 --- /dev/null +++ b/keduca/keducabuilder/CMakeLists.txt @@ -0,0 +1,45 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_BINARY_DIR}/keduca/libkeduca +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### keducabuilder (executable) + +tde_add_executable( keducabuilder AUTOMOC + + SOURCES + kcontroladdeditbase.ui + keducaeditorstartdialogbase.ui + keducaeditorstartdialog.cpp + ktagcombobox.cpp + klangcombo.cpp + kcontrolheader.cpp + keducabuilder.cpp + kcontroladdedit.cpp + main.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + keduca-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES keducabuilderui.rc + DESTINATION ${DATA_INSTALL_DIR}/keduca +) diff --git a/keduca/keducabuilder/kcontroladdeditbase.ui b/keduca/keducabuilder/kcontroladdeditbase.ui index 1eb9e877..18c65770 100644 --- a/keduca/keducabuilder/kcontroladdeditbase.ui +++ b/keduca/keducabuilder/kcontroladdeditbase.ui @@ -864,17 +864,12 @@ class TQListViewItem; - - kurlrequester.h - klineedit.h - kpushbutton.h - kcombobox.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - tdelistview.h - + + klineedit.h + kpushbutton.h + kurlrequester.h + knuminput.h + tdelistview.h + kcombobox.h + diff --git a/keduca/keducabuilder/kcontrolheaderbase.ui b/keduca/keducabuilder/kcontrolheaderbase.ui index 1c94005d..8e7a5ae4 100644 --- a/keduca/keducabuilder/kcontrolheaderbase.ui +++ b/keduca/keducabuilder/kcontrolheaderbase.ui @@ -460,13 +460,8 @@ buttonCancel - - klineedit.h - klineedit.h - klineedit.h - kpushbutton.h - klineedit.h - klineedit.h - klineedit.h - + + klineedit.h + kpushbutton.h + diff --git a/keduca/keducabuilder/keducaeditorstartdialogbase.ui b/keduca/keducabuilder/keducaeditorstartdialogbase.ui index 79d6a2e0..22bf815b 100644 --- a/keduca/keducabuilder/keducaeditorstartdialogbase.ui +++ b/keduca/keducabuilder/keducaeditorstartdialogbase.ui @@ -313,8 +313,10 @@ openRecentDocumentRB - - klineedit.h - kpushbutton.h - + + klineedit.h + kpushbutton.h + kcombobox.h + kurlrequester.h + diff --git a/keduca/libkeduca/CMakeLists.txt b/keduca/libkeduca/CMakeLists.txt new file mode 100644 index 00000000..7d605e64 --- /dev/null +++ b/keduca/libkeduca/CMakeLists.txt @@ -0,0 +1,29 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### keduca (static) + +tde_add_library( keduca STATIC_PIC AUTOMOC + + SOURCES + kgallerydialogbase.ui + fileread.cpp + kgallerydialog.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeprint-shared +) diff --git a/keduca/resources/CMakeLists.txt b/keduca/resources/CMakeLists.txt new file mode 100644 index 00000000..32000370 --- /dev/null +++ b/keduca/resources/CMakeLists.txt @@ -0,0 +1,20 @@ +add_subdirectory( pics ) +add_subdirectory( icons ) + + +##### icons + +tde_install_icons( ) + + +##### other data + +install( + FILES x-edu.desktop x-edugallery.desktop + DESTINATION ${MIME_INSTALL_DIR}/application +) + +install( + FILES keduca.desktop keducabuilder.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) diff --git a/keduca/resources/icons/CMakeLists.txt b/keduca/resources/icons/CMakeLists.txt new file mode 100644 index 00000000..3685661d --- /dev/null +++ b/keduca/resources/icons/CMakeLists.txt @@ -0,0 +1 @@ +tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/keduca/icons ) diff --git a/keduca/resources/pics/CMakeLists.txt b/keduca/resources/pics/CMakeLists.txt new file mode 100644 index 00000000..e1c4b28e --- /dev/null +++ b/keduca/resources/pics/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) + +install( + FILES ${_pics} + DESTINATION ${DATA_INSTALL_DIR}/keduca/pics +) diff --git a/kgeography/CMakeLists.txt b/kgeography/CMakeLists.txt new file mode 100644 index 00000000..f54e982b --- /dev/null +++ b/kgeography/CMakeLists.txt @@ -0,0 +1,4 @@ +add_subdirectory( src ) +add_subdirectory( data ) +add_subdirectory( icons ) +add_subdirectory( tools ) diff --git a/kgeography/data/CMakeLists.txt b/kgeography/data/CMakeLists.txt new file mode 100644 index 00000000..f744e549 --- /dev/null +++ b/kgeography/data/CMakeLists.txt @@ -0,0 +1,11 @@ +add_subdirectory( flags ) + +##### other data + +file( GLOB _pngs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) +file( GLOB _kgms RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.kgm ) + +install( + FILES ${_pngs} ${_kgms} + DESTINATION ${DATA_INSTALL_DIR}/kgeography/ +) diff --git a/kgeography/data/flags/CMakeLists.txt b/kgeography/data/flags/CMakeLists.txt new file mode 100644 index 00000000..50e33a6b --- /dev/null +++ b/kgeography/data/flags/CMakeLists.txt @@ -0,0 +1,12 @@ +add_subdirectory( italy ) +#add_subdirectory( svg ) + + +##### other data + +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) + +install( + FILES ${_pics} + DESTINATION ${DATA_INSTALL_DIR}/kgeography/flags +) diff --git a/kgeography/data/flags/italy/CMakeLists.txt b/kgeography/data/flags/italy/CMakeLists.txt new file mode 100644 index 00000000..d11bdb54 --- /dev/null +++ b/kgeography/data/flags/italy/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) + +install( + FILES ${_pics} + DESTINATION ${DATA_INSTALL_DIR}/kgeography/flags/italy +) diff --git a/kgeography/icons/CMakeLists.txt b/kgeography/icons/CMakeLists.txt new file mode 100644 index 00000000..7f5f44b4 --- /dev/null +++ b/kgeography/icons/CMakeLists.txt @@ -0,0 +1 @@ +tde_install_icons( kgeography ) diff --git a/kgeography/src/CMakeLists.txt b/kgeography/src/CMakeLists.txt new file mode 100644 index 00000000..e1d0b88d --- /dev/null +++ b/kgeography/src/CMakeLists.txt @@ -0,0 +1,63 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kgeography (executable) + +tde_add_executable( kgeography AUTOMOC + + SOURCES + main.cpp + mapwidget.cpp + division.cpp + map.cpp + mapparser.cpp + kgeography.cpp + mapchooser.cpp + mypopup.cpp + popupmanager.cpp + flagdivisionasker.cpp + askwidget.cpp + mapasker.cpp + capitaldivisionasker.cpp + divisioncapitalasker.cpp + boxasker.cpp + divisionflagasker.cpp + answer.cpp + answersdialog.cpp + settings.kcfgc + LINK + tdecore-shared + tdeui-shared + tdeio-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES kgeographyui.rc + DESTINATION ${DATA_INSTALL_DIR}/kgeography +) + +install( + FILES kgeography.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES kgeography.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) diff --git a/kgeography/tools/CMakeLists.txt b/kgeography/tools/CMakeLists.txt new file mode 100644 index 00000000..06b54e08 --- /dev/null +++ b/kgeography/tools/CMakeLists.txt @@ -0,0 +1,6 @@ + +install( + PROGRAMS gen_map.pl + DESTINATION ${BIN_INSTALL_DIR} + RENAME kgeography_gen_map.pl +) diff --git a/khangman/CMakeLists.txt b/khangman/CMakeLists.txt new file mode 100644 index 00000000..5bae6b2a --- /dev/null +++ b/khangman/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory( khangman ) diff --git a/khangman/khangman/CMakeLists.txt b/khangman/khangman/CMakeLists.txt new file mode 100644 index 00000000..40d0fe38 --- /dev/null +++ b/khangman/khangman/CMakeLists.txt @@ -0,0 +1,68 @@ +add_subdirectory( data ) +add_subdirectory( pics ) +add_subdirectory( sounds ) +add_subdirectory( icons ) +add_subdirectory( fonts ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/libtdeedu/tdeeducore +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### khangman (executable) + +tde_add_executable( khangman AUTOMOC + + SOURCES + prefs.kcfgc + normal.ui + advanced.ui + timerdlg.ui + khangman.cpp + main.cpp + khangmanview.cpp + khnewstuff.cpp + timer.cpp + fontchecker.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdenewstuff-shared + tdeeducore-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES khangmanui.rc + DESTINATION ${DATA_INSTALL_DIR}/khangman +) + +install( + FILES khangman.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES khangman.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) + +install( + FILES khangmanrc + DESTINATION ${CONFIG_INSTALL_DIR} +) diff --git a/khangman/khangman/data/CMakeLists.txt b/khangman/khangman/data/CMakeLists.txt new file mode 100644 index 00000000..c9381755 --- /dev/null +++ b/khangman/khangman/data/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory( en ) diff --git a/khangman/khangman/data/en/CMakeLists.txt b/khangman/khangman/data/en/CMakeLists.txt new file mode 100644 index 00000000..d22ad628 --- /dev/null +++ b/khangman/khangman/data/en/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _kvtmls RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.kvtml ) + +install( + FILES ${_kvtmls} + DESTINATION ${DATA_INSTALL_DIR}/khangman/data/en +) diff --git a/khangman/khangman/fonts/CMakeLists.txt b/khangman/khangman/fonts/CMakeLists.txt new file mode 100644 index 00000000..eef21469 --- /dev/null +++ b/khangman/khangman/fonts/CMakeLists.txt @@ -0,0 +1,4 @@ +install( + FILES Dustismo_Roman.ttf Domestic_Manners.ttf + DESTINATION ${DATA_INSTALL_DIR}/khangman/fonts +) diff --git a/khangman/khangman/icons/CMakeLists.txt b/khangman/khangman/icons/CMakeLists.txt new file mode 100644 index 00000000..63f765b3 --- /dev/null +++ b/khangman/khangman/icons/CMakeLists.txt @@ -0,0 +1 @@ +tde_install_icons( ) diff --git a/khangman/khangman/pics/CMakeLists.txt b/khangman/khangman/pics/CMakeLists.txt new file mode 100644 index 00000000..6d0aa9f3 --- /dev/null +++ b/khangman/khangman/pics/CMakeLists.txt @@ -0,0 +1 @@ +tde_auto_add_subdirectories( ) diff --git a/khangman/khangman/pics/desert/CMakeLists.txt b/khangman/khangman/pics/desert/CMakeLists.txt new file mode 100644 index 00000000..2e3b6156 --- /dev/null +++ b/khangman/khangman/pics/desert/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) + +install( + FILES ${_pics} + DESTINATION ${DATA_INSTALL_DIR}/khangman/pics/desert +) diff --git a/khangman/khangman/pics/sea/CMakeLists.txt b/khangman/khangman/pics/sea/CMakeLists.txt new file mode 100644 index 00000000..a2bb04b9 --- /dev/null +++ b/khangman/khangman/pics/sea/CMakeLists.txt @@ -0,0 +1,8 @@ +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) + +list( REMOVE_ITEM _pics animation11.png ) + +install( + FILES ${_pics} + DESTINATION ${DATA_INSTALL_DIR}/khangman/pics/sea +) diff --git a/khangman/khangman/sounds/CMakeLists.txt b/khangman/khangman/sounds/CMakeLists.txt new file mode 100644 index 00000000..a3596ab8 --- /dev/null +++ b/khangman/khangman/sounds/CMakeLists.txt @@ -0,0 +1,4 @@ +install( + FILES new_game.ogg EW_Dialogue_Appear.ogg + DESTINATION ${DATA_INSTALL_DIR}/khangman/sounds +) diff --git a/khangman/khangman/timerdlg.ui b/khangman/khangman/timerdlg.ui index fcea8d8b..200527bd 100644 --- a/khangman/khangman/timerdlg.ui +++ b/khangman/khangman/timerdlg.ui @@ -222,8 +222,7 @@ - - kactivelabel.h - kactivelabel.h - + + kactivelabel.h + diff --git a/kig/CMakeLists.txt b/kig/CMakeLists.txt new file mode 100644 index 00000000..1fd286ab --- /dev/null +++ b/kig/CMakeLists.txt @@ -0,0 +1,52 @@ +add_subdirectory( objects ) +add_subdirectory( misc ) +add_subdirectory( modes ) +add_subdirectory( filters ) +add_subdirectory( kig ) +add_subdirectory( mimetypes ) +add_subdirectory( macros ) +add_subdirectory( tdefile ) +add_subdirectory( data ) +add_subdirectory( icons ) +add_subdirectory( pykig ) +add_subdirectory( scripting ) +add_subdirectory( examples ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### libkigpart (kpart) + +file( WRITE dummy.cpp "" ) + +tde_add_kpart( libkigpart AUTOMOC + + SOURCES + dummy.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeparts-shared + kigmisc-static + kigobjects-static + kigfilters-static + kigmodes-static + kigscripting-static + + EMBED + kigpart-static + + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kig/configure.in.in b/kig/configure.in.in index 99d11b95..05d5934d 100644 --- a/kig/configure.in.in +++ b/kig/configure.in.in @@ -161,6 +161,12 @@ AC_DEFUN([REGINA_LIB_BOOST_PYTHON], [ LIBS="-l$pylib $extralibs" PYVERSHORT=${pyver#python} PYVERSUFFIX=py${PYVERSHORT%.*}${PYVERSHORT#*.} + PYVERMAJOR=${PYVERSHORT%.*} + if test $PYVERMAJOR -lt 3; then + KIG_Python_init=initkig + else + KIG_Python_init=PyInit_kig + fi AC_TRY_LINK([ #include ], [ @@ -221,6 +227,8 @@ AC_DEFUN([REGINA_LIB_BOOST_PYTHON], [ if test "$__regina_py_ok" = "1"; then AC_DEFINE(HAVE_BOOST_PYTHON, 1, [Define to 1 if you have a usable boost.python installation.]) + AC_DEFINE_UNQUOTED(KIG_Python_init, $KIG_Python_init, + [KIG: Init function for python-boost]) else BOOST_PYTHON_INCLUDES= BOOST_PYTHON_LIBS= diff --git a/kig/data/CMakeLists.txt b/kig/data/CMakeLists.txt new file mode 100644 index 00000000..fd90fd2c --- /dev/null +++ b/kig/data/CMakeLists.txt @@ -0,0 +1,4 @@ +install( + FILES tips + DESTINATION ${DATA_INSTALL_DIR}/kig +) diff --git a/kig/examples/CMakeLists.txt b/kig/examples/CMakeLists.txt new file mode 100644 index 00000000..9432c37f --- /dev/null +++ b/kig/examples/CMakeLists.txt @@ -0,0 +1,15 @@ +install( + FILES + cubic-locus.kig + ellipse.kig + figure_angle.fgeo + figure_manyobjects.fgeo + fregier.kigt + locustest.kig + parabolaBDF.kigt + session_alotofthings.fgeo + sine-curve.kig + sine-curve.png + + DESTINATION ${DATA_INSTALL_DIR}/kig/examples +) diff --git a/kig/filters/CMakeLists.txt b/kig/filters/CMakeLists.txt new file mode 100644 index 00000000..35ded394 --- /dev/null +++ b/kig/filters/CMakeLists.txt @@ -0,0 +1,41 @@ +#add_subdirectory( tests ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kigfilters (static) + +tde_add_library( kigfilters STATIC_PIC AUTOMOC + + SOURCES + imageexporteroptionsbase.ui + latexexporteroptions.ui + svgexporteroptions.ui + drgeo-filter-chooserbase.ui + cabri-filter.cc + exporter.cc + filter.cc + filters-common.cc + imageexporteroptions.cc + kgeo-filter.cc + kseg-filter.cc + latexexporter.cc + native-filter.cc + svgexporter.cc + drgeo-filter.cc + drgeo-filter-chooser.cc + + LINK + kigmisc-static +) diff --git a/kig/filters/drgeo-filter-chooserbase.ui b/kig/filters/drgeo-filter-chooserbase.ui index 3cc334eb..303c2273 100644 --- a/kig/filters/drgeo-filter-chooserbase.ui +++ b/kig/filters/drgeo-filter-chooserbase.ui @@ -132,9 +132,8 @@ Please select which to import: - - tdelistbox.h - kpushbutton.h - kpushbutton.h - + + kpushbutton.h + tdelistbox.h + diff --git a/kig/filters/imageexporteroptionsbase.ui b/kig/filters/imageexporteroptionsbase.ui index 2a9156bf..330f1326 100644 --- a/kig/filters/imageexporteroptionsbase.ui +++ b/kig/filters/imageexporteroptionsbase.ui @@ -145,8 +145,7 @@ - - knuminput.h - knuminput.h - + + knuminput.h + diff --git a/kig/icons/CMakeLists.txt b/kig/icons/CMakeLists.txt new file mode 100644 index 00000000..aa21bccb --- /dev/null +++ b/kig/icons/CMakeLists.txt @@ -0,0 +1 @@ +tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kig/icons ) diff --git a/kig/kig/CMakeLists.txt b/kig/kig/CMakeLists.txt new file mode 100644 index 00000000..02f6b654 --- /dev/null +++ b/kig/kig/CMakeLists.txt @@ -0,0 +1,67 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kigpart (static) + +tde_add_library( kigpart STATIC_PIC AUTOMOC + + SOURCES + kig_document.cc + kig_part.cpp + kig_view.cpp + kig_commands.cpp + LINK + tdeprint-shared + tdeio-shared +) + + +##### kig (executable) + +tde_add_executable( kig AUTOMOC + + SOURCES + main.cpp + kig.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeparts-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### icons + +tde_install_icons( ) + + +##### other data + +install( + FILES kigui.rc kigpartui.rc + DESTINATION ${DATA_INSTALL_DIR}/kig +) + +install( + FILES kig.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES kig_part.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/kig/macros/CMakeLists.txt b/kig/macros/CMakeLists.txt new file mode 100644 index 00000000..80c77be1 --- /dev/null +++ b/kig/macros/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _kigts RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.kigt ) + +install( + FILES ${_kigts} + DESTINATION ${DATA_INSTALL_DIR}/kig/builtin-macros +) diff --git a/kig/mimetypes/CMakeLists.txt b/kig/mimetypes/CMakeLists.txt new file mode 100644 index 00000000..d4a39897 --- /dev/null +++ b/kig/mimetypes/CMakeLists.txt @@ -0,0 +1,35 @@ +tde_install_icons( ) + + +##### other data + +set( kig_magics cabri.magic drgeo.magic ) + +foreach( _magic ${kig_magics} ) + add_custom_command( + OUTPUT ${_magic}.mgc + COMMAND file -C -m ${CMAKE_CURRENT_SOURCE_DIR}/${_magic} + ) + list( APPEND kig_magics_bin ${CMAKE_CURRENT_BINARY_DIR}/${_magic}.mgc ) +endforeach( ) + +add_custom_target( + kig_magics ALL + DEPENDS ${kig_magics_bin} +) + +install( + FILES ${kig_magics} ${kig_magics_bin} + DESTINATION ${CONFIG_INSTALL_DIR}/magic +) + +install( + FILES + x-kig.desktop + x-kgeo.desktop + x-kseg.desktop + x-cabri.desktop + x-drgeo.desktop + + DESTINATION ${MIME_INSTALL_DIR}/application +) diff --git a/kig/misc/CMakeLists.txt b/kig/misc/CMakeLists.txt new file mode 100644 index 00000000..57449131 --- /dev/null +++ b/kig/misc/CMakeLists.txt @@ -0,0 +1,40 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kigmisc (static) + +tde_add_library( kigmisc STATIC_PIC AUTOMOC + + SOURCES + argsparser.cpp + builtin_stuff.cc + calcpaths.cc + common.cpp + conic-common.cpp + coordinate.cpp + coordinate_system.cpp + cubic-common.cc + goniometry.cc + guiaction.cc + kigfiledialog.cc + kiginputdialog.cc + kignumerics.cpp + kigpainter.cpp + kigtransform.cpp + lists.cc + object_constructor.cc + object_hierarchy.cc + rect.cc screeninfo.cc + special_constructors.cc +) diff --git a/kig/modes/CMakeLists.txt b/kig/modes/CMakeLists.txt new file mode 100644 index 00000000..ab62086d --- /dev/null +++ b/kig/modes/CMakeLists.txt @@ -0,0 +1,38 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kigmodes (static) + +tde_add_library( kigmodes STATIC_PIC AUTOMOC + + SOURCES + edittypebase.ui + macrowizardbase.ui + textlabelwizardbase.ui + typesdialogbase.ui + base_mode.cc + construct_mode.cc + dragrectmode.cc + edittype.cc + label.cc + linkslabel.cpp + macro.cc + macrowizard.cc + mode.cc + moving.cc + normal.cc + popup.cc + textlabelwizard.cc + typesdialog.cpp +) diff --git a/kig/modes/edittypebase.ui b/kig/modes/edittypebase.ui index 8f9365c1..c0ed56cf 100644 --- a/kig/modes/edittypebase.ui +++ b/kig/modes/edittypebase.ui @@ -276,12 +276,9 @@ cancelSlot() - - klineedit.h - klineedit.h - kicondialog.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - + + klineedit.h + kicondialog.h + kpushbutton.h + diff --git a/kig/modes/macrowizardbase.ui b/kig/modes/macrowizardbase.ui index ea20ead7..47d9a52d 100644 --- a/kig/modes/macrowizardbase.ui +++ b/kig/modes/macrowizardbase.ui @@ -181,8 +181,7 @@ - - klineedit.h - klineedit.h - + + klineedit.h + diff --git a/kig/modes/typesdialogbase.ui b/kig/modes/typesdialogbase.ui index cc5cec92..bea69868 100644 --- a/kig/modes/typesdialogbase.ui +++ b/kig/modes/typesdialogbase.ui @@ -327,14 +327,8 @@ cancelSlot() - - tdelistview.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - + + kpushbutton.h + tdelistview.h + diff --git a/kig/objects/CMakeLists.txt b/kig/objects/CMakeLists.txt new file mode 100644 index 00000000..80157665 --- /dev/null +++ b/kig/objects/CMakeLists.txt @@ -0,0 +1,58 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kigobjects (static) + +tde_add_library( kigobjects STATIC_PIC AUTOMOC + + SOURCES + angle_type.cc + arc_type.cc + base_type.cc + bogus_imp.cc + circle_imp.cc + circle_type.cc + polygon_type.cc + common.cc + conic_imp.cc + conic_types.cc + cubic_imp.cc + cubic_type.cc + curve_imp.cc + intersection_types.cc + inversion_type.cc + line_imp.cc + line_type.cc + locus_imp.cc + object_calcer.cc + object_drawer.cc + object_factory.cc + object_holder.cc + object_imp.cc + object_imp_factory.cc + object_type.cc + object_type_factory.cc + other_imp.cc + other_type.cc + point_imp.cc + point_type.cc + polygon_imp.cc + tangent_type.cc + centerofcurvature_type.cc + tests_type.cc + text_imp.cc + text_type.cc + transform_types.cc + vector_type.cc +) diff --git a/kig/pykig/CMakeLists.txt b/kig/pykig/CMakeLists.txt new file mode 100644 index 00000000..b4d6dece --- /dev/null +++ b/kig/pykig/CMakeLists.txt @@ -0,0 +1,4 @@ +install( + PROGRAMS pykig.py + DESTINATION ${BIN_INSTALL_DIR} +) diff --git a/kig/scripting/CMakeLists.txt b/kig/scripting/CMakeLists.txt new file mode 100644 index 00000000..01a2e5d6 --- /dev/null +++ b/kig/scripting/CMakeLists.txt @@ -0,0 +1,41 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${PYTHON_INCLUDE_DIRS} + ${Boost_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} + ${Boost_LIBRARY_DIRS} +) + + +##### kigscripting (static) + +tde_add_library( kigscripting STATIC_PIC AUTOMOC + + SOURCES + newscriptwizardbase.ui + python_type.cc + python_scripter.cc + script-common.cc + script_mode.cc + newscriptwizard.cc + LINK + katepartinterfaces + ${PYTHON_LIBRARIES} + ${Boost_LIBRARIES} +) + + +##### other data + +install( + FILES python-kig.xml + DESTINATION ${DATA_INSTALL_DIR}/katepart/syntax +) diff --git a/kig/scripting/python_scripter.cc b/kig/scripting/python_scripter.cc index 7e833d5c..00c7e162 100644 --- a/kig/scripting/python_scripter.cc +++ b/kig/scripting/python_scripter.cc @@ -15,6 +15,7 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA // 02110-1301, USA. +#include "config.h" #include "python_scripter.h" #include @@ -357,7 +358,7 @@ PythonScripter::PythonScripter() // the newstring stuff is to prevent warnings about conversion from // const char* to char*.. char* s = newstring( "kig" ); - PyImport_AppendInittab( s, initkig ); + PyImport_AppendInittab( s, KIG_Python_init ); // we can't delete this yet, since python keeps a pointer to it.. // This means we have a small but harmless memory leak here, but it // doesn't hurt at all, since it could only be freed at the end of diff --git a/kig/tdefile/CMakeLists.txt b/kig/tdefile/CMakeLists.txt new file mode 100644 index 00000000..ec7241ca --- /dev/null +++ b/kig/tdefile/CMakeLists.txt @@ -0,0 +1,50 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### tdefile_drgeo (kpart) + +tde_add_kpart( tdefile_drgeo AUTOMOC + + SOURCES + tdefile_drgeo.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### tdefile_kig (kpart) + +tde_add_kpart( tdefile_kig AUTOMOC + + SOURCES + tdefile_kig.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES tdefile_drgeo.desktop tdefile_kig.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/kiten/CMakeLists.txt b/kiten/CMakeLists.txt new file mode 100644 index 00000000..ccc29cc2 --- /dev/null +++ b/kiten/CMakeLists.txt @@ -0,0 +1,107 @@ +add_subdirectory( pics ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kiten (executable) + +tde_add_executable( kiten AUTOMOC + + SOURCES + configsearching.ui + configlearn.ui + configfont.ui + configdictionariesbase.ui + main.cpp + kiten.cpp + learn.cpp + kloader.cpp + ksaver.cpp + configdictionaries.cpp + optiondialog.cpp + kitenconfig.kcfgc + LINK + tdecore-shared + tdeui-shared + tdeio-shared + kiten-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### kitengen (executable) + +tde_add_executable( kitengen + + SOURCES + xjdxgen.c + LINK + tdecore-shared + tdeui-shared + tdeio-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### kiten (shared) + +tde_add_library( kiten SHARED AUTOMOC + + SOURCES + kitenconfig.kcfgc + asyndeta.cpp + dict.cpp + widgets.cpp + kromajiedit.cpp + rad.cpp + deinf.cpp + LINK + tdecore-shared + tdeui-shared + tdeprint-shared + + VERSION 1.0.0 + + DESTINATION ${LIB_INSTALL_DIR} +) + + +##### other data + +install( + FILES edict kanjidic radkfile vconj romkana.cnv + DESTINATION ${DATA_INSTALL_DIR}/kiten +) + +install( + FILES kitenui.rc learnui.rc eeditui.rc + DESTINATION ${DATA_INSTALL_DIR}/kiten +) + +install( + FILES kiten.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES kiten.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) + +install( + FILES asyndeta.h dict.h widgets.h kromajiedit.h rad.h deinf.h + DESTINATION ${INCLUDE_INSTALL_DIR}/libkiten +) diff --git a/kiten/configdictionariesbase.ui b/kiten/configdictionariesbase.ui index 1df05174..9240b755 100644 --- a/kiten/configdictionariesbase.ui +++ b/kiten/configdictionariesbase.ui @@ -306,8 +306,7 @@ - - tdelistview.h - tdelistview.h - + + tdelistview.h + diff --git a/kiten/configfont.ui b/kiten/configfont.ui index c439108a..17bcef4b 100644 --- a/kiten/configfont.ui +++ b/kiten/configfont.ui @@ -27,7 +27,7 @@ - - tdefontdialog.h - + + tdefontdialog.h + diff --git a/kiten/pics/CMakeLists.txt b/kiten/pics/CMakeLists.txt new file mode 100644 index 00000000..63f765b3 --- /dev/null +++ b/kiten/pics/CMakeLists.txt @@ -0,0 +1 @@ +tde_install_icons( ) diff --git a/klatin/CMakeLists.txt b/klatin/CMakeLists.txt new file mode 100644 index 00000000..2b7993ce --- /dev/null +++ b/klatin/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory( klatin ) diff --git a/klatin/klatin/CMakeLists.txt b/klatin/klatin/CMakeLists.txt new file mode 100644 index 00000000..f0094b17 --- /dev/null +++ b/klatin/klatin/CMakeLists.txt @@ -0,0 +1,61 @@ +add_subdirectory( data ) +add_subdirectory( icons ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/libtdeedu/tdeeducore +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### klatin (executable) + +tde_add_executable( klatin AUTOMOC + + SOURCES + klatinchoose.ui + klatingrammarwidget.ui + klatinvocabwidget.ui + klatinverbswidget.ui + klatinresultsdialog.ui + klatinsettings_vocabpage.ui + main.cpp + klatin.cpp + klatingrammar.cpp + klatinverbs.cpp + klatinvocab.cpp + settings.kcfgc + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeeducore-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES klatinui.rc + DESTINATION ${DATA_INSTALL_DIR}/klatin +) + +install( + FILES klatin.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES klatin.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) diff --git a/klatin/klatin/data/CMakeLists.txt b/klatin/klatin/data/CMakeLists.txt new file mode 100644 index 00000000..6d0aa9f3 --- /dev/null +++ b/klatin/klatin/data/CMakeLists.txt @@ -0,0 +1 @@ +tde_auto_add_subdirectories( ) diff --git a/klatin/klatin/data/grammar/CMakeLists.txt b/klatin/klatin/data/grammar/CMakeLists.txt new file mode 100644 index 00000000..81029b53 --- /dev/null +++ b/klatin/klatin/data/grammar/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _klats RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.klat ) + +install( + FILES ${_klats} + DESTINATION ${DATA_INSTALL_DIR}/klatin/data/grammar +) diff --git a/klatin/klatin/data/verbs/CMakeLists.txt b/klatin/klatin/data/verbs/CMakeLists.txt new file mode 100644 index 00000000..37af2cfd --- /dev/null +++ b/klatin/klatin/data/verbs/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _klats RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.klat ) + +install( + FILES ${_klats} + DESTINATION ${DATA_INSTALL_DIR}/klatin/data/verbs +) diff --git a/klatin/klatin/data/vocab/CMakeLists.txt b/klatin/klatin/data/vocab/CMakeLists.txt new file mode 100644 index 00000000..6d0aa9f3 --- /dev/null +++ b/klatin/klatin/data/vocab/CMakeLists.txt @@ -0,0 +1 @@ +tde_auto_add_subdirectories( ) diff --git a/klatin/klatin/data/vocab/de/CMakeLists.txt b/klatin/klatin/data/vocab/de/CMakeLists.txt new file mode 100644 index 00000000..464b07b3 --- /dev/null +++ b/klatin/klatin/data/vocab/de/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _kvtmls RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.kvtml ) + +install( + FILES ${_kvtmls} + DESTINATION ${DATA_INSTALL_DIR}/klatin/data/vocabs/de +) diff --git a/klatin/klatin/data/vocab/en/CMakeLists.txt b/klatin/klatin/data/vocab/en/CMakeLists.txt new file mode 100644 index 00000000..7c27e17d --- /dev/null +++ b/klatin/klatin/data/vocab/en/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _kvtmls RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.kvtml ) + +install( + FILES ${_kvtmls} + DESTINATION ${DATA_INSTALL_DIR}/klatin/data/vocabs/en +) diff --git a/klatin/klatin/data/vocab/pl/CMakeLists.txt b/klatin/klatin/data/vocab/pl/CMakeLists.txt new file mode 100644 index 00000000..d0c1f9cc --- /dev/null +++ b/klatin/klatin/data/vocab/pl/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _kvtmls RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.kvtml ) + +install( + FILES ${_kvtmls} + DESTINATION ${DATA_INSTALL_DIR}/klatin/data/vocabs/pl +) diff --git a/klatin/klatin/data/vocab/sk/CMakeLists.txt b/klatin/klatin/data/vocab/sk/CMakeLists.txt new file mode 100644 index 00000000..44e515bf --- /dev/null +++ b/klatin/klatin/data/vocab/sk/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _kvtmls RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.kvtml ) + +install( + FILES ${_kvtmls} + DESTINATION ${DATA_INSTALL_DIR}/klatin/data/vocabs/sk +) diff --git a/klatin/klatin/icons/CMakeLists.txt b/klatin/klatin/icons/CMakeLists.txt new file mode 100644 index 00000000..63f765b3 --- /dev/null +++ b/klatin/klatin/icons/CMakeLists.txt @@ -0,0 +1 @@ +tde_install_icons( ) diff --git a/klatin/klatin/klatinchoose.ui b/klatin/klatin/klatinchoose.ui index 36f0a6da..2528d52f 100644 --- a/klatin/klatin/klatinchoose.ui +++ b/klatin/klatin/klatinchoose.ui @@ -257,8 +257,7 @@ verb and noun tables - - kpushbutton.h - kpushbutton.h - + + kpushbutton.h + diff --git a/klatin/klatin/klatingrammarwidget.ui b/klatin/klatin/klatingrammarwidget.ui index 04dc1ca9..cc88a53b 100644 --- a/klatin/klatin/klatingrammarwidget.ui +++ b/klatin/klatin/klatingrammarwidget.ui @@ -376,7 +376,9 @@ Line 4 ChooseSection - - klineedit.h - + + kpushbutton.h + klineedit.h + kcombobox.h + diff --git a/klatin/klatin/klatinresultsdialog.ui b/klatin/klatin/klatinresultsdialog.ui index 4de14db7..12effec6 100644 --- a/klatin/klatin/klatinresultsdialog.ui +++ b/klatin/klatin/klatinresultsdialog.ui @@ -217,7 +217,7 @@ - - kpushbutton.h - + + kpushbutton.h + diff --git a/klatin/klatin/klatinsettings_vocabpage.ui b/klatin/klatin/klatinsettings_vocabpage.ui index 45642614..1bf5c803 100644 --- a/klatin/klatin/klatinsettings_vocabpage.ui +++ b/klatin/klatin/klatinsettings_vocabpage.ui @@ -172,10 +172,10 @@ - - kurlrequester.h - klineedit.h - kpushbutton.h - knuminput.h - + + kurlrequester.h + klineedit.h + kpushbutton.h + knuminput.h + diff --git a/klatin/klatin/klatinverbswidget.ui b/klatin/klatin/klatinverbswidget.ui index 4cfd546e..93a217c0 100644 --- a/klatin/klatin/klatinverbswidget.ui +++ b/klatin/klatin/klatinverbswidget.ui @@ -420,7 +420,9 @@ Line 4 ChangeButton - - klineedit.h - + + kpushbutton.h + klineedit.h + kcombobox.h + diff --git a/klatin/klatin/klatinvocabwidget.ui b/klatin/klatin/klatinvocabwidget.ui index 6fd39ff2..1fb026f3 100644 --- a/klatin/klatin/klatinvocabwidget.ui +++ b/klatin/klatin/klatinvocabwidget.ui @@ -382,11 +382,7 @@ BackButton - - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - + + kpushbutton.h + diff --git a/klettres/CMakeLists.txt b/klettres/CMakeLists.txt new file mode 100644 index 00000000..04bbdedb --- /dev/null +++ b/klettres/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory( klettres ) diff --git a/klettres/klettres/CMakeLists.txt b/klettres/klettres/CMakeLists.txt new file mode 100644 index 00000000..81039ffe --- /dev/null +++ b/klettres/klettres/CMakeLists.txt @@ -0,0 +1,70 @@ +add_subdirectory( pics ) +add_subdirectory( data ) +add_subdirectory( icons ) +add_subdirectory( en ) +add_subdirectory( fr ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### klettres (executable) + +tde_add_executable( klettres AUTOMOC + + SOURCES + fontsdlg.ui + timerdlg.ui + klettres.cpp + klnewstuff.cpp + main.cpp + klettresview.cpp + soundfactory.cpp + timer.cpp + prefs.kcfgc + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdenewstuff-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### icons + +tde_install_icons( ) + + +##### other data + +install( + FILES klettresui.rc + DESTINATION ${DATA_INSTALL_DIR}/klettres +) + +install( + FILES klettres.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES klettres.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) + +install( + FILES klettresrc + DESTINATION ${CONFIG_INSTALL_DIR} +) diff --git a/klettres/klettres/data/CMakeLists.txt b/klettres/klettres/data/CMakeLists.txt new file mode 100644 index 00000000..29734453 --- /dev/null +++ b/klettres/klettres/data/CMakeLists.txt @@ -0,0 +1,8 @@ +add_subdirectory( langs ) + +##### other data + +install( + FILES sounds.xml + DESTINATION ${DATA_INSTALL_DIR}/klettres/data +) diff --git a/klettres/klettres/data/langs/CMakeLists.txt b/klettres/klettres/data/langs/CMakeLists.txt new file mode 100644 index 00000000..e60cebbf --- /dev/null +++ b/klettres/klettres/data/langs/CMakeLists.txt @@ -0,0 +1,7 @@ +file( GLOB _txts RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.txt ) +list( REMOVE_ITEM _txts CMakeLists.txt ) + +install( + FILES ${_txts} + DESTINATION ${DATA_INSTALL_DIR}/klettres +) diff --git a/klettres/klettres/en/CMakeLists.txt b/klettres/klettres/en/CMakeLists.txt new file mode 100644 index 00000000..f0006a90 --- /dev/null +++ b/klettres/klettres/en/CMakeLists.txt @@ -0,0 +1,7 @@ +add_subdirectory( alpha ) +add_subdirectory( syllab ) + +install( + FILES sounds.xml + DESTINATION ${DATA_INSTALL_DIR}/klettres/en +) diff --git a/klettres/klettres/en/alpha/CMakeLists.txt b/klettres/klettres/en/alpha/CMakeLists.txt new file mode 100644 index 00000000..4db5cba0 --- /dev/null +++ b/klettres/klettres/en/alpha/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _oggs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.ogg ) + +install( + FILES ${_oggs} + DESTINATION ${DATA_INSTALL_DIR}/klettres/en/alpha +) diff --git a/klettres/klettres/en/syllab/CMakeLists.txt b/klettres/klettres/en/syllab/CMakeLists.txt new file mode 100644 index 00000000..c9d47dbb --- /dev/null +++ b/klettres/klettres/en/syllab/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _oggs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.ogg ) + +install( + FILES ${_oggs} + DESTINATION ${DATA_INSTALL_DIR}/klettres/en/syllab +) diff --git a/klettres/klettres/fontsdlg.ui b/klettres/klettres/fontsdlg.ui index 6bb42517..f98b6fc0 100644 --- a/klettres/klettres/fontsdlg.ui +++ b/klettres/klettres/fontsdlg.ui @@ -32,7 +32,7 @@ - - tdefontdialog.h - + + tdefontdialog.h + diff --git a/klettres/klettres/fr/CMakeLists.txt b/klettres/klettres/fr/CMakeLists.txt new file mode 100644 index 00000000..0ef0dddc --- /dev/null +++ b/klettres/klettres/fr/CMakeLists.txt @@ -0,0 +1,7 @@ +add_subdirectory( alpha ) +add_subdirectory( syllab ) + +install( + FILES sounds.xml + DESTINATION ${DATA_INSTALL_DIR}/klettres/fr +) diff --git a/klettres/klettres/fr/alpha/CMakeLists.txt b/klettres/klettres/fr/alpha/CMakeLists.txt new file mode 100644 index 00000000..cf7cd75c --- /dev/null +++ b/klettres/klettres/fr/alpha/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _oggs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.ogg ) + +install( + FILES ${_oggs} + DESTINATION ${DATA_INSTALL_DIR}/klettres/fr/alpha +) diff --git a/klettres/klettres/fr/syllab/CMakeLists.txt b/klettres/klettres/fr/syllab/CMakeLists.txt new file mode 100644 index 00000000..f1484e67 --- /dev/null +++ b/klettres/klettres/fr/syllab/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _oggs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.ogg ) + +install( + FILES ${_oggs} + DESTINATION ${DATA_INSTALL_DIR}/klettres/fr/syllab +) diff --git a/klettres/klettres/icons/CMakeLists.txt b/klettres/klettres/icons/CMakeLists.txt new file mode 100644 index 00000000..d8a3e5f6 --- /dev/null +++ b/klettres/klettres/icons/CMakeLists.txt @@ -0,0 +1 @@ +tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/klettres/icons ) diff --git a/klettres/klettres/pics/CMakeLists.txt b/klettres/klettres/pics/CMakeLists.txt new file mode 100644 index 00000000..0ecbefb9 --- /dev/null +++ b/klettres/klettres/pics/CMakeLists.txt @@ -0,0 +1,8 @@ +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.jpeg *.png ) + +list( REMOVE_ITEM _pics menubar.png ) + +install( + FILES ${_pics} + DESTINATION ${DATA_INSTALL_DIR}/klettres/pics +) diff --git a/klettres/klettres/timerdlg.ui b/klettres/klettres/timerdlg.ui index 82637661..fe2a19b8 100644 --- a/klettres/klettres/timerdlg.ui +++ b/klettres/klettres/timerdlg.ui @@ -239,7 +239,7 @@ - - kactivelabel.h - + + kactivelabel.h + diff --git a/kmplot/CMakeLists.txt b/kmplot/CMakeLists.txt new file mode 100644 index 00000000..265949c9 --- /dev/null +++ b/kmplot/CMakeLists.txt @@ -0,0 +1,2 @@ +add_subdirectory( kmplot ) +add_subdirectory( icons ) diff --git a/kmplot/icons/CMakeLists.txt b/kmplot/icons/CMakeLists.txt new file mode 100644 index 00000000..54771918 --- /dev/null +++ b/kmplot/icons/CMakeLists.txt @@ -0,0 +1,5 @@ +add_subdirectory( actions ) + +##### icons + +tde_install_icons( ) diff --git a/kmplot/icons/actions/CMakeLists.txt b/kmplot/icons/actions/CMakeLists.txt new file mode 100644 index 00000000..13e578aa --- /dev/null +++ b/kmplot/icons/actions/CMakeLists.txt @@ -0,0 +1 @@ +tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kmplot/icons ) diff --git a/kmplot/kmplot/CMakeLists.txt b/kmplot/kmplot/CMakeLists.txt new file mode 100644 index 00000000..0771413c --- /dev/null +++ b/kmplot/kmplot/CMakeLists.txt @@ -0,0 +1,123 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + +set_property( + SOURCE kmplot.cpp + APPEND PROPERTY OBJECT_DEPENDS + ${CMAKE_BINARY_DIR}/kmplot/kmplot/settings.cpp + ${CMAKE_BINARY_DIR}/kmplot/kmplot/FktDlgData.cpp + ${CMAKE_BINARY_DIR}/kmplot/kmplot/qminmax.cpp +) + + +##### kmplot (executable) + +tde_add_executable( kmplot AUTOMOC + + SOURCES + main.cpp + kmplot.cpp + kmplotprogress.cpp + kmplotIface.skel + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeparts-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + +##### libkmplotpart (kpart) + +tde_add_kpart( libkmplotpart AUTOMOC + + SOURCES + settings.kcfgc + FktDlgData.ui + qminmax.ui + settingspagecolor.ui + settingspagecoords.ui + settingspagefonts.ui + settingspagescaling.ui + settingspageprecision.ui + qparametereditor.ui + qeditparametric.ui + qeditpolar.ui + editfunctionpage.ui + editderivativespage.ui + editintegralpage.ui + qeditconstant.ui + qconstanteditor.ui + sliderwindow.ui + parser.cpp + xparser.cpp + diagr.cpp + View.cpp + MainDlg.cpp + FktDlg.cpp + kprinterdlg.cpp + kconstanteditor.cpp + kparametereditor.cpp + keditparametric.cpp + keditpolar.cpp + editfunction.cpp + kminmax.cpp + keditconstant.cpp + kmplotio.cpp + ksliderwindow.cpp + coordsconfigdialog.cpp + MainDlgIface.skel + parseriface.skel + Viewiface.skel + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeprint-shared + tdeparts-shared + + DESTINATION ${PLUGIN_INSTALL_DIR} +) + +##### other data + +install( + FILES kmplot_shell.rc + DESTINATION ${DATA_INSTALL_DIR}/kmplot +) + +install( + FILES x-kmplot.desktop + DESTINATION ${MIME_INSTALL_DIR}/application +) + +install( + FILES kmplot.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES kmplot_part.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) + +install( + FILES kmplot_part.rc kmplot_part_readonly.rc + DESTINATION ${DATA_INSTALL_DIR}/kmplot +) + +install( + FILES kmplot.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) diff --git a/kmplot/kmplot/FktDlgData.ui b/kmplot/kmplot/FktDlgData.ui index 0f91d5c7..75f0740c 100644 --- a/kmplot/kmplot/FktDlgData.ui +++ b/kmplot/kmplot/FktDlgData.ui @@ -418,7 +418,7 @@ slotNewPrime() - - tdelistview.h - + + tdelistview.h + diff --git a/kmplot/kmplot/editderivativespage.ui b/kmplot/kmplot/editderivativespage.ui index 235721f2..d6371498 100644 --- a/kmplot/kmplot/editderivativespage.ui +++ b/kmplot/kmplot/editderivativespage.ui @@ -269,8 +269,8 @@ colorDerivative2 - - knuminput.h - knuminput.h - + + knuminput.h + kcolorbutton.h + diff --git a/kmplot/kmplot/editfunctionpage.ui b/kmplot/kmplot/editfunctionpage.ui index 4683b7f6..dce7932c 100644 --- a/kmplot/kmplot/editfunctionpage.ui +++ b/kmplot/kmplot/editfunctionpage.ui @@ -898,11 +898,4 @@ Example: f(x)=x^2 customRange_toggled( bool ) - - klineedit.h - kpushbutton.h - klineedit.h - klineedit.h - kcolorbutton.h - diff --git a/kmplot/kmplot/editintegralpage.ui b/kmplot/kmplot/editintegralpage.ui index 70c63f6a..a26822c9 100644 --- a/kmplot/kmplot/editintegralpage.ui +++ b/kmplot/kmplot/editintegralpage.ui @@ -282,7 +282,9 @@ color - - knuminput.h - + + knuminput.h + kcolorbutton.h + klineedit.h + diff --git a/kmplot/kmplot/qconstanteditor.ui b/kmplot/kmplot/qconstanteditor.ui index 30bc937e..0dc8ab8b 100644 --- a/kmplot/kmplot/qconstanteditor.ui +++ b/kmplot/kmplot/qconstanteditor.ui @@ -197,7 +197,7 @@ varlist_doubleClicked( TQListViewItem * ) - - tdelistview.h - + + tdelistview.h + diff --git a/kmplot/kmplot/qeditconstant.ui b/kmplot/kmplot/qeditconstant.ui index 02d3273f..ffb66c43 100644 --- a/kmplot/kmplot/qeditconstant.ui +++ b/kmplot/kmplot/qeditconstant.ui @@ -132,8 +132,7 @@ txtVariable_lostFocus() - - klineedit.h - klineedit.h - + + klineedit.h + diff --git a/kmplot/kmplot/qeditparametric.ui b/kmplot/kmplot/qeditparametric.ui index e22f6c19..1b7eaffb 100644 --- a/kmplot/kmplot/qeditparametric.ui +++ b/kmplot/kmplot/qeditparametric.ui @@ -532,14 +532,9 @@ Example: sin(t) slotHelp() - - klineedit.h - klineedit.h - klineedit.h - kcolorbutton.h - knuminput.h - knuminput.h - klineedit.h - klineedit.h - + + kcolorbutton.h + klineedit.h + knuminput.h + diff --git a/kmplot/kmplot/qeditpolar.ui b/kmplot/kmplot/qeditpolar.ui index 61624136..2d9a785c 100644 --- a/kmplot/kmplot/qeditpolar.ui +++ b/kmplot/kmplot/qeditpolar.ui @@ -396,12 +396,9 @@ Example: loop(angle)=ln(angle) slotHelp() - - klineedit.h - kcolorbutton.h - knuminput.h - knuminput.h - klineedit.h - klineedit.h - + + kcolorbutton.h + klineedit.h + knuminput.h + diff --git a/kmplot/kmplot/qminmax.ui b/kmplot/kmplot/qminmax.ui index 29a359f6..e837daa3 100644 --- a/kmplot/kmplot/qminmax.ui +++ b/kmplot/kmplot/qminmax.ui @@ -139,4 +139,9 @@ + + kpushbutton.h + klineedit.h + tdelistbox.h + diff --git a/kmplot/kmplot/qparametereditor.ui b/kmplot/kmplot/qparametereditor.ui index 675d2736..ad22b13d 100644 --- a/kmplot/kmplot/qparametereditor.ui +++ b/kmplot/kmplot/qparametereditor.ui @@ -182,4 +182,9 @@ + + kpushbutton.h + tdelistbox.h + kcolorbutton.h + diff --git a/kmplot/kmplot/settingspagecolor.ui b/kmplot/kmplot/settingspagecolor.ui index 5b938c04..dff866d9 100644 --- a/kmplot/kmplot/settingspagecolor.ui +++ b/kmplot/kmplot/settingspagecolor.ui @@ -456,4 +456,7 @@ kcfg_Color9 + + kcolorbutton.h + diff --git a/kmplot/kmplot/settingspagecoords.ui b/kmplot/kmplot/settingspagecoords.ui index 6293d0cd..d15f669f 100644 --- a/kmplot/kmplot/settingspagecoords.ui +++ b/kmplot/kmplot/settingspagecoords.ui @@ -752,18 +752,8 @@ kcfg_GridLineWidth - - klineedit.h - klineedit.h - klineedit.h - klineedit.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - + + klineedit.h + knuminput.h + diff --git a/kmplot/kmplot/settingspagefonts.ui b/kmplot/kmplot/settingspagefonts.ui index 18d6bb1b..663ab04c 100644 --- a/kmplot/kmplot/settingspagefonts.ui +++ b/kmplot/kmplot/settingspagefonts.ui @@ -120,9 +120,9 @@ - - tdefontcombo.h - knuminput.h - tdefontcombo.h - + + tdefontcombo.h + knuminput.h + tdefontcombo.h + diff --git a/kmplot/kmplot/settingspageprecision.ui b/kmplot/kmplot/settingspageprecision.ui index cafc3365..84156321 100644 --- a/kmplot/kmplot/settingspageprecision.ui +++ b/kmplot/kmplot/settingspageprecision.ui @@ -269,8 +269,8 @@ - - knuminput.h - knuminput.h - + + knuminput.h + kcolorbutton.h + diff --git a/kmplot/kmplot/settingspagescaling.ui b/kmplot/kmplot/settingspagescaling.ui index eaaf0690..1802e00f 100644 --- a/kmplot/kmplot/settingspagescaling.ui +++ b/kmplot/kmplot/settingspagescaling.ui @@ -412,4 +412,7 @@ kcfg_YPrinting + + kcombobox.h + diff --git a/kpercentage/CMakeLists.txt b/kpercentage/CMakeLists.txt new file mode 100644 index 00000000..476754bc --- /dev/null +++ b/kpercentage/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory( kpercentage ) diff --git a/kpercentage/kpercentage/CMakeLists.txt b/kpercentage/kpercentage/CMakeLists.txt new file mode 100644 index 00000000..79a57f3f --- /dev/null +++ b/kpercentage/kpercentage/CMakeLists.txt @@ -0,0 +1,48 @@ +add_subdirectory( icons ) +add_subdirectory( pics ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kpercentage (executable) + +tde_add_executable( kpercentage AUTOMOC + + SOURCES + kanimation.cpp + kanswer.cpp + kpercentmain.cpp + kpercentage.cpp + ksplashscreen.cpp + main.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES kpercentage.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES right.txt wrong.txt + DESTINATION ${DATA_INSTALL_DIR}/kpercentage +) diff --git a/kpercentage/kpercentage/icons/CMakeLists.txt b/kpercentage/kpercentage/icons/CMakeLists.txt new file mode 100644 index 00000000..54771918 --- /dev/null +++ b/kpercentage/kpercentage/icons/CMakeLists.txt @@ -0,0 +1,5 @@ +add_subdirectory( actions ) + +##### icons + +tde_install_icons( ) diff --git a/kpercentage/kpercentage/icons/actions/CMakeLists.txt b/kpercentage/kpercentage/icons/actions/CMakeLists.txt new file mode 100644 index 00000000..160df70d --- /dev/null +++ b/kpercentage/kpercentage/icons/actions/CMakeLists.txt @@ -0,0 +1 @@ +tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kpercentage/icons ) diff --git a/kpercentage/kpercentage/pics/CMakeLists.txt b/kpercentage/kpercentage/pics/CMakeLists.txt new file mode 100644 index 00000000..2b3aea4f --- /dev/null +++ b/kpercentage/kpercentage/pics/CMakeLists.txt @@ -0,0 +1,11 @@ +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) + +install( + FILES ${_pics} + DESTINATION ${DATA_INSTALL_DIR}/kpercentage/pics +) + +install( + FILES right.story wrong.story + DESTINATION ${DATA_INSTALL_DIR}/kpercentage/story +) diff --git a/kstars/CMakeLists.txt b/kstars/CMakeLists.txt new file mode 100644 index 00000000..e4f94177 --- /dev/null +++ b/kstars/CMakeLists.txt @@ -0,0 +1,8 @@ +##### configure checks + +include( ConfigureChecks.cmake ) + + +##### subdirectories + +add_subdirectory( kstars ) diff --git a/kstars/ConfigureChecks.cmake b/kstars/ConfigureChecks.cmake new file mode 100644 index 00000000..41184537 --- /dev/null +++ b/kstars/ConfigureChecks.cmake @@ -0,0 +1,67 @@ +########################################### +# # +# Improvements and feedback are welcome # +# # +# This file is released under GPL >= 3 # +# # +########################################### + + +##### check for libusb + +if( WITH_LIBUSB ) + + pkg_search_module( LIBUSB libusb libusb-2.0 ) + if( NOT LIBUSB_FOUND ) + tde_message_fatal( "libusb support has been requested, but was not found on your system" ) + endif( NOT LIBUSB_FOUND ) + +endif( WITH_LIBUSB ) + + +##### check for pthread + +find_package ( Threads REQUIRED ) + + +##### check for zlib + +find_package ( ZLIB REQUIRED ) + + +##### check for math lib + +check_library_exists( m sincos "" LIBM ) +if( LIBM ) + set( LIBM m ) +endif( LIBM ) + + +##### check for v4l + +if( WITH_V4L ) + check_include_file( "linux/videodev2.h" HAVE_LINUX_VIDEODEV2_H ) + + if( NOT HAVE_LINUX_VIDEODEV2_H ) + check_include_file( "linux/videodev.h" HAVE_LINUX_VIDEODEV_H ) + if( NOT HAVE_LINUX_VIDEODEV_H ) + tde_message_fatal( "video4linux support is requested, but videodev2.h or videodev.h was not found on your system" ) + endif( ) + endif( ) +endif( ) + + +##### check platform OS + +message( STATUS "Cheking platform - ${CMAKE_SYSTEM_NAME}" ) + +if( ${CMAKE_SYSTEM_NAME} MATCHES "Linux" ) + set( OS_Linux true ) + set( LIB_FLI fli_linux-static ) +elseif( ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD|FreeBSD|DragonFly|NetBSD" ) + set( OS_BSD true ) + set( LIB_FLI fli_bsd-static ) +else( ) + set( OS_UNKNOWN true ) + set( LIB_FLI fli_null-static ) +endif( ) diff --git a/kstars/kstars/CMakeLists.txt b/kstars/kstars/CMakeLists.txt new file mode 100644 index 00000000..78f6b465 --- /dev/null +++ b/kstars/kstars/CMakeLists.txt @@ -0,0 +1,145 @@ +add_subdirectory( indi ) +add_subdirectory( tools ) +add_subdirectory( data ) +add_subdirectory( icons ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/tools + ${CMAKE_BINARY_DIR}/kstars/kstars/tools +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + +##### kstars (executable) + +tde_add_executable( kstars AUTOMOC + + SOURCES + addcatdialogui.ui addlinkdialogui.ui + ccdpreviewui.ui contrastbrightnessgui.ui + details_data.ui details_position.ui + details_links.ui details_database.ui + details_log.ui devmanager.ui + fitsheaderdialog.ui focusdialogdlg.ui + fovdialogui.ui histdialog.ui + imagereductionui.ui imgsequencedlgui.ui + indiconf.ui indihostconf.ui + kswizardui.ui newfovui.ui + opsadvancedui.ui opscatalogui.ui + opscolorsui.ui opsguidesui.ui + opssolarsystemui.ui statform.ui + streamformui.ui telescopewizard.ui + thumbnailpickerui.ui thumbnaileditorui.ui + telescopepropui.ui + addcatdialog.cpp addlinkdialog.cpp + colorscheme.cpp conbridlg.cpp + csegment.cpp deepskyobject.cpp + detaildialog.cpp devicemanager.cpp + dms.cpp dmsbox.cpp + filesource.cpp finddialog.cpp + fitshistogram.cpp ccdpreviewwg.cpp + customcatalog.cpp fitsimage.cpp + fitsprocess.cpp fitsviewer.cpp + focusdialog.cpp fov.cpp + fovdialog.cpp geolocation.cpp + imagereductiondlg.cpp imagesequence.cpp + imageviewer.cpp indidevice.cpp + indidriver.cpp indielement.cpp + indifitsconf.cpp indigroup.cpp + indimenu.cpp indiproperty.cpp + indistd.cpp infobox.cpp + infoboxes.cpp jupitermoons.cpp + ksasteroid.cpp kscomet.cpp + ksfilereader.cpp ksmoon.cpp + ksnewstuff.cpp ksnumbers.cpp + ksplanet.cpp ksplanetbase.cpp + kspluto.cpp kspopupmenu.cpp + kssun.cpp kstars.cpp + kstarsactions.cpp kstarsdata.cpp + kstarsdatetime.cpp kstarsdcop.cpp + kstarsinit.cpp kstarssplash.cpp + ksutils.cpp kswizard.cpp + locationdialog.cpp magnitudespinbox.cpp + main.cpp mapcanvas.cpp + objectnamelist.cpp opsadvanced.cpp + opscatalog.cpp opscolors.cpp + opsguides.cpp opssolarsystem.cpp + planetcatalog.cpp simclock.cpp + skymap.cpp skymapdraw.cpp + skymapevents.cpp skyobject.cpp + skyobjectname.cpp skypoint.cpp + stardatasink.cpp starobject.cpp + starpixmap.cpp streamwg.cpp + telescopewizardprocess.cpp telescopeprop.cpp + timebox.cpp timedialog.cpp + timespinbox.cpp timestepbox.cpp + timeunitbox.cpp timezonerule.cpp + toggleaction.cpp thumbnailpicker.cpp + thumbnaileditor.cpp draglistbox.cpp + Options.kcfgc kstarsinterface.skel + simclockinterface.skel + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeprint-shared + tdenewstuff-shared + tdeeduplot-shared + tdeeduui-shared + extdate-shared + kstarstools-static + lilxml-static + indicom-static + + DEPENDENCIES + kstarstools-static + tdeeduplot-shared + tdeeduui-shared + extdate-shared + lilxml-static + indicom-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### icons + +tde_install_icons( ) + + +##### other data + +install( + FILES kstarsui.rc fitsviewer.rc + DESTINATION ${DATA_INSTALL_DIR}/kstars/ +) + +install( + FILES kstars.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES kstars.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) + +install( + FILES kstarsrc + DESTINATION ${CONFIG_INSTALL_DIR} +) + +install( + FILES kstarsinterface.h simclockinterface.h + DESTINATION ${INCLUDE_INSTALL_DIR} +) diff --git a/kstars/kstars/addcatdialogui.ui b/kstars/kstars/addcatdialogui.ui index 8842d6d4..024b17fa 100644 --- a/kstars/kstars/addcatdialogui.ui +++ b/kstars/kstars/addcatdialogui.ui @@ -351,21 +351,13 @@ CatalogURL - - kurlrequester.h - klineedit.h - kpushbutton.h - tdelistbox.h - draglistbox.h - draglistbox.h - klineedit.h - knuminput.h - knuminput.h - kcolorbutton.h - kpushbutton.h - kurlrequester.h - klineedit.h - kpushbutton.h - klineedit.h - + + kpushbutton.h + kurlrequester.h + klineedit.h + tdelistbox.h + draglistbox.h + knuminput.h + kcolorbutton.h + diff --git a/kstars/kstars/addlinkdialogui.ui b/kstars/kstars/addlinkdialogui.ui index e6310813..3e9b51c9 100644 --- a/kstars/kstars/addlinkdialogui.ui +++ b/kstars/kstars/addlinkdialogui.ui @@ -150,4 +150,8 @@ + + kpushbutton.h + klineedit.h + diff --git a/kstars/kstars/ccdpreviewui.ui b/kstars/kstars/ccdpreviewui.ui index 1ea53d03..4a15a500 100644 --- a/kstars/kstars/ccdpreviewui.ui +++ b/kstars/kstars/ccdpreviewui.ui @@ -426,10 +426,9 @@ - - kpushbutton.h - kpushbutton.h - kcombobox.h - klineedit.h - + + kpushbutton.h + kcombobox.h + klineedit.h + diff --git a/kstars/kstars/contrastbrightnessgui.ui b/kstars/kstars/contrastbrightnessgui.ui index 22b23b67..24db4c67 100644 --- a/kstars/kstars/contrastbrightnessgui.ui +++ b/kstars/kstars/contrastbrightnessgui.ui @@ -119,8 +119,7 @@ - - knuminput.h - knuminput.h - + + knuminput.h + diff --git a/kstars/kstars/data/CMakeLists.txt b/kstars/kstars/data/CMakeLists.txt new file mode 100644 index 00000000..96f3da2b --- /dev/null +++ b/kstars/kstars/data/CMakeLists.txt @@ -0,0 +1,22 @@ +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) +file( GLOB _dats RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.dat ) +file( GLOB _vsops RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.vsop ) +file( GLOB _orbits RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.orbit ) +file( GLOB _colors RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.colors ) + +list( REMOVE_ITEM _pics lo16-app-kstars.png lo32-app-kstars.png ) +list( REMOVE_ITEM _pics glstarbase.png ) + +install( + FILES + tips + ${_pics} + ${_dats} + ${_vsops} + ${_orbits} + ${_colors} + valaav.txt + glossary.xml + + DESTINATION ${DATA_INSTALL_DIR}/kstars +) diff --git a/kstars/kstars/details_data.ui b/kstars/kstars/details_data.ui index aa555525..aff5de21 100644 --- a/kstars/kstars/details_data.ui +++ b/kstars/kstars/details_data.ui @@ -591,9 +591,9 @@ - - kactivelabel.h - kpushbutton.h - + + kpushbutton.h + kactivelabel.h + diff --git a/kstars/kstars/details_database.ui b/kstars/kstars/details_database.ui index 4a1353c7..4df0fe63 100644 --- a/kstars/kstars/details_database.ui +++ b/kstars/kstars/details_database.ui @@ -49,7 +49,7 @@ - - tdelistview.h - + + tdelistview.h + diff --git a/kstars/kstars/details_links.ui b/kstars/kstars/details_links.ui index 460f2068..cd5f95b5 100644 --- a/kstars/kstars/details_links.ui +++ b/kstars/kstars/details_links.ui @@ -177,12 +177,8 @@ - - tdelistbox.h - tdelistbox.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - + + kpushbutton.h + tdelistbox.h + diff --git a/kstars/kstars/details_position.ui b/kstars/kstars/details_position.ui index f09c720e..c3d875c3 100644 --- a/kstars/kstars/details_position.ui +++ b/kstars/kstars/details_position.ui @@ -910,18 +910,7 @@ - - kactivelabel.h - kactivelabel.h - kactivelabel.h - kactivelabel.h - kactivelabel.h - kactivelabel.h - kactivelabel.h - kactivelabel.h - kactivelabel.h - kactivelabel.h - kactivelabel.h - kactivelabel.h - + + kactivelabel.h + diff --git a/kstars/kstars/devmanager.ui b/kstars/kstars/devmanager.ui index 6ff0ebb4..2370e967 100644 --- a/kstars/kstars/devmanager.ui +++ b/kstars/kstars/devmanager.ui @@ -427,15 +427,8 @@ - - tdelistview.h - kpushbutton.h - kpushbutton.h - tdelistview.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - + + tdelistview.h + kpushbutton.h + diff --git a/kstars/kstars/fitsheaderdialog.ui b/kstars/kstars/fitsheaderdialog.ui index 18c6e723..c376caa6 100644 --- a/kstars/kstars/fitsheaderdialog.ui +++ b/kstars/kstars/fitsheaderdialog.ui @@ -114,4 +114,7 @@ + + tdelistview.h + diff --git a/kstars/kstars/fovdialogui.ui b/kstars/kstars/fovdialogui.ui index f5f78de2..4687f4c3 100644 --- a/kstars/kstars/fovdialogui.ui +++ b/kstars/kstars/fovdialogui.ui @@ -183,10 +183,8 @@ - - tdelistbox.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - + + tdelistbox.h + kpushbutton.h + diff --git a/kstars/kstars/histdialog.ui b/kstars/kstars/histdialog.ui index aeda0098..650bcc83 100644 --- a/kstars/kstars/histdialog.ui +++ b/kstars/kstars/histdialog.ui @@ -333,10 +333,7 @@ - - klineedit.h - klineedit.h - klineedit.h - klineedit.h - + + klineedit.h + diff --git a/kstars/kstars/icons/CMakeLists.txt b/kstars/kstars/icons/CMakeLists.txt new file mode 100644 index 00000000..f9628618 --- /dev/null +++ b/kstars/kstars/icons/CMakeLists.txt @@ -0,0 +1 @@ +tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kstars/icons ) diff --git a/kstars/kstars/imgsequencedlgui.ui b/kstars/kstars/imgsequencedlgui.ui index 45b4dd60..bf698ff3 100644 --- a/kstars/kstars/imgsequencedlgui.ui +++ b/kstars/kstars/imgsequencedlgui.ui @@ -484,14 +484,9 @@ closeB - - kprogress.h - klineedit.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - + + kprogress.h + klineedit.h + knuminput.h + diff --git a/kstars/kstars/indi/CMakeLists.txt b/kstars/kstars/indi/CMakeLists.txt new file mode 100644 index 00000000..34c08881 --- /dev/null +++ b/kstars/kstars/indi/CMakeLists.txt @@ -0,0 +1,391 @@ +add_subdirectory( fli ) +add_subdirectory( apogee ) +tde_conditional_add_subdirectory( WITH_V4L webcam ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${ZLIB_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} + ${CMAKE_BINARY_DIR}/kstars/kstars/indi/fli +) + +set( INDIDRIVER_BASE_SRC base64.c indidrivermain.c eventloop.c ) + + +##### lilxml (static ) + +tde_add_library( lilxml STATIC_PIC + + SOURCES + lilxml.c +) + + +##### indicom (static ) + +tde_add_library( indicom STATIC_PIC + + SOURCES + base64.c + indicom.c + fitsrw.c +) + + +##### indiserver (executable) + +tde_add_executable( indiserver + + SOURCES + indiserver.c + fq.c + LINK + tdecore-shared + lilxml-static + ${CMAKE_THREAD_LIBS_INIT} + + DEPENDENCIES + lilxml-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### lx200basic (executable) + +tde_add_executable( lx200basic + + SOURCES + ${INDIDRIVER_BASE_SRC} + lx200driver.c + lx200basic.cpp + LINK + lilxml-static + indicom-static + tdecore-shared + + DEPENDENCIES + lilxml-static + indicom-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### lx200generic (executable) + +tde_add_executable( lx200generic + + SOURCES + ${INDIDRIVER_BASE_SRC} + lx200driver.c + lx200autostar.cpp + lx200_16.cpp + lx200gps.cpp + lx200generic.cpp + lx200classic.cpp + LINK + tdecore-shared + lilxml-static + indicom-static + ${LIBM} + + DEPENDENCIES + lilxml-static + indicom-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +foreach( _lx200 lx200classic lx200autostar lx200_16 lx200gps ) + tde_install_symlink( lx200generic ${BIN_INSTALL_DIR}/${_lx200} ) +endforeach( ) + + +##### celestrongps (executable) + +tde_add_executable( celestrongps + + SOURCES + ${INDIDRIVER_BASE_SRC} + celestronprotocol.c + celestrongps.cpp + LINK + tdecore-shared + lilxml-static + indicom-static + ${LIBM} + + DEPENDENCIES + lilxml-static + indicom-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### apmount (executable) + +tde_add_executable( apmount + + SOURCES + ${INDIDRIVER_BASE_SRC} + lx200driver.c + apmount.cpp + LINK + tdecore-shared + lilxml-static + indicom-static + + DEPENDENCIES + lilxml-static + indicom-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### fliccd (executable) + +tde_add_executable( fliccd + + SOURCES + ${INDIDRIVER_BASE_SRC} + fli_ccd.c + + LINK + tdecore-shared + fli_common-static + ${LIB_FLI} + indicom-static + lilxml-static + ${ZLIB_LIBRARIES} + ${LIBM} + + DEPENDENCIES + fli_common-static + ${LIB_FLI} + indicom-static + lilxml-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### fliwheel (executable) + +tde_add_executable( fliwheel + + SOURCES + ${INDIDRIVER_BASE_SRC} + fli_wheel.c + + LINK + tdecore-shared + fli_common-static + ${LIB_FLI} + indicom-static + lilxml-static + ${LIBM} + + DEPENDENCIES + fli_common-static + ${LIB_FLI} + indicom-static + lilxml-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### temma (executable) + +tde_add_executable( temma + + SOURCES + ${INDIDRIVER_BASE_SRC} + temmadriver.c + LINK + tdecore-shared + indicom-static + lilxml-static + ${LIBM} + + DEPENDENCIES + indicom-static + lilxml-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### skycommander (executable) + +tde_add_executable( skycommander + + SOURCES + ${INDIDRIVER_BASE_SRC} + lx200driver.c + skycommander.c + LINK + tdecore-shared + indicom-static + lilxml-static + ${LIBM} + + DEPENDENCIES + indicom-static + lilxml-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### sbigccd (executable) + +tde_add_executable( sbigccd + + SOURCES + ${INDIDRIVER_BASE_SRC} + sbigccd.cpp + + LINK + tdecore-shared + indicom-static + lilxml-static + ${ZLIB_LIBRARIES} + + DEPENDENCIES + indicom-static + lilxml-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### With Video4Linux support + +if( WITH_V4L ) + + +####### apogee_ppi (executable) + +set_property( + SOURCE apogee_ppi.cpp + APPEND PROPERTY COMPILE_DEFINITIONS + TOP_DATADIR="${DATA_INSTALL_DIR}/kstars" +) + +tde_add_executable( apogee_ppi + + SOURCES + ${INDIDRIVER_BASE_SRC} + apogee_ppi.cpp + LINK + tdecore-shared + indicom-static + lilxml-static + libapogee_PPI-static + ${ZLIB_LIBRARIES} + + DEPENDENCIES + indicom-static + lilxml-static + libapogee_PPI-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +####### v4ldriver (executable) + +tde_add_executable( v4ldriver + + SOURCES + ${INDIDRIVER_BASE_SRC} + v4ldriver.cpp + indi_v4l.cpp + LINK + tdecore-shared + indicom-static + lilxml-static + libwebcam_v4l-static + ${ZLIB_LIBRARIES} + ${LIBM} + + DEPENDENCIES + indicom-static + lilxml-static + libwebcam_v4l-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +####### v4lphilips (executable) + +tde_add_executable( v4lphilips + + SOURCES + ${INDIDRIVER_BASE_SRC} + v4ldriver.cpp + v4lphilips.cpp + indi_philips.cpp + LINK + tdecore-shared + indicom-static + lilxml-static + libwebcam_v4l-static + ${ZLIB_LIBRARIES} + ${LIBM} + + DEPENDENCIES + indicom-static + lilxml-static + libwebcam_v4l-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### meade_lpi (executable) + +tde_add_executable( meade_lpi + + SOURCES + ${INDIDRIVER_BASE_SRC} + v4ldriver.cpp + indi_lpi.cpp + LINK + tdecore-shared + indicom-static + lilxml-static + libwebcam_v4l-static + ${ZLIB_LIBRARIES} + + DEPENDENCIES + indicom-static + lilxml-static + libwebcam_v4l-static + + DESTINATION ${BIN_INSTALL_DIR} +) + +endif() + + +##### other data + +install( + FILES drivers.xml apogee_caminfo.xml + DESTINATION ${DATA_INSTALL_DIR}/kstars +) diff --git a/kstars/kstars/indi/apogee/CMakeLists.txt b/kstars/kstars/indi/apogee/CMakeLists.txt new file mode 100644 index 00000000..5986af5f --- /dev/null +++ b/kstars/kstars/indi/apogee/CMakeLists.txt @@ -0,0 +1,92 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${LIBUSB_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### libapogee_ISA (static) + +tde_add_library( libapogee_ISA STATIC_PIC + + SOURCES + CameraIO_Linux.cpp + CameraIO_LinuxISA.cpp +) + + +##### libapogee_PCI (static) + +tde_add_library( libapogee_PCI STATIC_PIC + + SOURCES + CameraIO_Linux.cpp + CameraIO_LinuxPCI.cpp +) + + +##### libapogee_PPI (static) + +tde_add_library( libapogee_PPI STATIC_PIC + + SOURCES + CameraIO_Linux.cpp + CameraIO_LinuxPPI.cpp +) + + +##### libapogee_USB ( static ) + +if( WITH_LIBUSB ) + +tde_add_library( libapogee_USB STATIC_PIC + + SOURCES + ApnCamData.cpp + ApnCamData_CCD3011HS.cpp + ApnCamData_CCD3011LS.cpp + ApnCamData_CCD4240HS.cpp + ApnCamData_CCD4240LS.cpp + ApnCamData_CCD4710HS.cpp + ApnCamData_CCD4710LS.cpp + ApnCamData_CCD4710LS2.cpp + ApnCamData_CCD4710LS3.cpp + ApnCamData_CCD4710LS4.cpp + ApnCamData_CCD4710LS5.cpp + ApnCamData_CCD4720HS.cpp + ApnCamData_CCD4720LS.cpp + ApnCamData_CCD5520HS.cpp + ApnCamData_CCD5520LS.cpp + ApnCamData_CCD5710HS.cpp + ApnCamData_CCD5710LS.cpp + ApnCamData_CCD7700HS.cpp + ApnCamData_CCD7700LS.cpp + ApnCamData_KAF0261E.cpp + ApnCamData_KAF0401E.cpp + ApnCamData_KAF1001E.cpp + ApnCamData_KAF1301E.cpp + ApnCamData_KAF1401E.cpp + ApnCamData_KAF3200E.cpp + ApnCamData_KAF4202.cpp + ApnCamData_KAF1602E.cpp + ApnCamData_KAF16801E.cpp + ApnCamData_KAF6303E.cpp + ApnCamData_TH7899.cpp + ApnCamTable.cpp + ApnCamera.cpp + ApnCamera_USB.cpp + ApnCamera_Linux.cpp + ApogeeUsbLinux.cpp + LINK + ${LIBUSB_LIBRARIES} +) + +endif( WITH_LIBUSB ) diff --git a/kstars/kstars/indi/fli/CMakeLists.txt b/kstars/kstars/indi/fli/CMakeLists.txt new file mode 100644 index 00000000..235137a9 --- /dev/null +++ b/kstars/kstars/indi/fli/CMakeLists.txt @@ -0,0 +1,70 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### fli_common (static) + +tde_add_library( fli_common STATIC_PIC + + SOURCES + libfli.c + libfli-camera.c + libfli-camera-parport.c + libfli-camera-usb.c + libfli-filter-focuser.c + libfli-mem.c + libfli-serial.c + libfli-sys.c + libfli-usb.c + libfli-debug.c +) + + +##### $(libfli_linux) (static) + +if( OS_Linux ) + +tde_add_library( fli_linux STATIC_PIC + + SOURCES + libfli-parport.c + libfli-usb-sys-linux.c +) + +endif() + + +##### fli_bsd (static) + +if( OS_BSD ) + +tde_add_library( fli_bsd STATIC_PIC + + SOURCES + libfli-usb-sys-bsd.c +) + +endif() + + +##### fli_null (static) + +if( OS_UNKNOWN ) + +tde_add_library( fli_null STATIC_PIC + + SOURCES + libfli-usb-sys-null.c +) + +endif() diff --git a/kstars/kstars/indi/webcam/CMakeLists.txt b/kstars/kstars/indi/webcam/CMakeLists.txt new file mode 100644 index 00000000..05283d18 --- /dev/null +++ b/kstars/kstars/indi/webcam/CMakeLists.txt @@ -0,0 +1,31 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### libwebcam_linux (static) + +if( HAVE_LINUX_VIDEODEV2_H ) + set( V4L_SOURCES v4l2_base.cpp ) +elseif( HAVE_LINUX_VIDEODEV_H ) + set( V4L_SOURCES v4l1_base.cpp v4l1_pwc.cpp ) +endif( ) + +tde_add_library( libwebcam_v4l STATIC_PIC + + SOURCES + ${V4L_SOURCES} + PPort.cpp + port.cpp + ccvt_c2.c + ccvt_misc.c +) diff --git a/kstars/kstars/indiconf.ui b/kstars/kstars/indiconf.ui index 864cf35f..59f2b3f2 100644 --- a/kstars/kstars/indiconf.ui +++ b/kstars/kstars/indiconf.ui @@ -406,11 +406,8 @@ buttonCancel - - klineedit.h - kpushbutton.h - klineedit.h - klineedit.h - klineedit.h - + + klineedit.h + kpushbutton.h + diff --git a/kstars/kstars/kswizardui.ui b/kstars/kstars/kswizardui.ui index 3d81e6e3..ed04e2d0 100644 --- a/kstars/kstars/kswizardui.ui +++ b/kstars/kstars/kswizardui.ui @@ -844,8 +844,8 @@ button to proceed. </p> - - dmsbox.h - dmsbox.h - + + kpushbutton.h + tdelistbox.h + diff --git a/kstars/kstars/newfovui.ui b/kstars/kstars/newfovui.ui index 73cc811b..041282a1 100644 --- a/kstars/kstars/newfovui.ui +++ b/kstars/kstars/newfovui.ui @@ -922,27 +922,11 @@ Circle, Square, Crosshairs, Bullseye. ColorButton - - klineedit.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - kpushbutton.h - kpushbutton.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - knuminput.h - kpushbutton.h - klineedit.h - kcolorbutton.h - kcombobox.h - + + kpushbutton.h + klineedit.h + knuminput.h + kcolorbutton.h + kcombobox.h + diff --git a/kstars/kstars/opscatalogui.ui b/kstars/kstars/opscatalogui.ui index 1aa33488..d37a259c 100644 --- a/kstars/kstars/opscatalogui.ui +++ b/kstars/kstars/opscatalogui.ui @@ -594,14 +594,8 @@ Magnitude is a measure of brightness; the larger the number, the fainter the obj - - magnitudespinbox.h - magnitudespinbox.h - magnitudespinbox.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - magnitudespinbox.h - magnitudespinbox.h - + + kpushbutton.h + magnitudespinbox.h + diff --git a/kstars/kstars/opscolorsui.ui b/kstars/kstars/opscolorsui.ui index aff25ac1..93d1e8b2 100644 --- a/kstars/kstars/opscolorsui.ui +++ b/kstars/kstars/opscolorsui.ui @@ -286,4 +286,9 @@ RemovePreset + + kpushbutton.h + kcombobox.h + knuminput.h + diff --git a/kstars/kstars/opssolarsystemui.ui b/kstars/kstars/opssolarsystemui.ui index 3373e409..0b0bc137 100644 --- a/kstars/kstars/opssolarsystemui.ui +++ b/kstars/kstars/opssolarsystemui.ui @@ -570,9 +570,9 @@ ClearAllTrails - - knuminput.h - magnitudespinbox.h - magnitudespinbox.h - + + knuminput.h + magnitudespinbox.h + kpushbutton.h + diff --git a/kstars/kstars/statform.ui b/kstars/kstars/statform.ui index 6af173cc..4da322d1 100644 --- a/kstars/kstars/statform.ui +++ b/kstars/kstars/statform.ui @@ -177,4 +177,7 @@ stddevOUT + + klineedit.h + diff --git a/kstars/kstars/streamformui.ui b/kstars/kstars/streamformui.ui index a4e34507..a633c9d7 100644 --- a/kstars/kstars/streamformui.ui +++ b/kstars/kstars/streamformui.ui @@ -120,9 +120,8 @@ - - kpushbutton.h - kpushbutton.h - kcombobox.h - + + kpushbutton.h + kcombobox.h + diff --git a/kstars/kstars/telescopepropui.ui b/kstars/kstars/telescopepropui.ui index bf823651..9c2dbc48 100644 --- a/kstars/kstars/telescopepropui.ui +++ b/kstars/kstars/telescopepropui.ui @@ -252,17 +252,10 @@ - - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - tdelistbox.h - kcombobox.h - klineedit.h - klineedit.h - klineedit.h - klineedit.h - klineedit.h - + + kpushbutton.h + tdelistbox.h + kcombobox.h + klineedit.h + diff --git a/kstars/kstars/telescopewizard.ui b/kstars/kstars/telescopewizard.ui index 715219c4..9755045b 100644 --- a/kstars/kstars/telescopewizard.ui +++ b/kstars/kstars/telescopewizard.ui @@ -618,7 +618,7 @@ Enter the port number your telescope is connected to. If you only have one seria - - klineedit.h - + + klineedit.h + diff --git a/kstars/kstars/thumbnailpickerui.ui b/kstars/kstars/thumbnailpickerui.ui index d7a16f57..817dc09d 100644 --- a/kstars/kstars/thumbnailpickerui.ui +++ b/kstars/kstars/thumbnailpickerui.ui @@ -303,13 +303,11 @@ - - kprogress.h - tdelistbox.h - kurlrequester.h - klineedit.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - + + kpushbutton.h + kprogress.h + tdelistbox.h + kurlrequester.h + klineedit.h + diff --git a/kstars/kstars/tools/CMakeLists.txt b/kstars/kstars/tools/CMakeLists.txt new file mode 100644 index 00000000..a326d42c --- /dev/null +++ b/kstars/kstars/tools/CMakeLists.txt @@ -0,0 +1,61 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_CURRENT_SOURCE_DIR}/.. + ${CMAKE_SOURCE_DIR} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +###### kstarstools (static) + +tde_add_library( kstarstools STATIC AUTOMOC + + SOURCES + altvstimeui.ui wutdialogui.ui + modcalcapcoorddlg.ui modcalcazeldlg.ui + modcalcdaylengthdlg.ui modcalcgalcoorddlg.ui + modcalcgeoddlg.ui modcalcjddlg.ui + modcalcprecdlg.ui modcalcsidtimedlg.ui + scriptbuilderui.ui scriptnamedialog.ui + optionstreeview.ui argchangeviewoption.ui + arglooktoward.ui argsetaltaz.ui + argsetgeolocation.ui argsetlocaltime.ui + argsetradec.ui argsettrack.ui + argtimescale.ui argwaitforkey.ui + argwaitfor.ui argzoom.ui + argexportimage.ui argprintimage.ui + argsetcolor.ui argloadcolorscheme.ui + planetviewerui.ui modcalcequinoxdlg.ui + modcalcplanetsdlg.ui modcalceclipticcoordsdlg.ui + modcalcangdistdlg.ui argsetfilternumindi.ui + observinglistui.ui argstartindi.ui + argshutdownindi.ui argswitchindi.ui + argsetportindi.ui argsettargetcoordindi.ui + argsettargetnameindi.ui argsetactionindi.ui + argsetfocusspeedindi.ui argstartfocusindi.ui + argsetfocustimeoutindi.ui argsetgeolocationindi.ui + argstartexposureindi.ui argsetutcindi.ui + argsetframetypeindi.ui argsetscopeactionindi.ui + argsetccdtempindi.ui modcalcvlsrdlg.ui + obslistwizardui.ui + altvstime.cpp wutdialog.cpp + astrocalc.cpp lcgenerator.cpp + modcalcapcoord.cpp modcalcazel.cpp + modcalcdaylength.cpp modcalcgalcoord.cpp + modcalcgeodcoord.cpp modcalcjd.cpp + modcalcprec.cpp modcalcsidtime.cpp + scriptbuilder.cpp scriptfunction.cpp + planetviewer.cpp jmoontool.cpp + kstarsplotwidget.cpp modcalcequinox.cpp + modcalcplanets.cpp modcalceclipticcoords.cpp + modcalcangdist.cpp observinglist.cpp + modcalcvlsr.cpp obslistwizard.cpp +) diff --git a/kstars/kstars/tools/altvstimeui.ui b/kstars/kstars/tools/altvstimeui.ui index 92f5030c..699471d3 100644 --- a/kstars/kstars/tools/altvstimeui.ui +++ b/kstars/kstars/tools/altvstimeui.ui @@ -527,7 +527,8 @@ updateButton - - dmsbox.h - + + kpushbutton.h + tdelistbox.h + diff --git a/kstars/kstars/tools/argchangeviewoption.ui b/kstars/kstars/tools/argchangeviewoption.ui index 77629c58..7c65e990 100644 --- a/kstars/kstars/tools/argchangeviewoption.ui +++ b/kstars/kstars/tools/argchangeviewoption.ui @@ -134,8 +134,9 @@ - - kpushbutton.h - klineedit.h - + + kpushbutton.h + klineedit.h + kcombobox.h + diff --git a/kstars/kstars/tools/argexportimage.ui b/kstars/kstars/tools/argexportimage.ui index a60f65cf..25cd42ab 100644 --- a/kstars/kstars/tools/argexportimage.ui +++ b/kstars/kstars/tools/argexportimage.ui @@ -256,7 +256,8 @@ - - knuminput.h - + + knuminput.h + kurlrequester.h + diff --git a/kstars/kstars/tools/argloadcolorscheme.ui b/kstars/kstars/tools/argloadcolorscheme.ui index 45c9ecd7..a22fe8dd 100644 --- a/kstars/kstars/tools/argloadcolorscheme.ui +++ b/kstars/kstars/tools/argloadcolorscheme.ui @@ -24,4 +24,7 @@ + + tdelistbox.h + diff --git a/kstars/kstars/tools/arglooktoward.ui b/kstars/kstars/tools/arglooktoward.ui index a4e3f206..05de7494 100644 --- a/kstars/kstars/tools/arglooktoward.ui +++ b/kstars/kstars/tools/arglooktoward.ui @@ -156,7 +156,7 @@ - - kpushbutton.h - + + kpushbutton.h + diff --git a/kstars/kstars/tools/argsetactionindi.ui b/kstars/kstars/tools/argsetactionindi.ui index f1268bba..5e002cb5 100644 --- a/kstars/kstars/tools/argsetactionindi.ui +++ b/kstars/kstars/tools/argsetactionindi.ui @@ -114,8 +114,7 @@ - - klineedit.h - klineedit.h - + + klineedit.h + diff --git a/kstars/kstars/tools/argsetccdtempindi.ui b/kstars/kstars/tools/argsetccdtempindi.ui index dc4cd195..81a86ddc 100644 --- a/kstars/kstars/tools/argsetccdtempindi.ui +++ b/kstars/kstars/tools/argsetccdtempindi.ui @@ -115,9 +115,8 @@ - - klineedit.h - knuminput.h - knuminput.h - + + klineedit.h + knuminput.h + diff --git a/kstars/kstars/tools/argsetcolor.ui b/kstars/kstars/tools/argsetcolor.ui index 014f7145..b1891a4a 100644 --- a/kstars/kstars/tools/argsetcolor.ui +++ b/kstars/kstars/tools/argsetcolor.ui @@ -219,7 +219,8 @@ - - kcolorbutton.h - + + kcolorbutton.h + kcombobox.h + diff --git a/kstars/kstars/tools/argsetfilternumindi.ui b/kstars/kstars/tools/argsetfilternumindi.ui index 83d79f09..89f1fcd0 100644 --- a/kstars/kstars/tools/argsetfilternumindi.ui +++ b/kstars/kstars/tools/argsetfilternumindi.ui @@ -118,9 +118,8 @@ - - klineedit.h - knuminput.h - knuminput.h - + + knuminput.h + klineedit.h + diff --git a/kstars/kstars/tools/argsetfocusspeedindi.ui b/kstars/kstars/tools/argsetfocusspeedindi.ui index 012ca14f..1ae8c282 100644 --- a/kstars/kstars/tools/argsetfocusspeedindi.ui +++ b/kstars/kstars/tools/argsetfocusspeedindi.ui @@ -85,9 +85,8 @@ - - klineedit.h - knuminput.h - knuminput.h - + + klineedit.h + knuminput.h + diff --git a/kstars/kstars/tools/argsetfocustimeoutindi.ui b/kstars/kstars/tools/argsetfocustimeoutindi.ui index a736d577..780b4c59 100644 --- a/kstars/kstars/tools/argsetfocustimeoutindi.ui +++ b/kstars/kstars/tools/argsetfocustimeoutindi.ui @@ -115,9 +115,8 @@ - - klineedit.h - knuminput.h - knuminput.h - + + klineedit.h + knuminput.h + diff --git a/kstars/kstars/tools/argsetframetypeindi.ui b/kstars/kstars/tools/argsetframetypeindi.ui index 0a82d908..3686a4e0 100644 --- a/kstars/kstars/tools/argsetframetypeindi.ui +++ b/kstars/kstars/tools/argsetframetypeindi.ui @@ -109,7 +109,7 @@ - - klineedit.h - + + klineedit.h + diff --git a/kstars/kstars/tools/argsetgeolocation.ui b/kstars/kstars/tools/argsetgeolocation.ui index ee80245d..2f8088b6 100644 --- a/kstars/kstars/tools/argsetgeolocation.ui +++ b/kstars/kstars/tools/argsetgeolocation.ui @@ -192,10 +192,8 @@ slotFindCity() - - klineedit.h - klineedit.h - klineedit.h - kpushbutton.h - + + kpushbutton.h + klineedit.h + diff --git a/kstars/kstars/tools/argsetportindi.ui b/kstars/kstars/tools/argsetportindi.ui index 43b9e538..50615f76 100644 --- a/kstars/kstars/tools/argsetportindi.ui +++ b/kstars/kstars/tools/argsetportindi.ui @@ -72,8 +72,7 @@ - - klineedit.h - klineedit.h - + + klineedit.h + diff --git a/kstars/kstars/tools/argsetscopeactionindi.ui b/kstars/kstars/tools/argsetscopeactionindi.ui index 3c69cb6c..8f5cb5ba 100644 --- a/kstars/kstars/tools/argsetscopeactionindi.ui +++ b/kstars/kstars/tools/argsetscopeactionindi.ui @@ -109,7 +109,7 @@ - - klineedit.h - + + klineedit.h + diff --git a/kstars/kstars/tools/argsettargetnameindi.ui b/kstars/kstars/tools/argsettargetnameindi.ui index 844df2f6..b9c2765f 100644 --- a/kstars/kstars/tools/argsettargetnameindi.ui +++ b/kstars/kstars/tools/argsettargetnameindi.ui @@ -140,9 +140,8 @@ - - klineedit.h - klineedit.h - kpushbutton.h - + + klineedit.h + kpushbutton.h + diff --git a/kstars/kstars/tools/argsetutcindi.ui b/kstars/kstars/tools/argsetutcindi.ui index 09fa447b..3600bc8a 100644 --- a/kstars/kstars/tools/argsetutcindi.ui +++ b/kstars/kstars/tools/argsetutcindi.ui @@ -111,8 +111,7 @@ - - klineedit.h - klineedit.h - + + klineedit.h + diff --git a/kstars/kstars/tools/argshutdownindi.ui b/kstars/kstars/tools/argshutdownindi.ui index 126b5777..820b99ef 100644 --- a/kstars/kstars/tools/argshutdownindi.ui +++ b/kstars/kstars/tools/argshutdownindi.ui @@ -69,7 +69,7 @@ - - klineedit.h - + + klineedit.h + diff --git a/kstars/kstars/tools/argstartexposureindi.ui b/kstars/kstars/tools/argstartexposureindi.ui index efc59043..5ee85e29 100644 --- a/kstars/kstars/tools/argstartexposureindi.ui +++ b/kstars/kstars/tools/argstartexposureindi.ui @@ -117,9 +117,8 @@ - - klineedit.h - knuminput.h - knuminput.h - + + klineedit.h + knuminput.h + diff --git a/kstars/kstars/tools/argstartfocusindi.ui b/kstars/kstars/tools/argstartfocusindi.ui index 2c52cab0..3e08ef4b 100644 --- a/kstars/kstars/tools/argstartfocusindi.ui +++ b/kstars/kstars/tools/argstartfocusindi.ui @@ -111,7 +111,7 @@ - - klineedit.h - + + klineedit.h + diff --git a/kstars/kstars/tools/argstartindi.ui b/kstars/kstars/tools/argstartindi.ui index 166fd7d4..305cabf1 100644 --- a/kstars/kstars/tools/argstartindi.ui +++ b/kstars/kstars/tools/argstartindi.ui @@ -118,7 +118,7 @@ - - klineedit.h - + + klineedit.h + diff --git a/kstars/kstars/tools/argswitchindi.ui b/kstars/kstars/tools/argswitchindi.ui index efba3fa9..8e672dd5 100644 --- a/kstars/kstars/tools/argswitchindi.ui +++ b/kstars/kstars/tools/argswitchindi.ui @@ -123,7 +123,7 @@ - - klineedit.h - + + klineedit.h + diff --git a/kstars/kstars/tools/argwaitforkey.ui b/kstars/kstars/tools/argwaitforkey.ui index 0fa2e564..7061dfd5 100644 --- a/kstars/kstars/tools/argwaitforkey.ui +++ b/kstars/kstars/tools/argwaitforkey.ui @@ -86,7 +86,7 @@ Only simple keys can currently be used; you cannot use modifier keys such as Ctr - - klineedit.h - + + klineedit.h + diff --git a/kstars/kstars/tools/argzoom.ui b/kstars/kstars/tools/argzoom.ui index 9eff8db5..c71319de 100644 --- a/kstars/kstars/tools/argzoom.ui +++ b/kstars/kstars/tools/argzoom.ui @@ -87,7 +87,7 @@ The Zoom level specifies the number of pixels which span one radian of arc. Rea - - klineedit.h - + + klineedit.h + diff --git a/kstars/kstars/tools/modcalcangdistdlg.ui b/kstars/kstars/tools/modcalcangdistdlg.ui index 3f4659a5..33bfc084 100644 --- a/kstars/kstars/tools/modcalcangdistdlg.ui +++ b/kstars/kstars/tools/modcalcangdistdlg.ui @@ -668,15 +668,7 @@ slotRunBatch() - - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - + + kpushbutton.h + diff --git a/kstars/kstars/tools/modcalcapcoorddlg.ui b/kstars/kstars/tools/modcalcapcoorddlg.ui index 5a59fa1d..ac79690f 100644 --- a/kstars/kstars/tools/modcalcapcoorddlg.ui +++ b/kstars/kstars/tools/modcalcapcoorddlg.ui @@ -856,16 +856,8 @@ slotOutputFile() - - - dmsbox.h - dmsbox.h - klineedit.h - dmsbox.h - dmsbox.h - klineedit.h - dmsbox.h - dmsbox.h - - + + kpushbutton.h + klineedit.h + diff --git a/kstars/kstars/tools/modcalcazeldlg.ui b/kstars/kstars/tools/modcalcazeldlg.ui index ad8e076a..eff053a8 100644 --- a/kstars/kstars/tools/modcalcazeldlg.ui +++ b/kstars/kstars/tools/modcalcazeldlg.ui @@ -1059,21 +1059,8 @@ newSlot() - - - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - klineedit.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - - + + kpushbutton.h + klineedit.h + diff --git a/kstars/kstars/tools/modcalcdaylengthdlg.ui b/kstars/kstars/tools/modcalcdaylengthdlg.ui index 82aa6c12..2f58bbd4 100644 --- a/kstars/kstars/tools/modcalcdaylengthdlg.ui +++ b/kstars/kstars/tools/modcalcdaylengthdlg.ui @@ -640,16 +640,7 @@ slotClearCoords() - - dmsbox.h - dmsbox.h - - timebox.h - timebox.h - timebox.h - timebox.h - dmsbox.h - dmsbox.h - dmsbox.h - + + kpushbutton.h + diff --git a/kstars/kstars/tools/modcalceclipticcoordsdlg.ui b/kstars/kstars/tools/modcalceclipticcoordsdlg.ui index 98830fb3..1615a7c0 100644 --- a/kstars/kstars/tools/modcalceclipticcoordsdlg.ui +++ b/kstars/kstars/tools/modcalceclipticcoordsdlg.ui @@ -904,16 +904,8 @@ slotRunBatch() - - dmsbox.h - dmsbox.h - klineedit.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - klineedit.h - + + kpushbutton.h + klineedit.h + diff --git a/kstars/kstars/tools/modcalcequinoxdlg.ui b/kstars/kstars/tools/modcalcequinoxdlg.ui index b62875ee..4924f7bd 100644 --- a/kstars/kstars/tools/modcalcequinoxdlg.ui +++ b/kstars/kstars/tools/modcalcequinoxdlg.ui @@ -566,9 +566,8 @@ slotRunBatch() - - klineedit.h - klineedit.h - klineedit.h - + + kpushbutton.h + klineedit.h + diff --git a/kstars/kstars/tools/modcalcgalcoorddlg.ui b/kstars/kstars/tools/modcalcgalcoorddlg.ui index 3b296fe0..3486d18a 100644 --- a/kstars/kstars/tools/modcalcgalcoorddlg.ui +++ b/kstars/kstars/tools/modcalcgalcoorddlg.ui @@ -915,16 +915,8 @@ slotRunBatch() - - dmsbox.h - dmsbox.h - klineedit.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - klineedit.h - dmsbox.h - dmsbox.h - + + kpushbutton.h + klineedit.h + diff --git a/kstars/kstars/tools/modcalcgeoddlg.ui b/kstars/kstars/tools/modcalcgeoddlg.ui index 03b9aeff..c4b294fe 100644 --- a/kstars/kstars/tools/modcalcgeoddlg.ui +++ b/kstars/kstars/tools/modcalcgeoddlg.ui @@ -801,19 +801,9 @@ slotZCheckedBatch() - - kcombobox.h - klineedit.h - klineedit.h - klineedit.h - dmsbox.h - dmsbox.h - klineedit.h - klineedit.h - klineedit.h - klineedit.h - dmsbox.h - dmsbox.h - klineedit.h - + + kpushbutton.h + klineedit.h + kcombobox.h + diff --git a/kstars/kstars/tools/modcalcjddlg.ui b/kstars/kstars/tools/modcalcjddlg.ui index b5c1c5b8..9db090eb 100644 --- a/kstars/kstars/tools/modcalcjddlg.ui +++ b/kstars/kstars/tools/modcalcjddlg.ui @@ -500,11 +500,8 @@ showCurrentTime() - - klineedit.h - klineedit.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - + + kpushbutton.h + klineedit.h + diff --git a/kstars/kstars/tools/modcalcplanetsdlg.ui b/kstars/kstars/tools/modcalcplanetsdlg.ui index 638a1fbd..9b9f6099 100644 --- a/kstars/kstars/tools/modcalcplanetsdlg.ui +++ b/kstars/kstars/tools/modcalcplanetsdlg.ui @@ -1371,22 +1371,8 @@ slotPlanetsCheckedBatch() - - - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - klineedit.h - dmsbox.h - dmsbox.h - klineedit.h - dmsbox.h - dmsbox.h - dmsbox.h - - dmsbox.h - + + kpushbutton.h + klineedit.h + diff --git a/kstars/kstars/tools/modcalcprecdlg.ui b/kstars/kstars/tools/modcalcprecdlg.ui index d0f7af15..0c749118 100644 --- a/kstars/kstars/tools/modcalcprecdlg.ui +++ b/kstars/kstars/tools/modcalcprecdlg.ui @@ -743,16 +743,8 @@ slotRunBatch() - - dmsbox.h - dmsbox.h - klineedit.h - klineedit.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - klineedit.h - klineedit.h - + + kpushbutton.h + klineedit.h + diff --git a/kstars/kstars/tools/modcalcsidtimedlg.ui b/kstars/kstars/tools/modcalcsidtimedlg.ui index e7203887..7469390a 100644 --- a/kstars/kstars/tools/modcalcsidtimedlg.ui +++ b/kstars/kstars/tools/modcalcsidtimedlg.ui @@ -861,10 +861,7 @@ slotOutputFile() - - dmsbox.h - - dmsbox.h - - + + kpushbutton.h + diff --git a/kstars/kstars/tools/modcalcvlsrdlg.ui b/kstars/kstars/tools/modcalcvlsrdlg.ui index 0c177d99..d223ca0a 100644 --- a/kstars/kstars/tools/modcalcvlsrdlg.ui +++ b/kstars/kstars/tools/modcalcvlsrdlg.ui @@ -1188,25 +1188,9 @@ slotRunBatch() - - - klineedit.h - dmsbox.h - dmsbox.h - dmsbox.h - dmsbox.h - klineedit.h - klineedit.h - klineedit.h - klineedit.h - - dmsbox.h - dmsbox.h - klineedit.h - dmsbox.h - dmsbox.h - klineedit.h - klineedit.h - ktextbrowser.h - + + klineedit.h + ktextbrowser.h + kpushbutton.h + diff --git a/kstars/kstars/tools/observinglistui.ui b/kstars/kstars/tools/observinglistui.ui index c53fe812..583a6ea6 100644 --- a/kstars/kstars/tools/observinglistui.ui +++ b/kstars/kstars/tools/observinglistui.ui @@ -555,19 +555,10 @@ - - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - tdelistview.h - tdelistbox.h - ktextedit.h - + + kpushbutton.h + tdelistview.h + tdelistbox.h + ktextedit.h + diff --git a/kstars/kstars/tools/obslistwizardui.ui b/kstars/kstars/tools/obslistwizardui.ui index 1f258a7b..7c6b2938 100644 --- a/kstars/kstars/tools/obslistwizardui.ui +++ b/kstars/kstars/tools/obslistwizardui.ui @@ -1013,13 +1013,11 @@ select from a region on the sky. - - tdelistview.h - tdelistbox.h - kpushbutton.h - tdelistbox.h - dmsbox.h - knuminput.h - magnitudespinbox.h - + + tdelistview.h + knuminput.h + kpushbutton.h + tdelistbox.h + magnitudespinbox.h + diff --git a/kstars/kstars/tools/optionstreeview.ui b/kstars/kstars/tools/optionstreeview.ui index 1f9394d4..4a47be91 100644 --- a/kstars/kstars/tools/optionstreeview.ui +++ b/kstars/kstars/tools/optionstreeview.ui @@ -131,7 +131,7 @@ - - tdelistview.h - + + tdelistview.h + diff --git a/kstars/kstars/tools/scriptbuilderui.ui b/kstars/kstars/tools/scriptbuilderui.ui index 0c917ea0..12470945 100644 --- a/kstars/kstars/tools/scriptbuilderui.ui +++ b/kstars/kstars/tools/scriptbuilderui.ui @@ -628,19 +628,10 @@ slotRunScript() - - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - tdelistbox.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - tdelistview.h - ktextedit.h - + + kpushbutton.h + tdelistbox.h + tdelistview.h + ktextedit.h + diff --git a/kstars/kstars/tools/scriptnamedialog.ui b/kstars/kstars/tools/scriptnamedialog.ui index 108a8b95..9e9941ac 100644 --- a/kstars/kstars/tools/scriptnamedialog.ui +++ b/kstars/kstars/tools/scriptnamedialog.ui @@ -150,8 +150,7 @@ - - klineedit.h - klineedit.h - + + klineedit.h + diff --git a/kstars/kstars/tools/wutdialogui.ui b/kstars/kstars/tools/wutdialogui.ui index b3086f64..bdd1d971 100644 --- a/kstars/kstars/tools/wutdialogui.ui +++ b/kstars/kstars/tools/wutdialogui.ui @@ -553,13 +553,9 @@ - - kpushbutton.h - kpushbutton.h - kcombobox.h - tdelistbox.h - kpushbutton.h - kpushbutton.h - tdelistbox.h - + + kpushbutton.h + tdelistbox.h + kcombobox.h + diff --git a/ktouch/CMakeLists.txt b/ktouch/CMakeLists.txt new file mode 100644 index 00000000..0c1ecf7d --- /dev/null +++ b/ktouch/CMakeLists.txt @@ -0,0 +1,15 @@ +add_subdirectory( src ) +add_subdirectory( keyboards ) +add_subdirectory( training ) +add_subdirectory( sounds ) +add_subdirectory( graphics ) +add_subdirectory( icons ) +#add_subdirectory( extras ) + + +##### other data + +install( + FILES ktouch.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) diff --git a/ktouch/graphics/CMakeLists.txt b/ktouch/graphics/CMakeLists.txt new file mode 100644 index 00000000..ea42ac50 --- /dev/null +++ b/ktouch/graphics/CMakeLists.txt @@ -0,0 +1,4 @@ +install( + FILES splash.png + DESTINATION ${DATA_INSTALL_DIR}/ktouch +) diff --git a/ktouch/icons/CMakeLists.txt b/ktouch/icons/CMakeLists.txt new file mode 100644 index 00000000..63f765b3 --- /dev/null +++ b/ktouch/icons/CMakeLists.txt @@ -0,0 +1 @@ +tde_install_icons( ) diff --git a/ktouch/keyboards/CMakeLists.txt b/ktouch/keyboards/CMakeLists.txt new file mode 100644 index 00000000..0c769766 --- /dev/null +++ b/ktouch/keyboards/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _kbds RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.keyboard ) + +install( + FILES ${_kbds} + DESTINATION ${DATA_INSTALL_DIR}/ktouch +) diff --git a/ktouch/sounds/CMakeLists.txt b/ktouch/sounds/CMakeLists.txt new file mode 100644 index 00000000..1281ffcb --- /dev/null +++ b/ktouch/sounds/CMakeLists.txt @@ -0,0 +1,8 @@ +install( + FILES + up.wav + down.wav + typewriter.wav + + DESTINATION ${DATA_INSTALL_DIR}/ktouch +) diff --git a/ktouch/src/CMakeLists.txt b/ktouch/src/CMakeLists.txt new file mode 100644 index 00000000..26dacfc2 --- /dev/null +++ b/ktouch/src/CMakeLists.txt @@ -0,0 +1,71 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### ktouch (executable) + +tde_add_executable( ktouch AUTOMOC + + SOURCES + ktouchcoloreditor_dlg.ui + ktouchlectureeditor_dlg.ui + ktouchopenrequest_dlg.ui + ktouchprefcolorslayout.ui + ktouchprefgenerallayout.ui + ktouchprefkeyboardlayout.ui + ktouchpreftraininglayout.ui + ktouchstatistics_dlg.ui + ktouchstatuslayout.ui + prefs.kcfgc + ktouchchartwidget.cpp + ktouchcolorscheme.cpp + ktouch.cpp + ktouchdefaults.cpp + ktouchkeyboardwidget.cpp + ktouchkeyconnector.cpp + ktouchkey.cpp + ktouchkeys.cpp + ktouchlecture.cpp + ktouchlectureeditor.cpp + ktouchleveldata.cpp + ktouchopenrequest.cpp + ktouchslideline.cpp + ktouchstatistics.cpp + ktouchstatisticsdata.cpp + ktouchstatus.cpp + ktouchtrainer.cpp + ktouchutils.cpp + main.cpp + ktouchcoloreditor.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeeduplot-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES ktouchui.rc + DESTINATION ${DATA_INSTALL_DIR}/ktouch +) + +install( + FILES ktouch.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) diff --git a/ktouch/src/ktouchcoloreditor_dlg.ui b/ktouch/src/ktouchcoloreditor_dlg.ui index 38245a56..5f1918c3 100644 --- a/ktouch/src/ktouchcoloreditor_dlg.ui +++ b/ktouch/src/ktouchcoloreditor_dlg.ui @@ -793,32 +793,9 @@ colorSchemeChanged(TQListBoxItem * item) - - kpushbutton.h - kpushbutton.h - klineedit.h - kpushbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - + + kpushbutton.h + klineedit.h + kcolorbutton.h + diff --git a/ktouch/src/ktouchkeyboardeditor_dlg.ui b/ktouch/src/ktouchkeyboardeditor_dlg.ui index 81d532a7..741f4e20 100644 --- a/ktouch/src/ktouchkeyboardeditor_dlg.ui +++ b/ktouch/src/ktouchkeyboardeditor_dlg.ui @@ -390,17 +390,9 @@ keySelectionChanged(TQListBoxItem*) - - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - klineedit.h - ktextedit.h - klineedit.h - + + kpushbutton.h + klineedit.h + ktextedit.h + diff --git a/ktouch/src/ktouchlectureeditor_dlg.ui b/ktouch/src/ktouchlectureeditor_dlg.ui index 83105f4c..d5f0f888 100644 --- a/ktouch/src/ktouchlectureeditor_dlg.ui +++ b/ktouch/src/ktouchlectureeditor_dlg.ui @@ -665,20 +665,10 @@ fontBtnClicked() - - klineedit.h - tdelistview.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - klineedit.h - ktextedit.h - klineedit.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - + + klineedit.h + kpushbutton.h + ktextedit.h + tdelistview.h + diff --git a/ktouch/src/ktouchopenrequest_dlg.ui b/ktouch/src/ktouchopenrequest_dlg.ui index 4da33c33..410353dc 100644 --- a/ktouch/src/ktouchopenrequest_dlg.ui +++ b/ktouch/src/ktouchopenrequest_dlg.ui @@ -279,11 +279,9 @@ browseBtnClicked() - - klineedit.h - kpushbutton.h - ksqueezedtextlabel.h - kpushbutton.h - kpushbutton.h - + + klineedit.h + kpushbutton.h + ksqueezedtextlabel.h + diff --git a/ktouch/src/ktouchprefcolorslayout.ui b/ktouch/src/ktouchprefcolorslayout.ui index 6fd8eeea..debe5f46 100644 --- a/ktouch/src/ktouchprefcolorslayout.ui +++ b/ktouch/src/ktouchprefcolorslayout.ui @@ -505,12 +505,7 @@ kcfg_CurrentColorScheme - - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - + + kcolorbutton.h + diff --git a/ktouch/src/ktouchprefgenerallayout.ui b/ktouch/src/ktouchprefgenerallayout.ui index 96ed2bff..6bbc0d4c 100644 --- a/ktouch/src/ktouchprefgenerallayout.ui +++ b/ktouch/src/ktouchprefgenerallayout.ui @@ -335,7 +335,7 @@ - - tdefontrequester.h - + + tdefontrequester.h + diff --git a/ktouch/src/ktouchprefkeyboardlayout.ui b/ktouch/src/ktouchprefkeyboardlayout.ui index 949207cc..75cef9e1 100644 --- a/ktouch/src/ktouchprefkeyboardlayout.ui +++ b/ktouch/src/ktouchprefkeyboardlayout.ui @@ -136,7 +136,7 @@ fontChooseBtnClicked() - - tdefontrequester.h - + + tdefontrequester.h + diff --git a/ktouch/src/ktouchpreftraininglayout.ui b/ktouch/src/ktouchpreftraininglayout.ui index 3c6a1c8d..f36a6a80 100644 --- a/ktouch/src/ktouchpreftraininglayout.ui +++ b/ktouch/src/ktouchpreftraininglayout.ui @@ -322,10 +322,7 @@ - - knuminput.h - knuminput.h - knuminput.h - knuminput.h - + + knuminput.h + diff --git a/ktouch/src/ktouchstatistics_dlg.ui b/ktouch/src/ktouchstatistics_dlg.ui index a254c9af..bcfeb9fd 100644 --- a/ktouch/src/ktouchstatistics_dlg.ui +++ b/ktouch/src/ktouchstatistics_dlg.ui @@ -1278,10 +1278,10 @@ - - kcombobox.h - ktouchchartwidget.h - kpushbutton.h - kpushbutton.h - + + kcombobox.h + ktouchchartwidget.h + kcolorbutton.h + kpushbutton.h + diff --git a/ktouch/training/CMakeLists.txt b/ktouch/training/CMakeLists.txt new file mode 100644 index 00000000..a3b25923 --- /dev/null +++ b/ktouch/training/CMakeLists.txt @@ -0,0 +1,6 @@ +file( GLOB _xmls RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.xml ) + +install( + FILES ${_xmls} + DESTINATION ${DATA_INSTALL_DIR}/ktouch +) diff --git a/kturtle/CMakeLists.txt b/kturtle/CMakeLists.txt new file mode 100644 index 00000000..2aefdbd8 --- /dev/null +++ b/kturtle/CMakeLists.txt @@ -0,0 +1,3 @@ +add_subdirectory( src ) +add_subdirectory( data ) +#add_subdirectory( scripts ) diff --git a/kturtle/data/CMakeLists.txt b/kturtle/data/CMakeLists.txt new file mode 100644 index 00000000..d1929ac1 --- /dev/null +++ b/kturtle/data/CMakeLists.txt @@ -0,0 +1,16 @@ +file( GLOB _logos RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.logo ) + +install( + FILES ${_logos} + DESTINATION ${DATA_INSTALL_DIR}/kturtle/examples/en_US +) + +install( + FILES logokeywords.en_US.xml + DESTINATION ${DATA_INSTALL_DIR}/kturtle/data +) + +install( + FILES logohighlightstyle.en_US.xml + DESTINATION ${DATA_INSTALL_DIR}/katepart/syntax +) diff --git a/kturtle/src/CMakeLists.txt b/kturtle/src/CMakeLists.txt new file mode 100644 index 00000000..47402ed6 --- /dev/null +++ b/kturtle/src/CMakeLists.txt @@ -0,0 +1,72 @@ +add_subdirectory( pics ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kturtle (executable) + +tde_add_executable( kturtle AUTOMOC + + SOURCES + main.cpp + kturtle.cpp + canvas.cpp + dialogs.cpp + value.cpp + lexer.cpp + parser.cpp + executer.cpp + treenode.cpp + token.cpp + translate.cpp + settings.kcfgc + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeprint-shared + tdeparts-shared + katepartinterfaces-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + +set_property( + SOURCE canvas.cpp lexer.cpp translate.cpp + APPEND PROPERTY OBJECT_DEPENDS + ${CMAKE_BINARY_DIR}/kturtle/src/settings.cpp +) + + +##### icons + +tde_install_icons( kturtle ) + + +##### other data + +install( + FILES kturtleui.rc + DESTINATION ${DATA_INSTALL_DIR}/kturtle +) + +install( + FILES kturtle.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES kturtle.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) diff --git a/kturtle/src/pics/CMakeLists.txt b/kturtle/src/pics/CMakeLists.txt new file mode 100644 index 00000000..db3a40c6 --- /dev/null +++ b/kturtle/src/pics/CMakeLists.txt @@ -0,0 +1,8 @@ +file( GLOB _pics RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png ) + +list( REMOVE_ITEM _pics turtle.png ) + +install( + FILES ${_pics} + DESTINATION ${DATA_INSTALL_DIR}/kturtle/pics +) diff --git a/kturtle/src/settings.kcfgc b/kturtle/src/settings.kcfgc index abbb05b2..d6aa84aa 100644 --- a/kturtle/src/settings.kcfgc +++ b/kturtle/src/settings.kcfgc @@ -1,5 +1,5 @@ -File=kturtle.kcfg +File=kturtle.kcfg IncludeFiles=kstandarddirs.h,kdebug.h -ClassName=Settings -Singleton=true -Mutators=true \ No newline at end of file +ClassName=Settings +Singleton=true +Mutators=true diff --git a/kverbos/CMakeLists.txt b/kverbos/CMakeLists.txt new file mode 100644 index 00000000..087bdf6b --- /dev/null +++ b/kverbos/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory( kverbos ) diff --git a/kverbos/kverbos/CMakeLists.txt b/kverbos/kverbos/CMakeLists.txt new file mode 100644 index 00000000..84caaa76 --- /dev/null +++ b/kverbos/kverbos/CMakeLists.txt @@ -0,0 +1,70 @@ +add_subdirectory( icons ) +add_subdirectory( data ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kverbos (executable) + +tde_add_executable( kverbos AUTOMOC + + SOURCES + qresult.ui + qerfassen.ui + qverbedit.ui + qverbosoptions.ui + qlernen.ui + kfeedercontrol.cpp + kresult.cpp + verbspanish.cpp + kverbosuser.cpp + kerfassen.cpp + kverbedit.cpp + kverbosoptions.cpp + kstartuplogo.cpp + kverbosview.cpp + kverbosdoc.cpp + kverbos.cpp + main.cpp + prefs.kcfgc + LINK + tdecore-shared + tdeui-shared + tdeio-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES startuplogo.png + DESTINATION ${DATA_INSTALL_DIR}/kverbos/pics +) + +install( + FILES kverbosui.rc + DESTINATION ${DATA_INSTALL_DIR}/kverbos +) + +install( + FILES kverbos.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES kverbos.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) diff --git a/kverbos/kverbos/data/CMakeLists.txt b/kverbos/kverbos/data/CMakeLists.txt new file mode 100644 index 00000000..6d0aa9f3 --- /dev/null +++ b/kverbos/kverbos/data/CMakeLists.txt @@ -0,0 +1 @@ +tde_auto_add_subdirectories( ) diff --git a/kverbos/kverbos/data/de/CMakeLists.txt b/kverbos/kverbos/data/de/CMakeLists.txt new file mode 100644 index 00000000..c16790e7 --- /dev/null +++ b/kverbos/kverbos/data/de/CMakeLists.txt @@ -0,0 +1,4 @@ +install( + FILES verbos.verbos + DESTINATION ${DATA_INSTALL_DIR}/kverbos/data/de +) diff --git a/kverbos/kverbos/data/en/CMakeLists.txt b/kverbos/kverbos/data/en/CMakeLists.txt new file mode 100644 index 00000000..ee194c9c --- /dev/null +++ b/kverbos/kverbos/data/en/CMakeLists.txt @@ -0,0 +1,4 @@ +install( + FILES verbos.verbos + DESTINATION ${DATA_INSTALL_DIR}/kverbos/data/en +) diff --git a/kverbos/kverbos/icons/CMakeLists.txt b/kverbos/kverbos/icons/CMakeLists.txt new file mode 100644 index 00000000..63f765b3 --- /dev/null +++ b/kverbos/kverbos/icons/CMakeLists.txt @@ -0,0 +1 @@ +tde_install_icons( ) diff --git a/kvoctrain/CMakeLists.txt b/kvoctrain/CMakeLists.txt new file mode 100644 index 00000000..d69632d4 --- /dev/null +++ b/kvoctrain/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory( kvoctrain ) diff --git a/kvoctrain/kvoctrain/CMakeLists.txt b/kvoctrain/kvoctrain/CMakeLists.txt new file mode 100644 index 00000000..46b4f2cb --- /dev/null +++ b/kvoctrain/kvoctrain/CMakeLists.txt @@ -0,0 +1,105 @@ +add_subdirectory( common-dialogs ) +add_subdirectory( kvt-core ) +add_subdirectory( query-dialogs ) +add_subdirectory( docprop-dialogs ) +add_subdirectory( entry-dialogs ) +add_subdirectory( statistik-dialogs ) +add_subdirectory( pics ) +add_subdirectory( examples ) +#add_subdirectory( tools ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_CURRENT_SOURCE_DIR}/kvt-core + ${CMAKE_BINARY_DIR}/kvoctrain/kvoctrain/docprop-dialogs + ${CMAKE_BINARY_DIR}/kvoctrain/kvoctrain/entry-dialogs + ${CMAKE_BINARY_DIR}/kvoctrain/kvoctrain/common-dialogs + ${CMAKE_BINARY_DIR}/kvoctrain/kvoctrain/query-dialogs +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kvoctrain (executable) + +tde_add_executable( kvoctrain AUTOMOC + + SOURCES + kva_io.cpp + kvoctrain.cpp + kvoctrainview.cpp + main.cpp kva_init.cpp + kva_config.cpp + kva_header.cpp + kva_clip.cpp + kva_query.cpp + kvoctraintable.cpp + kvoctraintableitem.cpp + kvtnewstuff.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeprint-shared + tdenewstuff-shared + querydlg-static + docpropdlg-static + kvtxml-static + kvoctraincore-shared + entrydlg-static + statdlg-static + commondlg-static + + DEPENDENCIES + querydlg-static + docpropdlg-static + entrydlg-static + commondlg-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### spotlight2kvtml (executable) + +tde_add_executable( spotlight2kvtml AUTOMOC + + SOURCES + spotlight2kvtml.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES x-kvtml.desktop + DESTINATION ${MIME_INSTALL_DIR}/text +) + +install( + FILES kvoctrainui.rc + DESTINATION ${DATA_INSTALL_DIR}/kvoctrain +) + +install( + FILES kvoctrain.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES kvoctrainrc + DESTINATION ${CONFIG_INSTALL_DIR} +) diff --git a/kvoctrain/kvoctrain/common-dialogs/CMakeLists.txt b/kvoctrain/kvoctrain/common-dialogs/CMakeLists.txt new file mode 100644 index 00000000..9905574b --- /dev/null +++ b/kvoctrain/kvoctrain/common-dialogs/CMakeLists.txt @@ -0,0 +1,56 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/kvoctrain/kvoctrain/kvt-core +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### commondlg (static) + +tde_add_library( commondlg STATIC_PIC AUTOMOC + + SOURCES + languagesettings.kcfgc + prefs.kcfgc + presettings.kcfgc + ProgressDlgForm.ui + generaloptionsbase.ui + viewoptionsbase.ui + pasteoptionsbase.ui + blockoptionsbase.ui + groupoptionsbase.ui + languageoptionsbase.ui + queryoptionsbase.ui + thresholdoptionsbase.ui + ProgressDlg.cpp + kvoctrainprefs.cpp + generaloptions.cpp + viewoptions.cpp + pasteoptions.cpp + blockoptions.cpp + groupoptions.cpp + languageoptions.cpp + queryoptions.cpp + thresholdoptions.cpp + profilesdialog.cpp +) + + +##### other data + +install( + FILES + kvoctrain.kcfg + languagesettings.kcfg + presettings.kcfg + + DESTINATION ${KCFG_INSTALL_DIR} +) diff --git a/kvoctrain/kvoctrain/common-dialogs/generaloptionsbase.ui b/kvoctrain/kvoctrain/common-dialogs/generaloptionsbase.ui index 48897be5..7d430017 100644 --- a/kvoctrain/kvoctrain/common-dialogs/generaloptionsbase.ui +++ b/kvoctrain/kvoctrain/common-dialogs/generaloptionsbase.ui @@ -183,7 +183,7 @@ - - knuminput.h - + + knuminput.h + diff --git a/kvoctrain/kvoctrain/common-dialogs/languageoptionsbase.ui b/kvoctrain/kvoctrain/common-dialogs/languageoptionsbase.ui index 59d4b034..070f3308 100644 --- a/kvoctrain/kvoctrain/common-dialogs/languageoptionsbase.ui +++ b/kvoctrain/kvoctrain/common-dialogs/languageoptionsbase.ui @@ -345,8 +345,7 @@ b_lang_iso1 - - kcombobox.h - kcombobox.h - + + kcombobox.h + diff --git a/kvoctrain/kvoctrain/common-dialogs/pasteoptionsbase.ui b/kvoctrain/kvoctrain/common-dialogs/pasteoptionsbase.ui index 2524dc71..b975c132 100644 --- a/kvoctrain/kvoctrain/common-dialogs/pasteoptionsbase.ui +++ b/kvoctrain/kvoctrain/common-dialogs/pasteoptionsbase.ui @@ -208,7 +208,7 @@ DownButton - - kcombobox.h - + + kcombobox.h + diff --git a/kvoctrain/kvoctrain/common-dialogs/profilesdialog.h b/kvoctrain/kvoctrain/common-dialogs/profilesdialog.h index 292e7b82..6f00c0d3 100644 --- a/kvoctrain/kvoctrain/common-dialogs/profilesdialog.h +++ b/kvoctrain/kvoctrain/common-dialogs/profilesdialog.h @@ -31,7 +31,7 @@ class QueryManager; class GroupOptions; -class SettingsProfile +class KDE_EXPORT SettingsProfile { public: SettingsProfile(); @@ -43,7 +43,7 @@ public: TQString block_set; }; -class ProfilesDialog : public KDialogBase +class KDE_EXPORT ProfilesDialog : public KDialogBase { Q_OBJECT diff --git a/kvoctrain/kvoctrain/common-dialogs/queryoptionsbase.ui b/kvoctrain/kvoctrain/common-dialogs/queryoptionsbase.ui index 73da961e..ef9221c5 100644 --- a/kvoctrain/kvoctrain/common-dialogs/queryoptionsbase.ui +++ b/kvoctrain/kvoctrain/common-dialogs/queryoptionsbase.ui @@ -564,10 +564,7 @@ kcfg_IKnow - - knuminput.h - knuminput.h - knuminput.h - knuminput.h - + + knuminput.h + diff --git a/kvoctrain/kvoctrain/common-dialogs/viewoptionsbase.ui b/kvoctrain/kvoctrain/common-dialogs/viewoptionsbase.ui index 1891c80d..7e77e918 100644 --- a/kvoctrain/kvoctrain/common-dialogs/viewoptionsbase.ui +++ b/kvoctrain/kvoctrain/common-dialogs/viewoptionsbase.ui @@ -519,18 +519,7 @@ kcolorbutton.h + tdefontrequester.h - - tdefontrequester.h - tdefontrequester.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - diff --git a/kvoctrain/kvoctrain/docprop-dialogs/CMakeLists.txt b/kvoctrain/kvoctrain/docprop-dialogs/CMakeLists.txt new file mode 100644 index 00000000..fd007452 --- /dev/null +++ b/kvoctrain/kvoctrain/docprop-dialogs/CMakeLists.txt @@ -0,0 +1,41 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/kvoctrain/kvoctrain/kvt-core + ${CMAKE_BINARY_DIR}/kvoctrain/kvoctrain/common-dialogs +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### docpropdlg (static) + +tde_add_library( docpropdlg STATIC_PIC AUTOMOC + + SOURCES + TitlePageForm.ui + TypeOptPageForm.ui + TenseOptPageForm.ui + UsageOptPageForm.ui + LessOptPageForm.ui + DocOptionsPageForm.ui + LangPropPageForm.ui + TitlePage.cpp + TypeOptPage.cpp + TenseOptPage.cpp + UsageOptPage.cpp + LessOptPage.cpp + DocOptionsPage.cpp + LangPropPage.cpp + DocPropDlg.cpp + DocPropLangDlg.cpp + + DEPENDENCIES + commondlg-static +) diff --git a/kvoctrain/kvoctrain/entry-dialogs/CMakeLists.txt b/kvoctrain/kvoctrain/entry-dialogs/CMakeLists.txt new file mode 100644 index 00000000..ccab8469 --- /dev/null +++ b/kvoctrain/kvoctrain/entry-dialogs/CMakeLists.txt @@ -0,0 +1,44 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/kvoctrain/kvoctrain/kvt-core + ${CMAKE_SOURCE_DIR}/kvoctrain/kvoctrain/docprop-dialogs + ${CMAKE_BINARY_DIR}/kvoctrain/kvoctrain/common-dialogs + ${CMAKE_BINARY_DIR}/kvoctrain/kvoctrain/docprop-dialogs +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### entrydlg (static) + +tde_add_library( entrydlg STATIC_PIC AUTOMOC + + SOURCES + FromToEntryPageForm.ui + CommonEntryPageForm.ui + AuxInfoEntryPageForm.ui + TenseEntryPageForm.ui + AdjEntryPageForm.ui + MCEntryPageForm.ui + PhoneticEntryPage.cpp + FromToEntryPage.cpp + CommonEntryPage.cpp + AuxInfoEntryPage.cpp + TenseEntryPage.cpp + AdjEntryPage.cpp + MCEntryPage.cpp + EntryDlg.cpp + MySpinBox.cpp + blockall.cpp + + DEPENDENCIES + commondlg-static + docpropdlg-static +) diff --git a/kvoctrain/kvoctrain/examples/CMakeLists.txt b/kvoctrain/kvoctrain/examples/CMakeLists.txt new file mode 100644 index 00000000..232b0500 --- /dev/null +++ b/kvoctrain/kvoctrain/examples/CMakeLists.txt @@ -0,0 +1,4 @@ +install( + FILES sample-de.kvtml sample-en.kvtml + DESTINATION ${DATA_INSTALL_DIR}/kvoctrain/examples +) diff --git a/kvoctrain/kvoctrain/kvt-core/CMakeLists.txt b/kvoctrain/kvoctrain/kvt-core/CMakeLists.txt new file mode 100644 index 00000000..afdd7725 --- /dev/null +++ b/kvoctrain/kvoctrain/kvt-core/CMakeLists.txt @@ -0,0 +1,57 @@ +add_subdirectory( kvt-xml ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_CURRENT_SOURCE_DIR}/kvt-xml + ${CMAKE_SOURCE_DIR}/kvoctrain/kvoctrain + ${CMAKE_BINARY_DIR}/kvoctrain/kvoctrain/common-dialogs + + +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kvoctraincore (shared) + +tde_add_library( kvoctraincore SHARED AUTOMOC + + SOURCES + langset.cpp + LineList.cpp + kvoctrainexpr.cpp + kvoctraindoc.cpp + kvd_rh_kvtml.cpp + kvd_rb_kvtml1.cpp + kvd_rb_kvtml2.cpp + kvd_wkvtml.cpp + kvd_csv.cpp + kvd_lex.cpp + kvd_vcb.cpp + UsageManager.cpp + QueryManager.cpp + MultipleChoice.cpp + grammarmanager.cpp + kvd_voc.cpp + LINK + tdecore-shared + tdeio-shared + tdeui-shared + kvtxml-static + commondlg-static + + DEPENDENCIES + kvtxml-static + commondlg-static + + VERSION 0.0.0 + + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/kvoctrain/kvoctrain/kvt-core/LineList.h b/kvoctrain/kvoctrain/kvt-core/LineList.h index 028c9e64..a0bb1b24 100644 --- a/kvoctrain/kvoctrain/kvt-core/LineList.h +++ b/kvoctrain/kvoctrain/kvt-core/LineList.h @@ -28,11 +28,12 @@ #define LineList_h #include +#include #include using namespace std; -class LineList { +class KDE_EXPORT LineList { public: LineList (const TQString &multilines = ""); diff --git a/kvoctrain/kvoctrain/kvt-core/MultipleChoice.h b/kvoctrain/kvoctrain/kvt-core/MultipleChoice.h index 4d7fd029..c1fddd8c 100644 --- a/kvoctrain/kvoctrain/kvt-core/MultipleChoice.h +++ b/kvoctrain/kvoctrain/kvt-core/MultipleChoice.h @@ -28,10 +28,11 @@ #define MultipleChoice_included #include +#include #define MAX_MULTIPLE_CHOICE 5 // select one out of x -class MultipleChoice +class KDE_EXPORT MultipleChoice { public: diff --git a/kvoctrain/kvoctrain/kvt-core/QueryManager.h b/kvoctrain/kvoctrain/kvt-core/QueryManager.h index 52019689..4c2f2175 100644 --- a/kvoctrain/kvoctrain/kvt-core/QueryManager.h +++ b/kvoctrain/kvoctrain/kvt-core/QueryManager.h @@ -105,7 +105,7 @@ struct QueryEntryRef { typedef vector > QuerySelection; -class QueryManager +class KDE_EXPORT QueryManager { public: // donīt change the order/remove one of these, diff --git a/kvoctrain/kvoctrain/kvt-core/UsageManager.h b/kvoctrain/kvoctrain/kvt-core/UsageManager.h index 23dec781..522c4ae8 100644 --- a/kvoctrain/kvoctrain/kvt-core/UsageManager.h +++ b/kvoctrain/kvoctrain/kvt-core/UsageManager.h @@ -108,7 +108,7 @@ struct UsageRelation }; -class UsageManager +class KDE_EXPORT UsageManager { public: diff --git a/kvoctrain/kvoctrain/kvt-core/grammarmanager.h b/kvoctrain/kvoctrain/kvt-core/grammarmanager.h index 01f020b9..c37b0dbb 100644 --- a/kvoctrain/kvoctrain/kvt-core/grammarmanager.h +++ b/kvoctrain/kvoctrain/kvt-core/grammarmanager.h @@ -28,6 +28,7 @@ #define grammarmanager_included #include +#include #include using namespace std; @@ -46,7 +47,7 @@ using namespace std; #define UL_USER_TENSE "#" // designates number of user tense -class Article +class KDE_EXPORT Article { public: @@ -75,7 +76,7 @@ protected: }; -class Comparison +class KDE_EXPORT Comparison { public: @@ -105,7 +106,7 @@ protected: }; -class TenseRelation +class KDE_EXPORT TenseRelation { public: @@ -121,7 +122,7 @@ class TenseRelation }; -class Conjugation +class KDE_EXPORT Conjugation { public: diff --git a/kvoctrain/kvoctrain/kvt-core/kvd_csv.cpp b/kvoctrain/kvoctrain/kvt-core/kvd_csv.cpp index 3d3ed9bd..067fe6bd 100644 --- a/kvoctrain/kvoctrain/kvt-core/kvd_csv.cpp +++ b/kvoctrain/kvoctrain/kvt-core/kvd_csv.cpp @@ -33,7 +33,7 @@ #include using namespace std; -vector getCsvOrderStatic(kvoctrainDoc *doc) +KDE_EXPORT vector getCsvOrderStatic(kvoctrainDoc *doc) { vector csv_order; TQStringList lang_order = Prefs::pasteOrder(); diff --git a/kvoctrain/kvoctrain/kvt-core/kvoctraindoc.h b/kvoctrain/kvoctrain/kvt-core/kvoctraindoc.h index d92f6524..59c57986 100644 --- a/kvoctrain/kvoctrain/kvt-core/kvoctraindoc.h +++ b/kvoctrain/kvoctrain/kvt-core/kvoctraindoc.h @@ -250,7 +250,7 @@ class MultipleChoice; * This class contains the expressions of your vocabulary ************************************************************/ -class kvoctrainDoc : public TQObject +class KDE_EXPORT kvoctrainDoc : public TQObject { Q_OBJECT diff --git a/kvoctrain/kvoctrain/kvt-core/kvoctrainexpr.h b/kvoctrain/kvoctrain/kvt-core/kvoctrainexpr.h index 42e47edc..72ff266f 100644 --- a/kvoctrain/kvoctrain/kvt-core/kvoctrainexpr.h +++ b/kvoctrain/kvoctrain/kvt-core/kvoctrainexpr.h @@ -71,7 +71,7 @@ typedef unsigned short count_t; * translations **************************************************************/ -class kvoctrainExpr +class KDE_EXPORT kvoctrainExpr { public: diff --git a/kvoctrain/kvoctrain/kvt-core/kvt-xml/CMakeLists.txt b/kvoctrain/kvoctrain/kvt-core/kvt-xml/CMakeLists.txt new file mode 100644 index 00000000..96199a4d --- /dev/null +++ b/kvoctrain/kvoctrain/kvt-core/kvt-xml/CMakeLists.txt @@ -0,0 +1,25 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/kvoctrain/kvoctrain +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kvtxml (static) + +tde_add_library( kvtxml STATIC_PIC AUTOMOC + + SOURCES + XmlReader.cpp + XmlTokenizer.cpp + XmlElement.cpp + XmlWriter.cpp +) diff --git a/kvoctrain/kvoctrain/kvt-core/langset.h b/kvoctrain/kvoctrain/kvt-core/langset.h index ac4e8ace..26935408 100644 --- a/kvoctrain/kvoctrain/kvt-core/langset.h +++ b/kvoctrain/kvoctrain/kvt-core/langset.h @@ -33,9 +33,10 @@ using namespace std; #include +#include -class LangSet +class KDE_EXPORT LangSet { public: diff --git a/kvoctrain/kvoctrain/pics/CMakeLists.txt b/kvoctrain/kvoctrain/pics/CMakeLists.txt new file mode 100644 index 00000000..499ad4fc --- /dev/null +++ b/kvoctrain/kvoctrain/pics/CMakeLists.txt @@ -0,0 +1,3 @@ +tde_install_icons( kvoctrain ) + +tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kvoctrain/icons ) diff --git a/kvoctrain/kvoctrain/query-dialogs/AdjQueryDlgForm.ui b/kvoctrain/kvoctrain/query-dialogs/AdjQueryDlgForm.ui index d6197ea0..fc6176f5 100644 --- a/kvoctrain/kvoctrain/query-dialogs/AdjQueryDlgForm.ui +++ b/kvoctrain/kvoctrain/query-dialogs/AdjQueryDlgForm.ui @@ -337,8 +337,7 @@ dont_know - - kprogress.h - kprogress.h - + + kprogress.h + diff --git a/kvoctrain/kvoctrain/query-dialogs/ArtQueryDlgForm.ui b/kvoctrain/kvoctrain/query-dialogs/ArtQueryDlgForm.ui index def5f384..18d895e6 100644 --- a/kvoctrain/kvoctrain/query-dialogs/ArtQueryDlgForm.ui +++ b/kvoctrain/kvoctrain/query-dialogs/ArtQueryDlgForm.ui @@ -340,8 +340,7 @@ dont_know - - kprogress.h - kprogress.h - + + kprogress.h + diff --git a/kvoctrain/kvoctrain/query-dialogs/CMakeLists.txt b/kvoctrain/kvoctrain/query-dialogs/CMakeLists.txt new file mode 100644 index 00000000..506b5531 --- /dev/null +++ b/kvoctrain/kvoctrain/query-dialogs/CMakeLists.txt @@ -0,0 +1,39 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/kvoctrain/kvoctrain/kvt-core + ${CMAKE_SOURCE_DIR}/kvoctrain/kvoctrain + ${CMAKE_BINARY_DIR}/kvoctrain/kvoctrain/common-dialogs +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### querydlg (static) + +tde_add_library( querydlg STATIC_PIC AUTOMOC + + SOURCES + MCQueryDlgForm.ui + RandomQueryDlgForm.ui + SimpleQueryDlgForm.ui + VerbQueryDlgForm.ui + AdjQueryDlgForm.ui + ArtQueryDlgForm.ui + QueryDlgBase.cpp + MCQueryDlg.cpp + RandomQueryDlg.cpp + SimpleQueryDlg.cpp + VerbQueryDlg.cpp + AdjQueryDlg.cpp + ArtQueryDlg.cpp + + DEPENDENCIES + commondlg-static +) diff --git a/kvoctrain/kvoctrain/query-dialogs/MCQueryDlgForm.ui b/kvoctrain/kvoctrain/query-dialogs/MCQueryDlgForm.ui index 4a46ac77..28c42351 100644 --- a/kvoctrain/kvoctrain/query-dialogs/MCQueryDlgForm.ui +++ b/kvoctrain/kvoctrain/query-dialogs/MCQueryDlgForm.ui @@ -437,8 +437,7 @@ dont_know - - kprogress.h - kprogress.h - + + kprogress.h + diff --git a/kvoctrain/kvoctrain/query-dialogs/RandomQueryDlgForm.ui b/kvoctrain/kvoctrain/query-dialogs/RandomQueryDlgForm.ui index 7b35a6c2..980a1bf9 100644 --- a/kvoctrain/kvoctrain/query-dialogs/RandomQueryDlgForm.ui +++ b/kvoctrain/kvoctrain/query-dialogs/RandomQueryDlgForm.ui @@ -411,8 +411,7 @@ dont_know - - kprogress.h - kprogress.h - + + kprogress.h + diff --git a/kvoctrain/kvoctrain/query-dialogs/SimpleQueryDlgForm.ui b/kvoctrain/kvoctrain/query-dialogs/SimpleQueryDlgForm.ui index c20cd142..dbac2575 100644 --- a/kvoctrain/kvoctrain/query-dialogs/SimpleQueryDlgForm.ui +++ b/kvoctrain/kvoctrain/query-dialogs/SimpleQueryDlgForm.ui @@ -341,8 +341,7 @@ dont_know - - kprogress.h - kprogress.h - + + kprogress.h + diff --git a/kvoctrain/kvoctrain/query-dialogs/VerbQueryDlgForm.ui b/kvoctrain/kvoctrain/query-dialogs/VerbQueryDlgForm.ui index 7e28115d..9cbf332b 100644 --- a/kvoctrain/kvoctrain/query-dialogs/VerbQueryDlgForm.ui +++ b/kvoctrain/kvoctrain/query-dialogs/VerbQueryDlgForm.ui @@ -542,8 +542,7 @@ dont_know - - kprogress.h - kprogress.h - + + kprogress.h + diff --git a/kvoctrain/kvoctrain/statistik-dialogs/CMakeLists.txt b/kvoctrain/kvoctrain/statistik-dialogs/CMakeLists.txt new file mode 100644 index 00000000..fb54592e --- /dev/null +++ b/kvoctrain/kvoctrain/statistik-dialogs/CMakeLists.txt @@ -0,0 +1,30 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/kvoctrain/kvoctrain/kvt-core + ${CMAKE_BINARY_DIR}/kvoctrain/kvoctrain/common-dialogs +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### statdlg (static) + +tde_add_library( statdlg STATIC_PIC AUTOMOC + + SOURCES + StatistikPageForm.ui + GenStatPageForm.ui + StatistikPage.cpp + GenStatPage.cpp + StatistikDlg.cpp + + DEPENDENCIES + commondlg-static +) diff --git a/kvoctrain/kvoctrain/tools/CMakeLists.txt b/kvoctrain/kvoctrain/tools/CMakeLists.txt new file mode 100644 index 00000000..fbe46907 --- /dev/null +++ b/kvoctrain/kvoctrain/tools/CMakeLists.txt @@ -0,0 +1,25 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### extractlang (executable) + +tde_add_executable( extractlang AUTOMOC + + SOURCES + extractlang.cpp + LINK + tdecore-shared + + DESTINATION ${BIN_INSTALL_DIR} +) diff --git a/kwordquiz/CMakeLists.txt b/kwordquiz/CMakeLists.txt new file mode 100644 index 00000000..d4fb6582 --- /dev/null +++ b/kwordquiz/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory( src ) diff --git a/kwordquiz/src/CMakeLists.txt b/kwordquiz/src/CMakeLists.txt new file mode 100644 index 00000000..4e0b5cad --- /dev/null +++ b/kwordquiz/src/CMakeLists.txt @@ -0,0 +1,99 @@ +add_subdirectory( pics ) +add_subdirectory( examples ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/kwordquiz/icons +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kwordquiz (executable) + +tde_add_executable( kwordquiz AUTOMOC + + SOURCES + dlglanguagebase.ui + flashviewbase.ui + multipleviewbase.ui + qaviewbase.ui + prefeditorbase.ui + prefquizbase.ui + dlgsortbase.ui + dlgrcbase.ui + prefcharacterbase.ui + prefcardappearancebase.ui + kwordquizprefs.cpp + kwordquizview.cpp + kwordquizdoc.cpp + kwordquiz.cpp + main.cpp + qaview.cpp + flashview.cpp + multipleview.cpp + wqquiz.cpp + wqlistitem.cpp + wqscore.cpp + keduvocdata.cpp + prefeditor.cpp + prefquiz.cpp + dlgsort.cpp + dlgrc.cpp + dlgspecchar.cpp + kvtmlwriter.cpp + dlglanguage.cpp + wqprintdialogpage.cpp + prefcharacter.cpp + paukerreader.cpp + wqlreader.cpp + wqlwriter.cpp + wqundo.cpp + prefcardappearance.cpp + kwqnewstuff.cpp + prefs.kcfgc + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeprint-shared + tdenewstuff-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES kwordquizui.rc eventsrc + DESTINATION ${DATA_INSTALL_DIR}/kwordquiz +) + +install( + FILES kwordquiz.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES x-kwordquiz.desktop + DESTINATION ${MIME_INSTALL_DIR}/application +) + +install( + FILES kwordquiz.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) + +install( + FILES kwordquizrc + DESTINATION ${CONFIG_INSTALL_DIR} +) + diff --git a/kwordquiz/src/dlglanguagebase.ui b/kwordquiz/src/dlglanguagebase.ui index 38edf095..8acf983c 100644 --- a/kwordquiz/src/dlglanguagebase.ui +++ b/kwordquiz/src/dlglanguagebase.ui @@ -241,4 +241,7 @@ + + klineedit.h + diff --git a/kwordquiz/src/dlgrcbase.ui b/kwordquiz/src/dlgrcbase.ui index 3fec70fd..8abbd6cd 100644 --- a/kwordquiz/src/dlgrcbase.ui +++ b/kwordquiz/src/dlgrcbase.ui @@ -174,9 +174,7 @@ - - krestrictedline.h - krestrictedline.h - krestrictedline.h - + + krestrictedline.h + diff --git a/kwordquiz/src/examples/CMakeLists.txt b/kwordquiz/src/examples/CMakeLists.txt new file mode 100644 index 00000000..2dc0d2a3 --- /dev/null +++ b/kwordquiz/src/examples/CMakeLists.txt @@ -0,0 +1,9 @@ +install( + FILES + example.kvtml + french_verbs.kvtml + fill_in_the_blank.kvtml + us_states_and_capitals.kvtml + + DESTINATION ${DATA_INSTALL_DIR}/kwordquiz/examples +) diff --git a/kwordquiz/src/pics/CMakeLists.txt b/kwordquiz/src/pics/CMakeLists.txt new file mode 100644 index 00000000..7041273c --- /dev/null +++ b/kwordquiz/src/pics/CMakeLists.txt @@ -0,0 +1,3 @@ +tde_install_icons( kwordquiz kwordquiz_doc ) + +tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kwordquiz/icons ) diff --git a/kwordquiz/src/prefcardappearancebase.ui b/kwordquiz/src/prefcardappearancebase.ui index 31adb29d..9a1af12b 100644 --- a/kwordquiz/src/prefcardappearancebase.ui +++ b/kwordquiz/src/prefcardappearancebase.ui @@ -543,11 +543,9 @@ slotCardColorChanged(const TQColor &) - - kpushbutton.h - tdefontrequester.h - kcolorbutton.h - kcolorbutton.h - kcolorbutton.h - + + kpushbutton.h + tdefontrequester.h + kcolorbutton.h + diff --git a/kwordquiz/src/prefcharacterbase.ui b/kwordquiz/src/prefcharacterbase.ui index da54220a..69a80783 100644 --- a/kwordquiz/src/prefcharacterbase.ui +++ b/kwordquiz/src/prefcharacterbase.ui @@ -403,7 +403,7 @@ btnCharacter - - kpushbutton.h - + + kpushbutton.h + diff --git a/kwordquiz/src/prefquizbase.ui b/kwordquiz/src/prefquizbase.ui index 2f7f333c..89e0dffa 100644 --- a/kwordquiz/src/prefquizbase.ui +++ b/kwordquiz/src/prefquizbase.ui @@ -288,8 +288,7 @@ slotAutoFlipClicked() - - knuminput.h - knuminput.h - + + knuminput.h + diff --git a/kwordquiz/src/qaviewbase.ui b/kwordquiz/src/qaviewbase.ui index fcb743a4..9c5b3353 100644 --- a/kwordquiz/src/qaviewbase.ui +++ b/kwordquiz/src/qaviewbase.ui @@ -866,4 +866,7 @@ slotCheck() + + klineedit.h + diff --git a/libtdeedu/CMakeLists.txt b/libtdeedu/CMakeLists.txt new file mode 100644 index 00000000..13286849 --- /dev/null +++ b/libtdeedu/CMakeLists.txt @@ -0,0 +1,4 @@ +add_subdirectory( tdeeducore ) +add_subdirectory( tdeeduui ) +add_subdirectory( tdeeduplot ) +add_subdirectory( extdate ) diff --git a/libtdeedu/extdate/CMakeLists.txt b/libtdeedu/extdate/CMakeLists.txt new file mode 100644 index 00000000..8bc22f35 --- /dev/null +++ b/libtdeedu/extdate/CMakeLists.txt @@ -0,0 +1,65 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### extdate (shared) + +tde_add_library( extdate SHARED AUTOMOC + + SOURCES + extdatetime.cpp + extcalendarsystem.cpp + extcalendarsystemgregorian.cpp + extdatetbl.cpp + extdatepicker.cpp + extdatetimeedit.cpp + extdatewidget.cpp + LINK + tdecore-shared + tdeui-shared + + VERSION 1.2.0 + + DESTINATION ${LIB_INSTALL_DIR} +) + + +##### test_extdate (test) + +tde_add_check_executable( test_extdate AUTOMOC + + SOURCES + test_extdate.cc + LINK + tdecore-shared + tdeui-shared + tdeio-shared + extdate-shared + + TEST +) + + +##### test_extdatepicker (test) + +tde_add_check_executable( test_extdatepicker AUTOMOC + + SOURCES + testwidget.cpp + main.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + extdate-shared +) diff --git a/libtdeedu/tdeeducore/CMakeLists.txt b/libtdeedu/tdeeducore/CMakeLists.txt new file mode 100644 index 00000000..30531ffc --- /dev/null +++ b/libtdeedu/tdeeducore/CMakeLists.txt @@ -0,0 +1,37 @@ +add_subdirectory( tests ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### tdeeducore (shared) + +tde_add_library( tdeeducore SHARED AUTOMOC + + SOURCES + keduvocdata.cpp + LINK + tdecore-shared + + VERSION 1.2.0 + + DESTINATION ${LIB_INSTALL_DIR} +) + + +##### other data + +install( + FILES keduvocdata.h + DESTINATION ${INCLUDE_INSTALL_DIR}/libtdeedu +) diff --git a/libtdeedu/tdeeducore/tests/CMakeLists.txt b/libtdeedu/tdeeducore/tests/CMakeLists.txt new file mode 100644 index 00000000..88d48601 --- /dev/null +++ b/libtdeedu/tdeeducore/tests/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/tdeeducore +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### loader (test) + +tde_add_check_executable( loader AUTOMOC + + SOURCES + loader.cpp + LINK + tdeeducore-shared + + TEST +) diff --git a/libtdeedu/tdeeduplot/CMakeLists.txt b/libtdeedu/tdeeduplot/CMakeLists.txt new file mode 100644 index 00000000..1fa82598 --- /dev/null +++ b/libtdeedu/tdeeduplot/CMakeLists.txt @@ -0,0 +1,37 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### tdeeduplot (shared) + +tde_add_library( tdeeduplot SHARED AUTOMOC + + SOURCES + kplotobject.cpp + kplotaxis.cpp + kplotwidget.cpp + LINK + tdecore-shared + + VERSION 1.2.0 + + DESTINATION ${LIB_INSTALL_DIR} +) + + +##### other data + +install( + FILES kplotobject.h kplotaxis.h kplotwidget.h + DESTINATION ${INCLUDE_INSTALL_DIR}/libtdeedu +) diff --git a/libtdeedu/tdeeduui/CMakeLists.txt b/libtdeedu/tdeeduui/CMakeLists.txt new file mode 100644 index 00000000..ae095223 --- /dev/null +++ b/libtdeedu/tdeeduui/CMakeLists.txt @@ -0,0 +1,42 @@ +add_subdirectory( tests ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### tdeeduui (shared) + +tde_add_library( tdeeduui SHARED AUTOMOC + + SOURCES + kedusimpleentrydlgForm.ui + kedusimpleentrydlg.cpp + tdeeduglossary.cpp + LINK + tdecore-shared + tdeio-shared + tdeui-shared + tdehtml-shared + + VERSION 3.0.5 + + DESTINATION ${LIB_INSTALL_DIR} +) + + +##### other data + +install( + FILES tdeeduglossary.h + DESTINATION ${INCLUDE_INSTALL_DIR}/libtdeedu +) diff --git a/libtdeedu/tdeeduui/tdeeduglossary.h b/libtdeedu/tdeeduui/tdeeduglossary.h index a649112e..dcb510d4 100644 --- a/libtdeedu/tdeeduui/tdeeduglossary.h +++ b/libtdeedu/tdeeduui/tdeeduglossary.h @@ -34,7 +34,7 @@ class GlossaryItem; * This class stores all items to be displayed. It also * has access-methods to the items */ -class Glossary +class KDE_EXPORT Glossary { public: Glossary(); @@ -176,7 +176,7 @@ class Glossary * a number of pictures or references associated to it. * These are stored as TQStringLists. */ -class GlossaryItem +class KDE_EXPORT GlossaryItem { public: GlossaryItem(){} @@ -237,7 +237,7 @@ class GlossaryItem * @author Pino Toscano * @author Carsten Niehaus */ -class GlossaryDialog : public KDialogBase +class KDE_EXPORT GlossaryDialog : public KDialogBase { Q_OBJECT diff --git a/libtdeedu/tdeeduui/tests/CMakeLists.txt b/libtdeedu/tdeeduui/tests/CMakeLists.txt new file mode 100644 index 00000000..eeb72a24 --- /dev/null +++ b/libtdeedu/tdeeduui/tests/CMakeLists.txt @@ -0,0 +1,26 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/tdeeduui +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### entrydialogs (test) + +tde_add_check_executable( entrydialogs AUTOMOC + + SOURCES + entrydialogs.cpp + LINK + tdeeduui-shared + + TEST +)