Compare commits
141 Commits
@ -1,6 +0,0 @@
|
||||
[submodule "admin"]
|
||||
path = admin
|
||||
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-admin
|
||||
[submodule "cmake"]
|
||||
path = cmake
|
||||
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake
|
@ -0,0 +1,33 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2018 Slávek Banko
|
||||
# slavek.banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
cmake_minimum_required( VERSION 3.1 )
|
||||
|
||||
|
||||
##### include our cmake modules #################
|
||||
|
||||
include( TDEL10n )
|
||||
|
||||
|
||||
##### create translation templates ##############
|
||||
|
||||
tde_l10n_auto_add_subdirectories( )
|
||||
|
||||
tde_l10n_prepare_xml(
|
||||
SOURCE tellico.xml
|
||||
TAGS comment
|
||||
)
|
||||
|
||||
tde_l10n_create_template(
|
||||
CATALOG "desktop_files/tellico-desktops"
|
||||
SOURCES *.desktop tellico.xml.tde_l10n
|
||||
EXCLUDES _translatorinfo
|
||||
)
|
@ -0,0 +1,131 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek.banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
cmake_minimum_required( VERSION 3.1 )
|
||||
|
||||
|
||||
##### general package setup #####################
|
||||
|
||||
project( tellico )
|
||||
set( PACKAGE_VERSION 1.3.6 )
|
||||
|
||||
|
||||
##### include essential cmake modules ###########
|
||||
|
||||
include( FindPkgConfig )
|
||||
include( CheckIncludeFile )
|
||||
include( CheckLibraryExists )
|
||||
include( CheckSymbolExists )
|
||||
include( CheckTypeSize )
|
||||
# EXAMPLE:
|
||||
# include( CheckCSourceCompiles )
|
||||
# include( CheckCXXSourceCompiles )
|
||||
|
||||
enable_testing()
|
||||
|
||||
|
||||
##### 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 sane supported options" OFF )
|
||||
|
||||
option( WITH_LIBKCDDB "Enable FreeDB integration" ${WITH_ALL_OPTIONS} )
|
||||
option( WITH_LIBKCAL "Enable KOrganizer integration" ${WITH_ALL_OPTIONS} )
|
||||
option( WITH_LIBBTPARSE "Use btparse shared library" ${WITH_ALL_OPTIONS} )
|
||||
option( WITH_SAX_LOADER "Use SAX document loading (experimental)" ${WITH_ALL_OPTIONS} )
|
||||
|
||||
|
||||
##### options comments ##########################
|
||||
|
||||
# WITH_LIBKCDDB enable searching via freedb
|
||||
# WITH_LIBKCAL enable integration with KOrganizer
|
||||
# WITH_LIBBTPARSE if enabled use system library btparse instead of build-in
|
||||
# WITH_SAX_LOADER if enabled documents will be openned using SAX loader
|
||||
|
||||
|
||||
##### user requested modules ####################
|
||||
|
||||
option( BUILD_ALL "Build all" ON )
|
||||
|
||||
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
|
||||
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
|
||||
|
||||
option( BUILD_AMAZON_SUPPORT "Build Amazon.com searching support" ${BUILD_ALL} )
|
||||
option( BUILD_IMDB_SUPPORT "Build IMDb searching support" ${BUILD_ALL} )
|
||||
option( BUILD_CDTEXT_SUPPORT "Build CD-Text support (Linux only)" ${BUILD_ALL} )
|
||||
option( BUILD_OOO_SUPPORT "Build LibreOffice/OpenOffice.org support" OFF )
|
||||
option( BUILD_EXEMPI_SUPPORT "Build exempi support" ${BUILD_ALL} )
|
||||
option( BUILD_POPPLER_SUPPORT "Build poppler support" ${BUILD_ALL} )
|
||||
option( BUILD_WEBCAM_SUPPORT "Build support for scanning barcodes (experimental)" ${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" )
|
||||
|
||||
|
||||
##### tellico directories #######################
|
||||
|
||||
add_subdirectory( src )
|
||||
add_subdirectory( icons )
|
||||
add_subdirectory( xslt )
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
tde_conditional_add_project_docs( BUILD_DOC )
|
||||
tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
|
||||
|
||||
tde_create_translated_desktop( tellico.desktop )
|
||||
tde_create_translated_desktop(
|
||||
SOURCE x-tellico.desktop
|
||||
DESTINATION ${MIME_INSTALL_DIR}/application
|
||||
)
|
||||
tde_create_translated_desktop(
|
||||
SOURCE tellico.xml
|
||||
KEYWORDS comment
|
||||
FORMAT xml
|
||||
DESTINATION ${XDG_MIME_INSTALL_DIR}
|
||||
)
|
||||
install( FILES tellico.dtd tellico.tips
|
||||
DESTINATION ${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME}
|
||||
)
|
||||
|
||||
|
||||
##### write configure files #####################
|
||||
|
||||
configure_file( config.h.cmake config.h @ONLY )
|
@ -0,0 +1,198 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek.banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
|
||||
# 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 )
|
||||
|
||||
|
||||
set( ENV{PKG_CONFIG_PATH} "${PKG_CONFIG_PATH}:$ENV{PKG_CONFIG_PATH}:${LIB_INSTALL_DIR}/pkgconfig" )
|
||||
|
||||
|
||||
##### check system configuration ################
|
||||
|
||||
check_symbol_exists( strdup "string.h" HAVE_STRDUP_DECL )
|
||||
check_type_size( ushort USHORT )
|
||||
check_type_size( boolean BOOLEAN )
|
||||
|
||||
check_type_size( "int" SIZEOF_INT )
|
||||
check_type_size( "long" SIZEOF_LONG )
|
||||
check_type_size( "short" SIZEOF_SHORT )
|
||||
check_type_size( "unsigned char" SIZEOF_UNSIGNED_CHAR )
|
||||
check_type_size( "unsigned int" SIZEOF_UNSIGNED_INT )
|
||||
check_type_size( "unsigned long" SIZEOF_UNSIGNED_LONG )
|
||||
check_type_size( "unsigned short" SIZEOF_UNSIGNED_SHORT )
|
||||
|
||||
pkg_search_module( LIBXML libxml-2.0>=2.6.0 )
|
||||
if( NOT LIBXML_FOUND )
|
||||
tde_message_fatal( "libxml at least 2.6.0 is required, but not found on your system" )
|
||||
endif( NOT LIBXML_FOUND )
|
||||
|
||||
pkg_search_module( LIBXSLT libexslt>=0.8.0 )
|
||||
if( NOT LIBXSLT_FOUND )
|
||||
pkg_search_module( LIBXSLT libxslt>=1.0.19 )
|
||||
if( NOT LIBXSLT_FOUND )
|
||||
tde_message_fatal( "libxslt at least 1.0.19 is required, but not found on your system" )
|
||||
endif( )
|
||||
endif( NOT LIBXSLT_FOUND )
|
||||
|
||||
pkg_search_module( TAGLIB taglib )
|
||||
if( TAGLIB_FOUND )
|
||||
set( HAVE_TAGLIB 1 )
|
||||
endif( TAGLIB_FOUND )
|
||||
|
||||
pkg_search_module( YAZ yaz )
|
||||
if( YAZ_FOUND )
|
||||
set( HAVE_YAZ 1 )
|
||||
endif( YAZ_FOUND )
|
||||
|
||||
if( WITH_LIBKCDDB )
|
||||
message( "-- checking for 'libkcddb'" )
|
||||
|
||||
find_path(
|
||||
LIBKCDDB_INCLUDE_DIR
|
||||
cddb.h
|
||||
PATHS
|
||||
${TDE_INCLUDE_DIR}/tde/libkcddb
|
||||
${TDE_INCLUDE_DIR}/libkcddb
|
||||
NO_DEFAULT_PATH
|
||||
)
|
||||
|
||||
find_library(
|
||||
LIBKCDDB_LIBRARY
|
||||
kcddb
|
||||
PATHS
|
||||
${TDE_LIB_DIR}
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
if( LIBKCDDB_LIBRARY )
|
||||
get_filename_component( LIBKCDDB_LIBRARY_DIR ${LIBKCDDB_LIBRARY} PATH CACHE )
|
||||
endif( )
|
||||
|
||||
if( NOT LIBKCDDB_INCLUDE_DIR OR NOT LIBKCDDB_LIBRARY_DIR )
|
||||
tde_message_fatal( "libkcddb is required, but was not found on your system" )
|
||||
else( )
|
||||
set( HAVE_KCDDB 1 )
|
||||
endif( )
|
||||
endif( WITH_LIBKCDDB )
|
||||
|
||||
if( WITH_LIBKCAL )
|
||||
message( "-- checking for 'libkcal'" )
|
||||
|
||||
find_path(
|
||||
LIBKCAL_INCLUDE_DIR
|
||||
kcalversion.h
|
||||
PATHS
|
||||
${TDE_INCLUDE_DIR}/libkcal
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
find_library(
|
||||
LIBKCAL_LIBRARY
|
||||
kcal
|
||||
PATHS
|
||||
${TDE_LIB_DIR}
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
if( LIBKCAL_LIBRARY )
|
||||
get_filename_component( LIBKCAL_LIBRARY_DIR ${LIBKCAL_LIBRARY} PATH CACHE )
|
||||
endif( )
|
||||
|
||||
if( NOT LIBKCAL_INCLUDE_DIR OR NOT LIBKCAL_LIBRARY_DIR )
|
||||
tde_message_fatal( "libkcal is required, but was not found on your system" )
|
||||
else( )
|
||||
set( HAVE_KCAL 1 )
|
||||
endif( )
|
||||
endif( WITH_LIBKCAL )
|
||||
|
||||
if( WITH_LIBBTPARSE )
|
||||
check_library_exists( btparse bt_initialize "" HAVE_LIBBTPARSE )
|
||||
if( NOT HAVE_LIBBTPARSE )
|
||||
tde_message_fatal( "libbtparse is required, but was not found on your system" )
|
||||
endif( NOT HAVE_LIBBTPARSE )
|
||||
set( BTPARSE_LIBRARIES btparse )
|
||||
else( )
|
||||
set( BTPARSE_LIBRARIES btparse-static )
|
||||
endif( WITH_LIBBTPARSE )
|
||||
|
||||
if( WITH_SAX )
|
||||
set( SAX_SUPPORT 1 CACHE INTERNAL "" )
|
||||
endif( WITH_SAX )
|
||||
|
||||
|
||||
if( BUILD_AMAZON_SUPPORT )
|
||||
set( AMAZON_SUPPORT 1 CACHE INTERNAL "" )
|
||||
endif( BUILD_AMAZON_SUPPORT )
|
||||
|
||||
if( BUILD_IMDB_SUPPORT )
|
||||
set( IMDB_SUPPORT 1 CACHE INTERNAL "" )
|
||||
endif( BUILD_IMDB_SUPPORT )
|
||||
|
||||
if( BUILD_CDTEXT_SUPPORT )
|
||||
set( USE_CDTEXT 1 CACHE INTERNAL "" )
|
||||
endif( BUILD_CDTEXT_SUPPORT )
|
||||
|
||||
if( BUILD_OOO_SUPPORT )
|
||||
# FIXME - add configure checks for LibreOffice/OpenOffice.org
|
||||
#set( WITH_OOO 1 CACHE INTERNAL "" )
|
||||
tde_message_fatal( "CMake build with LibreOffice/OpenOffice.org support is not yet complete" )
|
||||
endif( BUILD_OOO_SUPPORT )
|
||||
|
||||
if( BUILD_EXEMPI_SUPPORT )
|
||||
pkg_search_module( EXEMPI exempi-2.0>=1.99.0 )
|
||||
if( NOT EXEMPI_FOUND )
|
||||
tde_message_fatal( "exempi at least 1.99.0 is required, but not found on your system" )
|
||||
else( )
|
||||
set( HAVE_EXEMPI 1 CACHE INTERNAL "" )
|
||||
endif( )
|
||||
endif( BUILD_EXEMPI_SUPPORT )
|
||||
|
||||
if( BUILD_POPPLER_SUPPORT )
|
||||
pkg_search_module( POPPLER poppler-tqt>=0.5 )
|
||||
if( NOT POPPLER_FOUND )
|
||||
tde_message_fatal( "poppler-tqt at least 0.5 is required, but not found on your system" )
|
||||
else( )
|
||||
set( HAVE_POPPLER 1 CACHE INTERNAL "" )
|
||||
endif( )
|
||||
endif( BUILD_POPPLER_SUPPORT )
|
||||
|
||||
if( BUILD_WEBCAM_SUPPORT )
|
||||
check_include_file( "libv4l1-videodev.h" HAVE_LIBV4L1_VIDEODEV_H )
|
||||
if( HAVE_LIBV4L1_VIDEODEV_H )
|
||||
set( ENABLE_WEBCAM 1 CACHE INTERNAL "" )
|
||||
set( VIDEODEV_HEADER "libv4l1-videodev.h" CACHE INTERNAL "" )
|
||||
else( )
|
||||
check_include_file( "linux/videodev.h" HAVE_VIDEODEV_H )
|
||||
if( HAVE_VIDEODEV_H )
|
||||
set( ENABLE_WEBCAM 1 CACHE INTERNAL "" )
|
||||
set( VIDEODEV_HEADER "linux/videodev.h" CACHE INTERNAL "" )
|
||||
else( )
|
||||
tde_message_fatal( "libv4l1-videodev.h or linux/videodev.h is required, but not found on your system" )
|
||||
endif( )
|
||||
endif( )
|
||||
set( WEBCAM_LIBRARIES barcode-static )
|
||||
endif( BUILD_WEBCAM_SUPPORT )
|
@ -1,167 +1,37 @@
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
These are generic installation instructions.
|
||||
tellico relies on cmake to build.
|
||||
|
||||
The `configure' shell script attempts to guess correct values for
|
||||
various system-dependent variables used during compilation. It uses
|
||||
those values to create a `Makefile' in each directory of the package.
|
||||
It may also create one or more `.h' files containing system-dependent
|
||||
definitions. Finally, it creates a shell script `config.status' that
|
||||
you can run in the future to recreate the current configuration, a file
|
||||
`config.cache' that saves the results of its tests to speed up
|
||||
reconfiguring, and a file `config.log' containing compiler output
|
||||
(useful mainly for debugging `configure').
|
||||
Here are suggested default options:
|
||||
|
||||
If you need to do unusual things to compile the package, please try
|
||||
to figure out how `configure' could check whether to do them, and mail
|
||||
diffs or instructions to the address given in the `README' so they can
|
||||
be considered for the next release. If at some point `config.cache'
|
||||
contains results you don't want to keep, you may remove or edit it.
|
||||
-DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
|
||||
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
|
||||
-DCONFIG_INSTALL_DIR="/etc/trinity" \
|
||||
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
|
||||
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_VERBOSE_MAKEFILE="ON" \
|
||||
-DCMAKE_SKIP_RPATH="OFF" \
|
||||
-DBUILD_ALL="ON" \
|
||||
-DWITH_ALL_OPTIONS="ON"
|
||||
|
||||
The file `configure.in' is used to create `configure' by a program
|
||||
called `autoconf'. You only need `configure.in' if you want to change
|
||||
it or regenerate `configure' using a newer version of `autoconf'.
|
||||
|
||||
The simplest way to compile this package is:
|
||||
Requirements:
|
||||
=============
|
||||
|
||||
1. `cd' to the directory containing the package's source code and type
|
||||
`./configure' to configure the package for your system. If you're
|
||||
using `csh' on an old version of System V, you might need to type
|
||||
`sh ./configure' instead to prevent `csh' from trying to execute
|
||||
`configure' itself.
|
||||
- libxml
|
||||
- libexslt
|
||||
- taglib
|
||||
- yaz
|
||||
|
||||
Running `configure' takes a while. While running, it prints some
|
||||
messages telling which features it is checking for.
|
||||
|
||||
2. Type `make' to compile the package.
|
||||
|
||||
3. Type `make install' to install the programs and any data files and
|
||||
documentation.
|
||||
|
||||
4. You can remove the program binaries and object files from the
|
||||
source code directory by typing `make clean'.
|
||||
|
||||
Compilers and Options
|
||||
=====================
|
||||
|
||||
Some systems require unusual options for compilation or linking that
|
||||
the `configure' script does not know about. You can give `configure'
|
||||
initial values for variables by setting them in the environment. Using
|
||||
a Bourne-compatible shell, you can do that on the command line like
|
||||
this:
|
||||
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
|
||||
|
||||
Or on systems that have the `env' program, you can do it like this:
|
||||
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
|
||||
|
||||
Compiling For Multiple Architectures
|
||||
====================================
|
||||
|
||||
You can compile the package for more than one kind of computer at the
|
||||
same time, by placing the object files for each architecture in their
|
||||
own directory. To do this, you must use a version of `make' that
|
||||
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
||||
directory where you want the object files and executables to go and run
|
||||
the `configure' script. `configure' automatically checks for the
|
||||
source code in the directory that `configure' is in and in `..'.
|
||||
|
||||
If you have to use a `make' that does not supports the `VPATH'
|
||||
variable, you have to compile the package for one architecture at a time
|
||||
in the source code directory. After you have installed the package for
|
||||
one architecture, use `make distclean' before reconfiguring for another
|
||||
architecture.
|
||||
|
||||
Installation Names
|
||||
==================
|
||||
|
||||
By default, `make install' will install the package's files in
|
||||
`/usr/local/bin', `/usr/local/man', etc. You can specify an
|
||||
installation prefix other than `/usr/local' by giving `configure' the
|
||||
option `--prefix=PATH'.
|
||||
|
||||
You can specify separate installation prefixes for
|
||||
architecture-specific files and architecture-independent files. If you
|
||||
give `configure' the option `--exec-prefix=PATH', the package will use
|
||||
PATH as the prefix for installing programs and libraries.
|
||||
Documentation and other data files will still use the regular prefix.
|
||||
|
||||
If the package supports it, you can cause programs to be installed
|
||||
with an extra prefix or suffix on their names by giving `configure' the
|
||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||
|
||||
Optional Features
|
||||
=================
|
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to
|
||||
`configure', where FEATURE indicates an optional part of the package.
|
||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||
is something like `gnu-as' or `x' (for the X Window System). The
|
||||
`README' should mention any `--enable-' and `--with-' options that the
|
||||
package recognizes.
|
||||
|
||||
For packages that use the X Window System, `configure' can usually
|
||||
find the X include and library files automatically, but if it doesn't,
|
||||
you can use the `configure' options `--x-includes=DIR' and
|
||||
`--x-libraries=DIR' to specify their locations.
|
||||
|
||||
Specifying the System Type
|
||||
==========================
|
||||
|
||||
There may be some features `configure' can not figure out
|
||||
automatically, but needs to determine by the type of host the package
|
||||
will run on. Usually `configure' can figure that out, but if it prints
|
||||
a message saying it can not guess the host type, give it the
|
||||
`--host=TYPE' option. TYPE can either be a short name for the system
|
||||
type, such as `sun4', or a canonical name with three fields:
|
||||
CPU-COMPANY-SYSTEM
|
||||
|
||||
See the file `config.sub' for the possible values of each field. If
|
||||
`config.sub' isn't included in this package, then this package doesn't
|
||||
need to know the host type.
|
||||
|
||||
If you are building compiler tools for cross-compiling, you can also
|
||||
use the `--target=TYPE' option to select the type of system they will
|
||||
produce code for and the `--build=TYPE' option to select the type of
|
||||
system on which you are compiling the package.
|
||||
|
||||
Sharing Defaults
|
||||
================
|
||||
|
||||
If you want to set default values for `configure' scripts to share,
|
||||
you can create a site shell script called `config.site' that gives
|
||||
default values for variables like `CC', `cache_file', and `prefix'.
|
||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||
`CONFIG_SITE' environment variable to the location of the site script.
|
||||
A warning: not all `configure' scripts look for a site script.
|
||||
|
||||
Operation Controls
|
||||
==================
|
||||
|
||||
`configure' recognizes the following options to control how it
|
||||
operates.
|
||||
|
||||
`--cache-file=FILE'
|
||||
Use and save the results of the tests in FILE instead of
|
||||
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
|
||||
debugging `configure'.
|
||||
|
||||
`--help'
|
||||
Print a summary of the options to `configure', and exit.
|
||||
|
||||
`--quiet'
|
||||
`--silent'
|
||||
`-q'
|
||||
Do not print messages saying which checks are being made.
|
||||
|
||||
`--srcdir=DIR'
|
||||
Look for the package's source code in directory DIR. Usually
|
||||
`configure' can determine that directory automatically.
|
||||
|
||||
`--version'
|
||||
Print the version of Autoconf used to generate the `configure'
|
||||
script, and exit.
|
||||
|
||||
`configure' also accepts some other, not widely useful, options.
|
||||
Optional:
|
||||
=========
|
||||
|
||||
- btparse
|
||||
- exempi
|
||||
- libkcal (tdepim)
|
||||
- libkcddb (tdemultimedia)
|
||||
- poppler-tqt (tdegraphics)
|
||||
- v4l
|
||||
|
@ -1,129 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
|
||||
SUBDIRS = src po doc icons xslt
|
||||
|
||||
ADMIN_DIST = \
|
||||
admin/acinclude.m4.in \
|
||||
admin/am_edit \
|
||||
admin/am_edit.py \
|
||||
admin/conf.change.pl \
|
||||
admin/config.pl \
|
||||
admin/libtool.m4.in \
|
||||
admin/Makefile.common
|
||||
|
||||
EXTRA_DIST = \
|
||||
COPYING ChangeLog INSTALL README TODO \
|
||||
tellico.lsm tellico.dtd x-tellico.desktop \
|
||||
configure.in.in AUTHORS NEWS tellico.tips \
|
||||
tellico.desktop tellico.xml $(ADMIN_DIST)
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
# not a GNU package. You can remove this line, if
|
||||
# have all needed files, that a GNU package needs
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
KDE_OPTIONS = noautodist
|
||||
|
||||
#$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
|
||||
$(top_srcdir)/configure.in: configure.in.in
|
||||
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
|
||||
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in
|
||||
|
||||
$(top_srcdir)/subdirs:
|
||||
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
|
||||
|
||||
$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
|
||||
@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
|
||||
|
||||
xdg_apps_DATA = tellico.desktop
|
||||
xdg_mimedir = $(kde_datadir)/mime/packages
|
||||
xdg_mime_DATA = tellico.xml
|
||||
|
||||
mimedir = $(kde_mimedir)/application
|
||||
mime_DATA = x-tellico.desktop
|
||||
|
||||
localdir = $(kde_datadir)/tellico
|
||||
local_DATA = tellico.dtd tellico.tips
|
||||
|
||||
CLEANFILES = *~ *.loT
|
||||
|
||||
DISTCLEANFILES = stamp-h1 stamp-h.in stamp-h2 $(distdir).tar.gz $(CLEANFILES)
|
||||
|
||||
MAINTAINERCLEANFILES = \
|
||||
subdirs configure configure.in \
|
||||
aclocal.m4 acinclude.m4 configure.files \
|
||||
Makefile.in $(DISTCLEANFILES)
|
||||
|
||||
|
||||
package-messages:
|
||||
$(MAKE) -f admin/Makefile.common package-messages
|
||||
$(MAKE) -C po merge
|
||||
|
||||
messages:
|
||||
@ rm -f tips.cpp xslt.cpp z3950.cpp scripts.cpp
|
||||
@ touch $(podir)/tellico.pot;
|
||||
./preparetips tellico.tips > tips.cpp; \
|
||||
$(XGETTEXT) --join-existing tips.cpp -o $(podir)/tellico.pot; \
|
||||
./prepare_i18n_xslt > xslt.cpp; \
|
||||
$(XGETTEXT) --join-existing xslt.cpp -o $(podir)/tellico.pot; \
|
||||
./prepare_desktop src/fetch/z3950-servers.cfg > z3950.cpp; \
|
||||
$(XGETTEXT) --join-existing z3950.cpp -o $(podir)/tellico.pot; \
|
||||
./prepare_desktop src/fetch/scripts/*.spec > scripts.cpp; \
|
||||
$(XGETTEXT) --join-existing scripts.cpp -o $(podir)/tellico.pot;
|
||||
@ rm -f tips.cpp xslt.cpp z3950.cpp scripts.cpp
|
||||
|
||||
|
||||
dist-hook:
|
||||
# am_edit needs to modify the Makefile.in files, so they must be writeable
|
||||
-find $(distdir) -exec chmod a+w {} \;
|
||||
cd $(distdir) && perl admin/am_edit -padmin
|
||||
cd $(distdir) && $(MAKE) -f admin/Makefile.common subdirs
|
||||
# don't include dist file inside the dist file
|
||||
# cd $(srcdir) && rm -f $(distdir).tar.gz
|
||||
# remove any executable
|
||||
rm -rf $(distdir)/src/tellico
|
||||
|
||||
PUBLIC_ID=-//Robby Stephenson/DTD Tellico V9.0//EN
|
||||
SYSTEM_ID=http://www.periapsis.org/tellico/dtd/v9/tellico.dtd
|
||||
|
||||
install-data-local:
|
||||
@if test x"@XML_CATALOG_FILE@" != x; then \
|
||||
echo @XMLCATALOG@ --noout --add "delegatePublic" \
|
||||
"$(PUBLIC_ID)" \
|
||||
"file://$(localdir)/tellico.dtd" "@XML_CATALOG_FILE@" ; \
|
||||
@XMLCATALOG@ --noout --add "delegatePublic" \
|
||||
"$(PUBLIC_ID)" \
|
||||
"file://$(localdir)/tellico.dtd" "@XML_CATALOG_FILE@" ; \
|
||||
echo @XMLCATALOG@ --noout --add "delegateSystem" \
|
||||
"$(SYSTEM_ID)" \
|
||||
"file://$(localdir)/tellico.dtd" "@XML_CATALOG_FILE@" ; \
|
||||
@XMLCATALOG@ --noout --add "delegateSystem" \
|
||||
"$(SYSTEM_ID)" \
|
||||
"file://$(localdir)/tellico.dtd" "@XML_CATALOG_FILE@" ; \
|
||||
echo @XMLCATALOG@ --noout --add "delegateURI" \
|
||||
"$(SYSTEM_ID)" \
|
||||
"file://$(localdir)/tellico.dtd" "@XML_CATALOG_FILE@" ; \
|
||||
@XMLCATALOG@ --noout --add "delegateURI" \
|
||||
"$(SYSTEM_ID)" \
|
||||
"file://$(localdir)/tellico.dtd" "@XML_CATALOG_FILE@" ; \
|
||||
fi
|
||||
|
||||
uninstall-local:
|
||||
@if test x"@XML_CATALOG_FILE@" != x; then \
|
||||
echo @XMLCATALOG@ --noout --del \
|
||||
"$(PUBLIC_ID)" "@XML_CATALOG_FILE@" ; \
|
||||
@XMLCATALOG@ --noout --del \
|
||||
"$(PUBLIC_ID)" "@XML_CATALOG_FILE@" ; \
|
||||
echo @XMLCATALOG@ --noout --del \
|
||||
"$(SYSTEM_ID)" "@XML_CATALOG_FILE@" ; \
|
||||
@XMLCATALOG@ --noout --del \
|
||||
"$(SYSTEM_ID)" "@XML_CATALOG_FILE@" ; \
|
||||
echo @XMLCATALOG@ --noout --del \
|
||||
"$(SYSTEM_ID)" "@XML_CATALOG_FILE@" ; \
|
||||
@XMLCATALOG@ --noout --del \
|
||||
"$(SYSTEM_ID)" "@XML_CATALOG_FILE@" ; \
|
||||
fi
|
||||
|
||||
# probably a better way to do this
|
||||
uninstall-hook:
|
||||
-if [ -d $(localdir) ]; then rmdir $(localdir); fi
|
@ -0,0 +1,38 @@
|
||||
|
||||
Tellico - collection manager for books, videos, music.
|
||||
|
||||
|
||||
Tellico is a collection manager for TDE. It includes default collections for
|
||||
books, bibliographies, comic books, videos, music, coins, stamps, trading
|
||||
cards, and wines, and also allows custom collections; with unlimited
|
||||
user-defined fields allowed. Automatically formatted names, sorting by any
|
||||
property, filters, automatic ISBN validation and full customization for
|
||||
printing or display through XSLT files are some of the features present. It
|
||||
can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX,
|
||||
BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB,
|
||||
or any US-MARC compliant z39.50 server.
|
||||
|
||||
.
|
||||
|
||||
Contributing
|
||||
--------------
|
||||
|
||||
If you wish to contribute to tellico, you might do so:
|
||||
|
||||
- TDE Gitea Workspace (TGW) collaboration tool.
|
||||
https://mirror.git.trinitydesktop.org/gitea
|
||||
|
||||
- TDE Weblate Translation Workspace (TWTW) collaboration tool.
|
||||
https://mirror.git.trinitydesktop.org/weblate
|
||||
|
||||
|
||||
Translations status
|
||||
---------------------
|
||||
|
||||
### messages
|
||||
[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/tellico/multi-auto.svg
|
||||
"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico/)
|
||||
|
||||
### desktop files
|
||||
[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/tellico-desktop-files/multi-auto.svg
|
||||
"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/tellico-desktop-files/)
|
@ -1 +0,0 @@
|
||||
Subproject commit 04db460623e1f235e7239f08fdcc2d0ef72636af
|
@ -1 +0,0 @@
|
||||
Subproject commit 1994b808819fd74446cb8f1a0491b3e10244f463
|
@ -0,0 +1,36 @@
|
||||
#cmakedefine VERSION "@VERSION@"
|
||||
|
||||
/* 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@
|
||||
|
||||
// User specified build options
|
||||
|
||||
#cmakedefine HAVE_TAGLIB 1
|
||||
#cmakedefine HAVE_YAZ 1
|
||||
#cmakedefine HAVE_KCDDB 1
|
||||
#cmakedefine HAVE_KCAL 1
|
||||
#cmakedefine SAX_SUPPORT 1
|
||||
|
||||
#cmakedefine AMAZON_SUPPORT 1
|
||||
#cmakedefine IMDB_SUPPORT 1
|
||||
#cmakedefine USE_CDTEXT 1
|
||||
#cmakedefine HAVE_EXEMPI 1
|
||||
#cmakedefine HAVE_POPPLER 1
|
||||
#cmakedefine ENABLE_WEBCAM 1
|
||||
|
||||
// System configuration
|
||||
|
||||
#cmakedefine HAVE_USHORT 1
|
||||
#cmakedefine HAVE_BOOLEAN 1
|
||||
#cmakedefine HAVE_STRDUP_DECL 1
|
||||
|
||||
#cmakedefine VIDEODEV_HEADER "@VIDEODEV_HEADER@"
|
||||
|
||||
#define SIZEOF_INT @SIZEOF_INT@
|
||||
#define SIZEOF_LONG @SIZEOF_LONG@
|
||||
#define SIZEOF_SHORT @SIZEOF_SHORT@
|
||||
#define SIZEOF_UNSIGNED_CHAR @SIZEOF_UNSIGNED_CHAR@
|
||||
#define SIZEOF_UNSIGNED_INT @SIZEOF_UNSIGNED_INT@
|
||||
#define SIZEOF_UNSIGNED_LONG @SIZEOF_UNSIGNED_LONG@
|
||||
#define SIZEOF_UNSIGNED_SHORT @SIZEOF_UNSIGNED_SHORT@
|
@ -1,589 +0,0 @@
|
||||
#MIN_CONFIG(3.3)
|
||||
|
||||
KDE_ENABLE_HIDDEN_VISIBILITY
|
||||
|
||||
AM_INIT_AUTOMAKE(tellico,1.3.6)
|
||||
|
||||
dnl AM_KDE_MIN_VERSION(MIN-VERSION-MAJOR, MIN-VERSION-MINOR, MIN-VERSION-MICRO)
|
||||
dnl (taken from KMyMoney2)
|
||||
dnl
|
||||
AC_DEFUN([AM_KDE_MIN_VERSION],
|
||||
[
|
||||
AC_MSG_CHECKING([for KDE version $1.$2.$3 or later])
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
save_CXXFLAGS=$CXXFLAGS
|
||||
CXXFLAGS="$CXXFLAGS -I$srcdir $all_includes"
|
||||
AC_TRY_COMPILE([
|
||||
#include "tdeversion.h"
|
||||
#if !( KDE_IS_VERSION( $1, $2, $3 ) )
|
||||
#error KDE version does not meet minimum requirement
|
||||
#endif
|
||||
], [], AC_MSG_RESULT(yes), AC_MSG_ERROR(no))
|
||||
CXXFLAGS=$save_CXXFLAGS
|
||||
AC_LANG_RESTORE
|
||||
])
|
||||
AM_KDE_MIN_VERSION(3,3,1)
|
||||
|
||||
dnl CXXFLAGS="$NOOPT_CXXFLAGS" dnl __tdevelop[noopt]__
|
||||
dnl CFLAGS="$NOOPT_CFLAGS" dnl __tdevelop[noopt]__
|
||||
dnl CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS -DQT_NO_ASCII_CAST -DQT_NO_TRANSLATION" dnl __tdevelop[exc]__
|
||||
|
||||
dnl KDE_NEED_FLEX dnl __tdevelop__
|
||||
dnl AC_PROG_YACC dnl __tdevelop__
|
||||
|
||||
AC_MSG_CHECKING(for ushort in <sys/types.h>)
|
||||
AC_CACHE_VAL(bt_cv_type_ushort, [
|
||||
AC_TRY_COMPILE([
|
||||
#include <sys/types.h>
|
||||
],[
|
||||
ushort i;
|
||||
], bt_cv_type_ushort=yes, bt_cv_type_ushort=no)])
|
||||
AC_MSG_RESULT($bt_cv_type_ushort)
|
||||
if test "$bt_cv_type_ushort" = "yes" ; then
|
||||
AC_DEFINE(HAVE_USHORT, 1, [Define if ushort is defined in <sys/types.h>])
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING(for boolean in <sys/types.h>)
|
||||
AC_CACHE_VAL(bt_cv_type_boolean, [
|
||||
AC_TRY_COMPILE([
|
||||
#include <sys/types.h>
|
||||
],[
|
||||
boolean f;
|
||||
], bt_cv_type_boolean=yes, bt_cv_type_boolean=no)])
|
||||
AC_MSG_RESULT($bt_cv_type_boolean)
|
||||
if test "$bt_cv_type_boolean" = "yes" ; then
|
||||
AC_DEFINE(HAVE_BOOLEAN, 1, [Define if boolean is defined in <sys/types.h>])
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING(for strdup declaration in <string.h>)
|
||||
AC_EGREP_HEADER([strdup *\(], string.h, bt_cv_decl_strdup=yes, bt_cv_decl_strdup=no)
|
||||
AC_MSG_RESULT($bt_cv_decl_strdup)
|
||||
if test "$bt_cv_decl_strdup" = "yes" ; then
|
||||
AC_DEFINE(HAVE_STRDUP_DECL, 1, [Define if strdup is declared in <string.h>])
|
||||
fi
|
||||
|
||||
dnl Checks for library functions.
|
||||
AC_FUNC_ALLOCA
|
||||
AC_FUNC_VPRINTF
|
||||
AC_CHECK_FUNCS(strlwr strupr)
|
||||
|
||||
AC_CHECK_SIZEOF(unsigned int, 4)
|
||||
AC_CHECK_SIZEOF(unsigned short, 2)
|
||||
AC_CHECK_SIZEOF(unsigned char, 1)
|
||||
AC_CHECK_SIZEOF(char, 1)
|
||||
|
||||
AC_CACHE_CHECK([for std::vector::at(std::size_t)],
|
||||
ac_cv_cxx_have_vector_at, [
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
AC_TRY_COMPILE([
|
||||
#include <vector>
|
||||
],[
|
||||
std::vector<int> v(1);
|
||||
v.at(0);
|
||||
return 0;
|
||||
],ac_cv_cxx_have_vector_at=yes, ac_cv_cxx_have_vector_at=no)
|
||||
AC_LANG_RESTORE
|
||||
])
|
||||
if test "$ac_cv_cxx_have_vector_at" = "yes"; then
|
||||
AC_DEFINE(HAVE_VECTOR_AT,1,[Define if you have the 'std::vector::at(std::size_t)' function])
|
||||
fi
|
||||
|
||||
KDE_FIND_PATH(xml2-config, XML_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [
|
||||
AC_MSG_ERROR([[Could not find xml2-config anywhere, check ftp://xmlsoft.org/ for libxml >= 2.6.0. If you are using pre-packaged libraries, be sure to have the development files installed as well, which may be called libxml2-devel or something similar.]])
|
||||
])
|
||||
|
||||
if test -n "$XML_CONFIG"; then
|
||||
vers=`$XML_CONFIG --version 2>/dev/null | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
|
||||
if test -n "$vers" && test "$vers" -ge 2006000
|
||||
then
|
||||
LIBXML_LIBS="`$XML_CONFIG --libs`"
|
||||
LIBXML_RPATH=
|
||||
for args in $LIBXML_LIBS; do
|
||||
case $args in
|
||||
-L*)
|
||||
LIBXML_RPATH="$LIBXML_RPATH $args"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
LIBXML_RPATH=`echo $LIBXML_RPATH | sed -e "s/-L/-R/g"`
|
||||
LIBXML_CFLAGS="`$XML_CONFIG --cflags`"
|
||||
else
|
||||
AC_MSG_ERROR([[You need at least libxml 2.6.0.]])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_SUBST(LIBXML_LIBS)
|
||||
AC_SUBST(LIBXML_CFLAGS)
|
||||
AC_SUBST(LIBXML_RPATH)
|
||||
|
||||
AC_ARG_WITH([xml-catalog],
|
||||
AC_HELP_STRING([--with-xml-catalog=CATALOG],
|
||||
[path to XML catalog, default=without-xml-catalog]),,
|
||||
[with_xml_catalog=no])
|
||||
|
||||
if test x"$with_xml_catalog" != xno; then
|
||||
KDE_FIND_PATH(xmlcatalog, XMLCATALOG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [
|
||||
AC_MSG_ERROR([[Could not find xmlcatalog anywhere, check ftp://xmlsoft.org/ for libxml2 >= 2.4.23. If you are using pre-packaged libraries, be sure to have the utility files installed as well, which may be called libxml2-utils or something similar.]])
|
||||
])
|
||||
|
||||
AC_SUBST(XMLCATALOG)
|
||||
|
||||
if test x"$with_xml_catalog" = xyes; then
|
||||
XML_CATALOG_FILE="/etc/xml/catalog"
|
||||
else
|
||||
XML_CATALOG_FILE="$with_xml_catalog"
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING([for XML catalog])
|
||||
if test -f "$XML_CATALOG_FILE"; then
|
||||
AC_MSG_RESULT([$XML_CATALOG_FILE])
|
||||
else
|
||||
AC_MSG_ERROR([$XML_CATALOG_FILE not found])
|
||||
fi
|
||||
|
||||
AC_SUBST(XML_CATALOG_FILE)
|
||||
fi
|
||||
|
||||
KDE_FIND_PATH(xslt-config, XSLT_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [
|
||||
AC_MSG_ERROR([[Could not find xslt-config anywhere, check ftp://xmlsoft.org/ for libxslt >= 1.0.19. If you are using pre-packaged libraries, be sure to have the development files installed as well, which may be called libxslt-devel or something similar.]])
|
||||
])
|
||||
|
||||
if test -n "$XSLT_CONFIG"; then
|
||||
vers=`$XSLT_CONFIG --version 2>/dev/null | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
|
||||
if test -n "$vers" && test "$vers" -ge 1000019; then
|
||||
LIBXSLT_LIBS="`$XSLT_CONFIG --libs`"
|
||||
LIBXSLT_RPATH=
|
||||
for args in $LIBXSLT_LIBS; do
|
||||
case $args in
|
||||
-L*)
|
||||
LIBXSLT_RPATH="$LIBXSLT_RPATH $args"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
LIBXSLT_RPATH=`echo $LIBXSLT_RPATH | sed -e "s/-L/-R/g"`
|
||||
LIBXSLT_CFLAGS="`$XSLT_CONFIG --cflags`"
|
||||
else
|
||||
AC_MSG_ERROR([[You need at least libxslt 1.0.19.]])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_SUBST(LIBXSLT_LIBS)
|
||||
AC_SUBST(LIBXSLT_CFLAGS)
|
||||
AC_SUBST(LIBXSLT_RPATH)
|
||||
|
||||
dnl ---------- TAGLIB CHECK ----------
|
||||
|
||||
AC_DEFUN([AC_HAVE_TAGLIB],
|
||||
[
|
||||
AC_DEFINE(HAVE_TAGLIB, 1, [Define to 1 if you have the TagLib library])
|
||||
TAGLIB_CFLAGS=[`$TAGLIB_CONFIG --cflags`]
|
||||
TAGLIB_LIBS=[`$TAGLIB_CONFIG --libs`]
|
||||
TAGLIB_RPATH=
|
||||
for args in $TAGLIB_LIBS; do
|
||||
case $args in
|
||||
-L*)
|
||||
TAGLIB_RPATH="$TAGLIB_RPATH $args"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
TAGLIB_RPATH=`echo $TAGLIB_RPATH | sed -e "s/-L/-R/g"`
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_NO_TAGLIB],
|
||||
[
|
||||
TAGLIB_CFLAGS=""
|
||||
TAGLIB_LIBS=""
|
||||
TAGLIB_RPATH=""
|
||||
])
|
||||
|
||||
KDE_FIND_PATH(taglib-config, TAGLIB_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin])
|
||||
if test -n "$TAGLIB_CONFIG"; then
|
||||
AC_HAVE_TAGLIB
|
||||
else
|
||||
AC_NO_TAGLIB
|
||||
fi
|
||||
|
||||
AC_SUBST(TAGLIB_CFLAGS)
|
||||
AC_SUBST(TAGLIB_LIBS)
|
||||
AC_SUBST(TAGLIB_RPATH)
|
||||
|
||||
dnl ---------- END TAGLIB CHECK ----------
|
||||
|
||||
dnl ---------- YAZ CHECK ----------
|
||||
|
||||
AC_DEFUN([AC_HAVE_YAZ],
|
||||
[
|
||||
AC_DEFINE(HAVE_YAZ, 1, [Define to 1 if you have the yaz library])
|
||||
YAZ_CFLAGS=[`$YAZ_CONFIG --cflags`]
|
||||
YAZ_LIBS=[`$YAZ_CONFIG --libs`]
|
||||
YAZ_RPATH=
|
||||
for args in $YAZ_LIBS; do
|
||||
case $args in
|
||||
-L*)
|
||||
YAZ_RPATH="$YAZ_RPATH $args"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
YAZ_RPATH=`echo $YAZ_RPATH | sed -e "s/-L/-R/g"`
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_NO_YAZ],
|
||||
[
|
||||
YAZ_CFLAGS=""
|
||||
YAZ_LIBS=""
|
||||
YAZ_RPATH=""
|
||||
])
|
||||
|
||||
KDE_FIND_PATH(yaz-config, YAZ_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin])
|
||||
if test -n "$YAZ_CONFIG"; then
|
||||
AC_HAVE_YAZ
|
||||
else
|
||||
AC_NO_YAZ
|
||||
fi
|
||||
|
||||
AC_SUBST(YAZ_CFLAGS)
|
||||
AC_SUBST(YAZ_LIBS)
|
||||
AC_SUBST(YAZ_RPATH)
|
||||
|
||||
dnl ---------- END YAZ CHECK ----------
|
||||
|
||||
dnl ---------- KCDDB CHECK ----------
|
||||
|
||||
AC_ARG_ENABLE(libkcddb,
|
||||
AC_HELP_STRING([--disable-libkcddb], [disable libkcddb, default=enable if found]),
|
||||
[enable_libkcddb=$enableval],
|
||||
[enable_libkcddb=yes]
|
||||
)
|
||||
|
||||
if test x$enable_libkcddb = xyes; then
|
||||
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
|
||||
ac_save_libs="$LIBS"
|
||||
ac_save_cxxflags="$CXXFLAGS"
|
||||
|
||||
LIBS="$LIBS $all_libraries -lkcddb"
|
||||
CXXFLAGS="$CXXFLAGS $all_includes"
|
||||
|
||||
AC_MSG_CHECKING(for libkcddb library and headers)
|
||||
AC_TRY_LINK(
|
||||
[
|
||||
#ifdef QT_NO_CAST_ASCII
|
||||
#undef QT_NO_CAST_ASCII
|
||||
#endif
|
||||
#include <libkcddb/cddb.h>
|
||||
],
|
||||
[KCDDB::CDDB c],
|
||||
[kcddb=yes],
|
||||
[kcddb=no]
|
||||
)
|
||||
AC_MSG_RESULT($kcddb)
|
||||
|
||||
LIBS="$ac_save_libs"
|
||||
CXXFLAGS="$ac_save_cxxflags"
|
||||
AC_LANG_RESTORE
|
||||
|
||||
if test x$kcddb = xyes; then
|
||||
AC_DEFINE(HAVE_KCDDB, 1, [Define to 1 if you have libkcddb])
|
||||
KCDDB_LIBS="-lkcddb"
|
||||
else
|
||||
KCDDB_LIBS=
|
||||
fi
|
||||
|
||||
dnl -- kcddb was disabled ---
|
||||
else
|
||||
KCDDB_LIBS=
|
||||
fi
|
||||
|
||||
AC_SUBST(KCDDB_LIBS)
|
||||
|
||||
dnl ---------- END KCDDB CHECK ----------
|
||||
|
||||
dnl ---------- KCAL CHECK ----------
|
||||
|
||||
AC_ARG_ENABLE(libkcal,
|
||||
AC_HELP_STRING([--disable-libkcal], [disable libkcal, default=enable if found]),
|
||||
[enable_libkcal=$enableval],
|
||||
[enable_libkcal=yes]
|
||||
)
|
||||
|
||||
if test x$enable_libkcal = xyes; then
|
||||
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
|
||||
ac_save_libs="$LIBS"
|
||||
ac_save_cxxflags="$CXXFLAGS"
|
||||
|
||||
LIBS="$LIBS $all_libraries -lkcal"
|
||||
CXXFLAGS="$CXXFLAGS $all_includes"
|
||||
|
||||
AC_MSG_CHECKING(for libkcal library and headers)
|
||||
AC_TRY_LINK(
|
||||
[
|
||||
#ifdef QT_NO_CAST_ASCII
|
||||
#undef QT_NO_CAST_ASCII
|
||||
#endif
|
||||
#include <libkcal/todo.h>
|
||||
],
|
||||
[KCal::Todo t],
|
||||
[kcal=yes],
|
||||
[kcal=no]
|
||||
)
|
||||
AC_MSG_RESULT($kcal)
|
||||
|
||||
LIBS="$ac_save_libs"
|
||||
CXXFLAGS="$ac_save_cxxflags"
|
||||
AC_LANG_RESTORE
|
||||
|
||||
if test x$kcal = xyes; then
|
||||
AC_DEFINE(HAVE_KCAL, 1, [Define to 1 if you have libkcal])
|
||||
KCAL_LIBS="-lkcal -ltderesources"
|
||||
else
|
||||
KCAL_LIBS=
|
||||
fi
|
||||
|
||||
dnl -- libkcal was disabled ---
|
||||
else
|
||||
KCAL_LIBS=
|
||||
fi
|
||||
|
||||
AC_SUBST(KCAL_LIBS)
|
||||
|
||||
dnl ---------- END KCAL CHECK ----------
|
||||
|
||||
AC_ARG_WITH([btparse],
|
||||
AC_HELP_STRING([--with-btparse], [Link against libbtparse
|
||||
as a shared lib (shared) or build it statically (static), default=static]),
|
||||
[case "${withval}" in
|
||||
shared) btparse=shared ;;
|
||||
static) btparse=static ;;
|
||||
yes) btparse=shared ;;
|
||||
*) AC_MSG_ERROR(bad value ${withval} for --with-btparse) ;;
|
||||
esac],
|
||||
[btparse=static])
|
||||
|
||||
AM_CONDITIONAL(USE_LIBBTPARSE, test x$btparse = xshared)
|
||||
|
||||
if test x$btparse = xshared; then
|
||||
KDE_CHECK_LIB(btparse, bt_initialize, [], [AC_MSG_ERROR(could not find libbtparse)])
|
||||
fi
|
||||
|
||||
dnl ---------- AMAZON CHECK ----------
|
||||
|
||||
AC_ARG_ENABLE(amazon,
|
||||
AC_HELP_STRING([--disable-amazon], [disable Amazon.com searching, default=enable]),
|
||||
[enable_amazon=$enableval],
|
||||
[enable_amazon=yes]
|
||||
)
|
||||
|
||||
if test x$enable_amazon = xyes; then
|
||||
AC_DEFINE(AMAZON_SUPPORT, 1, [Define to 1 if Amazon.com searching should be enabled])
|
||||
fi
|
||||
|
||||
dnl ---------- END AMAZON CHECK ----------
|
||||
|
||||
dnl ---------- IMDB CHECK ----------
|
||||
|
||||
AC_ARG_ENABLE(imdb,
|
||||
AC_HELP_STRING([--disable-imdb], [disable IMDb searching, default=enable]),
|
||||
[enable_imdb=$enableval],
|
||||
[enable_imdb=yes]
|
||||
)
|
||||
|
||||
if test x$enable_imdb = xyes; then
|
||||
AC_DEFINE(IMDB_SUPPORT, 1, [Define to 1 if IMDb searching should be enabled])
|
||||
fi
|
||||
|
||||
dnl ---------- END IMDB CHECK ----------
|
||||
|
||||
dnl ---------- CDTEXT CHECK ----------
|
||||
dnl Not sure if my code for CDText works on all platforms, allow disabling
|
||||
|
||||
AC_ARG_ENABLE(cdtext,
|
||||
AC_HELP_STRING([--disable-cdtext], [disable cdtext, default=enable (Linux only)]),
|
||||
[enable_cdtext=$enableval],
|
||||
[enable_cdtext=yes]
|
||||
)
|
||||
|
||||
if test x$enable_cdtext = xyes; then
|
||||
AC_DEFINE(USE_CDTEXT, 1, [Define to 1 if you want to compile CD-Text support])
|
||||
fi
|
||||
|
||||
dnl ---------- OpenOffice.org CHECK ----------
|
||||
|
||||
AC_ARG_ENABLE(ooo,
|
||||
AC_HELP_STRING([--enable-ooo], [enable support for OpenOffice.org, default=disable]),
|
||||
[enable_ooo=$enableval],
|
||||
[enable_ooo=no]
|
||||
)
|
||||
|
||||
AM_CONDITIONAL(WITH_OOO, test x$enable_ooo = xyes)
|
||||
|
||||
dnl Options: OpenOffice.org installation
|
||||
AC_ARG_WITH([ooo-dir],
|
||||
AC_HELP_STRING([--with-ooo-dir=DIR],
|
||||
[where the OpenOffice.org program files are installed]),
|
||||
[ac_ooo_libdir="${withval}/program"
|
||||
ac_ooo_datadir="${withval}/program"
|
||||
ac_ooo_basisdir="${withval}/basis3.0"])
|
||||
AC_ARG_WITH([ooo-libdir],
|
||||
AC_HELP_STRING([--with-ooo-libdir=DIR],
|
||||
[where the OpenOffice.org program libraries are installed (<ooo-dir>/program)]),
|
||||
[ac_ooo_libdir="${withval}"])
|
||||
AC_ARG_WITH([ooo-datadir],
|
||||
AC_HELP_STRING([--with-ooo-datadir=DIR],
|
||||
[where the OpenOffice.org data files are installed (<ooo-dir>/program)]),
|
||||
[ac_ooo_datadir="${withval}"])
|
||||
|
||||
dnl Options: OpenOffice.org SDK
|
||||
AC_ARG_WITH([ooo-sdk-dir],
|
||||
AC_HELP_STRING([--with-ooo-sdk-dir=DIR],
|
||||
[where the OpenOffice.org SDK is installed]),
|
||||
[ac_ooo_sdk_bindir="${withval}/linux/bin"
|
||||
ac_ooo_sdk_includes="${withval}/include"])
|
||||
AC_ARG_WITH([ooo-sdk-bindir],
|
||||
AC_HELP_STRING([--with-ooo-sdk-bindir=DIR],
|
||||
[where the OpenOffice.org SDK binaries are installed (<ooo-sdk-dir>/linux/bin)]),
|
||||
[ac_ooo_sdk_bindir="${withval}"])
|
||||
AC_ARG_WITH([ooo-sdk-includes],
|
||||
AC_HELP_STRING([--with-ooo-sdk-includes=DIR],
|
||||
[where the OpenOffice.org SDK includes are installed (<ooo-sdk-dir>/include)]),
|
||||
[ac_ooo_sdk_includes="${withval}"])
|
||||
|
||||
if test x$enable_ooo = xyes; then
|
||||
|
||||
dnl Check for UNO cpp binding
|
||||
KDE_FIND_PATH(cppumaker, CPPUMAKER, [$ac_ooo_sdk_bindir ${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [
|
||||
AC_MSG_ERROR([[cppumaker not found, try '--with-ooo-sdk-dir=location_of_ODK']])
|
||||
])
|
||||
|
||||
dnl Check for ODK includes
|
||||
ac_cppflags_safe="$CPPFLAGS"
|
||||
CPPFLAGS="-I$ac_ooo_sdk_includes"
|
||||
KDE_CHECK_HEADERS([sal/config.h],
|
||||
[OFFICE_SDK_includes="$CPPFLAGS"],
|
||||
AC_MSG_ERROR([[OpenOffice.org SDK include files not found, try '--with-ooo-sdk-dir=location_of_ODK']]))
|
||||
CPPFLAGS="$ac_cppflags_safe"
|
||||
|
||||
dnl OpenOffice.org libraries
|
||||
if test -n "$ac_ooo_libdir" ; then
|
||||
OFFICE_libadd="-L$ac_ooo_libdir"
|
||||
OFFICE_libdir="$ac_ooo_libdir"
|
||||
fi
|
||||
|
||||
dnl OpenOffice.org types.rdb
|
||||
AC_CHECK_FILE([$ac_ooo_datadir/types.rdb],
|
||||
[OFFICE_registry="$ac_ooo_datadir"/types.rdb],
|
||||
AC_MSG_ERROR([[types.rdb not found, try '--with-ooo-dir=OpenOffice.org_installation_path']]))
|
||||
|
||||
AC_FIND_FILE([offapi.rdb],
|
||||
[$ac_ooo_basisdir/program $ac_ooo_libdir $ac_ooo_datadir],
|
||||
offapi_dir)
|
||||
if test "$offapi_dir" != "NO"; then
|
||||
OFFICE_registry="$OFFICE_registry $offapi_dir/offapi.rdb"
|
||||
fi
|
||||
|
||||
dnl Substitute the values
|
||||
AC_SUBST(OFFICE_SDK_includes)
|
||||
AC_SUBST(OFFICE_libadd)
|
||||
AC_SUBST(OFFICE_libdir)
|
||||
AC_SUBST(OFFICE_registry)
|
||||
AC_SUBST(CPPUMAKER)
|
||||
|
||||
fi
|
||||
CFLAGS="$CFLAGS -I\$(top_srcdir)/src/core"
|
||||
CXXFLAGS="$CXXFLAGS -I\$(top_srcdir)/src/core"
|
||||
|
||||
dnl ---------- EXEMPI CHECK ----------
|
||||
|
||||
AC_ARG_ENABLE(exempi,
|
||||
AC_HELP_STRING([--disable-exempi], [disable exempi, default=enable if found]),
|
||||
[enable_libexempi=$enableval],
|
||||
[enable_libexempi=yes]
|
||||
)
|
||||
|
||||
if test x$enable_libexempi = xyes; then
|
||||
KDE_PKG_CHECK_MODULES(EXEMPI,
|
||||
[exempi-2.0 >= 1.99.0],
|
||||
[have_exempi=yes],
|
||||
[have_exempi=no])
|
||||
AC_SUBST(EXEMPI_LIBS)
|
||||
AC_SUBST(EXEMPI_CFLAGS)
|
||||
else
|
||||
have_exempi="no (disabled)"
|
||||
fi
|
||||
|
||||
test "$have_exempi" = "yes" && AC_DEFINE(HAVE_EXEMPI, 1, [Define to 1 if exempi is available])
|
||||
|
||||
|
||||
dnl ---------- END EXEMPI CHECK ----------
|
||||
|
||||
dnl ---------- POPPLER CHECK ----------
|
||||
|
||||
AC_ARG_ENABLE(poppler,
|
||||
AC_HELP_STRING([--disable-poppler], [disable poppler, default=enable if found]),
|
||||
[enable_libpoppler=$enableval],
|
||||
[enable_libpoppler=yes]
|
||||
)
|
||||
|
||||
if test x$enable_libpoppler = xyes; then
|
||||
KDE_PKG_CHECK_MODULES(POPPLER,
|
||||
[poppler-tqt >= 0.5],
|
||||
[have_poppler=yes],
|
||||
[have_poppler=no])
|
||||
AC_SUBST(POPPLER_LIBS)
|
||||
AC_SUBST(POPPLER_CFLAGS)
|
||||
else
|
||||
have_poppler="no (disabled)"
|
||||
fi
|
||||
|
||||
test "$have_poppler" = "yes" && AC_DEFINE(HAVE_POPPLER, 1, [Define to 1 if poppler is available])
|
||||
|
||||
|
||||
dnl ---------- END POPPLER CHECK ----------
|
||||
|
||||
dnl ---------- WEBCAM CHECK ----------
|
||||
|
||||
AC_ARG_ENABLE(webcam,
|
||||
AC_HELP_STRING([--enable-webcam], [enable support for webcams (experimental), default=disable]),
|
||||
[enable_webcam=$enableval],
|
||||
[enable_webcam=no]
|
||||
)
|
||||
|
||||
if test x$enable_webcam = xyes; then
|
||||
KDE_CHECK_HEADERS([linux/videodev.h],
|
||||
[],
|
||||
[enable_webcam="no"])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(ENABLE_WEBCAM, test $enable_webcam = yes)
|
||||
if test x$enable_webcam = xyes; then
|
||||
AC_DEFINE(ENABLE_WEBCAM, 1, [Define to 1 if webcam support is enabled])
|
||||
fi
|
||||
|
||||
dnl ---------- END WEBCAM CHECK ----------
|
||||
|
||||
dnl ---------- SAX CHECK ----------
|
||||
|
||||
AC_ARG_ENABLE(sax,
|
||||
AC_HELP_STRING([--enable-sax], [enable SAX document loading (experimental), default=disable]),
|
||||
[enable_sax=$enableval],
|
||||
[enable_sax=no]
|
||||
)
|
||||
|
||||
if test x$enable_sax = xyes; then
|
||||
AC_DEFINE(SAX_SUPPORT, 1, [Define to 1 if the XML loader should use SAX])
|
||||
fi
|
||||
|
||||
dnl ---------- END SAX CHECK ----------
|
||||
|
||||
dnl -------- fix TQTDCOPIDLNG ---------
|
||||
if test "$kde_cv_tqt" = "no"; then
|
||||
if test -z "$TQTDCOPIDLNG"; then
|
||||
KDE_FIND_PATH(dcopidlng, TQTDCOPIDLNG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidlng)])
|
||||
fi
|
||||
fi
|
@ -1,4 +0,0 @@
|
||||
ADD_SUBDIRECTORY( en )
|
||||
ADD_SUBDIRECTORY( fr )
|
||||
|
||||
|
@ -1,5 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
|
||||
SUBDIRS = en fr
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
@ -1,62 +0,0 @@
|
||||
|
||||
KDE_CREATE_HANDBOOK( index.docbook Xi
|
||||
INSTALL_DESTINATION share/doc/tde/HTML/en/tellico
|
||||
)
|
||||
|
||||
########### install files ###############
|
||||
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
######## tdevelop will overwrite this part!!! (begin)##########
|
||||
#
|
||||
#
|
||||
#EXTRA_DIST = \
|
||||
#advanced.docbook \
|
||||
#configuration.docbook \
|
||||
#details.docbook \
|
||||
#faqs.docbook \
|
||||
#fundamentals.docbook \
|
||||
#hacking.docbook \
|
||||
#importing-exporting.docbook \
|
||||
#index.docbook \
|
||||
#menus.docbook \
|
||||
#freebsd-doc-license.html \
|
||||
#entry-editor1.png \
|
||||
#entry-editor3.png \
|
||||
#entry-editor4.png \
|
||||
#entry-editor5.png \
|
||||
#fields-dialog.png \
|
||||
#general-options.png \
|
||||
#main-window.png \
|
||||
#print-options.png \
|
||||
#template-options.png \
|
||||
#source-options.png \
|
||||
#filter-dialog.png \
|
||||
#csv-dialog.png \
|
||||
#fetch-dialog.png \
|
||||
#export-options.png \
|
||||
#export-html.png \
|
||||
#export-csv.png \
|
||||
#export-pdb.png \
|
||||
#export-bibtex.png \
|
||||
#amazon-options.png \
|
||||
#z3950-options.png \
|
||||
#externalexec-options.png \
|
||||
#report-dialog.png \
|
||||
#loan-dialog.png \
|
||||
#loan-view.png \
|
||||
#filter-view.png \
|
||||
#openoffice-dialog.png \
|
||||
#sru-options.png \
|
||||
#imdb-options.png
|
||||
#
|
||||
#
|
||||
######## tdevelop will overwrite this part!!! (end)############
|
||||
#
|
||||
#KDE_LANG = en
|
||||
#KDE_DOCS = tellico
|
||||
#
|
||||
#CLEANFILES = *~
|
@ -1,50 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
|
||||
|
||||
EXTRA_DIST = \
|
||||
advanced.docbook \
|
||||
configuration.docbook \
|
||||
details.docbook \
|
||||
faqs.docbook \
|
||||
fundamentals.docbook \
|
||||
hacking.docbook \
|
||||
importing-exporting.docbook \
|
||||
index.docbook \
|
||||
menus.docbook \
|
||||
freebsd-doc-license.html \
|
||||
entry-editor1.png \
|
||||
entry-editor3.png \
|
||||
entry-editor4.png \
|
||||
entry-editor5.png \
|
||||
fields-dialog.png \
|
||||
general-options.png \
|
||||
main-window.png \
|
||||
print-options.png \
|
||||
template-options.png \
|
||||
source-options.png \
|
||||
filter-dialog.png \
|
||||
csv-dialog.png \
|
||||
fetch-dialog.png \
|
||||
export-options.png \
|
||||
export-html.png \
|
||||
export-csv.png \
|
||||
export-pdb.png \
|
||||
export-bibtex.png \
|
||||
amazon-options.png \
|
||||
z3950-options.png \
|
||||
externalexec-options.png \
|
||||
report-dialog.png \
|
||||
loan-dialog.png \
|
||||
loan-view.png \
|
||||
filter-view.png \
|
||||
openoffice-dialog.png \
|
||||
sru-options.png \
|
||||
imdb-options.png
|
||||
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
|
||||
KDE_LANG = en
|
||||
KDE_DOCS = tellico
|
||||
|
||||
CLEANFILES = *~
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 290 KiB After Width: | Height: | Size: 304 KiB |
Before Width: | Height: | Size: 123 KiB After Width: | Height: | Size: 123 KiB |
@ -1,60 +0,0 @@
|
||||
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR} )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
######## tdevelop will overwrite this part!!! (begin)##########
|
||||
#
|
||||
#
|
||||
#EXTRA_DIST = \
|
||||
#advanced.docbook \
|
||||
#configuration.docbook \
|
||||
#details.docbook \
|
||||
#faqs.docbook \
|
||||
#fundamentals.docbook \
|
||||
#hacking.docbook \
|
||||
#importing-exporting.docbook \
|
||||
#index.docbook \
|
||||
#menus.docbook \
|
||||
#freebsd-doc-license.html \
|
||||
#entry-editor1.png \
|
||||
#entry-editor3.png \
|
||||
#entry-editor4.png \
|
||||
#entry-editor5.png \
|
||||
#fields-dialog.png \
|
||||
#general-options.png \
|
||||
#main-window.png \
|
||||
#print-options.png \
|
||||
#template-options.png \
|
||||
#source-options.png \
|
||||
#filter-dialog.png \
|
||||
#csv-dialog.png \
|
||||
#fetch-dialog.png \
|
||||
#export-options.png \
|
||||
#export-html.png \
|
||||
#export-csv.png \
|
||||
#export-pdb.png \
|
||||
#export-bibtex.png \
|
||||
#amazon-options.png \
|
||||
#z3950-options.png \
|
||||
#externalexec-options.png \
|
||||
#report-dialog.png \
|
||||
#loan-dialog.png \
|
||||
#loan-view.png \
|
||||
#filter-view.png \
|
||||
#openoffice-dialog.png \
|
||||
#sru-options.png \
|
||||
#imdb-options.png
|
||||
#
|
||||
#
|
||||
######## tdevelop will overwrite this part!!! (end)############
|
||||
#
|
||||
#KDE_LANG = fr
|
||||
#KDE_DOCS = tellico
|
||||
#
|
||||
#CLEANFILES = *~
|
@ -1,50 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
|
||||
|
||||
EXTRA_DIST = \
|
||||
advanced.docbook \
|
||||
configuration.docbook \
|
||||
details.docbook \
|
||||
faqs.docbook \
|
||||
fundamentals.docbook \
|
||||
hacking.docbook \
|
||||
importing-exporting.docbook \
|
||||
index.docbook \
|
||||
menus.docbook \
|
||||
freebsd-doc-license.html \
|
||||
entry-editor1.png \
|
||||
entry-editor3.png \
|
||||
entry-editor4.png \
|
||||
entry-editor5.png \
|
||||
fields-dialog.png \
|
||||
general-options.png \
|
||||
main-window.png \
|
||||
print-options.png \
|
||||
template-options.png \
|
||||
source-options.png \
|
||||
filter-dialog.png \
|
||||
csv-dialog.png \
|
||||
fetch-dialog.png \
|
||||
export-options.png \
|
||||
export-html.png \
|
||||
export-csv.png \
|
||||
export-pdb.png \
|
||||
export-bibtex.png \
|
||||
amazon-options.png \
|
||||
z3950-options.png \
|
||||
externalexec-options.png \
|
||||
report-dialog.png \
|
||||
loan-dialog.png \
|
||||
loan-view.png \
|
||||
filter-view.png \
|
||||
openoffice-dialog.png \
|
||||
sru-options.png \
|
||||
imdb-options.png
|
||||
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
|
||||
KDE_LANG = fr
|
||||
KDE_DOCS = tellico
|
||||
|
||||
CLEANFILES = *~
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 85 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 26 KiB |
@ -0,0 +1,63 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
|
||||
.TH TELLICO: "1" "March 2008"
|
||||
.SH NAME
|
||||
Tellico \- a collection manager for TDE
|
||||
.SH SYNOPSIS
|
||||
.B tellico
|
||||
[\fIQt-options\fR] [\fITDE-options\fR] [\fIoptions\fR] [\fIfilename\fR]
|
||||
.SH DESCRIPTION
|
||||
Tellico \- a collection manager for TDE
|
||||
.SS "Generic options:"
|
||||
.TP
|
||||
\fB\-\-help\fR
|
||||
Show help about options
|
||||
.TP
|
||||
\fB\-\-help\-qt\fR
|
||||
Show Qt specific options
|
||||
.TP
|
||||
\fB\-\-help\-tde\fR
|
||||
Show TDE specific options
|
||||
.TP
|
||||
\fB\-\-help\-all\fR
|
||||
Show all options
|
||||
.TP
|
||||
\fB\-\-author\fR
|
||||
Show author information
|
||||
.TP
|
||||
\fB\-v\fR, \fB\-\-version\fR
|
||||
Show version information
|
||||
.TP
|
||||
\fB\-\-license\fR
|
||||
Show license information
|
||||
.TP
|
||||
\fB\-\-\fR
|
||||
End of options
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
\fB\-\-nofile\fR
|
||||
Do not reopen the last open file
|
||||
.TP
|
||||
\fB\-\-bibtex\fR
|
||||
Import <filename> as a bibtex file
|
||||
.TP
|
||||
\fB\-\-mods\fR
|
||||
Import <filename> as a MODS file
|
||||
.TP
|
||||
\fB\-\-ris\fR
|
||||
Import <filename> as a RIS file
|
||||
.SS "Arguments:"
|
||||
.TP
|
||||
filename
|
||||
File to open
|
||||
.SH "SEE ALSO"
|
||||
The full documentation for
|
||||
.B Qt:
|
||||
is maintained as a Texinfo manual. If the
|
||||
.B info
|
||||
and
|
||||
.B Qt:
|
||||
programs are properly installed at your site, the command
|
||||
.IP
|
||||
.B info Qt:
|
||||
.PP
|
||||
should give you access to the complete manual.
|
@ -0,0 +1,72 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
|
||||
##### install application icon ##################
|
||||
tde_install_icons( )
|
||||
|
||||
install(
|
||||
FILES tellico.svg
|
||||
DESTINATION ${ICON_INSTALL_DIR}/hicolor/scalable/apps
|
||||
)
|
||||
install(
|
||||
FILES tellico_mime.svg
|
||||
DESTINATION ${ICON_INSTALL_DIR}/hicolor/scalable/mimetypes
|
||||
RENAME application-x-tellico.svg
|
||||
)
|
||||
|
||||
##### other data ################################
|
||||
install(
|
||||
FILES
|
||||
album.png
|
||||
bibtex.png
|
||||
tellico.png
|
||||
tellico.svg
|
||||
tellico_mime.svg
|
||||
boardgame.png
|
||||
book.png
|
||||
card.png
|
||||
coin.png
|
||||
comic.png
|
||||
game.png
|
||||
person-open.png
|
||||
person.png
|
||||
stamp.png
|
||||
star_on.png
|
||||
star_off.png
|
||||
stars1.png
|
||||
stars2.png
|
||||
stars3.png
|
||||
stars4.png
|
||||
stars5.png
|
||||
stars6.png
|
||||
stars7.png
|
||||
stars8.png
|
||||
stars9.png
|
||||
stars10.png
|
||||
video.png
|
||||
wine.png
|
||||
checkmark.png
|
||||
README.icons
|
||||
README.quesnay
|
||||
file.png
|
||||
nocover_album.png
|
||||
nocover_boardgame.png
|
||||
nocover_book.png
|
||||
nocover_bibtex.png
|
||||
nocover_comic.png
|
||||
nocover_game.png
|
||||
nocover_video.png
|
||||
script.svg
|
||||
script.png
|
||||
DESTINATION
|
||||
${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME}/pics
|
||||
)
|
@ -1,80 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
|
||||
|
||||
EXTRA_DIST = \
|
||||
album.png hi16-app-tellico.png hi22-app-tellico.png \
|
||||
hi32-app-tellico.png hi48-app-tellico.png hi64-app-tellico.png \
|
||||
hi128-app-tellico.png \
|
||||
hi16-mime-application-x-tellico.png hi22-mime-application-x-tellico.png \
|
||||
hi32-mime-application-x-tellico.png hi48-mime-application-x-tellico.png \
|
||||
hi64-mime-application-x-tellico.png hi128-mime-application-x-tellico.png \
|
||||
bibtex.png person-open.png \
|
||||
tellico.png person.png \
|
||||
book.png stamp.png \
|
||||
card.png star_on.png \
|
||||
coin.png star_off.png \
|
||||
comic.png video.png \
|
||||
wine.png checkmark.png \
|
||||
tellico.svg tellico_mime.svg stars10.png \
|
||||
stars1.png stars2.png stars3.png \
|
||||
stars4.png stars5.png stars6.png \
|
||||
stars7.png stars8.png stars9.png \
|
||||
README.icons README.quesnay game.png \
|
||||
file.png nocover_book.png nocover_video.png \
|
||||
nocover_album.png nocover_game.png nocover_bibtex.png \
|
||||
nocover_comic.png script.svg script.png \
|
||||
boardgame.png nocover_boardgame.png
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
|
||||
KDE_OPTIONS = noautodist
|
||||
|
||||
KDE_ICON = tellico
|
||||
|
||||
picdir = ${kde_datadir}/tellico/pics
|
||||
pic_DATA = \
|
||||
album.png \
|
||||
bibtex.png \
|
||||
tellico.png \
|
||||
tellico.svg \
|
||||
tellico_mime.svg \
|
||||
boardgame.png \
|
||||
book.png \
|
||||
card.png \
|
||||
coin.png \
|
||||
comic.png \
|
||||
game.png \
|
||||
person-open.png \
|
||||
person.png \
|
||||
stamp.png \
|
||||
star_on.png \
|
||||
star_off.png \
|
||||
stars1.png \
|
||||
stars2.png \
|
||||
stars3.png \
|
||||
stars4.png \
|
||||
stars5.png \
|
||||
stars6.png \
|
||||
stars7.png \
|
||||
stars8.png \
|
||||
stars9.png \
|
||||
stars10.png \
|
||||
video.png \
|
||||
wine.png \
|
||||
checkmark.png \
|
||||
README.icons \
|
||||
README.quesnay \
|
||||
file.png \
|
||||
nocover_album.png \
|
||||
nocover_boardgame.png \
|
||||
nocover_book.png \
|
||||
nocover_bibtex.png \
|
||||
nocover_comic.png \
|
||||
nocover_game.png \
|
||||
nocover_video.png \
|
||||
script.svg \
|
||||
script.png
|
||||
|
||||
# probably a better way to do this
|
||||
uninstall-hook:
|
||||
-if [ -d $(picdir) ]; then rmdir $(picdir); fi
|
Before Width: | Height: | Size: 457 B After Width: | Height: | Size: 457 B |
Before Width: | Height: | Size: 514 B After Width: | Height: | Size: 514 B |
Before Width: | Height: | Size: 824 B After Width: | Height: | Size: 823 B |
Before Width: | Height: | Size: 381 B After Width: | Height: | Size: 381 B |
Before Width: | Height: | Size: 648 B After Width: | Height: | Size: 659 B |
Before Width: | Height: | Size: 595 B After Width: | Height: | Size: 595 B |
Before Width: | Height: | Size: 918 B After Width: | Height: | Size: 921 B |
Before Width: | Height: | Size: 333 B After Width: | Height: | Size: 333 B |
Before Width: | Height: | Size: 545 B After Width: | Height: | Size: 465 B |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 852 B After Width: | Height: | Size: 852 B |
Before Width: | Height: | Size: 748 B After Width: | Height: | Size: 764 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 661 B |
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 661 B |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 1011 B After Width: | Height: | Size: 1011 B |
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 264 B |
Before Width: | Height: | Size: 319 B After Width: | Height: | Size: 323 B |
Before Width: | Height: | Size: 323 B After Width: | Height: | Size: 324 B |
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 347 B |
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 345 B |
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 346 B |
Before Width: | Height: | Size: 347 B After Width: | Height: | Size: 347 B |
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 347 B |
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 349 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 313 B After Width: | Height: | Size: 313 B |
Before Width: | Height: | Size: 414 B After Width: | Height: | Size: 414 B |
@ -1,251 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# install - install a program, script, or datafile
|
||||
# This comes from X11R5 (mit/util/scripts/install.sh).
|
||||
#
|
||||
# Copyright 1991 by the Massachusetts Institute of Technology
|
||||
#
|
||||
# Permission to use, copy, modify, distribute, and sell this software and its
|
||||
# documentation for any purpose is hereby granted without fee, provided that
|
||||
# the above copyright notice appear in all copies and that both that
|
||||
# copyright notice and this permission notice appear in supporting
|
||||
# documentation, and that the name of M.I.T. not be used in advertising or
|
||||
# publicity pertaining to distribution of the software without specific,
|
||||
# written prior permission. M.I.T. makes no representations about the
|
||||
# suitability of this software for any purpose. It is provided "as is"
|
||||
# without express or implied warranty.
|
||||
#
|
||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||
# `make' implicit rules from creating a file called install from it
|
||||
# when there is no Makefile.
|
||||
#
|
||||
# This script is compatible with the BSD install script, but was written
|
||||
# from scratch. It can only install one file at a time, a restriction
|
||||
# shared with many OS's install programs.
|
||||
|
||||
|
||||
# set DOITPROG to echo to test this script
|
||||
|
||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||
doit="${DOITPROG-}"
|
||||
|
||||
|
||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
||||
|
||||
mvprog="${MVPROG-mv}"
|
||||
cpprog="${CPPROG-cp}"
|
||||
chmodprog="${CHMODPROG-chmod}"
|
||||
chownprog="${CHOWNPROG-chown}"
|
||||
chgrpprog="${CHGRPPROG-chgrp}"
|
||||
stripprog="${STRIPPROG-strip}"
|
||||
rmprog="${RMPROG-rm}"
|
||||
mkdirprog="${MKDIRPROG-mkdir}"
|
||||
|
||||
transformbasename=""
|
||||
transform_arg=""
|
||||
instcmd="$mvprog"
|
||||
chmodcmd="$chmodprog 0755"
|
||||
chowncmd=""
|
||||
chgrpcmd=""
|
||||
stripcmd=""
|
||||
rmcmd="$rmprog -f"
|
||||
mvcmd="$mvprog"
|
||||
src=""
|
||||
dst=""
|
||||
dir_arg=""
|
||||
|
||||
while [ x"$1" != x ]; do
|
||||
case $1 in
|
||||
-c) instcmd="$cpprog"
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-d) dir_arg=true
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-m) chmodcmd="$chmodprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-o) chowncmd="$chownprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-g) chgrpcmd="$chgrpprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-s) stripcmd="$stripprog"
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
|
||||
shift
|
||||
continue;;
|
||||
|
||||
*) if [ x"$src" = x ]
|
||||
then
|
||||
src=$1
|
||||
else
|
||||
# this colon is to work around a 386BSD /bin/sh bug
|
||||
:
|
||||
dst=$1
|
||||
fi
|
||||
shift
|
||||
continue;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ x"$src" = x ]
|
||||
then
|
||||
echo "install: no input file specified"
|
||||
exit 1
|
||||
else
|
||||
true
|
||||
fi
|
||||
|
||||
if [ x"$dir_arg" != x ]; then
|
||||
dst=$src
|
||||
src=""
|
||||
|
||||
if [ -d $dst ]; then
|
||||
instcmd=:
|
||||
chmodcmd=""
|
||||
else
|
||||
instcmd=mkdir
|
||||
fi
|
||||
else
|
||||
|
||||
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
|
||||
# might cause directories to be created, which would be especially bad
|
||||
# if $src (and thus $dsttmp) contains '*'.
|
||||
|
||||
if [ -f $src -o -d $src ]
|
||||
then
|
||||
true
|
||||
else
|
||||
echo "install: $src does not exist"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ x"$dst" = x ]
|
||||
then
|
||||
echo "install: no destination specified"
|
||||
exit 1
|
||||
else
|
||||
true
|
||||
fi
|
||||
|
||||
# If destination is a directory, append the input filename; if your system
|
||||
# does not like double slashes in filenames, you may need to add some logic
|
||||
|
||||
if [ -d $dst ]
|
||||
then
|
||||
dst="$dst"/`basename $src`
|
||||
else
|
||||
true
|
||||
fi
|
||||
fi
|
||||
|
||||
## this sed command emulates the dirname command
|
||||
dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
|
||||
|
||||
# Make sure that the destination directory exists.
|
||||
# this part is taken from Noah Friedman's mkinstalldirs script
|
||||
|
||||
# Skip lots of stat calls in the usual case.
|
||||
if [ ! -d "$dstdir" ]; then
|
||||
defaultIFS='
|
||||
'
|
||||
IFS="${IFS-${defaultIFS}}"
|
||||
|
||||
oIFS="${IFS}"
|
||||
# Some sh's can't handle IFS=/ for some reason.
|
||||
IFS='%'
|
||||
set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
|
||||
IFS="${oIFS}"
|
||||
|
||||
pathcomp=''
|
||||
|
||||
while [ $# -ne 0 ] ; do
|
||||
pathcomp="${pathcomp}${1}"
|
||||
shift
|
||||
|
||||
if [ ! -d "${pathcomp}" ] ;
|
||||
then
|
||||
$mkdirprog "${pathcomp}"
|
||||
else
|
||||
true
|
||||
fi
|
||||
|
||||
pathcomp="${pathcomp}/"
|
||||
done
|
||||
fi
|
||||
|
||||
if [ x"$dir_arg" != x ]
|
||||
then
|
||||
$doit $instcmd $dst &&
|
||||
|
||||
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
|
||||
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
|
||||
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
|
||||
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
|
||||
else
|
||||
|
||||
# If we're going to rename the final executable, determine the name now.
|
||||
|
||||
if [ x"$transformarg" = x ]
|
||||
then
|
||||
dstfile=`basename $dst`
|
||||
else
|
||||
dstfile=`basename $dst $transformbasename |
|
||||
sed $transformarg`$transformbasename
|
||||
fi
|
||||
|
||||
# don't allow the sed command to completely eliminate the filename
|
||||
|
||||
if [ x"$dstfile" = x ]
|
||||
then
|
||||
dstfile=`basename $dst`
|
||||
else
|
||||
true
|
||||
fi
|
||||
|
||||
# Make a temp file name in the proper directory.
|
||||
|
||||
dsttmp=$dstdir/#inst.$$#
|
||||
|
||||
# Move or copy the file name to the temp name
|
||||
|
||||
$doit $instcmd $src $dsttmp &&
|
||||
|
||||
trap "rm -f ${dsttmp}" 0 &&
|
||||
|
||||
# and set any options; do chmod last to preserve setuid bits
|
||||
|
||||
# If any of these fail, we abort the whole thing. If we want to
|
||||
# ignore errors from any of these, just make sure not to ignore
|
||||
# errors from the above "$doit $instcmd $src $dsttmp" command.
|
||||
|
||||
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
|
||||
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
|
||||
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
|
||||
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
|
||||
$doit $rmcmd -f $dstdir/$dstfile &&
|
||||
$doit $mvcmd $dsttmp $dstdir/$dstfile
|
||||
|
||||
fi &&
|
||||
|
||||
|
||||
exit 0
|
@ -1,5 +0,0 @@
|
||||
file(GLOB _po_files *.po)
|
||||
|
||||
#GETTEXT_CREATE_TRANSLATIONS(tellico.pot ALL ${_po_files} )
|
||||
|
||||
|
@ -1,9 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
|
||||
|
||||
EXTRA_DIST = tellico.pot README
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
POFILES = AUTO
|
||||
|
||||
CLEANFILES = *~
|
@ -1,23 +0,0 @@
|
||||
To regenerate the message strings, type
|
||||
|
||||
make package-messages
|
||||
|
||||
from the top-level directory.
|
||||
|
||||
Please note that you need a special for KDE patched version of xgettext. You
|
||||
can obtain it from http://packages.ubuntu.com/de/edgy/gettext-kde. Don't forget
|
||||
to make this binary available as xgettext (instead of kde-xgettext) by e.g.
|
||||
creating a link in your search path.
|
||||
|
||||
If you don't do this, code such as i18n("Comic Book Illustrator", "Artist")
|
||||
would correspond to two separate strings "Comic Book Illustrator" and
|
||||
"Artist" instead of a combined entry from which only the second one has to be
|
||||
translated:
|
||||
|
||||
msgid ""
|
||||
"_: Comic Book Illustrator\n"
|
||||
"Artist"
|
||||
msgstr "Künstler"
|
||||
|
||||
You also need the tool extractrc. In Debian it is available in the package
|
||||
tdesdk-scripts.
|
@ -0,0 +1,98 @@
|
||||
##### prepare strings from data files ###########
|
||||
|
||||
message( STATUS "Prepare to extract strings from tellico data files..." )
|
||||
|
||||
## core/tellico_config.kcfg
|
||||
tde_l10n_prepare_xml(
|
||||
SOURCE "core/tellico_config.kcfg"
|
||||
TAGS "default"
|
||||
C_FORMAT
|
||||
)
|
||||
file( READ "${CMAKE_CURRENT_SOURCE_DIR}/core/tellico_config.kcfg.tde_l10n" _config_data )
|
||||
string( REGEX REPLACE "[^\n]" "" _config_len ${_config_data} )
|
||||
string( LENGTH "+${_config_len}" _config_len )
|
||||
set( _config_pos 0 )
|
||||
unset( _config_l10n )
|
||||
while( _config_pos LESS ${_config_len} )
|
||||
# pick line
|
||||
string( REGEX REPLACE "^([^\n]*)\n(.*)" "\\1" _config_line "${_config_data}" )
|
||||
string( REGEX REPLACE "^([^\n]*)\n(.*)" "\\2" _config_data "${_config_data}" )
|
||||
math( EXPR _config_pos "${_config_pos}+1" )
|
||||
|
||||
# clean default config value without "code"
|
||||
if( "${_config_line}" MATCHES "i18n\\(\"i18n\\(" )
|
||||
string( REGEX REPLACE
|
||||
"i18n\\(\"i18n\\(\\\\\"(.*)\\\\\"\\)\"\\);"
|
||||
"i18n(\"\\1\");"
|
||||
_config_line "${_config_line}" )
|
||||
else( )
|
||||
set( _config_line "" )
|
||||
endif( )
|
||||
|
||||
# write line
|
||||
set( _config_l10n "${_config_l10n}${_config_line}\n" )
|
||||
endwhile( )
|
||||
file( WRITE "${CMAKE_CURRENT_SOURCE_DIR}/core/tellico_config.kcfg.tde_l10n" "${_config_l10n}" )
|
||||
|
||||
## tips
|
||||
tde_l10n_preparetips( "../tellico.tips" )
|
||||
|
||||
## xsl templates
|
||||
file( GLOB_RECURSE _xsl_files
|
||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../xslt/*.xsl )
|
||||
unset( _xsl_list_l10n )
|
||||
set( _xsl_l10n "../xslt/.tde_l10n" )
|
||||
foreach( _xsl_file ${_xsl_files} )
|
||||
if( "${_xsl_file}" MATCHES "/[^/]*-templates/" )
|
||||
get_filename_component( _xsl_name "${_xsl_file}" NAME_WE )
|
||||
string( REPLACE "_" " " _xsl_name "${_xsl_name}" )
|
||||
set( _xsl_list_l10n
|
||||
"${_xsl_list_l10n}i18n(\"${_xsl_name} XSL Template\", \"${_xsl_name}\");\n" )
|
||||
endif( )
|
||||
tde_l10n_prepare_xml( SOURCE ${_xsl_file} TAGS i18n )
|
||||
list( APPEND _xsl_l10n "${_xsl_file}.tde_l10n" )
|
||||
endforeach( )
|
||||
file( WRITE "${CMAKE_CURRENT_SOURCE_DIR}/../xslt/.tde_l10n" "${_xsl_list_l10n}" )
|
||||
|
||||
## z3950 servers
|
||||
file( READ "${CMAKE_CURRENT_SOURCE_DIR}/fetch/z3950-servers.cfg" _z3950_servers )
|
||||
string( REGEX REPLACE
|
||||
"(^|\n)Name=([^\n]+)"
|
||||
"\\1i18n(\"\\2\");"
|
||||
_z3950_l10n "${_z3950_servers}"
|
||||
)
|
||||
file( WRITE "${CMAKE_CURRENT_SOURCE_DIR}/fetch/z3950-server.cfg.tde_l10n" "${_z3950_l10n}" )
|
||||
|
||||
## scripts spec
|
||||
file( GLOB_RECURSE _scripts_files
|
||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/fetch/scripts/*.spec )
|
||||
unset( _scripts_l10n )
|
||||
foreach( _script_file ${_scripts_files} )
|
||||
file( READ "${CMAKE_CURRENT_SOURCE_DIR}/${_script_file}" _script_spec )
|
||||
string( REGEX REPLACE
|
||||
"(^|\n)Name=([^\n]+)"
|
||||
"\\1i18n(\"\\2\");"
|
||||
_script_l10n "${_script_spec}"
|
||||
)
|
||||
file( WRITE "${CMAKE_CURRENT_SOURCE_DIR}/${_script_file}.tde_l10n" "${_script_l10n}" )
|
||||
list( APPEND _scripts_l10n "${_script_file}.tde_l10n" )
|
||||
endforeach( )
|
||||
|
||||
|
||||
##### create translation templates ##############
|
||||
|
||||
tde_l10n_create_template(
|
||||
CATALOG "messages/tellico"
|
||||
SOURCES
|
||||
"."
|
||||
"core/tellico_config.kcfg.tde_l10n"
|
||||
"../tellico.tips.tde_l10n"
|
||||
${_xsl_l10n}
|
||||
"fetch/z3950-server.cfg.tde_l10n"
|
||||
${_scripts_l10n}
|
||||
EXCLUDES
|
||||
"^core/tellico_config\\\\.kcfg\\$"
|
||||
COMMENT "TRANSLATORS:"
|
||||
)
|
@ -0,0 +1,83 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/core
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/core
|
||||
${LIBXML_INCLUDE_DIRS}
|
||||
${LIBXSLT_INCLUDE_DIRS}
|
||||
${EXEMPI_INCLUDE_DIRS}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${POPPLER_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### tellico (executable) ######################
|
||||
|
||||
tde_add_executable( tellico AUTOMOC
|
||||
SOURCES
|
||||
borrower.cpp borrowerdialog.cpp
|
||||
borroweritem.cpp calendarhandler.cpp collection.cpp collectionfactory.cpp
|
||||
collectionfieldsdialog.cpp configdialog.cpp controller.cpp detailedentryitem.cpp
|
||||
detailedlistview.cpp document.cpp entry.cpp entryeditdialog.cpp entrygroupitem.cpp
|
||||
entryiconfactory.cpp entryiconview.cpp entryitem.cpp entrymerger.cpp entryupdater.cpp
|
||||
entryview.cpp exportdialog.cpp fetchdialog.cpp fetcherconfigdialog.cpp field.cpp
|
||||
fieldcompletion.cpp filehandler.cpp filter.cpp filterdialog.cpp filteritem.cpp
|
||||
filterview.cpp groupiterator.cpp groupview.cpp image.cpp imagefactory.cpp
|
||||
importdialog.cpp isbnvalidator.cpp iso5426converter.cpp iso6937converter.cpp
|
||||
listviewcomparison.cpp loandialog.cpp loanitem.cpp loanview.cpp main.cpp mainwindow.cpp
|
||||
progressmanager.cpp reportdialog.cpp statusbar.cpp tellico_kernel.cpp tellico_strings.cpp
|
||||
tellico_utils.cpp upcvalidator.cpp viewstack.cpp xmphandler.cpp lccnvalidator.cpp
|
||||
LINK
|
||||
core-static gui-static cite-static fetch-static
|
||||
collections-static newstuff-static translators-static
|
||||
pilotdb-static pilotdb_flatfile-static pilotdb_palm-static
|
||||
rtf2html-static commands-static ${BTPARSE_LIBRARIES} ${WEBCAM_LIBRARIES}
|
||||
tdecore-shared tdefx-shared tdeui-shared tdeio-shared tdehtml-shared
|
||||
tdetexteditor-shared tdeparts-shared tdenewstuff-shared tdeabc-shared
|
||||
${LIBKCAL_LIBRARY} ${LIBKCDDB_LIBRARY} ${LIBXML_LIBRARIES} ${LIBXSLT_LIBRARIES}
|
||||
${TAGLIB_LIBRARIES} ${YAZ_LIBRARIES} ${EXEMPI_LIBRARIES} ${POPPLER_LIBRARIES}
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
install(
|
||||
FILES tellicoui.rc
|
||||
DESTINATION ${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME}
|
||||
)
|
||||
install(
|
||||
FILES tellicorc
|
||||
DESTINATION ${CONFIG_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### directories ###############################
|
||||
|
||||
add_subdirectory( core )
|
||||
add_subdirectory( gui )
|
||||
add_subdirectory( collections )
|
||||
add_subdirectory( translators )
|
||||
add_subdirectory( fetch )
|
||||
add_subdirectory( commands )
|
||||
add_subdirectory( cite )
|
||||
add_subdirectory( newstuff )
|
||||
add_subdirectory( rtf2html )
|
||||
tde_conditional_add_subdirectory( BUILD_WEBCAM_SUPPORT barcode )
|
||||
add_subdirectory( tests )
|
@ -1,140 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
bin_PROGRAMS = tellico
|
||||
|
||||
tellico_SOURCES = borrower.cpp borrowerdialog.cpp \
|
||||
borroweritem.cpp calendarhandler.cpp collection.cpp collectionfactory.cpp \
|
||||
collectionfieldsdialog.cpp configdialog.cpp controller.cpp detailedentryitem.cpp \
|
||||
detailedlistview.cpp document.cpp entry.cpp entryeditdialog.cpp entrygroupitem.cpp \
|
||||
entryiconfactory.cpp entryiconview.cpp entryitem.cpp entrymerger.cpp entryupdater.cpp \
|
||||
entryview.cpp exportdialog.cpp fetchdialog.cpp fetcherconfigdialog.cpp field.cpp \
|
||||
fieldcompletion.cpp filehandler.cpp filter.cpp filterdialog.cpp filteritem.cpp \
|
||||
filterview.cpp groupiterator.cpp groupview.cpp image.cpp imagefactory.cpp \
|
||||
importdialog.cpp isbnvalidator.cpp iso5426converter.cpp iso6937converter.cpp \
|
||||
listviewcomparison.cpp loandialog.cpp loanitem.cpp loanview.cpp main.cpp mainwindow.cpp \
|
||||
progressmanager.cpp reportdialog.cpp statusbar.cpp tellico_kernel.cpp tellico_strings.cpp \
|
||||
tellico_utils.cpp upcvalidator.cpp viewstack.cpp xmphandler.cpp lccnvalidator.cpp
|
||||
|
||||
if !USE_LIBBTPARSE
|
||||
LDADD_LIBBTPARSE = ./translators/btparse/libbtparse.a
|
||||
endif
|
||||
|
||||
if ENABLE_WEBCAM
|
||||
WEBCAMDIR = barcode
|
||||
LDADD_LIBBARCODE = ./barcode/libbarcode.a
|
||||
endif
|
||||
SUBDIRS = core gui collections translators fetch tests commands \
|
||||
cite newstuff rtf2html $(WEBCAMDIR)
|
||||
|
||||
tellico_LDADD = ./core/libcore.a ./cite/libcite.a ./fetch/libfetch.a \
|
||||
./collections/libcollections.a ./translators/libtranslators.a \
|
||||
./newstuff/libnewstuff.a ./translators/pilotdb/libpilotdb.a \
|
||||
./translators/pilotdb/libflatfile/liblibflatfile.a ./gui/libgui.a \
|
||||
./translators/pilotdb/libpalm/liblibpalm.a ./rtf2html/librtf2html.a \
|
||||
./commands/libcommands.a -lexslt $(LIB_TDEFILE) $(LIB_TDEHTML) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT) \
|
||||
$(LIBSOCKET) $(LIBXSLT_LIBS) $(TAGLIB_LIBS) $(KCDDB_LIBS) $(YAZ_LIBS) $(LIB_TDEIO) \
|
||||
$(LIB_TDEABC) $(KCAL_LIBS) $(LDADD_LIBBTPARSE) $(LIB_TDENEWSTUFF) $(EXEMPI_LIBS) \
|
||||
$(POPPLER_LIBS) $(LDADD_LIBBARCODE) $(LIBXML_LIBS)
|
||||
|
||||
EXTRA_DIST = tellicoui.rc tellicorc \
|
||||
borrowerdialog.cpp entryiconview.h\
|
||||
borrowerdialog.h entryitem.cpp importdialog.cpp \
|
||||
borrower.h entryitem.h importdialog.h \
|
||||
borroweritem.cpp entryview.cpp isbnvalidator.cpp \
|
||||
borroweritem.h entryview.h isbnvalidator.h \
|
||||
loanview.cpp exportdialog.cpp \
|
||||
loanview.h exportdialog.h \
|
||||
collection.cpp fetchdialog.cpp \
|
||||
collectionfactory.cpp fetchdialog.h \
|
||||
collectionfactory.h fieldcompletion.cpp latin1literal.h \
|
||||
collectionfieldsdialog.h collectionfieldsdialog.cpp fieldcompletion.h \
|
||||
collection.h field.h main.cpp \
|
||||
configdialog.cpp mainwindow.cpp \
|
||||
configdialog.h mainwindow.h \
|
||||
controller.cpp filehandler.cpp \
|
||||
controller.h filehandler.h \
|
||||
filter.cpp filterdialog.cpp \
|
||||
filterdialog.h reportdialog.cpp \
|
||||
filter.h reportdialog.h \
|
||||
filteritem.cpp \
|
||||
filteritem.h \
|
||||
detailedlistview.h detailedlistview.cpp \
|
||||
document.cpp tellico_kernel.cpp \
|
||||
document.h tellico_kernel.h \
|
||||
entry.cpp groupview.cpp tellico_strings.cpp \
|
||||
entryeditdialog.cpp groupview.h tellico_strings.h \
|
||||
entryeditdialog.h image.cpp tellico_utils.cpp \
|
||||
entrygroupitem.cpp imagefactory.cpp tellico_utils.h \
|
||||
entrygroupitem.h imagefactory.h viewstack.cpp \
|
||||
entry.h image.h viewstack.h \
|
||||
entryiconview.cpp loandialog.h \
|
||||
loandialog.cpp ptrvector.h borrower.cpp datavectors.h \
|
||||
calendarhandler.h calendarhandler.cpp \
|
||||
loanitem.h loanitem.cpp groupiterator.h groupiterator.cpp \
|
||||
stringset.h observer.h filterview.h filterview.cpp \
|
||||
entryiconfactory.h entryiconfactory.cpp \
|
||||
tellico_debug.h \
|
||||
entryupdater.h entryupdater.cpp \
|
||||
detailedentryitem.h detailedentryitem.cpp \
|
||||
statusbar.h statusbar.cpp \
|
||||
progressmanager.h progressmanager.cpp \
|
||||
upcvalidator.h upcvalidator.cpp \
|
||||
fetcherconfigdialog.h fetcherconfigdialog.cpp \
|
||||
iso5426converter.h iso5426converter.cpp \
|
||||
iso6937converter.h iso6937converter.cpp \
|
||||
tellico_map.h \
|
||||
listviewcomparison.h listviewcomparison.cpp \
|
||||
entrymerger.h entrymerger.cpp \
|
||||
xmphandler.h xmphandler.cpp \
|
||||
lccnvalidator.h lccnvalidator.cpp
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
# These paths are KDE specific. Use them:
|
||||
# kde_appsdir Where your application's menu entry (.desktop) should go to.
|
||||
# kde_icondir Where your icon should go to - better use KDE_ICON.
|
||||
# kde_sounddir Where your sounds should go to.
|
||||
# kde_htmldir Where your docs should go to. (contains lang subdirs)
|
||||
# kde_datadir Where you install application data. (Use a subdir)
|
||||
# kde_locale Where translation files should go to. (contains lang subdirs)
|
||||
# kde_cgidir Where cgi-bin executables should go to.
|
||||
# kde_confdir Where config files should go to (system-wide ones with default values).
|
||||
# kde_mimedir Where mimetypes .desktop files should go to.
|
||||
# kde_servicesdir Where services .desktop files should go to.
|
||||
# kde_servicetypesdir Where servicetypes .desktop files should go to.
|
||||
# kde_toolbardir Where general toolbar icons should go to (deprecated, use KDE_ICON).
|
||||
# kde_wallpaperdir Where general wallpapers should go to.
|
||||
# kde_templatesdir Where templates for the "New" menu (Konqueror/KDesktop) should go to.
|
||||
# kde_bindir Where executables should go to. Use bin_PROGRAMS or bin_SCRIPTS.
|
||||
# kde_libdir Where shared libraries should go to. Use lib_LTLIBRARIES.
|
||||
# kde_moduledir Where modules (e.g. parts) should go to. Use kde_module_LTLIBRARIES.
|
||||
# kde_styledir Where Qt/KDE widget styles should go to (new in KDE 3).
|
||||
# kde_designerdir Where Qt Designer plugins should go to (new in KDE 3).
|
||||
|
||||
# set the include path for X, qt and KDE
|
||||
AM_CPPFLAGS = $(all_includes) \
|
||||
$(LIBXML_CFLAGS) \
|
||||
$(LIBXSLT_CFLAGS) \
|
||||
$(EXEMPI_CFLAGS)
|
||||
|
||||
METASOURCES = AUTO
|
||||
|
||||
KDE_OPTIONS = noautodist
|
||||
|
||||
CLEANFILES = *~ *.loT
|
||||
|
||||
# the library search path.
|
||||
tellico_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor $(LIB_TDEPARTS)
|
||||
|
||||
uidir = $(kde_datadir)/tellico
|
||||
ui_DATA = tellicoui.rc
|
||||
|
||||
rcdir = $(kde_confdir)
|
||||
rc_DATA = tellicorc
|
||||
|
||||
messages: rc.cpp
|
||||
@ touch $(podir)/tellico.pot;
|
||||
LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
|
||||
if test -n "$$LIST"; then \
|
||||
$(XGETTEXT) --join-existing --add-comments="TRANSLATORS:" $$LIST -o $(podir)/tellico.pot; \
|
||||
fi
|
||||
|
||||
#include ../admin/Doxyfile.am
|
@ -0,0 +1,29 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### barcode (static) ##########################
|
||||
|
||||
tde_add_library( barcode STATIC_PIC AUTOMOC
|
||||
SOURCES barcode.cpp barcode_v4l.cpp
|
||||
)
|
@ -1,14 +0,0 @@
|
||||
AM_CPPFLAGS = $(all_includes)
|
||||
|
||||
noinst_LIBRARIES = libbarcode.a
|
||||
libbarcode_a_SOURCES = barcode.cpp barcode_v4l.cpp
|
||||
|
||||
libbarcode_a_METASOURCES = AUTO
|
||||
|
||||
KDE_OPTIONS = noautodist
|
||||
|
||||
EXTRA_DIST = \
|
||||
barcode.h barcode.cpp \
|
||||
barcode_v4l.h barcode_v4l.cpp
|
||||
|
||||
CLEANFILES = *~ *.loT
|
@ -0,0 +1,34 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### cite (static) #############################
|
||||
|
||||
tde_add_library( cite STATIC_PIC AUTOMOC
|
||||
SOURCES lyxpipe.cpp actionmanager.cpp clipboard.cpp openoffice.cpp
|
||||
DEPENDENCIES core-static
|
||||
)
|
||||
|
||||
##### directories ###############################
|
||||
|
||||
tde_conditional_add_subdirectory( BUILD_OOO_SUPPORT ooo )
|
@ -1,20 +0,0 @@
|
||||
AM_CPPFLAGS = $(all_includes)
|
||||
METASOURCES = AUTO
|
||||
KDE_OPTIONS = noautodist
|
||||
CLEANFILES = *~ *.loT
|
||||
noinst_LIBRARIES = libcite.a
|
||||
libcite_a_SOURCES = lyxpipe.cpp actionmanager.cpp clipboard.cpp openoffice.cpp
|
||||
|
||||
EXTRA_DIST = \
|
||||
actionmanager.h actionmanager.cpp \
|
||||
lyxpipe.h lyxpipe.cpp \
|
||||
actionmanager.h actionmanager.cpp \
|
||||
openoffice.h openoffice.cpp \
|
||||
clipboard.h clipboard.cpp \
|
||||
handler.h
|
||||
|
||||
OOO_SUBDIR = ooo
|
||||
|
||||
if WITH_OOO
|
||||
SUBDIRS = $(OOO_SUBDIR)
|
||||
endif
|
@ -1,90 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = -Wno-portability
|
||||
|
||||
METASOURCES = AUTO
|
||||
|
||||
KDE_CXXFLAGS = $(USE_EXCEPTIONS)
|
||||
KDE_OPTIONS = noautodist
|
||||
|
||||
COMID=gcc3
|
||||
CPPULIB=-luno_cppu
|
||||
CPPUHELPERLIB=-luno_cppuhelper$(COMID)
|
||||
SALLIB=-luno_sal
|
||||
SALHELPERLIB=-luno_salhelper$(COMID)
|
||||
# REGLIB=-lreg
|
||||
|
||||
# Where the UNO includes will be generated
|
||||
INCDIR = $(srcdir)/.include
|
||||
UNODIR = $(INCDIR)/uno
|
||||
|
||||
# OpenOffice.org additional includes and libraries
|
||||
# might have to be adjusted for other architectures
|
||||
OFFICE_includes = -I$(INCDIR) -I$(UNODIR) -DUNX -DGCC -DLINUX -DCPPU_ENV=$(COMID) -DOSL_DEBUG_LEVEL=0
|
||||
OFFICE_libraries = $(CPPULIB) $(CPPUHELPERLIB) $(SALLIB) $(SALHELPERLIB)
|
||||
|
||||
AM_CPPFLAGS = $(all_includes) $(OFFICE_SDK_includes) $(OFFICE_includes)
|
||||
|
||||
kde_module_LTLIBRARIES = tellico_ooo.la
|
||||
|
||||
tellico_ooo_la_SOURCES = ooohandler.cpp interface.cpp
|
||||
tellico_ooo_la_LDFLAGS = -module $(KDE_PLUGIN) $(KDE_RPATH) \
|
||||
$(all_libraries) $(OFFICE_libraries)
|
||||
tellico_ooo_la_LIBADD = $(OFFICE_libadd)
|
||||
|
||||
EXTRA_DIST = ooohandler.h ooohandler.cpp \
|
||||
interface.h interface.cpp
|
||||
|
||||
CLEANFILES = *~ *.loT
|
||||
|
||||
# Clean target for the generated stuff
|
||||
clean-local:
|
||||
rm -rf $(UNODIR) $(INCDIR) $(CLEANFILES)
|
||||
|
||||
UNOTYPES = \
|
||||
com.sun.star.uno.XComponentContext \
|
||||
com.sun.star.lang.XMultiServiceFactory \
|
||||
com.sun.star.lang.XSingleComponentFactory \
|
||||
com.sun.star.lang.XComponent \
|
||||
com.sun.star.lang.XServiceInfo \
|
||||
com.sun.star.bridge.XUnoUrlResolver \
|
||||
com.sun.star.frame.XDesktop \
|
||||
com.sun.star.frame.XComponentLoader \
|
||||
com.sun.star.text.ControlCharacter \
|
||||
com.sun.star.text.XDocumentIndexesSupplier \
|
||||
com.sun.star.text.XDocumentIndex \
|
||||
com.sun.star.text.XTextDocument \
|
||||
com.sun.star.text.XTextField \
|
||||
com.sun.star.text.XTextViewCursor \
|
||||
com.sun.star.text.XTextViewCursorSupplier \
|
||||
com.sun.star.text.BibliographyDataType \
|
||||
com.sun.star.container.XIndexAccess \
|
||||
com.sun.star.container.XHierarchicalNameAccess \
|
||||
com.sun.star.registry.XSimpleRegistry \
|
||||
com.sun.star.beans.XPropertySet \
|
||||
com.sun.star.sdbc.XRow \
|
||||
com.sun.star.sdbc.XRowSet \
|
||||
com.sun.star.sdbc.XResultSetMetaDataSupplier \
|
||||
com.sun.star.sdbc.XResultSetUpdate \
|
||||
com.sun.star.sdbc.XRowUpdate \
|
||||
com.sun.star.sdbc.SQLException \
|
||||
com.sun.star.sdb.CommandType \
|
||||
com.sun.star.document.XEventListener \
|
||||
com.sun.star.document.XEventBroadcaster \
|
||||
com.sun.star.uno.XWeak \
|
||||
com.sun.star.uno.XAggregation \
|
||||
com.sun.star.lang.XTypeProvider
|
||||
|
||||
|
||||
UNOHPPFILES = $(foreach t,$(UNOTYPES),$(UNODIR)/$(subst .,/,$(t)).hpp)
|
||||
|
||||
interface.o: $(UNOHPPFILES) $(INCDIR)
|
||||
|
||||
$(INCDIR):
|
||||
mkdir -p $(INCDIR)
|
||||
|
||||
$(UNODIR):
|
||||
mkdir -p $(UNODIR)
|
||||
|
||||
$(UNOHPPFILES): $(UNODIR)
|
||||
$(CPPUMAKER) -Gc -BUCR -O$(UNODIR) $(foreach t,$(UNOTYPES),-T$(t)) \
|
||||
$(OFFICE_registry)
|
||||
|
@ -0,0 +1,34 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### collections (static) ######################
|
||||
|
||||
tde_add_library( collections STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
winecollection.cpp stampcollection.cpp
|
||||
comicbookcollection.cpp cardcollection.cpp coincollection.cpp
|
||||
bibtexcollection.cpp musiccollection.cpp videocollection.cpp
|
||||
bookcollection.cpp gamecollection.cpp filecatalog.cpp
|
||||
boardgamecollection.cpp
|
||||
)
|
@ -1,32 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
noinst_LIBRARIES = libcollections.a
|
||||
|
||||
AM_CPPFLAGS = $(all_includes)
|
||||
|
||||
libcollections_a_METASOURCES = AUTO
|
||||
|
||||
libcollections_a_SOURCES = winecollection.cpp stampcollection.cpp \
|
||||
comicbookcollection.cpp cardcollection.cpp coincollection.cpp \
|
||||
bibtexcollection.cpp musiccollection.cpp videocollection.cpp \
|
||||
bookcollection.cpp gamecollection.cpp filecatalog.cpp \
|
||||
boardgamecollection.cpp
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
|
||||
KDE_OPTIONS = noautodist
|
||||
|
||||
CLEANFILES = *~ *.loT
|
||||
|
||||
EXTRA_DIST = \
|
||||
bookcollection.cpp bookcollection.h \
|
||||
videocollection.cpp videocollection.h \
|
||||
musiccollection.cpp musiccollection.h \
|
||||
bibtexcollection.cpp bibtexcollection.h \
|
||||
coincollection.cpp coincollection.h \
|
||||
cardcollection.cpp cardcollection.h \
|
||||
comicbookcollection.cpp comicbookcollection.h \
|
||||
stampcollection.cpp stampcollection.h \
|
||||
winecollection.cpp winecollection.h \
|
||||
gamecollection.h gamecollection.cpp \
|
||||
filecatalog.h filecatalog.cpp \
|
||||
boardgamecollection.h boardgamecollection.cpp
|
@ -0,0 +1,34 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### commands (static) #########################
|
||||
|
||||
tde_add_library( commands STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
addentries.cpp modifyentries.cpp removeentries.cpp
|
||||
addloans.cpp modifyloans.cpp removeloans.cpp
|
||||
fieldcommand.cpp filtercommand.cpp reorderfields.cpp
|
||||
group.cpp collectioncommand.cpp renamecollection.cpp
|
||||
updateentries.cpp
|
||||
)
|
@ -1,29 +0,0 @@
|
||||
AM_CPPFLAGS = $(all_includes)
|
||||
|
||||
noinst_LIBRARIES = libcommands.a
|
||||
libcommands_a_SOURCES = \
|
||||
addentries.cpp modifyentries.cpp removeentries.cpp \
|
||||
addloans.cpp modifyloans.cpp removeloans.cpp \
|
||||
fieldcommand.cpp filtercommand.cpp reorderfields.cpp \
|
||||
group.cpp collectioncommand.cpp renamecollection.cpp \
|
||||
updateentries.cpp
|
||||
|
||||
libcommands_a_METASOURCES = AUTO
|
||||
KDE_OPTIONS = noautodist
|
||||
EXTRA_DIST = \
|
||||
addentries.h addentries.cpp \
|
||||
modifyentries.h modifyentries.cpp \
|
||||
removeentries.h removeentries.cpp \
|
||||
addloans.h addloans.cpp \
|
||||
modifyloans.h modifyloans.cpp \
|
||||
removeloans.h removeloans.cpp \
|
||||
fieldcommand.h fieldcommand.cpp \
|
||||
filtercommand.h filtercommand.cpp \
|
||||
reorderfields.h reorderfields.cpp \
|
||||
group.h group.cpp \
|
||||
collectioncommand.h collectioncommand.cpp \
|
||||
renamecollection.h renamecollection.cpp \
|
||||
updateentries.h updateentries.cpp
|
||||
|
||||
|
||||
CLEANFILES = *~
|
@ -0,0 +1,56 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### core (static) #############################
|
||||
|
||||
set( target core )
|
||||
|
||||
set( ${target}_SRCS
|
||||
dcopinterface.cpp dcopinterface.skel drophandler.cpp
|
||||
netaccess.cpp tellico_config.kcfgc tellico_config_addons.cpp
|
||||
)
|
||||
|
||||
tde_save( KDE3_DCOPIDL_EXECUTABLE )
|
||||
set( KDE3_DCOPIDL_EXECUTABLE ${KDE3_DCOPIDLNG_EXECUTABLE} )
|
||||
tde_add_dcop_skels( ${target}_SRCS )
|
||||
tde_restore( KDE3_DCOPIDL_EXECUTABLE )
|
||||
|
||||
tde_add_library( ${target} STATIC_PIC AUTOMOC
|
||||
SOURCES ${${target}_SRCS}
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
install(
|
||||
FILES tellico_config.kcfg
|
||||
DESTINATION ${KCFG_INSTALL_DIR}
|
||||
)
|
||||
install(
|
||||
FILES tellico-rename.upd tellico.upd
|
||||
DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update
|
||||
)
|
||||
install(
|
||||
PROGRAMS tellico-1-3-update.pl
|
||||
DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update
|
||||
)
|
@ -1,29 +0,0 @@
|
||||
AM_CPPFLAGS = $(all_includes)
|
||||
|
||||
noinst_LIBRARIES = libcore.a
|
||||
libcore_a_SOURCES = dcopinterface.cpp dcopinterface.skel drophandler.cpp \
|
||||
netaccess.cpp tellico_config.cpp tellico_config.kcfgc tellico_config_addons.cpp
|
||||
|
||||
libcore_a_METASOURCES = AUTO
|
||||
|
||||
KDE_OPTIONS = noautodist
|
||||
|
||||
EXTRA_DIST = \
|
||||
tellico_config.kcfg tellico_config.kcfgc \
|
||||
tellico_config_addons.h tellico_config_addons.cpp \
|
||||
dcopinterface.h dcopinterface.cpp \
|
||||
netaccess.h netaccess.cpp \
|
||||
drophandler.h drophandler.cpp \
|
||||
tellico-rename.upd tellico.upd \
|
||||
tellico-1-3-update.pl
|
||||
|
||||
dcopinterface_DCOPIDLNG = ALL
|
||||
|
||||
kde_kcfg_DATA = tellico_config.kcfg
|
||||
|
||||
updatedir = $(kde_datadir)/tdeconf_update
|
||||
update_DATA = tellico-rename.upd tellico.upd
|
||||
update_SCRIPTS = tellico-1-3-update.pl
|
||||
|
||||
CLEANFILES = *~ *.loT tellico_config.h tellico_config.cpp
|
||||
|
@ -1,455 +0,0 @@
|
||||
// This file is generated by tdeconfig_compiler from tellico_config.kcfg.
|
||||
// All changes you do to this file will be lost.
|
||||
|
||||
#include "tellico_config.h"
|
||||
|
||||
#include <kstaticdeleter.h>
|
||||
|
||||
using namespace Tellico;
|
||||
|
||||
Config *Config::mSelf = 0;
|
||||
static KStaticDeleter<Config> staticConfigDeleter;
|
||||
|
||||
Config *Config::self()
|
||||
{
|
||||
if ( !mSelf ) {
|
||||
staticConfigDeleter.setObject( mSelf, new Config() );
|
||||
mSelf->readConfig();
|
||||
}
|
||||
|
||||
return mSelf;
|
||||
}
|
||||
|
||||
Config::Config( )
|
||||
: TDEConfigSkeleton( TQString::fromLatin1( "tellicorc" ) )
|
||||
{
|
||||
mSelf = this;
|
||||
setCurrentGroup( TQString::fromLatin1( "TipOfDay" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemBool *itemShowTipOfDay;
|
||||
itemShowTipOfDay = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RunOnStart" ), mShowTipOfDay, true );
|
||||
addItem( itemShowTipOfDay, TQString::fromLatin1( "showTipOfDay" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Main Window Options" ) );
|
||||
|
||||
TQValueList<int> defaultMainSplitterSizes;
|
||||
|
||||
TDEConfigSkeleton::ItemIntList *itemMainSplitterSizes;
|
||||
itemMainSplitterSizes = new TDEConfigSkeleton::ItemIntList( currentGroup(), TQString::fromLatin1( "Main Splitter Sizes" ), mMainSplitterSizes, defaultMainSplitterSizes );
|
||||
addItem( itemMainSplitterSizes, TQString::fromLatin1( "MainSplitterSizes" ) );
|
||||
TQValueList<int> defaultSecondarySplitterSizes;
|
||||
|
||||
TDEConfigSkeleton::ItemIntList *itemSecondarySplitterSizes;
|
||||
itemSecondarySplitterSizes = new TDEConfigSkeleton::ItemIntList( currentGroup(), TQString::fromLatin1( "Secondary Splitter Sizes" ), mSecondarySplitterSizes, defaultSecondarySplitterSizes );
|
||||
addItem( itemSecondarySplitterSizes, TQString::fromLatin1( "SecondarySplitterSizes" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Detailed View Options" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemInt *itemMaxPixmapWidth;
|
||||
itemMaxPixmapWidth = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaxPixmapWidth" ), mMaxPixmapWidth, 50 );
|
||||
addItem( itemMaxPixmapWidth, TQString::fromLatin1( "MaxPixmapWidth" ) );
|
||||
TDEConfigSkeleton::ItemInt *itemMaxPixmapHeight;
|
||||
itemMaxPixmapHeight = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaxPixmapHeight" ), mMaxPixmapHeight, 50 );
|
||||
addItem( itemMaxPixmapHeight, TQString::fromLatin1( "MaxPixmapHeight" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Group View Options" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemInt *itemGroupViewSortColumn;
|
||||
itemGroupViewSortColumn = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "SortColumn" ), mGroupViewSortColumn, 0 );
|
||||
addItem( itemGroupViewSortColumn, TQString::fromLatin1( "groupViewSortColumn" ) );
|
||||
TDEConfigSkeleton::ItemBool *itemGroupViewSortAscending;
|
||||
itemGroupViewSortAscending = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SortAscending" ), mGroupViewSortAscending, true );
|
||||
addItem( itemGroupViewSortAscending, TQString::fromLatin1( "groupViewSortAscending" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Filter View Options" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemInt *itemFilterViewSortColumn;
|
||||
itemFilterViewSortColumn = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "SortColumn" ), mFilterViewSortColumn, 0 );
|
||||
addItem( itemFilterViewSortColumn, TQString::fromLatin1( "filterViewSortColumn" ) );
|
||||
TDEConfigSkeleton::ItemBool *itemFilterViewSortAscending;
|
||||
itemFilterViewSortAscending = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SortAscending" ), mFilterViewSortAscending, true );
|
||||
addItem( itemFilterViewSortAscending, TQString::fromLatin1( "filterViewSortAscending" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Loan View Options" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemInt *itemLoanViewSortColumn;
|
||||
itemLoanViewSortColumn = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "SortColumn" ), mLoanViewSortColumn, 0 );
|
||||
addItem( itemLoanViewSortColumn, TQString::fromLatin1( "loanViewSortColumn" ) );
|
||||
TDEConfigSkeleton::ItemBool *itemLoanViewSortAscending;
|
||||
itemLoanViewSortAscending = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SortAscending" ), mLoanViewSortAscending, true );
|
||||
addItem( itemLoanViewSortAscending, TQString::fromLatin1( "loanViewSortAscending" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Export Options - Bibtex" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemBool *itemUseBraces;
|
||||
itemUseBraces = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Use Braces" ), mUseBraces, true );
|
||||
addItem( itemUseBraces, TQString::fromLatin1( "UseBraces" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "General Options" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemBool *itemShowGroupWidget;
|
||||
itemShowGroupWidget = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show Group Widget" ), mShowGroupWidget, true );
|
||||
addItem( itemShowGroupWidget, TQString::fromLatin1( "ShowGroupWidget" ) );
|
||||
TDEConfigSkeleton::ItemBool *itemShowEditWidget;
|
||||
itemShowEditWidget = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show Edit Widget" ), mShowEditWidget, false );
|
||||
addItem( itemShowEditWidget, TQString::fromLatin1( "ShowEditWidget" ) );
|
||||
TDEConfigSkeleton::ItemBool *itemShowEntryView;
|
||||
itemShowEntryView = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show Entry View" ), mShowEntryView, true );
|
||||
addItem( itemShowEntryView, TQString::fromLatin1( "ShowEntryView" ) );
|
||||
TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesImageLocation;
|
||||
{
|
||||
TDEConfigSkeleton::ItemEnum::Choice choice;
|
||||
choice.name = TQString::fromLatin1( "ImagesInFile" );
|
||||
valuesImageLocation.append( choice );
|
||||
}
|
||||
{
|
||||
TDEConfigSkeleton::ItemEnum::Choice choice;
|
||||
choice.name = TQString::fromLatin1( "ImagesInAppDir" );
|
||||
valuesImageLocation.append( choice );
|
||||
}
|
||||
{
|
||||
TDEConfigSkeleton::ItemEnum::Choice choice;
|
||||
choice.name = TQString::fromLatin1( "ImagesInLocalDir" );
|
||||
valuesImageLocation.append( choice );
|
||||
}
|
||||
TDEConfigSkeleton::ItemEnum *itemImageLocation;
|
||||
itemImageLocation = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "Image Location" ), mImageLocation, valuesImageLocation, ImagesInFile );
|
||||
addItem( itemImageLocation, TQString::fromLatin1( "ImageLocation" ) );
|
||||
TDEConfigSkeleton::ItemBool *itemAskWriteImagesInFile;
|
||||
itemAskWriteImagesInFile = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Ask Write Images In File" ), mAskWriteImagesInFile, true );
|
||||
addItem( itemAskWriteImagesInFile, TQString::fromLatin1( "AskWriteImagesInFile" ) );
|
||||
TDEConfigSkeleton::ItemBool *itemReopenLastFile;
|
||||
itemReopenLastFile = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Reopen Last File" ), mReopenLastFile, true );
|
||||
addItem( itemReopenLastFile, TQString::fromLatin1( "ReopenLastFile" ) );
|
||||
TDEConfigSkeleton::ItemBool *itemAutoCapitalization;
|
||||
itemAutoCapitalization = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Auto Capitalization" ), mAutoCapitalization, true );
|
||||
addItem( itemAutoCapitalization, TQString::fromLatin1( "AutoCapitalization" ) );
|
||||
TDEConfigSkeleton::ItemBool *itemAutoFormat;
|
||||
itemAutoFormat = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Auto Format" ), mAutoFormat, true );
|
||||
addItem( itemAutoFormat, TQString::fromLatin1( "AutoFormat" ) );
|
||||
TDEConfigSkeleton::ItemString *itemLastOpenFile;
|
||||
itemLastOpenFile = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Last Open File" ), mLastOpenFile );
|
||||
addItem( itemLastOpenFile, TQString::fromLatin1( "LastOpenFile" ) );
|
||||
TDEConfigSkeleton::ItemString *itemNoCapitalizationString;
|
||||
itemNoCapitalizationString = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "No Capitalization" ), mNoCapitalizationString, i18n("a,an,and,as,at,but,by,for,from,in,into,nor,of,off,on,onto,or,out,over,the,to,up,with") );
|
||||
addItem( itemNoCapitalizationString, TQString::fromLatin1( "noCapitalizationString" ) );
|
||||
TDEConfigSkeleton::ItemString *itemArticlesString;
|
||||
itemArticlesString = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Articles" ), mArticlesString, i18n("the") );
|
||||
addItem( itemArticlesString, TQString::fromLatin1( "articlesString" ) );
|
||||
TDEConfigSkeleton::ItemString *itemNameSuffixesString;
|
||||
itemNameSuffixesString = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Name Suffixes" ), mNameSuffixesString, i18n("jr.,jr,iii,iv") );
|
||||
addItem( itemNameSuffixesString, TQString::fromLatin1( "nameSuffixesString" ) );
|
||||
TDEConfigSkeleton::ItemString *itemSurnamePrefixesString;
|
||||
itemSurnamePrefixesString = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Surname Prefixes" ), mSurnamePrefixesString, i18n("de,van,der,van der,von") );
|
||||
addItem( itemSurnamePrefixesString, TQString::fromLatin1( "surnamePrefixesString" ) );
|
||||
TDEConfigSkeleton::ItemInt *itemMaxIconSize;
|
||||
itemMaxIconSize = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Max Icon Size" ), mMaxIconSize, 96 );
|
||||
addItem( itemMaxIconSize, TQString::fromLatin1( "MaxIconSize" ) );
|
||||
TDEConfigSkeleton::ItemInt *itemImageCacheSize;
|
||||
itemImageCacheSize = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Image Cache Size" ), mImageCacheSize, (10 * 1024 * 1024) );
|
||||
addItem( itemImageCacheSize, TQString::fromLatin1( "ImageCacheSize" ) );
|
||||
TDEConfigSkeleton::ItemUInt *itemMaxCustomURLSettings;
|
||||
itemMaxCustomURLSettings = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "Max Custom URL Settings" ), mMaxCustomURLSettings, 9 );
|
||||
addItem( itemMaxCustomURLSettings, TQString::fromLatin1( "MaxCustomURLSettings" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Printing" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemBool *itemPrintFieldHeaders;
|
||||
itemPrintFieldHeaders = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Print Field Headers" ), mPrintFieldHeaders, true );
|
||||
addItem( itemPrintFieldHeaders, TQString::fromLatin1( "PrintFieldHeaders" ) );
|
||||
TDEConfigSkeleton::ItemBool *itemPrintFormatted;
|
||||
itemPrintFormatted = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Print Formatted" ), mPrintFormatted, true );
|
||||
addItem( itemPrintFormatted, TQString::fromLatin1( "PrintFormatted" ) );
|
||||
TDEConfigSkeleton::ItemBool *itemPrintGrouped;
|
||||
itemPrintGrouped = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Print Grouped" ), mPrintGrouped, true );
|
||||
addItem( itemPrintGrouped, TQString::fromLatin1( "PrintGrouped" ) );
|
||||
TDEConfigSkeleton::ItemInt *itemMaxImageWidth;
|
||||
itemMaxImageWidth = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Max Image Width" ), mMaxImageWidth, 50 );
|
||||
addItem( itemMaxImageWidth, TQString::fromLatin1( "MaxImageWidth" ) );
|
||||
TDEConfigSkeleton::ItemInt *itemMaxImageHeight;
|
||||
itemMaxImageHeight = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Max Image Height" ), mMaxImageHeight, 50 );
|
||||
addItem( itemMaxImageHeight, TQString::fromLatin1( "MaxImageHeight" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Options - book" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemString *itemTemplateBook;
|
||||
itemTemplateBook = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateBook, TQString::fromLatin1( "Fancy" ) );
|
||||
addItem( itemTemplateBook, TQString::fromLatin1( "templateBook" ) );
|
||||
TDEConfigSkeleton::ItemFont *itemFontBook;
|
||||
itemFontBook = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontBook, TDEGlobalSettings::generalFont() );
|
||||
addItem( itemFontBook, TQString::fromLatin1( "fontBook" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemBaseColorBook;
|
||||
itemBaseColorBook = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorBook, TDEGlobalSettings::baseColor() );
|
||||
addItem( itemBaseColorBook, TQString::fromLatin1( "baseColorBook" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemTextColorBook;
|
||||
itemTextColorBook = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorBook, TDEGlobalSettings::textColor() );
|
||||
addItem( itemTextColorBook, TQString::fromLatin1( "textColorBook" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorBook;
|
||||
itemHighlightedBaseColorBook = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorBook, TDEGlobalSettings::highlightColor() );
|
||||
addItem( itemHighlightedBaseColorBook, TQString::fromLatin1( "highlightedBaseColorBook" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedTextColorBook;
|
||||
itemHighlightedTextColorBook = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorBook, TDEGlobalSettings::highlightedTextColor() );
|
||||
addItem( itemHighlightedTextColorBook, TQString::fromLatin1( "highlightedTextColorBook" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Options - video" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemString *itemTemplateVideo;
|
||||
itemTemplateVideo = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateVideo, TQString::fromLatin1( "Video" ) );
|
||||
addItem( itemTemplateVideo, TQString::fromLatin1( "templateVideo" ) );
|
||||
TDEConfigSkeleton::ItemFont *itemFontVideo;
|
||||
itemFontVideo = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontVideo, TDEGlobalSettings::generalFont() );
|
||||
addItem( itemFontVideo, TQString::fromLatin1( "fontVideo" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemBaseColorVideo;
|
||||
itemBaseColorVideo = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorVideo, TDEGlobalSettings::baseColor() );
|
||||
addItem( itemBaseColorVideo, TQString::fromLatin1( "baseColorVideo" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemTextColorVideo;
|
||||
itemTextColorVideo = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorVideo, TDEGlobalSettings::textColor() );
|
||||
addItem( itemTextColorVideo, TQString::fromLatin1( "textColorVideo" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorVideo;
|
||||
itemHighlightedBaseColorVideo = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorVideo, TDEGlobalSettings::highlightColor() );
|
||||
addItem( itemHighlightedBaseColorVideo, TQString::fromLatin1( "highlightedBaseColorVideo" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedTextColorVideo;
|
||||
itemHighlightedTextColorVideo = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorVideo, TDEGlobalSettings::highlightedTextColor() );
|
||||
addItem( itemHighlightedTextColorVideo, TQString::fromLatin1( "highlightedTextColorVideo" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Options - album" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemString *itemTemplateAlbum;
|
||||
itemTemplateAlbum = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateAlbum, TQString::fromLatin1( "Album" ) );
|
||||
addItem( itemTemplateAlbum, TQString::fromLatin1( "templateAlbum" ) );
|
||||
TDEConfigSkeleton::ItemFont *itemFontAlbum;
|
||||
itemFontAlbum = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontAlbum, TDEGlobalSettings::generalFont() );
|
||||
addItem( itemFontAlbum, TQString::fromLatin1( "fontAlbum" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemBaseColorAlbum;
|
||||
itemBaseColorAlbum = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorAlbum, TDEGlobalSettings::baseColor() );
|
||||
addItem( itemBaseColorAlbum, TQString::fromLatin1( "baseColorAlbum" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemTextColorAlbum;
|
||||
itemTextColorAlbum = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorAlbum, TDEGlobalSettings::textColor() );
|
||||
addItem( itemTextColorAlbum, TQString::fromLatin1( "textColorAlbum" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorAlbum;
|
||||
itemHighlightedBaseColorAlbum = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorAlbum, TDEGlobalSettings::highlightColor() );
|
||||
addItem( itemHighlightedBaseColorAlbum, TQString::fromLatin1( "highlightedBaseColorAlbum" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedTextColorAlbum;
|
||||
itemHighlightedTextColorAlbum = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorAlbum, TDEGlobalSettings::highlightedTextColor() );
|
||||
addItem( itemHighlightedTextColorAlbum, TQString::fromLatin1( "highlightedTextColorAlbum" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Options - bibtex" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemPath *itemLyxpipe;
|
||||
itemLyxpipe = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "lyxpipe" ), mLyxpipe, TQString::fromLatin1( "$HOME/.lyx/lyxpipe" ) );
|
||||
addItem( itemLyxpipe, TQString::fromLatin1( "lyxpipe" ) );
|
||||
TDEConfigSkeleton::ItemString *itemTemplateBibtex;
|
||||
itemTemplateBibtex = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateBibtex, TQString::fromLatin1( "Fancy" ) );
|
||||
addItem( itemTemplateBibtex, TQString::fromLatin1( "templateBibtex" ) );
|
||||
TDEConfigSkeleton::ItemFont *itemFontBibtex;
|
||||
itemFontBibtex = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontBibtex, TDEGlobalSettings::generalFont() );
|
||||
addItem( itemFontBibtex, TQString::fromLatin1( "fontBibtex" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemBaseColorBibtex;
|
||||
itemBaseColorBibtex = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorBibtex, TDEGlobalSettings::baseColor() );
|
||||
addItem( itemBaseColorBibtex, TQString::fromLatin1( "baseColorBibtex" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemTextColorBibtex;
|
||||
itemTextColorBibtex = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorBibtex, TDEGlobalSettings::textColor() );
|
||||
addItem( itemTextColorBibtex, TQString::fromLatin1( "textColorBibtex" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorBibtex;
|
||||
itemHighlightedBaseColorBibtex = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorBibtex, TDEGlobalSettings::highlightColor() );
|
||||
addItem( itemHighlightedBaseColorBibtex, TQString::fromLatin1( "highlightedBaseColorBibtex" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedTextColorBibtex;
|
||||
itemHighlightedTextColorBibtex = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorBibtex, TDEGlobalSettings::highlightedTextColor() );
|
||||
addItem( itemHighlightedTextColorBibtex, TQString::fromLatin1( "highlightedTextColorBibtex" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Options - comic" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemString *itemTemplateComicBook;
|
||||
itemTemplateComicBook = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateComicBook, TQString::fromLatin1( "Fancy" ) );
|
||||
addItem( itemTemplateComicBook, TQString::fromLatin1( "templateComicBook" ) );
|
||||
TDEConfigSkeleton::ItemFont *itemFontComicBook;
|
||||
itemFontComicBook = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontComicBook, TDEGlobalSettings::generalFont() );
|
||||
addItem( itemFontComicBook, TQString::fromLatin1( "fontComicBook" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemBaseColorComicBook;
|
||||
itemBaseColorComicBook = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorComicBook, TDEGlobalSettings::baseColor() );
|
||||
addItem( itemBaseColorComicBook, TQString::fromLatin1( "baseColorComicBook" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemTextColorComicBook;
|
||||
itemTextColorComicBook = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorComicBook, TDEGlobalSettings::textColor() );
|
||||
addItem( itemTextColorComicBook, TQString::fromLatin1( "textColorComicBook" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorComicBook;
|
||||
itemHighlightedBaseColorComicBook = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorComicBook, TDEGlobalSettings::highlightColor() );
|
||||
addItem( itemHighlightedBaseColorComicBook, TQString::fromLatin1( "highlightedBaseColorComicBook" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedTextColorComicBook;
|
||||
itemHighlightedTextColorComicBook = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorComicBook, TDEGlobalSettings::highlightedTextColor() );
|
||||
addItem( itemHighlightedTextColorComicBook, TQString::fromLatin1( "highlightedTextColorComicBook" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Options - wine" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemString *itemTemplateWine;
|
||||
itemTemplateWine = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateWine, TQString::fromLatin1( "Fancy" ) );
|
||||
addItem( itemTemplateWine, TQString::fromLatin1( "templateWine" ) );
|
||||
TDEConfigSkeleton::ItemFont *itemFontWine;
|
||||
itemFontWine = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontWine, TDEGlobalSettings::generalFont() );
|
||||
addItem( itemFontWine, TQString::fromLatin1( "fontWine" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemBaseColorWine;
|
||||
itemBaseColorWine = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorWine, TDEGlobalSettings::baseColor() );
|
||||
addItem( itemBaseColorWine, TQString::fromLatin1( "baseColorWine" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemTextColorWine;
|
||||
itemTextColorWine = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorWine, TDEGlobalSettings::textColor() );
|
||||
addItem( itemTextColorWine, TQString::fromLatin1( "textColorWine" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorWine;
|
||||
itemHighlightedBaseColorWine = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorWine, TDEGlobalSettings::highlightColor() );
|
||||
addItem( itemHighlightedBaseColorWine, TQString::fromLatin1( "highlightedBaseColorWine" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedTextColorWine;
|
||||
itemHighlightedTextColorWine = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorWine, TDEGlobalSettings::highlightedTextColor() );
|
||||
addItem( itemHighlightedTextColorWine, TQString::fromLatin1( "highlightedTextColorWine" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Options - coin" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemString *itemTemplateCoin;
|
||||
itemTemplateCoin = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateCoin, TQString::fromLatin1( "Fancy" ) );
|
||||
addItem( itemTemplateCoin, TQString::fromLatin1( "templateCoin" ) );
|
||||
TDEConfigSkeleton::ItemFont *itemFontCoin;
|
||||
itemFontCoin = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontCoin, TDEGlobalSettings::generalFont() );
|
||||
addItem( itemFontCoin, TQString::fromLatin1( "fontCoin" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemBaseColorCoin;
|
||||
itemBaseColorCoin = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorCoin, TDEGlobalSettings::baseColor() );
|
||||
addItem( itemBaseColorCoin, TQString::fromLatin1( "baseColorCoin" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemTextColorCoin;
|
||||
itemTextColorCoin = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorCoin, TDEGlobalSettings::textColor() );
|
||||
addItem( itemTextColorCoin, TQString::fromLatin1( "textColorCoin" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorCoin;
|
||||
itemHighlightedBaseColorCoin = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorCoin, TDEGlobalSettings::highlightColor() );
|
||||
addItem( itemHighlightedBaseColorCoin, TQString::fromLatin1( "highlightedBaseColorCoin" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedTextColorCoin;
|
||||
itemHighlightedTextColorCoin = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorCoin, TDEGlobalSettings::highlightedTextColor() );
|
||||
addItem( itemHighlightedTextColorCoin, TQString::fromLatin1( "highlightedTextColorCoin" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Options - stamp" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemString *itemTemplateStamp;
|
||||
itemTemplateStamp = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateStamp, TQString::fromLatin1( "Fancy" ) );
|
||||
addItem( itemTemplateStamp, TQString::fromLatin1( "templateStamp" ) );
|
||||
TDEConfigSkeleton::ItemFont *itemFontStamp;
|
||||
itemFontStamp = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontStamp, TDEGlobalSettings::generalFont() );
|
||||
addItem( itemFontStamp, TQString::fromLatin1( "fontStamp" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemBaseColorStamp;
|
||||
itemBaseColorStamp = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorStamp, TDEGlobalSettings::baseColor() );
|
||||
addItem( itemBaseColorStamp, TQString::fromLatin1( "baseColorStamp" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemTextColorStamp;
|
||||
itemTextColorStamp = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorStamp, TDEGlobalSettings::textColor() );
|
||||
addItem( itemTextColorStamp, TQString::fromLatin1( "textColorStamp" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorStamp;
|
||||
itemHighlightedBaseColorStamp = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorStamp, TDEGlobalSettings::highlightColor() );
|
||||
addItem( itemHighlightedBaseColorStamp, TQString::fromLatin1( "highlightedBaseColorStamp" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedTextColorStamp;
|
||||
itemHighlightedTextColorStamp = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorStamp, TDEGlobalSettings::highlightedTextColor() );
|
||||
addItem( itemHighlightedTextColorStamp, TQString::fromLatin1( "highlightedTextColorStamp" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Options - card" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemString *itemTemplateCard;
|
||||
itemTemplateCard = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateCard, TQString::fromLatin1( "Fancy" ) );
|
||||
addItem( itemTemplateCard, TQString::fromLatin1( "templateCard" ) );
|
||||
TDEConfigSkeleton::ItemFont *itemFontCard;
|
||||
itemFontCard = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontCard, TDEGlobalSettings::generalFont() );
|
||||
addItem( itemFontCard, TQString::fromLatin1( "fontCard" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemBaseColorCard;
|
||||
itemBaseColorCard = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorCard, TDEGlobalSettings::baseColor() );
|
||||
addItem( itemBaseColorCard, TQString::fromLatin1( "baseColorCard" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemTextColorCard;
|
||||
itemTextColorCard = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorCard, TDEGlobalSettings::textColor() );
|
||||
addItem( itemTextColorCard, TQString::fromLatin1( "textColorCard" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorCard;
|
||||
itemHighlightedBaseColorCard = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorCard, TDEGlobalSettings::highlightColor() );
|
||||
addItem( itemHighlightedBaseColorCard, TQString::fromLatin1( "highlightedBaseColorCard" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedTextColorCard;
|
||||
itemHighlightedTextColorCard = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorCard, TDEGlobalSettings::highlightedTextColor() );
|
||||
addItem( itemHighlightedTextColorCard, TQString::fromLatin1( "highlightedTextColorCard" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Options - game" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemString *itemTemplateGame;
|
||||
itemTemplateGame = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateGame, TQString::fromLatin1( "Fancy" ) );
|
||||
addItem( itemTemplateGame, TQString::fromLatin1( "templateGame" ) );
|
||||
TDEConfigSkeleton::ItemFont *itemFontGame;
|
||||
itemFontGame = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontGame, TDEGlobalSettings::generalFont() );
|
||||
addItem( itemFontGame, TQString::fromLatin1( "fontGame" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemBaseColorGame;
|
||||
itemBaseColorGame = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorGame, TDEGlobalSettings::baseColor() );
|
||||
addItem( itemBaseColorGame, TQString::fromLatin1( "baseColorGame" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemTextColorGame;
|
||||
itemTextColorGame = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorGame, TDEGlobalSettings::textColor() );
|
||||
addItem( itemTextColorGame, TQString::fromLatin1( "textColorGame" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorGame;
|
||||
itemHighlightedBaseColorGame = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorGame, TDEGlobalSettings::highlightColor() );
|
||||
addItem( itemHighlightedBaseColorGame, TQString::fromLatin1( "highlightedBaseColorGame" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedTextColorGame;
|
||||
itemHighlightedTextColorGame = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorGame, TDEGlobalSettings::highlightedTextColor() );
|
||||
addItem( itemHighlightedTextColorGame, TQString::fromLatin1( "highlightedTextColorGame" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Options - file" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemString *itemTemplateFile;
|
||||
itemTemplateFile = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateFile, TQString::fromLatin1( "Fancy" ) );
|
||||
addItem( itemTemplateFile, TQString::fromLatin1( "templateFile" ) );
|
||||
TDEConfigSkeleton::ItemFont *itemFontFile;
|
||||
itemFontFile = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontFile, TDEGlobalSettings::generalFont() );
|
||||
addItem( itemFontFile, TQString::fromLatin1( "fontFile" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemBaseColorFile;
|
||||
itemBaseColorFile = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorFile, TDEGlobalSettings::baseColor() );
|
||||
addItem( itemBaseColorFile, TQString::fromLatin1( "baseColorFile" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemTextColorFile;
|
||||
itemTextColorFile = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorFile, TDEGlobalSettings::textColor() );
|
||||
addItem( itemTextColorFile, TQString::fromLatin1( "textColorFile" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorFile;
|
||||
itemHighlightedBaseColorFile = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorFile, TDEGlobalSettings::highlightColor() );
|
||||
addItem( itemHighlightedBaseColorFile, TQString::fromLatin1( "highlightedBaseColorFile" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedTextColorFile;
|
||||
itemHighlightedTextColorFile = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorFile, TDEGlobalSettings::highlightedTextColor() );
|
||||
addItem( itemHighlightedTextColorFile, TQString::fromLatin1( "highlightedTextColorFile" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Options - boardgame" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemString *itemTemplateBoardGame;
|
||||
itemTemplateBoardGame = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateBoardGame, TQString::fromLatin1( "Fancy" ) );
|
||||
addItem( itemTemplateBoardGame, TQString::fromLatin1( "templateBoardGame" ) );
|
||||
TDEConfigSkeleton::ItemFont *itemFontBoardGame;
|
||||
itemFontBoardGame = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontBoardGame, TDEGlobalSettings::generalFont() );
|
||||
addItem( itemFontBoardGame, TQString::fromLatin1( "fontBoardGame" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemBaseColorBoardGame;
|
||||
itemBaseColorBoardGame = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorBoardGame, TDEGlobalSettings::baseColor() );
|
||||
addItem( itemBaseColorBoardGame, TQString::fromLatin1( "baseColorBoardGame" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemTextColorBoardGame;
|
||||
itemTextColorBoardGame = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorBoardGame, TDEGlobalSettings::textColor() );
|
||||
addItem( itemTextColorBoardGame, TQString::fromLatin1( "textColorBoardGame" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorBoardGame;
|
||||
itemHighlightedBaseColorBoardGame = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorBoardGame, TDEGlobalSettings::highlightColor() );
|
||||
addItem( itemHighlightedBaseColorBoardGame, TQString::fromLatin1( "highlightedBaseColorBoardGame" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedTextColorBoardGame;
|
||||
itemHighlightedTextColorBoardGame = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorBoardGame, TDEGlobalSettings::highlightedTextColor() );
|
||||
addItem( itemHighlightedTextColorBoardGame, TQString::fromLatin1( "highlightedTextColorBoardGame" ) );
|
||||
|
||||
setCurrentGroup( TQString::fromLatin1( "Options - entry" ) );
|
||||
|
||||
TDEConfigSkeleton::ItemString *itemTemplateBase;
|
||||
itemTemplateBase = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateBase, TQString::fromLatin1( "Fancy" ) );
|
||||
addItem( itemTemplateBase, TQString::fromLatin1( "templateBase" ) );
|
||||
TDEConfigSkeleton::ItemFont *itemFontBase;
|
||||
itemFontBase = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontBase, TDEGlobalSettings::generalFont() );
|
||||
addItem( itemFontBase, TQString::fromLatin1( "fontBase" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemBaseColorBase;
|
||||
itemBaseColorBase = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorBase, TDEGlobalSettings::baseColor() );
|
||||
addItem( itemBaseColorBase, TQString::fromLatin1( "baseColorBase" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemTextColorBase;
|
||||
itemTextColorBase = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorBase, TDEGlobalSettings::textColor() );
|
||||
addItem( itemTextColorBase, TQString::fromLatin1( "textColorBase" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorBase;
|
||||
itemHighlightedBaseColorBase = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorBase, TDEGlobalSettings::highlightColor() );
|
||||
addItem( itemHighlightedBaseColorBase, TQString::fromLatin1( "highlightedBaseColorBase" ) );
|
||||
TDEConfigSkeleton::ItemColor *itemHighlightedTextColorBase;
|
||||
itemHighlightedTextColorBase = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorBase, TDEGlobalSettings::highlightedTextColor() );
|
||||
addItem( itemHighlightedTextColorBase, TQString::fromLatin1( "highlightedTextColorBase" ) );
|
||||
}
|
||||
|
||||
Config::~Config()
|
||||
{
|
||||
if ( mSelf == this )
|
||||
staticConfigDeleter.setObject( mSelf, 0, false );
|
||||
}
|
||||
|
@ -0,0 +1,52 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${LIBXML_INCLUDE_DIRS}
|
||||
${LIBXSLT_INCLUDE_DIRS}
|
||||
${YAZ_INCLUDE_DIRS}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### fetch (static) ############################
|
||||
|
||||
tde_add_library( fetch STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
amazonfetcher.cpp animenfofetcher.cpp arxivfetcher.cpp
|
||||
bibsonomyfetcher.cpp citebasefetcher.cpp configwidget.cpp crossreffetcher.cpp
|
||||
discogsfetcher.cpp entrezfetcher.cpp execexternalfetcher.cpp fetcher.cpp fetchmanager.cpp
|
||||
gcstarpluginfetcher.cpp googlescholarfetcher.cpp ibsfetcher.cpp imdbfetcher.cpp
|
||||
isbndbfetcher.cpp messagehandler.cpp srufetcher.cpp yahoofetcher.cpp z3950connection.cpp
|
||||
z3950fetcher.cpp amazonrequest.cpp hmac_sha2.c sha2.c
|
||||
LINK
|
||||
gui-static
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
install(
|
||||
FILES z3950-servers.cfg
|
||||
DESTINATION ${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME}
|
||||
)
|
||||
|
||||
|
||||
##### directories ###############################
|
||||
|
||||
add_subdirectory( scripts )
|
@ -1,48 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
noinst_LIBRARIES = libfetch.a
|
||||
|
||||
AM_CPPFLAGS = $(all_includes) $(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS) $(YAZ_CFLAGS)
|
||||
|
||||
libfetch_a_METASOURCES = AUTO
|
||||
|
||||
libfetch_a_SOURCES = amazonfetcher.cpp animenfofetcher.cpp arxivfetcher.cpp \
|
||||
bibsonomyfetcher.cpp citebasefetcher.cpp configwidget.cpp crossreffetcher.cpp \
|
||||
discogsfetcher.cpp entrezfetcher.cpp execexternalfetcher.cpp fetcher.cpp fetchmanager.cpp \
|
||||
gcstarpluginfetcher.cpp googlescholarfetcher.cpp ibsfetcher.cpp imdbfetcher.cpp \
|
||||
isbndbfetcher.cpp messagehandler.cpp srufetcher.cpp yahoofetcher.cpp z3950connection.cpp \
|
||||
z3950fetcher.cpp amazonrequest.cpp hmac_sha2.c sha2.c
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
|
||||
SUBDIRS = scripts
|
||||
|
||||
CLEANFILES = *~
|
||||
|
||||
KDE_OPTIONS = noautodist
|
||||
|
||||
EXTRA_DIST = \
|
||||
fetcher.h fetcher.cpp fetchmanager.h fetchmanager.cpp \
|
||||
amazonfetcher.h amazonfetcher.cpp z3950fetcher.h z3950fetcher.cpp \
|
||||
imdbfetcher.h imdbfetcher.cpp fetch.h configwidget.h configwidget.cpp \
|
||||
entrezfetcher.h entrezfetcher.cpp \
|
||||
execexternalfetcher.h execexternalfetcher.cpp \
|
||||
messagehandler.h messagehandler.cpp \
|
||||
z3950connection.h z3950connection.cpp \
|
||||
yahoofetcher.h yahoofetcher.cpp \
|
||||
animenfofetcher.h animenfofetcher.cpp \
|
||||
ibsfetcher.h ibsfetcher.cpp \
|
||||
srufetcher.h srufetcher.cpp \
|
||||
isbndbfetcher.h isbndbfetcher.cpp \
|
||||
gcstarpluginfetcher.h gcstarpluginfetcher.cpp \
|
||||
crossreffetcher.h crossreffetcher.cpp \
|
||||
arxivfetcher.h arxivfetcher.cpp \
|
||||
citebasefetcher.h citebasefetcher.cpp \
|
||||
bibsonomyfetcher.h bibsonomyfetcher.cpp \
|
||||
googlescholarfetcher.h googlescholarfetcher.cpp \
|
||||
discogsfetcher.h discogsfetcher.cpp \
|
||||
amazonrequest.h amazonrequest.cpp \
|
||||
hmac_sha2.h hmac_sha2.c sha2.h sha2.c \
|
||||
z3950-servers.cfg
|
||||
|
||||
appdir = $(kde_datadir)/tellico
|
||||
app_DATA = z3950-servers.cfg
|
@ -0,0 +1,29 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
|
||||
##### other data ################################
|
||||
install(
|
||||
FILES
|
||||
fr.allocine.py.spec
|
||||
ministerio_de_cultura.py.spec
|
||||
dark_horse_comics.py.spec
|
||||
boardgamegeek.rb.spec
|
||||
DESTINATION ${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME}/data-sources
|
||||
)
|
||||
install(
|
||||
PROGRAMS
|
||||
fr.allocine.py
|
||||
ministerio_de_cultura.py
|
||||
dark_horse_comics.py
|
||||
boardgamegeek.rb
|
||||
DESTINATION ${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME}/data-sources
|
||||
)
|
@ -1,30 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
|
||||
EXTRA_DIST = \
|
||||
fr.allocine.py fr.allocine.py.spec \
|
||||
ministerio_de_cultura.py ministerio_de_cultura.py.spec \
|
||||
dark_horse_comics.py dark_horse_comics.py.spec \
|
||||
boardgamegeek.rb boardgamegeek.rb.spec
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
|
||||
scriptdir = $(kde_datadir)/tellico/data-sources
|
||||
script_SCRIPTS = \
|
||||
fr.allocine.py \
|
||||
ministerio_de_cultura.py \
|
||||
dark_horse_comics.py \
|
||||
boardgamegeek.rb
|
||||
|
||||
script_DATA = \
|
||||
fr.allocine.py.spec \
|
||||
ministerio_de_cultura.py.spec \
|
||||
dark_horse_comics.py.spec \
|
||||
boardgamegeek.rb.spec
|
||||
|
||||
KDE_OPTIONS = noautodist
|
||||
|
||||
CLEANFILES = *~
|
||||
|
||||
# probably a better way to do this
|
||||
uninstall-hook:
|
||||
-if [ -d $(scriptdir) ]; then rmdir $(scriptdir); fi
|
@ -0,0 +1,36 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### gui (static) ##############################
|
||||
|
||||
tde_add_library( gui STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
combobox.cpp counteditem.cpp datewidget.cpp
|
||||
tabcontrol.cpp kwidgetlister.cpp stringmapdialog.cpp listview.cpp richtextlabel.cpp
|
||||
lineedit.cpp boolfieldwidget.cpp choicefieldwidget.cpp linefieldwidget.cpp
|
||||
numberfieldwidget.cpp parafieldwidget.cpp urlfieldwidget.cpp tablefieldwidget.cpp
|
||||
imagefieldwidget.cpp datefieldwidget.cpp imagewidget.cpp fieldwidget.cpp ratingwidget.cpp
|
||||
ratingfieldwidget.cpp overlaywidget.cpp progress.cpp listboxtext.cpp collectiontypecombo.cpp
|
||||
previewdialog.cpp
|
||||
)
|
@ -1,43 +0,0 @@
|
||||
AM_CPPFLAGS = $(all_includes)
|
||||
|
||||
noinst_LIBRARIES = libgui.a
|
||||
libgui_a_SOURCES = combobox.cpp counteditem.cpp datewidget.cpp \
|
||||
tabcontrol.cpp kwidgetlister.cpp stringmapdialog.cpp listview.cpp richtextlabel.cpp \
|
||||
lineedit.cpp boolfieldwidget.cpp choicefieldwidget.cpp linefieldwidget.cpp \
|
||||
numberfieldwidget.cpp parafieldwidget.cpp urlfieldwidget.cpp tablefieldwidget.cpp \
|
||||
imagefieldwidget.cpp datefieldwidget.cpp imagewidget.cpp fieldwidget.cpp ratingwidget.cpp \
|
||||
ratingfieldwidget.cpp overlaywidget.cpp progress.cpp listboxtext.cpp collectiontypecombo.cpp \
|
||||
previewdialog.cpp
|
||||
|
||||
libgui_a_METASOURCES = AUTO
|
||||
KDE_OPTIONS = noautodist
|
||||
EXTRA_DIST = combobox.h combobox.cpp \
|
||||
counteditem.h counteditem.cpp \
|
||||
datewidget.h datewidget.cpp \
|
||||
kwidgetlister.h kwidgetlister.cpp \
|
||||
listview.h listview.cpp \
|
||||
richtextlabel.h richtextlabel.cpp \
|
||||
stringmapdialog.h stringmapdialog.cpp \
|
||||
tabcontrol.h tabcontrol.cpp \
|
||||
lineedit.h lineedit.cpp \
|
||||
boolfieldwidget.h boolfieldwidget.cpp \
|
||||
choicefieldwidget.h choicefieldwidget.cpp \
|
||||
datefieldwidget.h datefieldwidget.cpp \
|
||||
imagefieldwidget.h imagefieldwidget.cpp \
|
||||
linefieldwidget.h linefieldwidget.cpp \
|
||||
numberfieldwidget.h numberfieldwidget.cpp \
|
||||
parafieldwidget.h parafieldwidget.cpp \
|
||||
tablefieldwidget.h tablefieldwidget.cpp \
|
||||
urlfieldwidget.h urlfieldwidget.cpp \
|
||||
ratingwidget.h ratingwidget.cpp \
|
||||
imagewidget.h imagewidget.cpp \
|
||||
fieldwidget.h fieldwidget.cpp \
|
||||
ratingfieldwidget.h ratingfieldwidget.cpp \
|
||||
overlaywidget.h overlaywidget.cpp \
|
||||
progress.h progress.cpp \
|
||||
listboxtext.h listboxtext.cpp \
|
||||
collectiontypecombo.h collectiontypecombo.cpp \
|
||||
previewdialog.h previewdialog.cpp
|
||||
|
||||
CLEANFILES = *~
|
||||
|
@ -0,0 +1,29 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### newstuff (static) #########################
|
||||
|
||||
tde_add_library( newstuff STATIC_PIC AUTOMOC
|
||||
SOURCES manager.cpp dialog.cpp newscript.cpp
|
||||
)
|
@ -1,18 +0,0 @@
|
||||
noinst_LIBRARIES = libnewstuff.a
|
||||
|
||||
libnewstuff_a_METASOURCES = AUTO
|
||||
|
||||
libnewstuff_a_SOURCES = manager.cpp dialog.cpp newscript.cpp
|
||||
|
||||
CLEANFILES = *~
|
||||
|
||||
EXTRA_DIST = \
|
||||
manager.h manager.cpp \
|
||||
dialog.h dialog.cpp \
|
||||
newscript.h newscript.cpp \
|
||||
providerloader.h providerloader.cpp
|
||||
|
||||
AM_CPPFLAGS = $(all_includes)
|
||||
|
||||
KDE_OPTIONS = noautodist
|
||||
|
@ -0,0 +1,29 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### rtf2html (static) #########################
|
||||
|
||||
tde_add_library( rtf2html STATIC_PIC AUTOMOC
|
||||
SOURCES fmt_opts.cpp rtf2html.cpp rtf_keyword.cpp rtf_table.cpp
|
||||
)
|
@ -1,15 +0,0 @@
|
||||
AM_CPPFLAGS = $(all_includes)
|
||||
|
||||
noinst_LIBRARIES = librtf2html.a
|
||||
librtf2html_a_SOURCES = fmt_opts.cpp rtf2html.cpp rtf_keyword.cpp rtf_table.cpp
|
||||
|
||||
librtf2html_a_METASOURCES = AUTO
|
||||
|
||||
KDE_OPTIONS = noautodist
|
||||
|
||||
EXTRA_DIST = common.h dbg_iter.h fmt_opts.h fmt_opts.cpp \
|
||||
rtf2html.h rtf2html.cpp rtf_keyword.h rtf_keyword.cpp \
|
||||
rtf_table.h rtf_table.cpp rtf_tools.h
|
||||
|
||||
CLEANFILES = *~
|
||||
|
@ -0,0 +1,51 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### test programs #############################
|
||||
|
||||
tde_add_check_executable( isbntest AUTOMOC
|
||||
SOURCES
|
||||
isbntest.cpp
|
||||
../isbnvalidator.cpp ../upcvalidator.cpp
|
||||
LINK
|
||||
tdecore-shared tdeui-shared
|
||||
TEST
|
||||
)
|
||||
|
||||
tde_add_check_executable( latin1test AUTOMOC
|
||||
SOURCES
|
||||
latin1test.cpp
|
||||
LINK
|
||||
tdecore-shared
|
||||
TEST
|
||||
)
|
||||
|
||||
tde_add_check_executable( entitytest AUTOMOC
|
||||
SOURCES
|
||||
entitytest.cpp
|
||||
../tellico_utils.cpp
|
||||
LINK
|
||||
tdecore-shared
|
||||
TEST
|
||||
)
|
@ -1,28 +0,0 @@
|
||||
AM_CPPFLAGS = -I$(srcdir)/.. $(all_includes)
|
||||
|
||||
KDE_OPTIONS = noautodist
|
||||
|
||||
AM_LDFLAGS = $(QT_LDFLAGS) $(KDE_LDFLAGS) $(X_LDFLAGS)
|
||||
|
||||
check_PROGRAMS = isbntest latin1test entitytest
|
||||
|
||||
check: isbntest latin1test entitytest
|
||||
./isbntest
|
||||
./latin1test
|
||||
./entitytest
|
||||
|
||||
METASOURCES = AUTO
|
||||
|
||||
DISTCLEANFILES = *~ *.Po $(CLEANFILES)
|
||||
|
||||
isbntest_SOURCES = isbntest.cpp
|
||||
isbntest_LDADD = ../isbnvalidator.o ../upcvalidator.o $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI)
|
||||
|
||||
latin1test_SOURCES = latin1test.cpp
|
||||
latin1test_LDADD = $(LIB_QT) $(LIB_TDECORE)
|
||||
|
||||
entitytest_SOURCES = entitytest.cpp
|
||||
entitytest_LDADD = ../tellico_utils.o $(LIB_QT) $(LIB_TDECORE)
|
||||
|
||||
#formattest_SOURCES = formattest.cpp
|
||||
#formattest_LDADD = ../core/tellico_config.o ../core/tellico_config_addons.o ../field.o ../tellico_utils.o $(LIB_QT) $(LIB_TDECORE)
|
@ -0,0 +1,64 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}/tde
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### translators (static) ######################
|
||||
|
||||
tde_add_library( translators STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
alexandriaexporter.cpp alexandriaimporter.cpp
|
||||
amcimporter.cpp audiofileimporter.cpp bibtexexporter.cpp bibtexhandler.cpp
|
||||
bibteximporter.cpp bibtexmlexporter.cpp bibtexmlimporter.cpp csvexporter.cpp
|
||||
csvimporter.cpp dcimporter.cpp deliciousimporter.cpp exporter.cpp
|
||||
filelistingimporter.cpp freedb_util.cpp freedbimporter.cpp gcfilmsexporter.cpp
|
||||
gcfilmsimporter.cpp griffithimporter.cpp grs1importer.cpp htmlexporter.cpp libcsv.c
|
||||
onixexporter.cpp pdfimporter.cpp pilotdbexporter.cpp referencerimporter.cpp
|
||||
risimporter.cpp tellico_xml.cpp tellicoimporter.cpp tellicosaximporter.cpp
|
||||
tellicoxmlexporter.cpp tellicoxmlhandler.cpp tellicozipexporter.cpp textimporter.cpp
|
||||
xmlimporter.cpp xmlstatehandler.cpp xsltexporter.cpp xslthandler.cpp xsltimporter.cpp
|
||||
dataimporter.cpp importer.cpp
|
||||
LINK
|
||||
gui-static
|
||||
DEPENDENCIES
|
||||
core-static
|
||||
)
|
||||
|
||||
|
||||
##### other data ################################
|
||||
install(
|
||||
FILES bibtex-translation.xml
|
||||
DESTINATION ${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME}
|
||||
)
|
||||
install(
|
||||
PROGRAMS griffith2tellico.py
|
||||
DESTINATION ${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME}
|
||||
)
|
||||
|
||||
|
||||
##### directories ###############################
|
||||
|
||||
if( NOT WITH_LIBBTPARSE )
|
||||
add_subdirectory( btparse )
|
||||
endif( )
|
||||
add_subdirectory( pilotdb )
|
@ -1,74 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
noinst_LIBRARIES = libtranslators.a
|
||||
|
||||
## AM_CPPFLAGS were found outside tdevelop specific part
|
||||
|
||||
libtranslators_a_METASOURCES = AUTO
|
||||
|
||||
libtranslators_a_SOURCES = alexandriaexporter.cpp alexandriaimporter.cpp \
|
||||
amcimporter.cpp audiofileimporter.cpp bibtexexporter.cpp bibtexhandler.cpp \
|
||||
bibteximporter.cpp bibtexmlexporter.cpp bibtexmlimporter.cpp csvexporter.cpp \
|
||||
csvimporter.cpp dcimporter.cpp deliciousimporter.cpp exporter.cpp \
|
||||
filelistingimporter.cpp freedb_util.cpp freedbimporter.cpp gcfilmsexporter.cpp \
|
||||
gcfilmsimporter.cpp griffithimporter.cpp grs1importer.cpp htmlexporter.cpp libcsv.c \
|
||||
onixexporter.cpp pdfimporter.cpp pilotdbexporter.cpp referencerimporter.cpp \
|
||||
risimporter.cpp tellico_xml.cpp tellicoimporter.cpp tellicosaximporter.cpp \
|
||||
tellicoxmlexporter.cpp tellicoxmlhandler.cpp tellicozipexporter.cpp textimporter.cpp \
|
||||
xmlimporter.cpp xmlstatehandler.cpp xsltexporter.cpp xslthandler.cpp xsltimporter.cpp
|
||||
|
||||
if !USE_LIBBTPARSE
|
||||
SUBDIR_LIBBTPARSE = btparse
|
||||
endif
|
||||
|
||||
SUBDIRS = pilotdb $(SUBDIR_LIBBTPARSE)
|
||||
|
||||
CLEANFILES = *~
|
||||
|
||||
EXTRA_DIST = bibtex-translation.xml \
|
||||
bibtexexporter.cpp tellicoxmlexporter.h pilotdbexporter.cpp \
|
||||
bibtexexporter.h tellicozipexporter.cpp pilotdbexporter.h \
|
||||
bibtexhandler.cpp tellicozipexporter.h \
|
||||
bibtexhandler.h csvexporter.cpp textimporter.cpp \
|
||||
bibteximporter.cpp csvexporter.h textimporter.h \
|
||||
bibteximporter.h csvimporter.cpp xmlimporter.cpp \
|
||||
bibtexmlexporter.cpp csvimporter.h xmlimporter.h \
|
||||
bibtexmlexporter.h xsltexporter.cpp \
|
||||
bibtexmlimporter.cpp dataimporter.h xsltexporter.h \
|
||||
bibtexmlimporter.h exporter.h xslthandler.cpp \
|
||||
tellicoimporter.cpp htmlexporter.cpp xslthandler.h \
|
||||
tellicoimporter.h htmlexporter.h xsltimporter.cpp \
|
||||
tellicoxmlexporter.cpp importer.h xsltimporter.h \
|
||||
audiofileimporter.h audiofileimporter.cpp alexandriaimporter.h \
|
||||
alexandriaimporter.cpp alexandriaexporter.h alexandriaexporter.cpp \
|
||||
freedbimporter.h freedbimporter.cpp freedb_util.cpp \
|
||||
risimporter.h risimporter.cpp tellico_xml.h \
|
||||
tellico_xml.cpp translators.h exporter.cpp \
|
||||
onixexporter.h onixexporter.cpp gcfilmsimporter.h \
|
||||
gcfilmsimporter.cpp gcfilmsexporter.h gcfilmsexporter.cpp \
|
||||
filelistingimporter.h filelistingimporter.cpp grs1importer.h \
|
||||
grs1importer.cpp amcimporter.h amcimporter.cpp \
|
||||
dcimporter.h dcimporter.cpp griffithimporter.h \
|
||||
griffithimporter.cpp griffith2tellico.py pdfimporter.h \
|
||||
pdfimporter.cpp referencerimporter.h referencerimporter.cpp \
|
||||
libcsv.h libcsv.c \
|
||||
deliciousimporter.h deliciousimporter.cpp \
|
||||
tellicosaximporter.h tellicosaximporter.cpp \
|
||||
tellicoxmlhandler.h tellicoxmlhandler.cpp \
|
||||
xmlstatehandler.h xmlstatehandler.cpp
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(LIBXML_CFLAGS) \
|
||||
$(LIBXSLT_CFLAGS) \
|
||||
$(TAGLIB_CFLAGS) \
|
||||
$(KCDDB_CFLAGS) \
|
||||
$(all_includes) \
|
||||
$(POPPLER_CFLAGS)
|
||||
|
||||
KDE_OPTIONS = noautodist
|
||||
|
||||
appdir = $(kde_datadir)/tellico
|
||||
app_DATA = bibtex-translation.xml
|
||||
app_SCRIPTS = griffith2tellico.py
|
||||
|
@ -0,0 +1,29 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### btparse (static) ##########################
|
||||
|
||||
tde_add_library( btparse STATIC_PIC AUTOMOC
|
||||
SOURCES bibtex_ast.c bibtex.c err.c ast.c scan.c util.c lex_auxiliary.c parse_auxiliary.c format_name.c string_util.c tex_tree.c names.c modify.c traversal.c sym.c macros.c error.c postprocess.c input.c init.c
|
||||
)
|
@ -1,18 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
if !USE_LIBBTPARSE
|
||||
|
||||
noinst_LIBRARIES = libbtparse.a
|
||||
|
||||
AM_CPPFLAGS = $(all_includes)
|
||||
|
||||
libbtparse_a_METASOURCES = AUTO
|
||||
|
||||
libbtparse_a_SOURCES = bibtex_ast.c bibtex.c err.c ast.c scan.c util.c lex_auxiliary.c parse_auxiliary.c format_name.c string_util.c tex_tree.c names.c modify.c traversal.c sym.c macros.c error.c postprocess.c input.c init.c
|
||||
|
||||
endif
|
||||
|
||||
EXTRA_DIST = btparse.h init.c stdpccts.h attrib.h lex_auxiliary.h error.h parse_auxiliary.h prototypes.h tokens.h mode.h input.c postprocess.c error.c macros.c sym.h sym.c bt_debug.h traversal.c modify.c names.c my_alloca.h tex_tree.c string_util.c format_name.c antlr.h ast.h btconfig.h dlgdef.h parse_auxiliary.c lex_auxiliary.c util.c scan.c dlgauto.h ast.c err.h err.c bibtex.c bibtex_ast.c
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
|
||||
KDE_OPTIONS = noautodist
|
@ -0,0 +1 @@
|
||||
#include "dataimporter.moc"
|
@ -0,0 +1 @@
|
||||
#include "importer.moc"
|
@ -0,0 +1,35 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### pilotdb (static) ##########################
|
||||
|
||||
tde_add_library( pilotdb STATIC_PIC AUTOMOC
|
||||
SOURCES pilotdb.cpp strop.cpp
|
||||
)
|
||||
|
||||
|
||||
##### directories ###############################
|
||||
|
||||
add_subdirectory( libflatfile )
|
||||
add_subdirectory( libpalm )
|
@ -1,16 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
noinst_LIBRARIES = libpilotdb.a
|
||||
|
||||
AM_CPPFLAGS = $(all_includes)
|
||||
|
||||
libpilotdb_a_METASOURCES = AUTO
|
||||
|
||||
libpilotdb_a_SOURCES = pilotdb.cpp strop.cpp
|
||||
|
||||
SUBDIRS = libflatfile libpalm
|
||||
|
||||
EXTRA_DIST = strop.cpp strop.h portability.h pilotdb.h pilotdb.cpp
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
|
||||
KDE_OPTIONS = noautodist
|
@ -0,0 +1,29 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### pilotdb_flatfile (static) #################
|
||||
|
||||
tde_add_library( pilotdb_flatfile STATIC_PIC AUTOMOC
|
||||
SOURCES DB.cpp Database.cpp
|
||||
)
|
@ -1,20 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
noinst_LIBRARIES = liblibflatfile.a
|
||||
|
||||
AM_CPPFLAGS = $(all_includes)
|
||||
|
||||
liblibflatfile_a_METASOURCES = AUTO
|
||||
|
||||
liblibflatfile_a_SOURCES = DB.cpp Database.cpp
|
||||
|
||||
|
||||
EXTRA_DIST = Database.cpp Database.h DB.cpp DB.h Field.h FType.h ListView.h ListViewColumn.h Record.h
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
|
||||
# is this the right way to do this? I need to include the strop.o object file since its
|
||||
# in the parent directory
|
||||
liblibflatfile_a_LIBADD = ../strop.o
|
||||
CLEANFILES = strop.Po
|
||||
|
||||
KDE_OPTIONS = noautodist
|
@ -0,0 +1,29 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### pilotdb_palm (static) #####################
|
||||
|
||||
tde_add_library( pilotdb_palm STATIC_PIC AUTOMOC
|
||||
SOURCES Database.cpp Block.cpp
|
||||
)
|
@ -1,15 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
noinst_LIBRARIES = liblibpalm.a
|
||||
|
||||
AM_CPPFLAGS = $(all_includes)
|
||||
|
||||
liblibpalm_a_METASOURCES = AUTO
|
||||
|
||||
liblibpalm_a_SOURCES = Database.cpp Block.cpp
|
||||
|
||||
|
||||
EXTRA_DIST = Block.cpp Block.h palmtypes.h Record.h Resource.h Database.h Database.cpp
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
|
||||
KDE_OPTIONS = noautodist
|
@ -1,26 +1,15 @@
|
||||
[Desktop Entry]
|
||||
Name=Tellico
|
||||
|
||||
GenericName=Collection Manager
|
||||
|
||||
Comment=A collection manager
|
||||
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Exec=tellico -caption "%c" %i %u
|
||||
Icon=tellico
|
||||
X-DocPath=tellico/index.html
|
||||
Comment=A collection manager
|
||||
Comment[ru]=Менеджер коллекций
|
||||
Comment[cs]=Správce sbírek
|
||||
Comment[de]=Ein Programm zum Verwalten von Sammlungen
|
||||
Comment[fr]=Un gestionnaire de collection
|
||||
Comment[tr]=Bir koleksiyon yöneticisi
|
||||
Comment[sv]=Program för hantering av samlingar
|
||||
Comment[pt]=Um gestor de colecção
|
||||
Terminal=false
|
||||
Name=Tellico
|
||||
GenericName=Collection Manager
|
||||
GenericName[cs]=Správce sbírek
|
||||
GenericName[de]=Verwaltung von Sammlungen
|
||||
GenericName[ru]=Менеджер коллекций
|
||||
GenericName[fr]=Gestionnaire de collection
|
||||
GenericName[tr]=Koleksiyon yöneticisi
|
||||
GenericName[sv]=Samlingsorganisatör
|
||||
GenericName[pt]=Gestor de Colecção
|
||||
MimeType=application/x-tellico;
|
||||
Categories=TDE;Office;Database;
|
||||
X-DocPath=tellico/index.html
|
||||
|
@ -1,15 +0,0 @@
|
||||
Begin4
|
||||
Title: Tellico
|
||||
Version: R14.0.0
|
||||
Entered-date: 2010-05-10
|
||||
Description: A collection manager
|
||||
Keywords: collection, books, bibliographies, video, music, comic books,
|
||||
video games, coins, stamps, trading cards, wine
|
||||
Author: robby@periapsis.org (Robby Stephenson)
|
||||
Maintained-by: The Trinity Desktop Environment (TDE) http://www.trinitydesktop.org/
|
||||
Primary-site: http://git.trinitydesktop.org/cgit/
|
||||
Alternate-site:
|
||||
Original-site: http://tellico-project.org/
|
||||
Platforms: Linux and other Unices running TDE
|
||||
Copying-policy: GPL
|
||||
End
|
@ -0,0 +1,39 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# This file is put in the public domain.
|
||||
# Slávek Banko <slavek.banko@axis.cz>, 2021.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-07-06 12:54+0200\n"
|
||||
"PO-Revision-Date: 2021-07-07 18:59+0000\n"
|
||||
"Last-Translator: Slávek Banko <slavek.banko@axis.cz>\n"
|
||||
"Language-Team: Czech <https://mirror.git.trinitydesktop.org/weblate/projects/"
|
||||
"applications/tellico-desktop-files/cs/>\n"
|
||||
"Language: cs\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
"X-Generator: Weblate 4.7.1\n"
|
||||
|
||||
#. Comment
|
||||
#: tellico.xml:5 x-tellico.desktop:2
|
||||
#, no-c-format
|
||||
msgid "Tellico Data File"
|
||||
msgstr "Datový soubor Tellico"
|
||||
|
||||
#. Name
|
||||
#: tellico.desktop:2
|
||||
msgid "Tellico"
|
||||
msgstr "Tellico"
|
||||
|
||||
#. GenericName
|
||||
#: tellico.desktop:4
|
||||
msgid "Collection Manager"
|
||||
msgstr "Správce sbírek"
|
||||
|
||||
#. Comment
|
||||
#: tellico.desktop:6
|
||||
msgid "A collection manager"
|
||||
msgstr "Správce sbírek"
|
@ -0,0 +1,38 @@
|
||||
# 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: 2021-07-06 12:54+0200\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"
|
||||
|
||||
#. Comment
|
||||
#: tellico.xml:5 x-tellico.desktop:2
|
||||
#, no-c-format
|
||||
msgid "Tellico Data File"
|
||||
msgstr ""
|
||||
|
||||
#. Name
|
||||
#: tellico.desktop:2
|
||||
msgid "Tellico"
|
||||
msgstr ""
|
||||
|
||||
#. GenericName
|
||||
#: tellico.desktop:4
|
||||
msgid "Collection Manager"
|
||||
msgstr "Verwaltung von Sammlungen"
|
||||
|
||||
#. Comment
|
||||
#: tellico.desktop:6
|
||||
msgid "A collection manager"
|
||||
msgstr "Ein Programm zum Verwalten von Sammlungen"
|
@ -0,0 +1,38 @@
|
||||
# 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: 2021-07-06 12:54+0200\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"
|
||||
|
||||
#. Comment
|
||||
#: tellico.xml:5 x-tellico.desktop:2
|
||||
#, no-c-format
|
||||
msgid "Tellico Data File"
|
||||
msgstr "Fichier Tellico"
|
||||
|
||||
#. Name
|
||||
#: tellico.desktop:2
|
||||
msgid "Tellico"
|
||||
msgstr ""
|
||||
|
||||
#. GenericName
|
||||
#: tellico.desktop:4
|
||||
msgid "Collection Manager"
|
||||
msgstr "Gestionnaire de collection"
|
||||
|
||||
#. Comment
|
||||
#: tellico.desktop:6
|
||||
msgid "A collection manager"
|
||||
msgstr "Un gestionnaire de collection"
|
@ -0,0 +1,38 @@
|
||||
# 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: 2021-07-06 12:54+0200\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: pt\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Comment
|
||||
#: tellico.xml:5 x-tellico.desktop:2
|
||||
#, no-c-format
|
||||
msgid "Tellico Data File"
|
||||
msgstr ""
|
||||
|
||||
#. Name
|
||||
#: tellico.desktop:2
|
||||
msgid "Tellico"
|
||||
msgstr ""
|
||||
|
||||
#. GenericName
|
||||
#: tellico.desktop:4
|
||||
msgid "Collection Manager"
|
||||
msgstr "Gestor de Colecção"
|
||||
|
||||
#. Comment
|
||||
#: tellico.desktop:6
|
||||
msgid "A collection manager"
|
||||
msgstr "Um gestor de colecção"
|
@ -0,0 +1,38 @@
|
||||
# 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: 2021-07-06 12:54+0200\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: ru\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Comment
|
||||
#: tellico.xml:5 x-tellico.desktop:2
|
||||
#, no-c-format
|
||||
msgid "Tellico Data File"
|
||||
msgstr "Файл Tellico"
|
||||
|
||||
#. Name
|
||||
#: tellico.desktop:2
|
||||
msgid "Tellico"
|
||||
msgstr ""
|
||||
|
||||
#. GenericName
|
||||
#: tellico.desktop:4
|
||||
msgid "Collection Manager"
|
||||
msgstr "Менеджер коллекций"
|
||||
|
||||
#. Comment
|
||||
#: tellico.desktop:6
|
||||
msgid "A collection manager"
|
||||
msgstr "Менеджер коллекций"
|
@ -0,0 +1,38 @@
|
||||
# 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: 2021-07-06 12:54+0200\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: sv\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Comment
|
||||
#: tellico.xml:5 x-tellico.desktop:2
|
||||
#, no-c-format
|
||||
msgid "Tellico Data File"
|
||||
msgstr ""
|
||||
|
||||
#. Name
|
||||
#: tellico.desktop:2
|
||||
msgid "Tellico"
|
||||
msgstr ""
|
||||
|
||||
#. GenericName
|
||||
#: tellico.desktop:4
|
||||
msgid "Collection Manager"
|
||||
msgstr "Samlingsorganisatör"
|
||||
|
||||
#. Comment
|
||||
#: tellico.desktop:6
|
||||
msgid "A collection manager"
|
||||
msgstr "Program för hantering av samlingar"
|
@ -0,0 +1,35 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: 2021-07-06 12:54+0200\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"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Comment
|
||||
#: tellico.xml:5 x-tellico.desktop:2
|
||||
#, no-c-format
|
||||
msgid "Tellico Data File"
|
||||
msgstr ""
|
||||
|
||||
#. Name
|
||||
#: tellico.desktop:2
|
||||
msgid "Tellico"
|
||||
msgstr ""
|
||||
|
||||
#. GenericName
|
||||
#: tellico.desktop:4
|
||||
msgid "Collection Manager"
|
||||
msgstr ""
|
||||
|
||||
#. Comment
|
||||
#: tellico.desktop:6
|
||||
msgid "A collection manager"
|
||||
msgstr ""
|
@ -0,0 +1,38 @@
|
||||
# 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: 2021-07-06 12:54+0200\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: tr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Comment
|
||||
#: tellico.xml:5 x-tellico.desktop:2
|
||||
#, no-c-format
|
||||
msgid "Tellico Data File"
|
||||
msgstr ""
|
||||
|
||||
#. Name
|
||||
#: tellico.desktop:2
|
||||
msgid "Tellico"
|
||||
msgstr ""
|
||||
|
||||
#. GenericName
|
||||
#: tellico.desktop:4
|
||||
msgid "Collection Manager"
|
||||
msgstr "Koleksiyon yöneticisi"
|
||||
|
||||
#. Comment
|
||||
#: tellico.desktop:6
|
||||
msgid "A collection manager"
|
||||
msgstr "Bir koleksiyon yöneticisi"
|
@ -1,11 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Comment=Tellico Data File
|
||||
Comment[ru]=Файл Tellico
|
||||
Comment[cs]=Datový soubor Tellico
|
||||
DefaultApp=tellico
|
||||
Icon=application-x-tellico
|
||||
|
||||
Encoding=UTF-8
|
||||
Type=MimeType
|
||||
MimeType=application/x-tellico
|
||||
Icon=application-x-tellico
|
||||
Patterns=*.bc;*.tc;
|
||||
Type=MimeType;
|
||||
DefaultApp=tellico
|
||||
X-TDE-AutoEmbed=false
|
||||
|
@ -0,0 +1,57 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
|
||||
##### other data ################################
|
||||
install(
|
||||
FILES
|
||||
tellico-printing.xsl
|
||||
tellico-by-author.xsl
|
||||
tellico-by-title.xsl
|
||||
tellico2html.xsl
|
||||
shadowAlpha.png
|
||||
cassette-logo.png
|
||||
cd-logo.png
|
||||
dvd-logo.png
|
||||
record-logo.png
|
||||
vhs-logo.png
|
||||
tellico-common.xsl
|
||||
mods2tellico.xsl
|
||||
amazon2tellico.xsl
|
||||
MARC21slim2MODS3.xsl
|
||||
MARC21slimUtils.xsl
|
||||
pubmed2tellico.xsl
|
||||
tellico2onix.xsl
|
||||
UNIMARC2MODS3.xsl
|
||||
tellico2html.js
|
||||
yahoo2tellico.xsl
|
||||
isbndb2tellico.xsl
|
||||
bluray-logo.png
|
||||
hddvd-logo.png
|
||||
gcstar2tellico.xsl
|
||||
xmp2tellico.xsl
|
||||
crossref2tellico.xsl
|
||||
arxiv2tellico.xsl
|
||||
referencer2tellico.xsl
|
||||
delicious2tellico.xsl
|
||||
welcome.html
|
||||
unixref2tellico.xsl
|
||||
discogs2tellico.xsl
|
||||
tellico2gcstar.xsl
|
||||
DESTINATION
|
||||
${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME}
|
||||
)
|
||||
|
||||
|
||||
##### directories ###############################
|
||||
|
||||
add_subdirectory( entry-templates )
|
||||
add_subdirectory( report-templates )
|
@ -1,29 +0,0 @@
|
||||
EXTRA_DIST = tellico-by-author.xsl tellico-by-title.xsl \
|
||||
tellico-printing.xsl tellico2html.xsl shadowAlpha.png \
|
||||
cd-logo.png dvd-logo.png cassette-logo.png record-logo.png \
|
||||
vhs-logo.png tellico-common.xsl mods2tellico.xsl \
|
||||
amazon2tellico.xsl MARC21slim2MODS3.xsl MARC21slimUtils.xsl \
|
||||
pubmed2tellico.xsl tellico2onix.xsl UNIMARC2MODS3.xsl \
|
||||
tellico2html.js yahoo2tellico.xsl isbndb2tellico.xsl \
|
||||
bluray-logo.png hddvd-logo.png gcstar2tellico.xsl \
|
||||
xmp2tellico.xsl crossref2tellico.xsl arxiv2tellico.xsl \
|
||||
referencer2tellico.xsl delicious2tellico.xsl welcome.html \
|
||||
unixref2tellico.xsl discogs2tellico.xsl tellico2gcstar.xsl
|
||||
|
||||
xsldir = $(kde_datadir)/tellico
|
||||
xsl_DATA = tellico-printing.xsl tellico-by-author.xsl tellico-by-title.xsl \
|
||||
tellico2html.xsl shadowAlpha.png cassette-logo.png cd-logo.png \
|
||||
dvd-logo.png record-logo.png vhs-logo.png tellico-common.xsl \
|
||||
mods2tellico.xsl amazon2tellico.xsl MARC21slim2MODS3.xsl \
|
||||
MARC21slimUtils.xsl pubmed2tellico.xsl tellico2onix.xsl \
|
||||
UNIMARC2MODS3.xsl tellico2html.js yahoo2tellico.xsl \
|
||||
isbndb2tellico.xsl bluray-logo.png hddvd-logo.png gcstar2tellico.xsl \
|
||||
xmp2tellico.xsl crossref2tellico.xsl arxiv2tellico.xsl \
|
||||
referencer2tellico.xsl delicious2tellico.xsl welcome.html \
|
||||
unixref2tellico.xsl discogs2tellico.xsl tellico2gcstar.xsl
|
||||
|
||||
SUBDIRS = entry-templates report-templates
|
||||
|
||||
KDE_OPTIONS = noautodist
|
||||
|
||||
CLEANFILES = *~
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 877 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 3.5 KiB |
@ -0,0 +1,19 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
|
||||
##### other data ################################
|
||||
install(
|
||||
FILES
|
||||
Default.xsl Video.xsl Album.xsl Fancy.xsl Compact.xsl
|
||||
DESTINATION
|
||||
${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME}/entry-templates
|
||||
)
|
@ -1,17 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
|
||||
|
||||
EXTRA_DIST = Default.xsl Video.xsl Album.xsl Fancy.xsl Compact.xsl
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
|
||||
xsldir = $(kde_datadir)/tellico/entry-templates
|
||||
xsl_DATA = Default.xsl Video.xsl Album.xsl Fancy.xsl Compact.xsl
|
||||
|
||||
KDE_OPTIONS = noautodist
|
||||
|
||||
CLEANFILES = *~
|
||||
|
||||
# probably a better way to do this
|
||||
uninstall-hook:
|
||||
-if [ -d $(xsldir) ]; then rmdir $(xsldir); fi
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 8.4 KiB |
@ -0,0 +1,26 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2016 Slávek Banko
|
||||
# slavek (DOT) banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
|
||||
##### other data ################################
|
||||
install(
|
||||
FILES
|
||||
Column_View.xsl
|
||||
"Title_Listing_(Horizontal).xsl"
|
||||
"Title_Listing_(Vertical).xsl"
|
||||
Group_View.xsl
|
||||
Image_List.xsl
|
||||
Loan_View.xsl
|
||||
Group_Summary.xsl
|
||||
Tri-Column.xsl
|
||||
DESTINATION
|
||||
${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME}/report-templates
|
||||
)
|
@ -1,21 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
|
||||
|
||||
EXTRA_DIST = Column_View.xsl Title_Listing_(Horizontal).xsl\
|
||||
Title_Listing_(Vertical).xsl Group_View.xsl Image_List.xsl \
|
||||
Loan_View.xsl Group_Summary.xsl Tri-Column.xsl
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
|
||||
xsldir = $(kde_datadir)/tellico/report-templates
|
||||
xsl_DATA = Column_View.xsl Title_Listing_(Horizontal).xsl \
|
||||
Title_Listing_(Vertical).xsl Group_View.xsl Image_List.xsl \
|
||||
Loan_View.xsl Group_Summary.xsl Tri-Column.xsl
|
||||
|
||||
KDE_OPTIONS = noautodist
|
||||
|
||||
CLEANFILES = *~
|
||||
|
||||
# probably a better way to do this
|
||||
uninstall-hook:
|
||||
-if [ -d $(xsldir) ]; then rmdir $(xsldir); fi
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.2 KiB |