recollindex and python module building and running

This commit is contained in:
Jean-Francois Dockes 2015-08-02 17:40:51 +02:00
parent 922f73039a
commit 7157b2c6cd
23 changed files with 2144 additions and 1147 deletions

View File

@ -2,26 +2,37 @@ syntax: glob
*.dep
*.dep.stamp
*.o
.libs
*.la
stamp-h1
.dirstamp
libtool
.deps
*.lo
*~
\#*
ptrans
src/Makefile
src/autom4te.cache
src/bincimapmime/alldeps
src/common/alldeps
src/common/autoconfig.h
src/common/rclversion.h
src/aclocal.m4
src/config.guess
src/config.sub
src/depcomp
src/install-sh
src/ltmain.sh
src/m4/libtool.m4
src/m4/ltoptions.m4
src/m4/ltsugar.m4
src/m4/ltversion.m4
src/m4/lt~obsolete.m4
src/missing
src/config.log
src/config.status
src/configure
src/desktop/unity-lens-recoll/Makefile
src/desktop/unity-lens-recoll/autom4te.cache
src/desktop/unity-lens-recoll/bin/unity-recoll-daemon
src/desktop/unity-lens-recoll/config.log
src/desktop/unity-lens-recoll/config.status
src/desktop/unity-lens-recoll/data/recoll.lens
src/desktop/unity-lens-recoll/data/unity-lens-recoll.service
src/doc/user/HTML.manifest
src/ylwrap
src/query/wasaparse.h
src/Makefile
src/autom4te.cache
src/common/autoconfig.h
src/common/rclversion.h
src/doc/user/RCL.INDEXING.CONFIG.html
src/doc/user/RCL.INDEXING.EXTATTR.html
src/doc/user/RCL.INDEXING.EXTTAGS.html
@ -37,56 +48,24 @@ src/doc/user/RCL.INSTALL.html
src/doc/user/RCL.INTRODUCTION.RECOLL.html
src/doc/user/RCL.INTRODUCTION.SEARCH.html
src/doc/user/RCL.INTRODUCTION.html
src/doc/user/RCL.KICKER-APPLET.html
src/doc/user/RCL.PROGRAM.API.html
src/doc/user/RCL.PROGRAM.FIELDS.html
src/doc/user/RCL.PROGRAM.html
src/doc/user/RCL.SEARCH.ANCHORWILD.html
src/doc/user/RCL.SEARCH.CASEDIAC.html
src/doc/user/RCL.SEARCH.COMMANDLINE.html
src/doc/user/RCL.SEARCH.COMPLEX.html
src/doc/user/RCL.SEARCH.CUSTOM.html
src/doc/user/RCL.SEARCH.DESKTOP.html
src/doc/user/RCL.SEARCH.HISTORY.html
src/doc/user/RCL.SEARCH.KIO.html
src/doc/user/RCL.SEARCH.LANG.html
src/doc/user/RCL.SEARCH.MULTIDB.html
src/doc/user/RCL.SEARCH.PREVIEW.html
src/doc/user/RCL.SEARCH.PTRANS.html
src/doc/user/RCL.SEARCH.RESLIST.html
src/doc/user/RCL.SEARCH.SORT.html
src/doc/user/RCL.SEARCH.TERMEXPLORER.html
src/doc/user/RCL.SEARCH.TIPS.html
src/doc/user/RCL.SEARCH.WILDCARDS.html
src/doc/user/RCL.SEARCH.html
src/doc/user/RCL.SEARCHKCL.html
src/doc/user/RCL.SEARCHKIO.SEARCHABLEDOCS.html
src/doc/user/RCL.SEARCHKIO.html
src/doc/user/index.html
src/doc/user/usermanual-xml.html
src/doc/user/usermanual.aux
src/doc/user/usermanual.html
src/doc/user/usermanual.html-text
src/doc/user/usermanual.log
src/doc/user/usermanual.out
src/doc/user/usermanual.pdf
src/doc/user/usermanual.tex-pdf
src/doc/user/usermanual.tex-pdf-tmp
src/doc/user/usermanual.txt
src/filters/rclexecm.pyc
src/filters/rcllatinclass.pyc
src/index/alldeps
src/index/alldeps.stamp
src/index/recollindex
src/internfile/alldeps
src/kde/kioslave/kio_recoll/builddir
src/lib/Makefile
src/lib/alldeps
src/lib/librecoll.a
src/lib/librecoll.so*
src/lib/mkMake
src/mk/localdefs
src/mk/sysconf
src/python/recoll/build
src/python/recoll/recoll/__init__.pyc
src/python/recoll/setup.py

285
src/Makefile.am Normal file
View File

