diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 934def7..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "admin"] - path = admin - url = https://system@scm.trinitydesktop.org/scm/git/tde-common-admin diff --git a/INSTALL b/INSTALL index 02a4a07..7c4677d 100644 --- a/INSTALL +++ b/INSTALL @@ -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 diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index 3daa340..0000000 --- a/Makefile.am +++ /dev/null @@ -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 diff --git a/NEWS b/NEWS deleted file mode 100644 index e69de29..0000000 diff --git a/README b/README index 8b13789..d4f541e 100644 --- a/README +++ b/README @@ -1 +1,25 @@ + 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 diff --git a/TODO b/TODO deleted file mode 100644 index e69de29..0000000 diff --git a/admin b/admin deleted file mode 160000 index 8c7e0d4..0000000 --- a/admin +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 8c7e0d40de084fe5d54e173918756639e0d4d63e diff --git a/configure.in.in b/configure.in.in deleted file mode 100644 index f7a48bd..0000000 --- a/configure.in.in +++ /dev/null @@ -1,595 +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 -DTQT_NO_ASCII_CAST -DTQT_NO_TRANSLATION" dnl __tdevelop[exc]__ - -dnl KDE_NEED_FLEX dnl __tdevelop__ -dnl AC_PROG_YACC dnl __tdevelop__ - -AC_MSG_CHECKING(for ushort in ) -AC_CACHE_VAL(bt_cv_type_ushort, [ -AC_TRY_COMPILE([ -#include -],[ -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 ]) -fi - -AC_MSG_CHECKING(for boolean in ) -AC_CACHE_VAL(bt_cv_type_boolean, [ -AC_TRY_COMPILE([ -#include -],[ -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 ]) -fi - -AC_MSG_CHECKING(for strdup declaration in ) -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 ]) -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 - ],[ - std::vector 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 TQT_NO_CAST_ASCII -#undef TQT_NO_CAST_ASCII -#endif -#include - ], - [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 TQT_NO_CAST_ASCII -#undef TQT_NO_CAST_ASCII -#endif -#include - ], - [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 (/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 (/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 (/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 (/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( - [libv4l1-videodev.h], - [videodev_header="libv4l1-videodev.h"], - [ - KDE_CHECK_HEADERS([linux/videodev.h], - [videodev_header="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]) - AC_DEFINE_UNQUOTED(VIDEODEV_HEADER, ["$videodev_header"], [Define header name for videodev]) -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 diff --git a/doc/Makefile.am b/doc/Makefile.am deleted file mode 100644 index 93202ac..0000000 --- a/doc/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -####### tdevelop will overwrite this part!!! (begin)########## - -SUBDIRS = en fr - -####### tdevelop will overwrite this part!!! (end)############ diff --git a/doc/en/Makefile.am b/doc/en/Makefile.am deleted file mode 100644 index 3229824..0000000 --- a/doc/en/Makefile.am +++ /dev/null @@ -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 = *~ diff --git a/doc/fr/Makefile.am b/doc/fr/Makefile.am deleted file mode 100644 index 1005b68..0000000 --- a/doc/fr/Makefile.am +++ /dev/null @@ -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 = *~ diff --git a/icons/Makefile.am b/icons/Makefile.am deleted file mode 100644 index b36f841..0000000 --- a/icons/Makefile.am +++ /dev/null @@ -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 diff --git a/install-sh b/install-sh deleted file mode 100755 index e9de238..0000000 --- a/install-sh +++ /dev/null @@ -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 diff --git a/po/Makefile.am b/po/Makefile.am deleted file mode 100644 index 567fe46..0000000 --- a/po/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ -####### tdevelop will overwrite this part!!! (begin)########## - - -EXTRA_DIST = tellico.pot README - -####### tdevelop will overwrite this part!!! (end)############ -POFILES = AUTO - -CLEANFILES = *~ diff --git a/src/Makefile.am b/src/Makefile.am deleted file mode 100644 index 6ec8a49..0000000 --- a/src/Makefile.am +++ /dev/null @@ -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_TQT) \ - $(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_TQT) -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 diff --git a/src/barcode/Makefile.am b/src/barcode/Makefile.am deleted file mode 100644 index df8f8e2..0000000 --- a/src/barcode/Makefile.am +++ /dev/null @@ -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 diff --git a/src/cite/Makefile.am b/src/cite/Makefile.am deleted file mode 100644 index 74e7c81..0000000 --- a/src/cite/Makefile.am +++ /dev/null @@ -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 diff --git a/src/cite/ooo/Makefile.am b/src/cite/ooo/Makefile.am deleted file mode 100644 index 3888fa7..0000000 --- a/src/cite/ooo/Makefile.am +++ /dev/null @@ -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) - diff --git a/src/collections/Makefile.am b/src/collections/Makefile.am deleted file mode 100644 index 477f826..0000000 --- a/src/collections/Makefile.am +++ /dev/null @@ -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 diff --git a/src/commands/Makefile.am b/src/commands/Makefile.am deleted file mode 100644 index 95147c2..0000000 --- a/src/commands/Makefile.am +++ /dev/null @@ -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 = *~ diff --git a/src/core/Makefile.am b/src/core/Makefile.am deleted file mode 100644 index 7882a19..0000000 --- a/src/core/Makefile.am +++ /dev/null @@ -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.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 - diff --git a/src/fetch/Makefile.am b/src/fetch/Makefile.am deleted file mode 100644 index 2f56fa5..0000000 --- a/src/fetch/Makefile.am +++ /dev/null @@ -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 diff --git a/src/fetch/scripts/Makefile.am b/src/fetch/scripts/Makefile.am deleted file mode 100644 index a767d24..0000000 --- a/src/fetch/scripts/Makefile.am +++ /dev/null @@ -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 diff --git a/src/fetch/scripts/fr.allocine.py b/src/fetch/scripts/fr.allocine.py old mode 100755 new mode 100644 diff --git a/src/gui/Makefile.am b/src/gui/Makefile.am deleted file mode 100644 index cb6f5e8..0000000 --- a/src/gui/Makefile.am +++ /dev/null @@ -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 = *~ - diff --git a/src/newstuff/Makefile.am b/src/newstuff/Makefile.am deleted file mode 100644 index 1c962bc..0000000 --- a/src/newstuff/Makefile.am +++ /dev/null @@ -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 - diff --git a/src/rtf2html/Makefile.am b/src/rtf2html/Makefile.am deleted file mode 100644 index ea3d39f..0000000 --- a/src/rtf2html/Makefile.am +++ /dev/null @@ -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 = *~ - diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am deleted file mode 100644 index d85b7c4..0000000 --- a/src/tests/Makefile.am +++ /dev/null @@ -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_TQT) $(LIB_TDECORE) $(LIB_TDEUI) - -latin1test_SOURCES = latin1test.cpp -latin1test_LDADD = $(LIB_TQT) $(LIB_TDECORE) - -entitytest_SOURCES = entitytest.cpp -entitytest_LDADD = ../tellico_utils.o $(LIB_TQT) $(LIB_TDECORE) - -#formattest_SOURCES = formattest.cpp -#formattest_LDADD = ../core/tellico_config.o ../core/tellico_config_addons.o ../field.o ../tellico_utils.o $(LIB_TQT) $(LIB_TDECORE) diff --git a/src/translators/Makefile.am b/src/translators/Makefile.am deleted file mode 100644 index e91e182..0000000 --- a/src/translators/Makefile.am +++ /dev/null @@ -1,75 +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 \ - dataimporter.cpp importer.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 - diff --git a/src/translators/btparse/Makefile.am b/src/translators/btparse/Makefile.am deleted file mode 100644 index 4a16ad3..0000000 --- a/src/translators/btparse/Makefile.am +++ /dev/null @@ -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 diff --git a/src/translators/pilotdb/Makefile.am b/src/translators/pilotdb/Makefile.am deleted file mode 100644 index dba2dbb..0000000 --- a/src/translators/pilotdb/Makefile.am +++ /dev/null @@ -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 diff --git a/src/translators/pilotdb/libflatfile/Makefile.am b/src/translators/pilotdb/libflatfile/Makefile.am deleted file mode 100644 index b97ec32..0000000 --- a/src/translators/pilotdb/libflatfile/Makefile.am +++ /dev/null @@ -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 diff --git a/src/translators/pilotdb/libpalm/Makefile.am b/src/translators/pilotdb/libpalm/Makefile.am deleted file mode 100644 index 709a406..0000000 --- a/src/translators/pilotdb/libpalm/Makefile.am +++ /dev/null @@ -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 diff --git a/subdirs b/subdirs deleted file mode 100644 index a03571a..0000000 --- a/subdirs +++ /dev/null @@ -1,5 +0,0 @@ -doc -icons -po -src -xslt diff --git a/xslt/Makefile.am b/xslt/Makefile.am deleted file mode 100644 index d0fb0c4..0000000 --- a/xslt/Makefile.am +++ /dev/null @@ -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 = *~ diff --git a/xslt/entry-templates/Makefile.am b/xslt/entry-templates/Makefile.am deleted file mode 100644 index 897fadb..0000000 --- a/xslt/entry-templates/Makefile.am +++ /dev/null @@ -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 diff --git a/xslt/report-templates/Makefile.am b/xslt/report-templates/Makefile.am deleted file mode 100644 index e40f424..0000000 --- a/xslt/report-templates/Makefile.am +++ /dev/null @@ -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