Remove the generated files from the source tree. Copy translations to a new directory layout. Added translation of .desktop files. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>pull/2/head
@ -0,0 +1,93 @@
|
||||
############################################
|
||||
# #
|
||||
# Improvements and feedbacks are welcome #
|
||||
# #
|
||||
# This file is released under GPL >= 3 #
|
||||
# #
|
||||
############################################
|
||||
|
||||
|
||||
cmake_minimum_required( VERSION 3.1 )
|
||||
|
||||
|
||||
#### general package setup
|
||||
|
||||
project( bibletime )
|
||||
set( PACKAGE_VERSION 1.6.6.0 )
|
||||
|
||||
|
||||
#### include essential cmake modules
|
||||
|
||||
include( FindPkgConfig )
|
||||
include( CheckFunctionExists )
|
||||
include( CheckSymbolExists )
|
||||
include( CheckIncludeFile )
|
||||
include( CheckLibraryExists )
|
||||
include( CheckCSourceCompiles )
|
||||
include( CheckCXXSourceCompiles )
|
||||
|
||||
|
||||
#### include our cmake modules
|
||||
|
||||
include( TDEMacros )
|
||||
|
||||
|
||||
##### set version number ########################
|
||||
|
||||
tde_set_project_version( )
|
||||
|
||||
|
||||
##### 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_HOWTO_DOC "Build documentation including howto" ${WITH_ALL_OPTIONS} )
|
||||
|
||||
|
||||
##### user requested modules
|
||||
|
||||
option( BUILD_ALL "Build all" ON )
|
||||
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
|
||||
option( BUILD_TRANSLATIONS "Build translations" ${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( ${PROJECT_NAME} )
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
tde_conditional_add_project_docs( BUILD_DOC )
|
||||
tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
|
||||
tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
|
||||
|
||||
install(
|
||||
FILES doc/tips
|
||||
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
|
||||
)
|
||||
|
||||
|
||||
##### write configure files
|
||||
|
||||
configure_file( config.h.cmake config.h @ONLY )
|
@ -0,0 +1,81 @@
|
||||
###########################################
|
||||
# #
|
||||
# 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 sword library
|
||||
|
||||
pkg_search_module( SWORD sword )
|
||||
if( NOT SWORD_FOUND )
|
||||
tde_message_fatal( "sword library is required but not found on your system" )
|
||||
endif()
|
||||
if( NOT SWORD_VERSION VERSION_LESS "1.6" )
|
||||
set( SWORD_MULTIVERSE 1 )
|
||||
endif()
|
||||
if( NOT SWORD_VERSION VERSION_LESS "1.7" )
|
||||
set( SWORD_API_1_7 1 )
|
||||
endif()
|
||||
|
||||
check_cxx_source_compiles("
|
||||
#include <signal.h>
|
||||
#include <${SWORD_INCLUDE_DIRS}/sysdata.h>
|
||||
main() {}
|
||||
"
|
||||
SWORD_WITHOUT_SANE_USERSPACE_TYPES
|
||||
)
|
||||
if( NOT SWORD_WITHOUT_SANE_USERSPACE_TYPES )
|
||||
check_cxx_source_compiles("
|
||||
#define __SANE_USERSPACE_TYPES__
|
||||
#include <signal.h>
|
||||
#include <${SWORD_INCLUDE_DIRS}/sysdata.h>
|
||||
main() {}
|
||||
"
|
||||
SWORD_WITH_SANE_USERSPACE_TYPES
|
||||
)
|
||||
if( NOT SWORD_WITH_SANE_USERSPACE_TYPES )
|
||||
tde_message_fatal( "sword library cannot be used in any way" )
|
||||
endif()
|
||||
add_definitions( "__SANE_USERSPACE_TYPES__" )
|
||||
endif()
|
||||
|
||||
|
||||
##### check for clucdene library
|
||||
|
||||
pkg_search_module( CLUCENE libclucene-core )
|
||||
if( NOT CLUCENE_FOUND )
|
||||
tde_message_fatal( "clucene library is required but not found on your system" )
|
||||
endif()
|
||||
if( NOT CLUCENE_VERSION VERSION_LESS "2.0" )
|
||||
set( CLUCENE_V2 1 )
|
||||
endif()
|
||||
|
||||
|
||||
##### check for boost library
|
||||
|
||||
find_package( Boost )
|
||||
|
||||
if( NOT Boost_FOUND )
|
||||
tde_message_fatal( "Boost is required, but was not found on your system" )
|
||||
endif()
|
@ -1,6 +1,16 @@
|
||||
##### prepare display template names ############
|
||||
|
||||
file( READ ${CMAKE_CURRENT_SOURCE_DIR}/display-templates/names.conf TEMPLATE_NAMES )
|
||||
string( REGEX REPLACE "(^|\n)([^ \t]*)[ \t]+([^\n]*)\n" "\\1/* \\2 */ i18n(\"\\3\");\n" TEMPLATE_NAMES "${TEMPLATE_NAMES}" )
|
||||
file( WRITE ${CMAKE_CURRENT_SOURCE_DIR}/display-templates/names.conf.tde_l10n "${TEMPLATE_NAMES}" )
|
||||
|
||||
|
||||
##### create translation templates ##############
|
||||
|
||||
tde_l10n_create_template(
|
||||
CATALOG "messages"
|
||||
SOURCES "." "../docs/tips"
|
||||
CATALOG "messages/bibletime"
|
||||
SOURCES
|
||||
"."
|
||||
"display-templates/names.conf.tde_l10n"
|
||||
"../doc/tips"
|
||||
)
|
||||
|
@ -0,0 +1,65 @@
|
||||
|
||||
add_subdirectory( display-templates )
|
||||
add_subdirectory( backend )
|
||||
add_subdirectory( frontend )
|
||||
add_subdirectory( xml )
|
||||
add_subdirectory( pics )
|
||||
add_subdirectory( util )
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
${CLUCENE_INCLUDE_DIRS}
|
||||
${SWORD_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${Boost_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### bibletime (executable) ####################
|
||||
|
||||
tde_add_executable( ${PROJECT_NAME} AUTOMOC
|
||||
SOURCES
|
||||
bibletime_init.cpp
|
||||
bibletime_slots.cpp
|
||||
bibletime.cpp
|
||||
bibletimeapp.cpp
|
||||
main.cpp
|
||||
bibletime_dcop.cpp
|
||||
bibletimeinterface.skel
|
||||
|
||||
LINK
|
||||
backend-static
|
||||
display-static
|
||||
displaywindow-static
|
||||
frontend-static
|
||||
frontendutil-static
|
||||
keychooser-static
|
||||
mainindex-static
|
||||
searchdialog-static
|
||||
util-static
|
||||
tdecore-shared
|
||||
tdeui-shared
|
||||
tdeio-shared
|
||||
tdecore-shared
|
||||
tdeui-shared
|
||||
tdehtml-shared
|
||||
${SWORD_LIBRARIES}
|
||||
${CLUCENE_LIBRARIES}
|
||||
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### install public includes
|
||||
|
||||
install(
|
||||
FILES bibletimeinterface.h
|
||||
DESTINATION ${INCLUDE_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,48 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}/${PROJECT_NAME}
|
||||
${CMAKE_SOURCE_DIR}/${PROJECT_NAME}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
${CLUCENE_INCLUDE_DIRS}
|
||||
${SWORD_INCLUDE_DIRS}
|
||||
${Boost_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### backed (static)
|
||||
|
||||
tde_add_library( backend STATIC-PIC AUTOMOC
|
||||
SOURCES
|
||||
bt_gbfhtml.cpp
|
||||
bt_osishtml.cpp
|
||||
bt_plainhtml.cpp
|
||||
bt_thmlhtml.cpp
|
||||
bt_thmlplain.cpp
|
||||
btstringmgr.cpp
|
||||
cbookdisplay.cpp
|
||||
cchapterdisplay.cpp
|
||||
cdisplayrendering.cpp
|
||||
cdisplaytemplatemgr.cpp
|
||||
centrydisplay.cpp
|
||||
chtmlexportrendering.cpp
|
||||
clanguagemgr.cpp
|
||||
cplaintextexportrendering.cpp
|
||||
creferencemanager.cpp
|
||||
cswordbackend.cpp
|
||||
cswordbiblemoduleinfo.cpp
|
||||
cswordbookmoduleinfo.cpp
|
||||
cswordcommentarymoduleinfo.cpp
|
||||
cswordkey.cpp
|
||||
cswordldkey.cpp
|
||||
cswordlexiconmoduleinfo.cpp
|
||||
cswordmoduleinfo.cpp
|
||||
cswordmodulesearch.cpp
|
||||
cswordtreekey.cpp
|
||||
cswordversekey.cpp
|
||||
ctextrendering.cpp
|
||||
osismorphsegmentation.cpp
|
||||
)
|
@ -1,188 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** DCOP Skeleton generated by dcopidl2cpp from bibletimeinterface.kidl
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
**
|
||||
*****************************************************************************/
|
||||
|
||||
#include "./bibletimeinterface.h"
|
||||
|
||||
#include <kdatastream.h>
|
||||
#include <tqasciidict.h>
|
||||
|
||||
|
||||
static const int BibleTimeInterface_fhash = 17;
|
||||
static const char* const BibleTimeInterface_ftable[14][3] = {
|
||||
{ "void", "syncAllBibles(TQString)", "syncAllBibles(TQString key)" },
|
||||
{ "void", "syncAllCommentaries(TQString)", "syncAllCommentaries(TQString key)" },
|
||||
{ "void", "syncAllLexicons(TQString)", "syncAllLexicons(TQString key)" },
|
||||
{ "void", "syncAllVerseBasedModules(TQString)", "syncAllVerseBasedModules(TQString key)" },
|
||||
{ "void", "reloadModules()", "reloadModules()" },
|
||||
{ "void", "openWindow(TQString,TQString)", "openWindow(TQString moduleName,TQString key)" },
|
||||
{ "void", "openDefaultBible(TQString)", "openDefaultBible(TQString key)" },
|
||||
{ "void", "closeAllModuleWindows()", "closeAllModuleWindows()" },
|
||||
{ TQSTRING_OBJECT_NAME_STRING, "getCurrentReference()", "getCurrentReference()" },
|
||||
{ TQSTRINGLIST_OBJECT_NAME_STRING, "searchInModule(TQString,TQString)", "searchInModule(TQString moduleName,TQString searchText)" },
|
||||
{ TQSTRINGLIST_OBJECT_NAME_STRING, "searchInOpenModules(TQString)", "searchInOpenModules(TQString searchText)" },
|
||||
{ TQSTRINGLIST_OBJECT_NAME_STRING, "searchInDefaultBible(TQString)", "searchInDefaultBible(TQString searchText)" },
|
||||
{ TQSTRINGLIST_OBJECT_NAME_STRING, "getModulesOfType(TQString)", "getModulesOfType(TQString type)" },
|
||||
{ 0, 0, 0 }
|
||||
};
|
||||
static const int BibleTimeInterface_ftable_hiddens[13] = {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
};
|
||||
|
||||
bool BibleTimeInterface::process(const TQCString &fun, const TQByteArray &data, TQCString& replyType, TQByteArray &replyData)
|
||||
{
|
||||
static TQAsciiDict<int>* fdict = 0;
|
||||
if ( !fdict ) {
|
||||
fdict = new TQAsciiDict<int>( BibleTimeInterface_fhash, true, false );
|
||||
for ( int i = 0; BibleTimeInterface_ftable[i][1]; i++ )
|
||||
fdict->insert( BibleTimeInterface_ftable[i][1], new int( i ) );
|
||||
}
|
||||
int* fp = fdict->find( fun );
|
||||
switch ( fp?*fp:-1) {
|
||||
case 0: { // void syncAllBibles(TQString)
|
||||
TQString arg0;
|
||||
TQDataStream arg( data, IO_ReadOnly );
|
||||
if (arg.atEnd()) return false;
|
||||
arg >> arg0;
|
||||
replyType = BibleTimeInterface_ftable[0][0];
|
||||
syncAllBibles(arg0 );
|
||||
} break;
|
||||
case 1: { // void syncAllCommentaries(TQString)
|
||||
TQString arg0;
|
||||
TQDataStream arg( data, IO_ReadOnly );
|
||||
if (arg.atEnd()) return false;
|
||||
arg >> arg0;
|
||||
replyType = BibleTimeInterface_ftable[1][0];
|
||||
syncAllCommentaries(arg0 );
|
||||
} break;
|
||||
case 2: { // void syncAllLexicons(TQString)
|
||||
TQString arg0;
|
||||
TQDataStream arg( data, IO_ReadOnly );
|
||||
if (arg.atEnd()) return false;
|
||||
arg >> arg0;
|
||||
replyType = BibleTimeInterface_ftable[2][0];
|
||||
syncAllLexicons(arg0 );
|
||||
} break;
|
||||
case 3: { // void syncAllVerseBasedModules(TQString)
|
||||
TQString arg0;
|
||||
TQDataStream arg( data, IO_ReadOnly );
|
||||
if (arg.atEnd()) return false;
|
||||
arg >> arg0;
|
||||
replyType = BibleTimeInterface_ftable[3][0];
|
||||
syncAllVerseBasedModules(arg0 );
|
||||
} break;
|
||||
case 4: { // void reloadModules()
|
||||
replyType = BibleTimeInterface_ftable[4][0];
|
||||
reloadModules( );
|
||||
} break;
|
||||
case 5: { // void openWindow(TQString,TQString)
|
||||
TQString arg0;
|
||||
TQString arg1;
|
||||
TQDataStream arg( data, IO_ReadOnly );
|
||||
if (arg.atEnd()) return false;
|
||||
arg >> arg0;
|
||||
if (arg.atEnd()) return false;
|
||||
arg >> arg1;
|
||||
replyType = BibleTimeInterface_ftable[5][0];
|
||||
openWindow(arg0, arg1 );
|
||||
} break;
|
||||
case 6: { // void openDefaultBible(TQString)
|
||||
TQString arg0;
|
||||
TQDataStream arg( data, IO_ReadOnly );
|
||||
if (arg.atEnd()) return false;
|
||||
arg >> arg0;
|
||||
replyType = BibleTimeInterface_ftable[6][0];
|
||||
openDefaultBible(arg0 );
|
||||
} break;
|
||||
case 7: { // void closeAllModuleWindows()
|
||||
replyType = BibleTimeInterface_ftable[7][0];
|
||||
closeAllModuleWindows( );
|
||||
} break;
|
||||
case 8: { // TQString getCurrentReference()
|
||||
replyType = BibleTimeInterface_ftable[8][0];
|
||||
TQDataStream _replyStream( replyData, IO_WriteOnly );
|
||||
_replyStream << getCurrentReference( );
|
||||
} break;
|
||||
case 9: { // TQStringList searchInModule(TQString,TQString)
|
||||
TQString arg0;
|
||||
TQString arg1;
|
||||
TQDataStream arg( data, IO_ReadOnly );
|
||||
if (arg.atEnd()) return false;
|
||||
arg >> arg0;
|
||||
if (arg.atEnd()) return false;
|
||||
arg >> arg1;
|
||||
replyType = BibleTimeInterface_ftable[9][0];
|
||||
TQDataStream _replyStream( replyData, IO_WriteOnly );
|
||||
_replyStream << searchInModule(arg0, arg1 );
|
||||
} break;
|
||||
case 10: { // TQStringList searchInOpenModules(TQString)
|
||||
TQString arg0;
|
||||
TQDataStream arg( data, IO_ReadOnly );
|
||||
if (arg.atEnd()) return false;
|
||||
arg >> arg0;
|
||||
replyType = BibleTimeInterface_ftable[10][0];
|
||||
TQDataStream _replyStream( replyData, IO_WriteOnly );
|
||||
_replyStream << searchInOpenModules(arg0 );
|
||||
} break;
|
||||
case 11: { // TQStringList searchInDefaultBible(TQString)
|
||||
TQString arg0;
|
||||
TQDataStream arg( data, IO_ReadOnly );
|
||||
if (arg.atEnd()) return false;
|
||||
arg >> arg0;
|
||||
replyType = BibleTimeInterface_ftable[11][0];
|
||||
TQDataStream _replyStream( replyData, IO_WriteOnly );
|
||||
_replyStream << searchInDefaultBible(arg0 );
|
||||
} break;
|
||||
case 12: { // TQStringList getModulesOfType(TQString)
|
||||
TQString arg0;
|
||||
TQDataStream arg( data, IO_ReadOnly );
|
||||
if (arg.atEnd()) return false;
|
||||
arg >> arg0;
|
||||
replyType = BibleTimeInterface_ftable[12][0];
|
||||
TQDataStream _replyStream( replyData, IO_WriteOnly );
|
||||
_replyStream << getModulesOfType(arg0 );
|
||||
} break;
|
||||
default:
|
||||
return DCOPObject::process( fun, data, replyType, replyData );
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
QCStringList BibleTimeInterface::interfaces()
|
||||
{
|
||||
QCStringList ifaces = DCOPObject::interfaces();
|
||||
ifaces += "BibleTimeInterface";
|
||||
return ifaces;
|
||||
}
|
||||
|
||||
QCStringList BibleTimeInterface::functions()
|
||||
{
|
||||
QCStringList funcs = DCOPObject::functions();
|
||||
for ( int i = 0; BibleTimeInterface_ftable[i][2]; i++ ) {
|
||||
if (BibleTimeInterface_ftable_hiddens[i])
|
||||
continue;
|
||||
TQCString func = BibleTimeInterface_ftable[i][0];
|
||||
func += ' ';
|
||||
func += BibleTimeInterface_ftable[i][2];
|
||||
funcs << func;
|
||||
}
|
||||
return funcs;
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,30 @@
|
||||
|
||||
##### template-init.cpp (generated)
|
||||
|
||||
file( READ "names.conf" TEMPLATE_NAMES )
|
||||
string( REGEX REPLACE "\n" ";" TEMPLATE_NAMES "${TEMPLATE_NAMES}" )
|
||||
list( SORT TEMPLATE_NAMES )
|
||||
|
||||
file( WRITE ${CMAKE_CURRENT_BINARY_DIR}/template-init.cpp
|
||||
"void CDisplayTemplateMgr::init() {\n"
|
||||
)
|
||||
|
||||
foreach( TEMPLATE_INFO IN LISTS TEMPLATE_NAMES )
|
||||
string( REGEX REPLACE "^([^ \t]*)[ \t]+(.*)" "\\1" TEMPLATE_FILE "${TEMPLATE_INFO}" )
|
||||
string( REGEX REPLACE "^([^ \t]*)[ \t]+(.*)" "\\2" TEMPLATE_NAME "${TEMPLATE_INFO}" )
|
||||
|
||||
if( NOT "${TEMPLATE_FILE}" STREQUAL "" )
|
||||
file( READ ${TEMPLATE_FILE} TEMPLATE_CONTENT )
|
||||
string( REGEX REPLACE "\n+$" "\n" TEMPLATE_CONTENT "${TEMPLATE_CONTENT}\n" )
|
||||
string( REGEX REPLACE "\"" "\\\\\"" TEMPLATE_CONTENT "${TEMPLATE_CONTENT}" )
|
||||
string( REGEX REPLACE "\n" "\\\\\n" TEMPLATE_CONTENT "${TEMPLATE_CONTENT}" )
|
||||
string( REGEX REPLACE "[ \t]+" " " TEMPLATE_CONTENT "${TEMPLATE_CONTENT}" )
|
||||
file( APPEND ${CMAKE_CURRENT_BINARY_DIR}/template-init.cpp
|
||||
"\tm_templateMap[ i18n(\"${TEMPLATE_NAME}\") ] = \"${TEMPLATE_CONTENT}\";\n"
|
||||
)
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
file( APPEND ${CMAKE_CURRENT_BINARY_DIR}/template-init.cpp
|
||||
"}\n"
|
||||
)
|
@ -0,0 +1,47 @@
|
||||
|
||||
add_subdirectory( util )
|
||||
add_subdirectory( searchdialog )
|
||||
add_subdirectory( mainindex )
|
||||
add_subdirectory( keychooser )
|
||||
add_subdirectory( displaywindow )
|
||||
add_subdirectory( display )
|
||||
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}/${PROJECT_NAME}
|
||||
${CMAKE_SOURCE_DIR}/${PROJECT_NAME}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
${CLUCENE_INCLUDE_DIRS}
|
||||
${SWORD_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### frontend (static)
|
||||
|
||||
tde_add_library( frontend STATIC-PIC AUTOMOC
|
||||
SOURCES
|
||||
btinstallmgr.cpp
|
||||
cbtconfig.cpp
|
||||
cinputdialog.cpp
|
||||
manageindicesform.ui
|
||||
cmanageindiceswidget.cpp
|
||||
coptionsdialog.cpp
|
||||
cswordsetupdialog.cpp
|
||||
cprofilemgr.cpp
|
||||
cprofile.cpp
|
||||
cprofilewindow.cpp
|
||||
cexportmanager.cpp
|
||||
cmdiarea.cpp
|
||||
kstartuplogo.cpp
|
||||
cdragdropmgr.cpp
|
||||
cinfodisplay.cpp
|
||||
cprinter.cpp
|
||||
crossrefrendering.cpp
|
||||
cswordsetupmodulelistview.cpp
|
||||
cswordsetupinstallsourcesdialog.cpp
|
||||
cmoduleindexdialog.cpp
|
||||
)
|
@ -0,0 +1,24 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}/${PROJECT_NAME}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
${CLUCENE_INCLUDE_DIRS}
|
||||
${SWORD_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### display (static)
|
||||
|
||||
tde_add_library( display STATIC-PIC AUTOMOC
|
||||
SOURCES
|
||||
cdisplay.cpp
|
||||
creaddisplay.cpp
|
||||
chtmlreaddisplay.cpp
|
||||
cwritedisplay.cpp
|
||||
cplainwritedisplay.cpp
|
||||
chtmlwritedisplay.cpp
|
||||
)
|
@ -0,0 +1,34 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}/${PROJECT_NAME}
|
||||
${CMAKE_SOURCE_DIR}/${PROJECT_NAME}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
${CLUCENE_INCLUDE_DIRS}
|
||||
${SWORD_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### displaywindow (static)
|
||||
|
||||
tde_add_library( displaywindow STATIC-PIC AUTOMOC
|
||||
SOURCES
|
||||
cbiblereadwindow.cpp
|
||||
cbookreadwindow.cpp
|
||||
ccommentaryreadwindow.cpp
|
||||
cdisplaywindow.cpp
|
||||
clexiconreadwindow.cpp
|
||||
cmodulechooserbar.cpp
|
||||
cmodulechooserbutton.cpp
|
||||
creadwindow.cpp
|
||||
cwritewindow.cpp
|
||||
cplainwritewindow.cpp
|
||||
chtmlwritewindow.cpp
|
||||
cbuttons.cpp
|
||||
|
||||
LINK
|
||||
searchdialog-static
|
||||
)
|
@ -0,0 +1,27 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}/${PROJECT_NAME}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
${CLUCENE_INCLUDE_DIRS}
|
||||
${SWORD_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### keychooser (static)
|
||||
|
||||
tde_add_library( keychooser STATIC-PIC AUTOMOC
|
||||
SOURCES
|
||||
cbiblekeychooser.cpp
|
||||
clexiconkeychooser.cpp
|
||||
ckeychooser.cpp
|
||||
cscrollbutton.cpp
|
||||
ckeychooserwidget.cpp
|
||||
ckeyreferencewidget.cpp
|
||||
cscrollerwidgetset.cpp
|
||||
cbookkeychooser.cpp
|
||||
cbooktreechooser.cpp
|
||||
)
|
@ -0,0 +1,24 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}/${PROJECT_NAME}
|
||||
${CMAKE_SOURCE_DIR}/${PROJECT_NAME}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
${CLUCENE_INCLUDE_DIRS}
|
||||
${SWORD_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### mainindex (static)
|
||||
|
||||
tde_add_library( mainindex STATIC-PIC AUTOMOC
|
||||
SOURCES
|
||||
cmainindex.cpp
|
||||
cindexitem.cpp
|
||||
|
||||
LINK
|
||||
searchdialog-static
|
||||
)
|
@ -1,81 +0,0 @@
|
||||
#include <kdialog.h>
|
||||
#include <tdelocale.h>
|
||||
/****************************************************************************
|
||||
** Form implementation generated from reading ui file './manageindicesform.ui'
|
||||
**
|
||||
** Created: Sa Mai 10 13:52:34 2008
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
****************************************************************************/
|
||||
|
||||
#include "manageindicesform.h"
|
||||
|
||||
#include <tqvariant.h>
|
||||
#include <tqframe.h>
|
||||
#include <tqcheckbox.h>
|
||||
#include <tqheader.h>
|
||||
#include <tdelistview.h>
|
||||
#include <tqpushbutton.h>
|
||||
#include <tqlayout.h>
|
||||
#include <tqtooltip.h>
|
||||
#include <tqwhatsthis.h>
|
||||
|
||||
/*
|
||||
* Constructs a ManageIndicesForm as a child of 'parent', with the
|
||||
* name 'name' and widget flags set to 'f'.
|
||||
*/
|
||||
ManageIndicesForm::ManageIndicesForm( TQWidget* parent, const char* name, WFlags fl )
|
||||
: TQWidget( parent, name, fl )
|
||||
{
|
||||
if ( !name )
|
||||
setName( "ManageIndicesForm" );
|
||||
ManageIndicesFormLayout = new TQVBoxLayout( this, 0, 8, "ManageIndicesFormLayout");
|
||||
|
||||
m_labelFrame = new TQFrame( this, "m_labelFrame" );
|
||||
m_labelFrame->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, m_labelFrame->sizePolicy().hasHeightForWidth() ) );
|
||||
m_labelFrame->setFrameShape( TQFrame::NoFrame );
|
||||
m_labelFrame->setFrameShadow( TQFrame::Plain );
|
||||
ManageIndicesFormLayout->addWidget( m_labelFrame );
|
||||
|
||||
m_autoDeleteOrphanedIndicesBox = new TQCheckBox( this, "m_autoDeleteOrphanedIndicesBox" );
|
||||
ManageIndicesFormLayout->addWidget( m_autoDeleteOrphanedIndicesBox );
|
||||
|
||||
m_moduleList = new TDEListView( this, "m_moduleList" );
|
||||
ManageIndicesFormLayout->addWidget( m_moduleList );
|
||||
|
||||
layout1 = new TQHBoxLayout( 0, 0, 6, "layout1");
|
||||
spacer1 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
|
||||
layout1->addItem( spacer1 );
|
||||
|
||||
m_createIndicesButton = new TQPushButton( this, "m_createIndicesButton" );
|
||||
layout1->addWidget( m_createIndicesButton );
|
||||
|
||||
m_deleteIndicesButton = new TQPushButton( this, "m_deleteIndicesButton" );
|
||||
layout1->addWidget( m_deleteIndicesButton );
|
||||
ManageIndicesFormLayout->addLayout( layout1 );
|
||||
languageChange();
|
||||
resize( TQSize(415, 404).expandedTo(minimumSizeHint()) );
|
||||
clearWState( WState_Polished );
|
||||
}
|
||||
|
||||
/*
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
ManageIndicesForm::~ManageIndicesForm()
|
||||
{
|
||||
// no need to delete child widgets, TQt does it all for us
|
||||
}
|
||||
|
||||
/*
|
||||
* Sets the strings of the subwidgets using the current
|
||||
* language.
|
||||
*/
|
||||
void ManageIndicesForm::languageChange()
|
||||
{
|
||||
setCaption( tr2i18n( "Manage Indicies" ) );
|
||||
m_autoDeleteOrphanedIndicesBox->setText( tr2i18n( "Automaticall&y delete orphaned indices when BibleTime starts" ) );
|
||||
m_createIndicesButton->setText( tr2i18n( "&Create selected indices" ) );
|
||||
m_deleteIndicesButton->setText( tr2i18n( "De&lete selected indices" ) );
|
||||
}
|
||||
|
||||
#include "manageindicesform.moc"
|
@ -0,0 +1,34 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}/${PROJECT_NAME}
|
||||
${CMAKE_SOURCE_DIR}/${PROJECT_NAME}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
${CLUCENE_INCLUDE_DIRS}
|
||||
${SWORD_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### searchdialog (static)
|
||||
|
||||
tde_add_library( searchdialog STATIC-PIC AUTOMOC
|
||||
SOURCES
|
||||
searchoptionsform.ui
|
||||
searchresultsform.ui
|
||||
csearchdialog.cpp
|
||||
csearchdialogpages.cpp
|
||||
csearchanalysis.cpp
|
||||
cmodulechooser.cpp
|
||||
crangechooser.cpp
|
||||
cmoduleresultview.cpp
|
||||
csearchresultview.cpp
|
||||
|
||||
LINK
|
||||
backend-static
|
||||
display-static
|
||||
frontend-static
|
||||
frontendutil-static
|
||||
)
|
@ -1,116 +0,0 @@
|
||||
#include <kdialog.h>
|
||||
#include <tdelocale.h>
|
||||
/****************************************************************************
|
||||
** Form implementation generated from reading ui file './searchoptionsform.ui'
|
||||
**
|
||||
** Created: Sa Mai 10 13:52:35 2008
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
****************************************************************************/
|
||||
|
||||
#include "searchoptionsform.h"
|
||||
|
||||
#include <tqvariant.h>
|
||||
#include <tqgroupbox.h>
|
||||
#include <tqlabel.h>
|
||||
#include <tqpushbutton.h>
|
||||
#include <kcombobox.h>
|
||||
#include <tqlayout.h>
|
||||
#include <tqtooltip.h>
|
||||
#include <tqwhatsthis.h>
|
||||
|
||||
/*
|
||||
* Constructs a SearchOptionsForm as a child of 'parent', with the
|
||||
* name 'name' and widget flags set to 'f'.
|
||||
*/
|
||||
SearchOptionsForm::SearchOptionsForm( TQWidget* parent, const char* name, WFlags fl )
|
||||
: TQWidget( parent, name, fl )
|
||||
{
|
||||
if ( !name )
|
||||
setName( "SearchOptionsForm" );
|
||||
setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, sizePolicy().hasHeightForWidth() ) );
|
||||
setMinimumSize( TQSize( 260, 130 ) );
|
||||
setBaseSize( TQSize( 420, 150 ) );
|
||||
SearchOptionsFormLayout = new TQHBoxLayout( this, 0, 3, "SearchOptionsFormLayout");
|
||||
|
||||
searchGroupBox = new TQGroupBox( this, "searchGroupBox" );
|
||||
searchGroupBox->setMargin( 0 );
|
||||
searchGroupBox->setColumnLayout(0, Qt::Vertical );
|
||||
searchGroupBox->layout()->setSpacing( 3 );
|
||||
searchGroupBox->layout()->setMargin( 6 );
|
||||
searchGroupBoxLayout = new TQGridLayout( searchGroupBox->layout() );
|
||||
searchGroupBoxLayout->setAlignment( TQt::AlignTop );
|
||||
|
||||
m_searchTextLabel = new TQLabel( searchGroupBox, "m_searchTextLabel" );
|
||||
m_searchTextLabel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, m_searchTextLabel->sizePolicy().hasHeightForWidth() ) );
|
||||
|
||||
searchGroupBoxLayout->addWidget( m_searchTextLabel, 0, 0 );
|
||||
|
||||
m_syntaxButton = new TQPushButton( searchGroupBox, "m_syntaxButton" );
|
||||
|
||||
searchGroupBoxLayout->addWidget( m_syntaxButton, 0, 2 );
|
||||
|
||||
m_chooseModulesButton = new TQPushButton( searchGroupBox, "m_chooseModulesButton" );
|
||||
|
||||
searchGroupBoxLayout->addWidget( m_chooseModulesButton, 1, 2 );
|
||||
|
||||
m_chooseRangeButton = new TQPushButton( searchGroupBox, "m_chooseRangeButton" );
|
||||
|
||||
searchGroupBoxLayout->addWidget( m_chooseRangeButton, 2, 2 );
|
||||
|
||||
m_searchScopeLabel = new TQLabel( searchGroupBox, "m_searchScopeLabel" );
|
||||
m_searchScopeLabel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, m_searchScopeLabel->sizePolicy().hasHeightForWidth() ) );
|
||||
|
||||
searchGroupBoxLayout->addWidget( m_searchScopeLabel, 2, 0 );
|
||||
|
||||
m_rangeChooserCombo = new KComboBox( FALSE, searchGroupBox, "m_rangeChooserCombo" );
|
||||
m_rangeChooserCombo->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, m_rangeChooserCombo->sizePolicy().hasHeightForWidth() ) );
|
||||
|
||||
searchGroupBoxLayout->addWidget( m_rangeChooserCombo, 2, 1 );
|
||||
|
||||
m_searchTextCombo = new KHistoryCombo( searchGroupBox, "m_searchTextCombo" );
|
||||
m_searchTextCombo->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, m_searchTextCombo->sizePolicy().hasHeightForWidth() ) );
|
||||
m_searchTextCombo->setFocusPolicy( KHistoryCombo::WheelFocus );
|
||||
m_searchTextCombo->setSizeLimit( 25 );
|
||||
m_searchTextCombo->setInsertionPolicy( KHistoryCombo::AtBottom );
|
||||
m_searchTextCombo->setDuplicatesEnabled( FALSE );
|
||||
|
||||
searchGroupBoxLayout->addWidget( m_searchTextCombo, 0, 1 );
|
||||
|
||||
m_modulesLabel = new TQLabel( searchGroupBox, "m_modulesLabel" );
|
||||
m_modulesLabel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, m_modulesLabel->sizePolicy().hasHeightForWidth() ) );
|
||||
m_modulesLabel->setTextFormat( TQLabel::RichText );
|
||||
m_modulesLabel->setAlignment( int( TQLabel::WordBreak | TQLabel::AlignVCenter | TQLabel::AlignLeft ) );
|
||||
|
||||
searchGroupBoxLayout->addMultiCellWidget( m_modulesLabel, 1, 1, 0, 1 );
|
||||
SearchOptionsFormLayout->addWidget( searchGroupBox );
|
||||
languageChange();
|
||||
resize( TQSize(648, 130).expandedTo(minimumSizeHint()) );
|
||||
clearWState( WState_Polished );
|
||||
}
|
||||
|
||||
/*
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
SearchOptionsForm::~SearchOptionsForm()
|
||||
{
|
||||
// no need to delete child widgets, TQt does it all for us
|
||||
}
|
||||
|
||||
/*
|
||||
* Sets the strings of the subwidgets using the current
|
||||
* language.
|
||||
*/
|
||||
void SearchOptionsForm::languageChange()
|
||||
{
|
||||
setCaption( tr2i18n( "Search Options" ) );
|
||||
searchGroupBox->setTitle( tr2i18n( "Search parameters" ) );
|
||||
m_searchTextLabel->setText( tr2i18n( "Search for:" ) );
|
||||
m_syntaxButton->setText( tr2i18n( "&Help" ) );
|
||||
m_chooseModulesButton->setText( tr2i18n( "&Choose" ) );
|
||||
m_chooseRangeButton->setText( tr2i18n( "&Setup" ) );
|
||||
m_searchScopeLabel->setText( tr2i18n( "Search scope:" ) );
|
||||
m_modulesLabel->setText( tr2i18n( "Search in:" ) );
|
||||
}
|
||||
|
||||
#include "searchoptionsform.moc"
|
@ -1,88 +0,0 @@
|
||||
#include <kdialog.h>
|
||||
#include <tdelocale.h>
|
||||
/****************************************************************************
|
||||
** Form implementation generated from reading ui file './searchresultsform.ui'
|
||||
**
|
||||
** Created: Sa Mai 10 13:52:35 2008
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
****************************************************************************/
|
||||
|
||||
#include "searchresultsform.h"
|
||||
|
||||
#include <tqvariant.h>
|
||||
#include <tqpushbutton.h>
|
||||
#include <tqsplitter.h>
|
||||
#include <tqframe.h>
|
||||
#include <tqlayout.h>
|
||||
#include <tqtooltip.h>
|
||||
#include <tqwhatsthis.h>
|
||||
#include "cmoduleresultview.h"
|
||||
#include "csearchresultview.h"
|
||||
|
||||
/*
|
||||
* Constructs a SearchResultsForm as a child of 'parent', with the
|
||||
* name 'name' and widget flags set to 'f'.
|
||||
*/
|
||||
SearchResultsForm::SearchResultsForm( TQWidget* parent, const char* name, WFlags fl )
|
||||
: TQWidget( parent, name, fl )
|
||||
{
|
||||
if ( !name )
|
||||
setName( "SearchResultsForm" );
|
||||
setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) );
|
||||
setMinimumSize( TQSize( 300, 220 ) );
|
||||
setBaseSize( TQSize( 440, 290 ) );
|
||||
SearchResultsFormLayout = new TQVBoxLayout( this, 0, 3, "SearchResultsFormLayout");
|
||||
|
||||
displaySplitter = new TQSplitter( this, "displaySplitter" );
|
||||
displaySplitter->setMinimumSize( TQSize( 134, 44 ) );
|
||||
displaySplitter->setOrientation( TQSplitter::Horizontal );
|
||||
|
||||
TQWidget* privateLayoutWidget = new TQWidget( displaySplitter, "rightSideBox" );
|
||||
rightSideBox = new TQVBoxLayout( privateLayoutWidget, 0, 6, "rightSideBox");
|
||||
|
||||
resultSplitter = new TQSplitter( privateLayoutWidget, "resultSplitter" );
|
||||
resultSplitter->setOrientation( TQSplitter::Vertical );
|
||||
|
||||
m_moduleListBox = new Search::Result::CModuleResultView( resultSplitter, "m_moduleListBox" );
|
||||
|
||||
m_resultListBox = new Search::Result::CSearchResultView( resultSplitter, "m_resultListBox" );
|
||||
rightSideBox->addWidget( resultSplitter );
|
||||
|
||||
buttonLayout = new TQHBoxLayout( 0, 0, 6, "buttonLayout");
|
||||
|
||||
m_analyseButton = new TQPushButton( privateLayoutWidget, "m_analyseButton" );
|
||||
buttonLayout->addWidget( m_analyseButton );
|
||||
buttonSpacer = new TQSpacerItem( 10, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
|
||||
buttonLayout->addItem( buttonSpacer );
|
||||
rightSideBox->addLayout( buttonLayout );
|
||||
|
||||
m_displayFrame = new TQFrame( displaySplitter, "m_displayFrame" );
|
||||
m_displayFrame->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, m_displayFrame->sizePolicy().hasHeightForWidth() ) );
|
||||
m_displayFrame->setFrameShape( TQFrame::NoFrame );
|
||||
m_displayFrame->setFrameShadow( TQFrame::Plain );
|
||||
SearchResultsFormLayout->addWidget( displaySplitter );
|
||||
languageChange();
|
||||
resize( TQSize(300, 220).expandedTo(minimumSizeHint()) );
|
||||
clearWState( WState_Polished );
|
||||
}
|
||||
|
||||
/*
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
SearchResultsForm::~SearchResultsForm()
|
||||
{
|
||||
// no need to delete child widgets, TQt does it all for us
|
||||
}
|
||||
|
||||
/*
|
||||
* Sets the strings of the subwidgets using the current
|
||||
* language.
|
||||
*/
|
||||
void SearchResultsForm::languageChange()
|
||||
{
|
||||
setCaption( tr2i18n( "SearchResults" ) );
|
||||
m_analyseButton->setText( tr2i18n( "Analyze search" ) );
|
||||
}
|
||||
|
||||
#include "searchresultsform.moc"
|
@ -0,0 +1,19 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}/${PROJECT_NAME}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
${CLUCENE_INCLUDE_DIRS}
|
||||
${SWORD_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### frontendutil (static)
|
||||
|
||||
tde_add_library( frontendutil STATIC-PIC AUTOMOC
|
||||
SOURCES
|
||||
csortlistviewitem.cpp
|
||||
)
|
@ -0,0 +1,2 @@
|
||||
|
||||
tde_install_icons()
|
@ -0,0 +1,2 @@
|
||||
|
||||
tde_install_icons()
|
@ -0,0 +1,2 @@
|
||||
|
||||
tde_install_icons()
|
@ -0,0 +1,2 @@
|
||||
|
||||
tde_install_icons()
|
@ -0,0 +1,2 @@
|
||||
|
||||
tde_install_icons()
|
@ -0,0 +1,7 @@
|
||||
|
||||
tde_auto_add_subdirectories()
|
||||
|
||||
install(
|
||||
FILES startuplogo.png
|
||||
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/pics
|
||||
)
|
@ -0,0 +1,16 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}/${PROJECT_NAME}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
${CLUCENE_INCLUDE_DIRS}
|
||||
${SWORD_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
tde_add_library( util STATIC-PIC AUTOMOC
|
||||
SOURCES
|
||||
cpointers.cpp cresmgr.cpp ctoolclass.cpp directoryutil.cpp
|
||||
)
|
@ -0,0 +1,5 @@
|
||||
|
||||
install(
|
||||
FILES bibletimeui.rc
|
||||
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
|
||||
)
|
@ -0,0 +1,18 @@
|
||||
#define PACKAGE "@CMAKE_PROJECT_NAME@"
|
||||
#define VERSION "@PACKAGE_VERSION@"
|
||||
|
||||
// Defined if you have fvisibility and fvisibility-inlines-hidden support.
|
||||
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
|
||||
|
||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
|
||||
|
||||
/* Define if sword library API >= 1.6 */
|
||||
#cmakedefine SWORD_MULTIVERSE 1
|
||||
|
||||
/* Define if sword library API >= 1.7 */
|
||||
#cmakedefine SWORD_API_1_7 1
|
||||
|
||||
/* Define if clucene library API >= 2.0 */
|
||||
#cmakedefine CLUCENE_V2 1
|
@ -0,0 +1,6 @@
|
||||
SUBDIRS = en man
|
||||
|
||||
EXTRA_DIST = tips
|
||||
|
||||
rcdir = $(kde_datadir)/bibletime
|
||||
rc_DATA = tips
|
@ -0,0 +1,3 @@
|
||||
|
||||
add_subdirectory( handbook )
|
||||
tde_conditional_add_subdirectory( WITH_HOWTO_DOC howto )
|
@ -0,0 +1 @@
|
||||
SUBDIRS = handbook $(HOWTODIR)
|
@ -0,0 +1,3 @@
|
||||
|
||||
add_subdirectory( unicode )
|
||||
add_subdirectory( html )
|
@ -0,0 +1,7 @@
|
||||
|
||||
file( GLOB handbook_images *.png )
|
||||
|
||||
install(
|
||||
FILES ${handbook_images}
|
||||
DESTINATION ${HTML_INSTALL_DIR}/en/${PROJECT_NAME}/handbook
|
||||
)
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1020 B After Width: | Height: | Size: 1020 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1022 B After Width: | Height: | Size: 1022 B |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 794 B After Width: | Height: | Size: 794 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 73 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
@ -0,0 +1,7 @@
|
||||
|
||||
file( GLOB handbook_text *.docbook )
|
||||
|
||||
install(
|
||||
FILES ${handbook_text}
|
||||
DESTINATION ${HTML_INSTALL_DIR}/en/${PROJECT_NAME}/handbook
|
||||
)
|
@ -0,0 +1,3 @@
|
||||
##### create translation templates ##############
|
||||
|
||||
tde_l10n_auto_add_subdirectories( )
|
@ -0,0 +1,2 @@
|
||||
|
||||
add_subdirectory( unicode )
|
@ -0,0 +1,7 @@
|
||||
|
||||
file( GLOB howto_text *.docbook )
|
||||
|
||||
install(
|
||||
FILES ${howto_text}
|
||||
DESTINATION ${HTML_INSTALL_DIR}/en/${PROJECT_NAME}/howto
|
||||
)
|
@ -0,0 +1,42 @@
|
||||
|
||||
file( GLOB_RECURSE _man_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
|
||||
unset( _dirs )
|
||||
foreach( _man_file IN LISTS _man_files )
|
||||
get_filename_component( _dir ${_man_file} PATH )
|
||||
list( APPEND _dirs ${_dir} )
|
||||
endforeach()
|
||||
if( _dirs )
|
||||
list( SORT _dirs )
|
||||
list( REMOVE_DUPLICATES _dirs )
|
||||
endif()
|
||||
|
||||
string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" )
|
||||
|
||||
foreach( _dir IN LISTS _dirs )
|
||||
string( REGEX REPLACE "/.*" "" _lang ${_dir} )
|
||||
if( ${_lang} STREQUAL "en" OR
|
||||
"${_linguas}" MATCHES "^;*$" OR
|
||||
";${_linguas};" MATCHES ";${_lang};" )
|
||||
|
||||
file( GLOB_RECURSE _man_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${_lang}/* )
|
||||
foreach( _man_file IN LISTS _man_files )
|
||||
if( ${_man_file} MATCHES "\\.[0-9]$" )
|
||||
string( REGEX REPLACE ".*\\.([0-9])$" "\\1" _man_section "${_man_file}" )
|
||||
list( APPEND _man_files_${_man_section} "${_man_file}" )
|
||||
list( APPEND _man_sections "${_man_section}" )
|
||||
endif()
|
||||
endforeach()
|
||||
if( ${_lang} STREQUAL "en" )
|
||||
set( _lang_dir "" )
|
||||
else()
|
||||
set( _lang_dir "/${_lang}" )
|
||||
endif()
|
||||
foreach( _man_section IN LISTS _man_sections )
|
||||
INSTALL(
|
||||
FILES ${_man_files_${_man_section}}
|
||||
DESTINATION ${MAN_INSTALL_DIR}${_lang_dir}/man${_man_section}
|
||||
COMPONENT doc
|
||||
)
|
||||
endforeach()
|
||||
endif()
|
||||
endforeach()
|
@ -1,10 +0,0 @@
|
||||
# this Makefile.am was automatically generated by bibletime/maintenance/gen_am.sh
|
||||
# please do not edit this file but rather run the script to update
|
||||
|
||||
|
||||
SUBDIRS = handbook $(HOWTODIR) man
|
||||
|
||||
EXTRA_DIST = tips
|
||||
|
||||
rcdir = $(kde_datadir)/bibletime
|
||||
rc_DATA = tips
|
@ -0,0 +1,32 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# This file is put in the public domain.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-12-12 23:01+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Name
|
||||
#: bibletime.desktop:2
|
||||
msgid "BibleTime"
|
||||
msgstr ""
|
||||
|
||||
#. GenericName
|
||||
#: bibletime.desktop:4
|
||||
msgid "Bible Study Tool"
|
||||
msgstr ""
|
||||
|
||||
#. Comment
|
||||
#: bibletime.desktop:6
|
||||
msgid "An easy to use bible study tool"
|
||||
msgstr ""
|
@ -0,0 +1,32 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# This file is put in the public domain.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-12-12 23:01+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: cs\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Name
|
||||
#: bibletime.desktop:2
|
||||
msgid "BibleTime"
|
||||
msgstr "BibleTime"
|
||||
|
||||
#. GenericName
|
||||
#: bibletime.desktop:4
|
||||
msgid "Bible Study Tool"
|
||||
msgstr ""
|
||||
|
||||
#. Comment
|
||||
#: bibletime.desktop:6
|
||||
msgid "An easy to use bible study tool"
|
||||
msgstr "Snadno použitelný nátroj pro studium Bible"
|
@ -0,0 +1,32 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# This file is put in the public domain.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-12-12 23:01+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: da\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Name
|
||||
#: bibletime.desktop:2
|
||||
msgid "BibleTime"
|
||||
msgstr "Bibeltime"
|
||||
|
||||
#. GenericName
|
||||
#: bibletime.desktop:4
|
||||
msgid "Bible Study Tool"
|
||||
msgstr ""
|
||||
|
||||
#. Comment
|
||||
#: bibletime.desktop:6
|
||||
msgid "An easy to use bible study tool"
|
||||
msgstr "Et letanvendeligt bibelstudieprogram"
|
@ -0,0 +1,32 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# This file is put in the public domain.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-12-12 23:01+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: de\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Name
|
||||
#: bibletime.desktop:2
|
||||
msgid "BibleTime"
|
||||
msgstr "BibleTime"
|
||||
|
||||
#. GenericName
|
||||
#: bibletime.desktop:4
|
||||
msgid "Bible Study Tool"
|
||||
msgstr ""
|
||||
|
||||
#. Comment
|
||||
#: bibletime.desktop:6
|
||||
msgid "An easy to use bible study tool"
|
||||
msgstr "Ein einfach zu benutzendes Bibelprogramm"
|
@ -0,0 +1,32 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# This file is put in the public domain.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-12-12 23:01+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: fr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Name
|
||||
#: bibletime.desktop:2
|
||||
msgid "BibleTime"
|
||||
msgstr "BibleTime"
|
||||
|
||||
#. GenericName
|
||||
#: bibletime.desktop:4
|
||||
msgid "Bible Study Tool"
|
||||
msgstr ""
|
||||
|
||||
#. Comment
|
||||
#: bibletime.desktop:6
|
||||
msgid "An easy to use bible study tool"
|
||||
msgstr "Un outil d'éude biblique facile à utiliser"
|