@ -0,0 +1,285 @@
CXXFLAGS ?= @CXXFLAGS@
LIBXAPIAN=@LIBXAPIAN@
XAPIANCXXFLAGS=@XAPIANCXXFLAGS@
LIBICONV=@LIBICONV@
INCICONV=@INCICONV@
LIBFAM = @LIBFAM@
RCLLIBVERSION=@RCLLIBVERSION@
X_CFLAGS=@X_CFLAGS@
X_PRE_LIBS=@X_PRE_LIBS@
X_LIBS=@X_LIBS@
X_EXTRA_LIBS=@X_EXTRA_LIBS@
X_LIBX11=@X_LIBX11@
DEFS=@DEFS@
COMMONCPPFLAGS = -I. \
-I$(top_srcdir)/aspell \
-I$(top_srcdir)/bincimapmime \
-I$(top_srcdir)/common \
-I$(top_srcdir)/index \
-I$(top_srcdir)/internfile \
-I$(top_srcdir)/rcldb \
-I$(top_srcdir)/unac \
-I$(top_srcdir)/utils
AM_CPPFLAGS = -Wall -Wno-unused \
$(COMMONCPPFLAGS) \
$(INCICONV) \
$(XAPIANCXXFLAGS) \
$(X_CFLAGS) \
-DRECOLL_DATADIR=\"${pkgdatadir}\" \
-D_GNU_SOURCE \
$(DEFS)
ACLOCAL_AMFLAGS = -I m4
if NOTHREADS
LIBTHREADS=
else
LIBTHREADS= $(LIBSYSTHREADS)
endif
librcldir = $(libdir)/recoll
librcl_LTLIBRARIES = librecoll.la
librecoll_la_SOURCES = \
aspell/aspell-local.h \
aspell/rclaspell.cpp \
aspell/rclaspell.h \
bincimapmime/config.h \
bincimapmime/convert.cc \
bincimapmime/convert.h \
bincimapmime/iodevice.cc \
bincimapmime/iodevice.h \
bincimapmime/iofactory.cc \
bincimapmime/iofactory.h \
bincimapmime/mime-inputsource.h \
bincimapmime/mime-parsefull.cc \
bincimapmime/mime-parseonlyheader.cc \
bincimapmime/mime-printbody.cc \
bincimapmime/mime-utils.h \
bincimapmime/mime.cc \
bincimapmime/mime.h \
common/beaglequeuecache.cpp \
common/beaglequeuecache.h \
common/cstr.cpp \
common/cstr.h \
common/rclconfig.cpp \
common/rclconfig.h \
common/rclinit.cpp \
common/rclinit.h \
common/rclversion.h \
common/textsplit.cpp \
common/textsplit.h \
common/unacpp.cpp \
common/unacpp.h \
common/unordered_defs.h \
common/uproplist.h \
index/beaglequeue.cpp \
index/beaglequeue.h \
index/bglfetcher.cpp \
index/bglfetcher.h \
index/checkretryfailed.cpp \
index/checkretryfailed.h \
index/fetcher.cpp \
index/fetcher.h \
index/fsfetcher.cpp \
index/fsfetcher.h \
index/fsindexer.cpp \
index/fsindexer.h \
index/indexer.cpp \
index/indexer.h \
index/mimetype.cpp \
index/mimetype.h \
index/rclmon.h \
index/recollindex.h \
index/subtreelist.cpp \
index/subtreelist.h \
internfile/Filter.h \
internfile/extrameta.cpp \
internfile/extrameta.h \
internfile/htmlparse.cpp \
internfile/htmlparse.h \
internfile/indextext.h \
internfile/internfile.cpp \
internfile/internfile.h \
internfile/mh_exec.cpp \
internfile/mh_exec.h \
internfile/mh_execm.cpp \
internfile/mh_execm.h \
internfile/mh_html.cpp \
internfile/mh_html.h \
internfile/mh_mail.cpp \
internfile/mh_mail.h \
internfile/mh_mbox.cpp \
internfile/mh_mbox.h \
internfile/mh_symlink.h \
internfile/mh_text.cpp \
internfile/mh_text.h \
internfile/mh_unknown.h \
internfile/mimehandler.cpp \
internfile/mimehandler.h \
internfile/myhtmlparse.cpp \
internfile/myhtmlparse.h \
internfile/txtdcode.cpp \
internfile/uncomp.cpp \
internfile/uncomp.h \
query/docseq.cpp \
query/docseq.h \
query/docseqdb.cpp \
query/docseqdb.h \
query/docseqdocs.h \
query/docseqhist.cpp \
query/docseqhist.h \
query/dynconf.cpp \
query/dynconf.h \
query/filtseq.cpp \
query/filtseq.h \
query/plaintorich.cpp \
query/plaintorich.h \
query/recollq.cpp \
query/recollq.h \
query/reslistpager.cpp \
query/reslistpager.h \
query/sortseq.cpp \
query/sortseq.h \
query/wasaparse.h \
query/wasaparse.ypp \
query/wasaparseaux.cpp \
query/wasaparserdriver.h \
query/wasatorcl.h \
rcldb/daterange.cpp \
rcldb/daterange.h \
rcldb/expansiondbs.cpp \
rcldb/expansiondbs.h \
rcldb/rclabstract.cpp \
rcldb/rcldb.cpp \
rcldb/rcldb.h \
rcldb/rcldb_p.h \
rcldb/rcldoc.cpp \
rcldb/rcldoc.h \
rcldb/rcldups.cpp \
rcldb/rclquery.cpp \
rcldb/rclquery.h \
rcldb/rclquery_p.h \
rcldb/rclterms.cpp \
rcldb/searchdata.cpp \
rcldb/searchdata.h \
rcldb/searchdatatox.cpp \
rcldb/searchdataxml.cpp \
rcldb/stemdb.cpp \
rcldb/stemdb.h \
rcldb/stoplist.cpp \
rcldb/stoplist.h \
rcldb/synfamily.cpp \
rcldb/synfamily.h \
rcldb/termproc.h \
rcldb/xmacros.h \
unac/unac.cpp \
unac/unac.h \
unac/unac_version.h \
utils/appformime.cpp \
utils/appformime.h \
utils/base64.cpp \
utils/base64.h \
utils/cancelcheck.h \
utils/circache.cpp \
utils/circache.h \
utils/closefrom.cpp \
utils/closefrom.h \
utils/conftree.cpp \
utils/conftree.h \
utils/copyfile.cpp \
utils/copyfile.h \
utils/cpuconf.cpp \
utils/cpuconf.h \
utils/debuglog.cpp \
utils/debuglog.h \
utils/ecrontab.cpp \
utils/ecrontab.h \
utils/execmd.cpp \
utils/execmd.h \
utils/fileudi.cpp \
utils/fileudi.h \
utils/fstreewalk.cpp \
utils/fstreewalk.h \
utils/hldata.h \
utils/idfile.cpp \
utils/idfile.h \
utils/md5.cpp \
utils/md5.h \
utils/md5ut.cpp \
utils/md5ut.h \
utils/mimeparse.cpp \
utils/mimeparse.h \
utils/netcon.cpp \
utils/netcon.h \
utils/pathut.cpp \
utils/pathut.h \
utils/ptmutex.h \
utils/pxattr.cpp \
utils/pxattr.h \
utils/rclionice.cpp \
utils/rclionice.h \
utils/readfile.cpp \
utils/readfile.h \
utils/refcntr.h \
utils/smallut.cpp \
utils/smallut.h \
utils/strmatcher.cpp \
utils/strmatcher.h \
utils/transcode.cpp \
utils/transcode.h \
utils/utf8iter.h \
utils/wipedir.cpp \
utils/wipedir.h \
utils/workqueue.h \
utils/x11mon.cpp \
utils/x11mon.h
BUILT_SOURCES = query/wasaparse.cpp query/wasaparse.h
# We use -release: the lib is only shared
# between recoll programs from the same release.
# -version-info $(VERSION_INFO)
librecoll_la_LDFLAGS = -release $(VERSION) \
-Wl,--no-undefined -Wl,--warn-unresolved-symbols
librecoll_la_LIBADD = $(LIBXAPIAN) $(LIBICONV) $(X_LIBX11) $(LIBTHREADS)
bin_PROGRAMS = recollindex
recollindex_SOURCES = \
index/recollindex.cpp \
index/rclmonprc.cpp \
index/rclmonrcv.cpp
recollindex_LDFLAGS =
recollindex_LDADD = librecoll.la
defconfdir = $(pkgdatadir)/examples
defconf_DATA = \
sampleconf/fragbuts.xml \
sampleconf/fields \
sampleconf/recoll.conf \
sampleconf/mimeconf \
sampleconf/recoll.qss \
sampleconf/mimemap \
sampleconf/mimeview
filterdir = $(pkgdatadir)/filters
filter_DATA = filters/rcl* \
filters/ppt-dump.py \
filters/xls-dump.py \
filters/xlsxmltocsv.py \
filters/msodump.zip \
desktop/hotrecoll.py \
python/recoll/recoll/rclconfig.py
install-data-hook:
(cd $(filterdir); \
chmod a+x rcl* ppt-dump.py xls-dump.py xlsxmltocsv.py hotrecoll.py; \
chmod 0644 msodump.zip rclexecm.py rcllatinstops.zip rclconfig.py)

File diff suppressed because it is too large Load Diff

4
src/autogen.sh Executable file
View File

@ -0,0 +1,4 @@
aclocal
libtoolize
automake --add-missing
autoconf

View File

@ -1,5 +1,8 @@
/* common/autoconfig.h.in. Generated from configure.ac by autoheader. */
/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD
/* Path to the aspell api include file */
#undef ASPELL_INCLUDE
@ -15,23 +18,36 @@
/* Path to the file program */
#undef FILE_PROG
/* Define to 1 if you have the <spawn.h> header file. */
#undef HAVE_SPAWN_H
#undef HAVE_POSIX_SPAWN
#undef USE_POSIX_SPAWN
/* "Have C++0x" */
#undef HAVE_CXX0X_UNORDERED
/* Define to 1 if you have the setrlimit() call. */
#undef HAVE_SETRLIMIT
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `dl' library (-ldl). */
#undef HAVE_LIBDL
/* Define to 1 if you have the `pthread' library (-lpthread). */
#undef HAVE_LIBPTHREAD
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the `mkdtemp' function. */
#undef HAVE_MKDTEMP
/* Define to 1 if you have the `posix_spawn,' function. */
#undef HAVE_POSIX_SPAWN_
/* Define to 1 if you have the `setrlimit' function. */
#undef HAVE_SETRLIMIT
/* Define to 1 if you have the <spawn.h> header file. */
#undef HAVE_SPAWN_H
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
@ -47,6 +63,9 @@
/* Define to 1 if you have the <sys/mount.h> header file. */
#undef HAVE_SYS_MOUNT_H
/* Define to 1 if you have the <sys/param.h,> header file. */
#undef HAVE_SYS_PARAM_H_
/* Define to 1 if you have the <sys/statfs.h> header file. */
#undef HAVE_SYS_STATFS_H
@ -62,9 +81,19 @@
/* Define to 1 if you have the <sys/vfs.h> header file. */
#undef HAVE_SYS_VFS_H
/* "Have tr1" */
#undef HAVE_TR1_UNORDERED
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Use multiple threads for indexing */
#undef IDX_THREADS
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
@ -77,6 +106,9 @@
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION
@ -101,23 +133,38 @@
/* Compile the inotify interface */
#undef RCL_USE_INOTIFY
/* Use multiple threads for indexing */
#undef IDX_THREADS
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Use posix_spawn() */
#undef USE_POSIX_SPAWN
/* Enable using the system's 'file' command to id mime if we fail internally
*/
#undef USE_SYSTEM_FILE_COMMAND
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
# undef WORDS_BIGENDIAN
# endif
#endif
/* Define to 1 if the X Window System is missing or not being used. */
#undef X_DISPLAY_MISSING
/* Enable large inode numbers on Mac OS X 10.5. */
#ifndef _DARWIN_USE_64_BIT_INODE
# define _DARWIN_USE_64_BIT_INODE 1
#endif
/* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS
/* Define for large files, on AIX-style hosts. */
#undef _LARGE_FILES
#undef WORDS_BIGENDIAN
#undef HAVE_TR1_UNORDERED
#undef HAVE_CXX0X_UNORDERED

View File

@ -3,32 +3,21 @@ AC_CONFIG_HEADERS([common/autoconfig.h])
AC_PREREQ(2.53)
AC_CONFIG_SRCDIR(index/recollindex.cpp)
AM_INIT_AUTOMAKE([1.10 no-define subdir-objects foreign])
AC_DISABLE_STATIC
LT_INIT
AC_CONFIG_MACRO_DIR([m4])
AC_PROG_CXX
if test C$CXX = C ; then
AC_MSG_ERROR([C++ compiler needed. Please install one (ie: gnu g++)])
fi
AC_PROG_YACC
AC_PROG_LIBTOOL
AC_C_BIGENDIAN
sys=`uname | tr / _ | awk -F_ '{print $1}'`
if test ! -f mk/$sys ; then
AC_MSG_NOTICE([
No system configuration file found in mk/ for uname = '$sys'.
Trying with Default file.
If the build fails, you'll need to write a configuration file, starting
from one of the existing ones.])
sys=Default
fi
(cd mk; rm -f sysconf; ln -s $sys sysconf)
# There a few Recoll users on Mac OS X and a few things are just not worth
# supporting
if test X$sys = XDarwin ; then
NODYNLIB=#
fi
AC_SYS_LARGEFILE
# OpenBSD needs sys/param.h for mount.h to compile
@ -199,12 +188,9 @@ AC_ARG_ENABLE(idxthreads,
AC_HELP_STRING([--disable-idxthreads],
[Disable multithread indexing.]),
idxthreadsEnabled=$enableval, idxthreadsEnabled=yes)
AM_CONDITIONAL(NOTHREADS, [test X$idxthreadsEnabled = Xno])
if test X$idxthreadsEnabled = Xyes ; then
AC_DEFINE(IDX_THREADS, 1, [Use multiple threads for indexing])
NOTHREADS=""
else
NOTHREADS="#"
fi
# Enable CamelCase word splitting. This is optional because it causes
@ -221,7 +207,6 @@ AC_ARG_ENABLE(camelcase,
"mysql manual" (in phrases only and you could raise the phrase slack to
get a match).]),
camelcaseEnabled=$enableval, camelcaseEnabled=no)
if test X$camelcaseEnabled = Xyes ; then
AC_DEFINE(RCL_SPLIT_CAMELCASE, 1, [Split camelCase words])
fi
@ -248,27 +233,9 @@ else
NOPYTHON="#"
fi
# Build PIC objects for the library ?
AC_ARG_ENABLE(pic,
AC_HELP_STRING([--disable-pic],
[Do not compile library objects as position independant code.
This is incompatible with the php or python extensions.]),
picEnabled=$enableval, picEnabled=forpython)
case $picEnabled in
forpython) picEnabled=$pythonEnabled; NOPIC=$NOPYTHON;;
yes) NOPIC="";;
*) NOPIC="#";;
esac
if test X$pythonEnabled = Xyes -a X$picEnabled != Xyes; then
AC_MSG_ERROR([Python build needs PIC library])
fi
if test X$NOPIC != X; then
NODYNLIB=#
fi
AC_CHECK_FUNCS(mkdtemp)
AC_CHECK_LIB([pthread], [pthread_create], [], [])
AC_CHECK_LIB([dl], [dlopen], [], [])
##### Look for iconv. This can exist in either libc (ie: Linux, solaris) or
##### libiconv. We'd need a --with-libiconv= option
@ -503,8 +470,6 @@ else
QMAKE_DISABLE_WEBKIT=""
fi
##### Using QZeitGeist lib ? Default no for now
AC_ARG_WITH(qzeitgeist,
AC_HELP_STRING([--with-qzeitgeist],
@ -598,23 +563,8 @@ AC_SUBST(RCLLIBVERSION)
# changing it unless necessary
AC_CONFIG_FILES(Makefile)
AC_CONFIG_FILES(common/rclversion.h)
AC_CONFIG_FILES(lib/mkMake)
AC_CONFIG_FILES(mk/localdefs.new:mk/localdefs.in)
AC_CONFIG_FILES(python/recoll/setup.py)
AC_CONFIG_FILES(recollinstall)
AC_CONFIG_FILES(sampleconf/recoll.conf)
for d in bincimapmime index lib query
do
rm -f $d/alldeps.stamp
cp -f /dev/null $d/alldeps
done
AC_OUTPUT
if cmp -s mk/localdefs mk/localdefs.new ; then
rm -f mk/localdefs.new
else
mv -f mk/localdefs.new mk/localdefs
fi

View File

@ -1,198 +0,0 @@
#!/bin/sh
mk=Makefile
depth=${depth:-..}
sys=`uname`
SRC_CPP="\
${depth}/aspell/rclaspell.cpp \
${depth}/common/beaglequeuecache.cpp \
${depth}/common/cstr.cpp \
${depth}/common/rclconfig.cpp \
${depth}/common/rclinit.cpp \
${depth}/common/textsplit.cpp \
${depth}/common/unacpp.cpp \
${depth}/index/beaglequeue.cpp \
${depth}/index/bglfetcher.cpp \
${depth}/index/checkretryfailed.cpp \
${depth}/index/fetcher.cpp \
${depth}/index/fsfetcher.cpp \
${depth}/index/fsindexer.cpp \
${depth}/index/indexer.cpp \
${depth}/index/mimetype.cpp \
${depth}/index/subtreelist.cpp \
${depth}/internfile/htmlparse.cpp \
${depth}/internfile/internfile.cpp \
${depth}/internfile/mh_exec.cpp \
${depth}/internfile/mh_execm.cpp \
${depth}/internfile/mh_html.cpp \
${depth}/internfile/mh_mail.cpp \
${depth}/internfile/mh_mbox.cpp \
${depth}/internfile/mh_text.cpp \
${depth}/internfile/mimehandler.cpp \
${depth}/internfile/myhtmlparse.cpp \
${depth}/internfile/extrameta.cpp \
${depth}/internfile/txtdcode.cpp \
${depth}/internfile/uncomp.cpp \
${depth}/query/docseq.cpp \
${depth}/query/docseqdb.cpp \
${depth}/query/docseqhist.cpp \
${depth}/query/filtseq.cpp \
${depth}/query/dynconf.cpp \
${depth}/query/plaintorich.cpp \
${depth}/query/recollq.cpp \
${depth}/query/reslistpager.cpp \
${depth}/query/sortseq.cpp \
${depth}/query/wasaparse.cpp \
${depth}/query/wasaparse.tab.cpp \
${depth}/rcldb/daterange.cpp \
${depth}/rcldb/expansiondbs.cpp \
${depth}/rcldb/rclabstract.cpp \
${depth}/rcldb/rcldb.cpp \
${depth}/rcldb/rcldoc.cpp \
${depth}/rcldb/rcldups.cpp \
${depth}/rcldb/rclquery.cpp \
${depth}/rcldb/rclterms.cpp \
${depth}/rcldb/searchdata.cpp \
${depth}/rcldb/searchdatatox.cpp \
${depth}/rcldb/searchdataxml.cpp \
${depth}/rcldb/stemdb.cpp \
${depth}/rcldb/stoplist.cpp \
${depth}/rcldb/synfamily.cpp \
${depth}/unac/unac.cpp \
${depth}/utils/appformime.cpp \
${depth}/utils/base64.cpp \
${depth}/utils/circache.cpp \
${depth}/utils/closefrom.cpp \
${depth}/utils/conftree.cpp \
${depth}/utils/copyfile.cpp \
${depth}/utils/cpuconf.cpp \
${depth}/utils/debuglog.cpp \
${depth}/utils/ecrontab.cpp \
${depth}/utils/execmd.cpp \
${depth}/utils/fstreewalk.cpp \
${depth}/utils/idfile.cpp \
${depth}/utils/fileudi.cpp \
${depth}/utils/md5.cpp \
${depth}/utils/md5ut.cpp \
${depth}/utils/mimeparse.cpp \
${depth}/utils/netcon.cpp \
${depth}/utils/pathut.cpp \
${depth}/utils/pxattr.cpp \
${depth}/utils/rclionice.cpp \
${depth}/utils/readfile.cpp \
${depth}/utils/smallut.cpp \
${depth}/utils/strmatcher.cpp \
${depth}/utils/transcode.cpp \
${depth}/utils/wipedir.cpp \
${depth}/utils/x11mon.cpp \
"
SRC_CC="\
${depth}/bincimapmime/mime-parsefull.cc \
${depth}/bincimapmime/mime-parseonlyheader.cc \
${depth}/bincimapmime/mime-printbody.cc \
${depth}/bincimapmime/mime.cc \
${depth}/bincimapmime/convert.cc \
${depth}/bincimapmime/iodevice.cc \
${depth}/bincimapmime/iofactory.cc \
"
for c in $SRC_CPP;do
o=`basename $c .cpp`.o
OBJS="$OBJS $o"
d=`basename $c .cpp`.dep
cp /dev/null $d
s=`basename $c .cpp`.dep.stamp
DEPS="$DEPS $s"
done
for c in $SRC_CC;do
o=`basename $c .cc`.o
OBJS="$OBJS $o"
d=`basename $c .cc`.dep
cp /dev/null $d
s=`basename $c .cc`.dep.stamp
DEPS="$DEPS $s"
done
# The objects need to depend on the localdefs file in case it is
# changed by a re-configure (it has the local compile flags)
defs=\$\(depth\)/mk/localdefs
test -f $mk && chmod +w $mk
NODYNLIB=@NODYNLIB@
RCLLIBVERSION=@RCLLIBVERSION@
cat > $mk <<EOF
# DONT EDIT BY HAND: created by script mkMake
depth = ${depth}
include \$(depth)/mk/sysconf
LIBRECOLL=librecoll.so.${RCLLIBVERSION}
LIBS = librecoll.a
${NODYNLIB}LIBS = librecoll.a \$(LIBRECOLL)
all: \$(LIBS)
OBJS = $OBJS
DEPS = $DEPS
librecoll.a : \$(DEPS) \$(OBJS)
ar ru librecoll.a \$(OBJS)
\$(RANLIB) librecoll.a
# Note that we are using the Recoll release number in the soname. There is
# no effort whatsoever to maintain any kind of ABI compat in this lib. Only
# programs or modules from the same Recoll release can be compatible.
\$(LIBRECOLL): \$(DEPS) \$(OBJS)
\$(CXX) -shared -Wl,--no-undefined -Wl,--warn-unresolved-symbols \
\$(LDFLAGS) -Wl,-soname=\$(LIBRECOLL) -o \$(LIBRECOLL) \$(OBJS) \
\$(LIBXAPIAN) \$(LIBICONV) \$(X_LIBX11) \$(LIBSYS)
rm -f librecoll.so
ln -s \$(LIBRECOLL) librecoll.so
EOF
for c in $SRC_CPP;do
o=`basename $c .cpp`.o
echo "$o : $c $defs" >> $mk
echo " \$(CXX) \$(ALL_CXXFLAGS) -c $c" >> $mk
done
for c in $SRC_CC;do
o=`basename $c .cc`.o
echo "$o : $c $defs" >> $mk
echo " \$(CXX) \$(ALL_CXXFLAGS) -c $c" >> $mk
done
cat >> $mk <<EOF
depend: \$(DEPS)
clean:
rm -f \$(OBJS) \$(LIBS) \$(DEPS) librecoll.so *.stamp
for i in *.dep;do test -f \$\$i && cp /dev/null \$\$i;done
distclean: clean
rm -f *.dep
EOF
for c in $SRC_CPP;do
d=`basename $c .cpp`.dep
s=`basename $c .cpp`.dep.stamp
echo "$s : $c $defs" >> $mk
echo " \$(CXX) -M \$(ALL_CXXFLAGS) $c > $d" >> $mk
echo " touch $s" >> $mk
done
for c in $SRC_CPP;do
d=`basename $c .cpp`.dep
echo "include $d" >> $mk
done
for c in $SRC_CC;do
d=`basename $c .cc`.dep
s=`basename $c .cc`.dep.stamp
echo "$s : $c $defs" >> $mk
echo " \$(CXX) -M \$(ALL_CXXFLAGS) $c > $d" >> $mk
echo " touch $s" >> $mk
done
for c in $SRC_CC;do
d=`basename $c .cc`.dep
echo "include $d" >> $mk
done

View File

@ -1,9 +0,0 @@
include $(depth)/mk/commondefs
include $(depth)/mk/localdefs
ALL_CXXFLAGS = $(CXXFLAGS) $(COMMONCXXFLAGS) $(LOCALCXXFLAGS)
CC = gcc
CXX = g++
LIBSYS = -lpthread

View File

@ -1,10 +0,0 @@
include $(depth)/mk/commondefs
include $(depth)/mk/localdefs
ALL_CXXFLAGS = $(CXXFLAGS) $(COMMONCXXFLAGS) $(LOCALCXXFLAGS) \
-D_GNU_SOURCE
LIBSYS = -lpthread -ldl
LIBSYSTHREADS =

View File

@ -1,9 +0,0 @@
include $(depth)/mk/commondefs
include $(depth)/mk/localdefs
ALL_CXXFLAGS = $(CXXFLAGS) $(COMMONCXXFLAGS) $(LOCALCXXFLAGS)
LIBRECOLL = -L$(depth)/lib -lrecoll
RANLIB = ranlib
LIBSYS =

View File

@ -1,8 +0,0 @@
include $(depth)/mk/commondefs
include $(depth)/mk/localdefs
ALL_CXXFLAGS = $(CXXFLAGS) $(COMMONCXXFLAGS) $(LOCALCXXFLAGS) \
-D_GNU_SOURCE
LIBSYS = -lpthread -ldl

View File

@ -1,5 +0,0 @@
include $(depth)/mk/commondefs
include $(depth)/mk/localdefs
ALL_CXXFLAGS = $(CXXFLAGS) $(COMMONCXXFLAGS) $(LOCALCXXFLAGS) -pthread
LIBSYS = -pthread -lz

View File

@ -1,10 +0,0 @@
include $(depth)/mk/commondefs
include $(depth)/mk/localdefs
ALL_CXXFLAGS = $(CXXFLAGS) $(COMMONCXXFLAGS) $(LOCALCXXFLAGS) \
-D_GNU_SOURCE
LIBSYS = -lpthread -ldl
LIBSYSTHREADS =

View File

@ -1,6 +0,0 @@
include $(depth)/mk/commondefs
include $(depth)/mk/localdefs
ALL_CXXFLAGS = $(CXXFLAGS) $(COMMONCXXFLAGS) $(LOCALCXXFLAGS) \
-pthread -I/usr/include
LIBSYS =

View File

@ -1,9 +0,0 @@
include $(depth)/mk/commondefs
include $(depth)/mk/localdefs
ALL_CXXFLAGS = $(CXXFLAGS) $(COMMONCXXFLAGS) $(LOCALCXXFLAGS)
CC = gcc
CXX = g++
LIBSYS = -lpthread -lnsl -lsocket -ldl

View File

@ -1,21 +0,0 @@
# Common/default for all systems, can be overridden by sys-specific include
COMMONCXXFLAGS = -I. \
-I$(depth)/aspell \
-I$(depth)/bincimapmime \
-I$(depth)/common \
-I$(depth)/index \
-I$(depth)/internfile \
-I$(depth)/rcldb \
-I$(depth)/unac \
-I$(depth)/utils
# We happen to be using gcc on all platforms for now. Can be overridden in
# the sys file or localdefs
SYSPICFLAGS = -fPIC -DPIC
LIBRECOLL = -L$(depth)/lib -lrecoll -Wl,-rpath=$(libdir)/recoll
RANLIB = test -f
AR=ar

View File

@ -1,14 +0,0 @@
librecoll:
make -C $(depth)/lib
depend: alldeps.stamp
alldeps.stamp : $(SRCS)
$(CXX) -M $(ALL_CXXFLAGS) $(SRCS) > alldeps
touch alldeps.stamp
clean:
cp /dev/null alldeps
rm -f alldeps.stamp
rm -f *.o ${LIBS} ${PROGS} ${OBJS}

View File

@ -1,39 +0,0 @@
# @(#$Id: localdefs.in,v 1.14 2008-09-07 06:43:30 dockes Exp $ (C) 2006 J.F.Dockes
# 'Make' definitions which depend on local configuration.
LIBXAPIAN=@LIBXAPIAN@
XAPIANCXXFLAGS=@XAPIANCXXFLAGS@
LIBICONV=@LIBICONV@
INCICONV=@INCICONV@
LIBFAM = @LIBFAM@
RCLLIBVERSION=@RCLLIBVERSION@
X_CFLAGS=@X_CFLAGS@
X_PRE_LIBS=@X_PRE_LIBS@
X_LIBS=@X_LIBS@
X_EXTRA_LIBS=@X_EXTRA_LIBS@
X_LIBX11=@X_LIBX11@
prefix = @prefix@
exec_prefix = @exec_prefix@
datarootdir = @datarootdir@
datadir = @datadir@
libdir = @libdir@
RECOLL_DATADIR = ${datadir}/recoll
@NOPIC@PICFLAGS = $(SYSPICFLAGS)
@NOTHREADS@LIBTHREADS = $(LIBSYSTHREADS)
LOCALCXXFLAGS = -Wall -Wno-unused \
$(INCICONV) $(XAPIANCXXFLAGS) $(X_CFLAGS) \
-DRECOLL_DATADIR=\"$(RECOLL_DATADIR)\" \
$(PICFLAGS) \
@DEFS@
CXXFLAGS ?= @CXXFLAGS@

View File

@ -1,592 +0,0 @@
COPYING
ChangeLog
INSTALL
Makefile.in
README
VERSION
aspell/
aspell/Makefile
aspell/aspell-local.h
aspell/rclaspell.cpp
aspell/rclaspell.h
bincimapmime/
bincimapmime/00README.recoll
bincimapmime/AUTHORS
bincimapmime/COPYING
bincimapmime/Makefile
bincimapmime/config.h
bincimapmime/convert.cc
bincimapmime/convert.h
bincimapmime/iodevice.cc
bincimapmime/iodevice.h
bincimapmime/iofactory.cc
bincimapmime/iofactory.h
bincimapmime/mime-inputsource.h
bincimapmime/mime-parsefull.cc
bincimapmime/mime-parseonlyheader.cc
bincimapmime/mime-printbody.cc
bincimapmime/mime-utils.h
bincimapmime/mime.cc
bincimapmime/mime.h
bincimapmime/trbinc.cc
common/
common/Makefile
common/autoconfig.h.in
common/beaglequeuecache.cpp
common/beaglequeuecache.h
common/cstr.cpp
common/cstr.h
common/rclconfig.cpp
common/rclconfig.h
common/rclinit.cpp
common/rclinit.h
common/rclversion.h.in
common/textsplit.cpp
common/textsplit.h
common/unacpp.cpp
common/unacpp.h
common/unordered_defs.h
common/uproplist.h
configure
configure.ac
desktop/
desktop/hotrecoll.py
desktop/recoll-searchgui.desktop
desktop/recoll.appdata.xml
desktop/recoll.png
desktop/recoll.svg
desktop/recoll.xcf
desktop/recoll_index_on_ac.sh
desktop/recollindex.desktop
desktop/xdg-utils-1.0.1/
desktop/xdg-utils-1.0.1/LICENSE
desktop/xdg-utils-1.0.1/scripts/
desktop/xdg-utils-1.0.1/scripts/xdg-desktop-menu
desktop/xdg-utils-1.0.1/scripts/xdg-icon-resource
desktop/xdg-utils-1.0.1/scripts/xdg-open
doc/
doc/man/
doc/man/recoll.1
doc/man/recoll.conf.5
doc/man/recollindex.1
doc/man/recollq.1
doc/prog/
doc/prog/Doxyfile
doc/prog/Makefile
doc/prog/filters.txt
doc/prog/top.txt
doc/user/
doc/user/00README.txt
doc/user/Makefile
doc/user/RCL.INDEXING.CONFIG.html
doc/user/RCL.INDEXING.EXTATTR.html
doc/user/RCL.INDEXING.EXTTAGS.html
doc/user/RCL.INDEXING.MONITOR.html
doc/user/RCL.INDEXING.PERIODIC.html
doc/user/RCL.INDEXING.STORAGE.html
doc/user/RCL.INDEXING.WEBQUEUE.html
doc/user/RCL.INDEXING.html
doc/user/RCL.INSTALL.BUILDING.html
doc/user/RCL.INSTALL.CONFIG.html
doc/user/RCL.INSTALL.EXTERNAL.html
doc/user/RCL.INSTALL.html
doc/user/RCL.INTRODUCTION.RECOLL.html
doc/user/RCL.INTRODUCTION.SEARCH.html
doc/user/RCL.INTRODUCTION.html
doc/user/RCL.PROGRAM.API.html
doc/user/RCL.PROGRAM.FIELDS.html
doc/user/RCL.PROGRAM.html
doc/user/RCL.SEARCH.ANCHORWILD.html
doc/user/RCL.SEARCH.CASEDIAC.html
doc/user/RCL.SEARCH.COMMANDLINE.html
doc/user/RCL.SEARCH.DESKTOP.html
doc/user/RCL.SEARCH.KIO.html
doc/user/RCL.SEARCH.LANG.html
doc/user/RCL.SEARCH.PTRANS.html
doc/user/RCL.SEARCH.html
doc/user/docbook-xsl.css
doc/user/docbook.css
doc/user/index.html
doc/user/usermanual-italian.html
doc/user/usermanual.html
doc/user/usermanual.xml
filters/
filters/injectcommon.sh
filters/msodump.zip
filters/ppt-dump.py
filters/rcl7z
filters/rclabw
filters/rclaptosidman
filters/rclaudio
filters/rclcheckneedretry.sh
filters/rclchm
filters/rcldia
filters/rcldjvu
filters/rcldoc
filters/rcldvi
filters/rclepub
filters/rclexecm.py
filters/rclfb2
filters/rclgaim
filters/rclgnm
filters/rclics
filters/rclimg
filters/rclinfo
filters/rclkar
filters/rclkwd
filters/rcllatinclass.py
filters/rcllatinstops.zip
filters/rcllyx
filters/rclman
filters/rclmpdf
filters/rclnull
filters/rclokulnote
filters/rclopxml
filters/rclpdf
filters/rclppt
filters/rclps
filters/rclpurple
filters/rclpython
filters/rclrar
filters/rclrtf
filters/rclscribus
filters/rclshowinfo
filters/rclsiduxman
filters/rclsoff
filters/rclsvg
filters/rcltar
filters/rcltex
filters/rcltext
filters/rcluncomp
filters/rclwar
filters/rclwpd
filters/rclxls
filters/rclxml
filters/rclzip
filters/recfiltcommon
filters/xls-dump.py
filters/xlsxmltocsv.py
index/
index/Makefile
index/beaglequeue.cpp
index/beaglequeue.h
index/bglfetcher.cpp
index/bglfetcher.h
index/checkretryfailed.cpp
index/checkretryfailed.h
index/fetcher.cpp
index/fetcher.h
index/fsfetcher.cpp
index/fsfetcher.h
index/fsindexer.cpp
index/fsindexer.h
index/indexer.cpp
index/indexer.h
index/mimetype.cpp
index/mimetype.h
index/rclmon.h
index/rclmon.sh
index/rclmonprc.cpp
index/rclmonrcv.cpp
index/recollindex.cpp
index/recollindex.h
index/subtreelist.cpp
index/subtreelist.h
internfile/
internfile/Filter.h
internfile/Makefile
internfile/extrameta.cpp
internfile/extrameta.h
internfile/htmlparse.cpp
internfile/htmlparse.h
internfile/indextext.h
internfile/internfile.cpp
internfile/internfile.h
internfile/mh_exec.cpp
internfile/mh_exec.h
internfile/mh_execm.cpp
internfile/mh_execm.h
internfile/mh_html.cpp
internfile/mh_html.h
internfile/mh_mail.cpp
internfile/mh_mail.h
internfile/mh_mbox.cpp
internfile/mh_mbox.h
internfile/mh_symlink.h
internfile/mh_text.cpp
internfile/mh_text.h
internfile/mh_unknown.h
internfile/mimehandler.cpp
internfile/mimehandler.h
internfile/myhtmlparse.cpp
internfile/myhtmlparse.h
internfile/txtdcode.cpp
internfile/uncomp.cpp
internfile/uncomp.h
kde/
kde/kioslave/
kde/kioslave/kio_recoll/
kde/kioslave/kio_recoll/00README.txt
kde/kioslave/kio_recoll/CMakeLists.txt
kde/kioslave/kio_recoll/Makefile.kde3
kde/kioslave/kio_recoll/cleancmakestuff.sh
kde/kioslave/kio_recoll/data/
kde/kioslave/kio_recoll/data/help.html
kde/kioslave/kio_recoll/data/searchable.html
kde/kioslave/kio_recoll/data/welcome.html
kde/kioslave/kio_recoll/dirif.cpp
kde/kioslave/kio_recoll/htmlif.cpp
kde/kioslave/kio_recoll/kio_recoll.cpp
kde/kioslave/kio_recoll/kio_recoll.h
kde/kioslave/kio_recoll/kio_recoll.la
kde/kioslave/kio_recoll/notes.txt
kde/kioslave/kio_recoll/recoll.protocol
kde/kioslave/kio_recoll/recollf.protocol
kde/kioslave/kio_recoll/recollnolist.protocol
lib/
lib/mkMake.in
makestaticdist.sh
mk/
mk/AIX
mk/CYGWIN
mk/Darwin
mk/Default
mk/FreeBSD
mk/Linux
mk/OpenBSD
mk/SunOS
mk/commondefs
mk/commontargets
mk/localdefs.in
php/
php/00README.txt
php/recoll/
php/recoll/config.m4
php/recoll/make.sh
php/recoll/php_recoll.h
php/recoll/recoll.cpp
php/sample/
php/sample/shell.php
python/
python/README.txt
python/recoll/
python/recoll/Makefile
python/recoll/pyrclextract.cpp
python/recoll/pyrecoll.cpp
python/recoll/pyrecoll.h
python/recoll/recoll/
python/recoll/recoll/__init__.py
python/recoll/recoll/rclconfig.py
python/recoll/setup.py.in
python/samples/
python/samples/docdups.py
python/samples/mutt-recoll.py
python/samples/rcldlkp.py
python/samples/rclmbox.py
python/samples/recollgui/
python/samples/recollgui/Makefile
python/samples/recollgui/qrecoll.py
python/samples/recollgui/rclmain.ui
python/samples/recollq.py
python/samples/recollqsd.py
python/samples/trconfig.py
qtgui/
qtgui/advsearch.ui
qtgui/advsearch_w.cpp
qtgui/advsearch_w.h
qtgui/advshist.cpp
qtgui/advshist.h
qtgui/confgui/
qtgui/confgui/confgui.cpp
qtgui/confgui/confgui.h
qtgui/confgui/confguiindex.cpp
qtgui/confgui/confguiindex.h
qtgui/confgui/conflinkrcl.h
qtgui/confgui/main.cpp
qtgui/confgui/trconf.pro
qtgui/crontool.cpp
qtgui/crontool.h
qtgui/crontool.ui
qtgui/editdialog.h
qtgui/editdialog.ui
qtgui/firstidx.h
qtgui/firstidx.ui
qtgui/fragbuts.cpp
qtgui/fragbuts.h
qtgui/guiutils.cpp
qtgui/guiutils.h
qtgui/i18n/
qtgui/i18n/recoll_cs.qm
qtgui/i18n/recoll_cs.ts
qtgui/i18n/recoll_da.qm
qtgui/i18n/recoll_da.ts
qtgui/i18n/recoll_de.qm
qtgui/i18n/recoll_de.ts
qtgui/i18n/recoll_el.qm
qtgui/i18n/recoll_el.ts
qtgui/i18n/recoll_es.qm
qtgui/i18n/recoll_es.ts
qtgui/i18n/recoll_fr.qm
qtgui/i18n/recoll_fr.ts
qtgui/i18n/recoll_it.qm
qtgui/i18n/recoll_it.ts
qtgui/i18n/recoll_lt.qm
qtgui/i18n/recoll_lt.ts
qtgui/i18n/recoll_pl.qm
qtgui/i18n/recoll_pl.ts
qtgui/i18n/recoll_ru.qm
qtgui/i18n/recoll_ru.ts
qtgui/i18n/recoll_tr.qm
qtgui/i18n/recoll_tr.ts
qtgui/i18n/recoll_uk.qm
qtgui/i18n/recoll_uk.ts
qtgui/i18n/recoll_xx.qm
qtgui/i18n/recoll_xx.ts
qtgui/i18n/recoll_zh.qm
qtgui/i18n/recoll_zh.ts
qtgui/i18n/recoll_zh_CN.qm
qtgui/i18n/recoll_zh_CN.ts
qtgui/idxsched.h
qtgui/idxsched.ui
qtgui/images/
qtgui/images/asearch.png
qtgui/images/cancel.png
qtgui/images/close.png
qtgui/images/code-block.png
qtgui/images/down.png
qtgui/images/firstpage.png
qtgui/images/history.png
qtgui/images/nextpage.png
qtgui/images/prevpage.png
qtgui/images/recoll.icns
qtgui/images/recoll.png
qtgui/images/sortparms.png
qtgui/images/spell.png
qtgui/images/table.png
qtgui/images/up.png
qtgui/listdialog.h
qtgui/listdialog.ui
qtgui/main.cpp
qtgui/mtpics/
qtgui/mtpics/License_sidux.txt
qtgui/mtpics/README
qtgui/mtpics/aptosid-book.png
qtgui/mtpics/aptosid-manual-copyright.txt
qtgui/mtpics/aptosid-manual.png
qtgui/mtpics/archive.png
qtgui/mtpics/book.png
qtgui/mtpics/bookchap.png
qtgui/mtpics/document.png
qtgui/mtpics/drawing.png
qtgui/mtpics/emblem-symbolic-link.png
qtgui/mtpics/folder.png
qtgui/mtpics/html.png
qtgui/mtpics/image.png
qtgui/mtpics/message.png
qtgui/mtpics/mozilla_doc.png
qtgui/mtpics/pdf.png
qtgui/mtpics/pidgin.png
qtgui/mtpics/postscript.png
qtgui/mtpics/presentation.png
qtgui/mtpics/sidux-book.png
qtgui/mtpics/soffice.png
qtgui/mtpics/source.png
qtgui/mtpics/sownd.png
qtgui/mtpics/spreadsheet.png
qtgui/mtpics/text-x-python.png
qtgui/mtpics/txt.png
qtgui/mtpics/video.png
qtgui/mtpics/wordprocessing.png
qtgui/multisave.cpp
qtgui/multisave.h
qtgui/preview_w.cpp
qtgui/preview_w.h
qtgui/ptrans.ui
qtgui/ptrans_w.cpp
qtgui/ptrans_w.h
qtgui/rclhelp.cpp
qtgui/rclhelp.h
qtgui/rclm_idx.cpp
qtgui/rclm_preview.cpp
qtgui/rclm_saveload.cpp
qtgui/rclm_view.cpp
qtgui/rclm_wins.cpp
qtgui/rclmain.ui
qtgui/rclmain_w.cpp
qtgui/rclmain_w.h
qtgui/rclzg.cpp
qtgui/rclzg.h
qtgui/recoll.h
qtgui/recoll.pro.in
qtgui/recoll.qrc
qtgui/reslist.cpp
qtgui/reslist.h
qtgui/respopup.cpp
qtgui/respopup.h
qtgui/restable.cpp
qtgui/restable.h
qtgui/restable.ui
qtgui/rtitool.cpp
qtgui/rtitool.h
qtgui/rtitool.ui
qtgui/searchclause_w.cpp
qtgui/searchclause_w.h
qtgui/snippets.ui
qtgui/snippets_w.cpp
qtgui/snippets_w.h
qtgui/spell.ui
qtgui/spell_w.cpp
qtgui/spell_w.h
qtgui/ssearch_w.cpp
qtgui/ssearch_w.h
qtgui/ssearchb.ui
qtgui/systray.cpp
qtgui/systray.h
qtgui/ui_rclmain.h-4.5
qtgui/uiprefs.ui
qtgui/uiprefs_w.cpp
qtgui/uiprefs_w.h
qtgui/viewaction.ui
qtgui/viewaction_w.cpp
qtgui/viewaction_w.h
qtgui/xmltosd.cpp
qtgui/xmltosd.h
query/
query/Makefile
query/docseq.cpp
query/docseq.h
query/docseqdb.cpp
query/docseqdb.h
query/docseqdocs.h
query/docseqhist.cpp
query/docseqhist.h
query/dynconf.cpp
query/dynconf.h
query/filtseq.cpp
query/filtseq.h
query/plaintorich.cpp
query/plaintorich.h
query/recollq.cpp
query/recollq.h
query/reslistpager.cpp
query/reslistpager.h
query/sortseq.cpp
query/sortseq.h
query/wasaparse.cpp
query/wasaparse.y
query/wasaparserdriver.h
query/wasatorcl.h
query/xadump.cpp
rcldb/
rcldb/Makefile
rcldb/daterange.cpp
rcldb/daterange.h
rcldb/expansiondbs.cpp
rcldb/expansiondbs.h
rcldb/rclabstract.cpp
rcldb/rcldb.cpp
rcldb/rcldb.h
rcldb/rcldb_p.h
rcldb/rcldoc.cpp
rcldb/rcldoc.h
rcldb/rcldups.cpp
rcldb/rclquery.cpp
rcldb/rclquery.h
rcldb/rclquery_p.h
rcldb/rclterms.cpp
rcldb/searchdata.cpp
rcldb/searchdata.h
rcldb/searchdatatox.cpp
rcldb/searchdataxml.cpp
rcldb/stemdb.cpp
rcldb/stemdb.h
rcldb/stoplist.cpp
rcldb/stoplist.h
rcldb/synfamily.cpp
rcldb/synfamily.h
rcldb/termproc.h
rcldb/xmacros.h
recollinstall.in
sampleconf/
sampleconf/fields
sampleconf/fragbuts.xml
sampleconf/mimeconf
sampleconf/mimemap
sampleconf/mimeview
sampleconf/mimeview.mac
sampleconf/recoll.conf.in
sampleconf/recoll.qss
unac/
unac/AUTHORS
unac/COPYING
unac/README
unac/README.recoll
unac/unac.c
unac/unac.cpp
unac/unac.h
unac/unac_version.h
utils/
utils/Makefile
utils/appformime.cpp
utils/appformime.h
utils/base64.cpp
utils/base64.h
utils/cancelcheck.h
utils/circache.cpp
utils/circache.h
utils/closefrom.cpp
utils/closefrom.h
utils/conftree.cpp
utils/conftree.h
utils/copyfile.cpp
utils/copyfile.h
utils/cpuconf.cpp
utils/cpuconf.h
utils/debuglog.cpp
utils/debuglog.h
utils/ecrontab.cpp
utils/ecrontab.h
utils/execmd.cpp
utils/execmd.h
utils/fileudi.cpp
utils/fileudi.h
utils/fstreewalk.cpp
utils/fstreewalk.h
utils/hldata.h
utils/idfile.cpp
utils/idfile.h
utils/md5.cpp
utils/md5.h
utils/md5ut.cpp
utils/md5ut.h
utils/mimeparse.cpp
utils/mimeparse.h
utils/netcon.cpp
utils/netcon.h
utils/pathut.cpp
utils/pathut.h
utils/ptmutex.cpp
utils/ptmutex.h
utils/pxattr.cpp
utils/pxattr.h
utils/rclionice.cpp
utils/rclionice.h
utils/readfile.cpp
utils/readfile.h
utils/refcntr.h
utils/smallut.cpp
utils/smallut.h
utils/strmatcher.cpp
utils/strmatcher.h
utils/transcode.cpp
utils/transcode.h
utils/utf8iter.cpp
utils/utf8iter.h
utils/utf8testin.txt
utils/wipedir.cpp
utils/wipedir.h
utils/workqueue.cpp
utils/workqueue.h
utils/x11mon.cpp
utils/x11mon.h

View File

@ -6,7 +6,7 @@ sysname = os.uname()[0]
top = os.path.join('..', '..')
library_dirs = [os.path.join(top, 'lib')]
library_dirs = [os.path.join(top, '.libs')]
if "CYGWIN" in os.environ:
libraries = ['recoll', 'xapian', 'iconv', 'z']
else:
@ -18,23 +18,6 @@ if 'libdir' in os.environ and os.environ['libdir'] != "":
else:
runtime_library_dirs = [os.path.join('@prefix@', 'lib', 'recoll')]
# Verify that the Recoll library was compiled with the PIC options
localdefs = os.path.join(top, 'mk', 'localdefs')
try:
lines = open(localdefs, 'r').readlines()
except:
print('You need to build recoll first. Use configure --enable-pic')
sys.exit(1)
picok = False
for line in lines:
if line.find('PICFLAGS') == 0:
picok = True
break
if not picok:
print('You need to rebuild recoll with PIC enabled. Use configure --enable-pic and make clean')
sys.exit(1)
module1 = Extension('recoll',
define_macros = [('MAJOR_VERSION', '1'),
('MINOR_VERSION', '0'),

View File

@ -8,7 +8,7 @@
#include "searchdata.h"
#include "wasaparserdriver.h"
#include "wasaparse.tab.h"
#include "wasaparse.h"
using namespace std;

View File

@ -25,7 +25,8 @@
#define YYDEBUG 1
#include "wasaparse.tab.h"
// bison-generated file
#include "wasaparse.h"
using namespace std;
using namespace Rcl;

13
src/query/y.tab.h Normal file
View File

@ -0,0 +1,13 @@
// Bogus file to solve the following problem:
// Bison generates y.tab.h and inserts a line in the generated cpp
// file to include it
// However, we tell automake to use wasaparse.cpp and wasaparse.h as
// names for the generated files. This does not fix the #include
// y.tab.h line, so it fails.
// This workaround file just includes the appropriate file as
// generated by automake
#include "wasaparse.h"