diff --git a/src/Makefile.in b/src/Makefile.in
index 1f8dfa00..ba492ef7 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -1,4 +1,4 @@
-# @(#$Id: Makefile.in,v 1.6 2006-04-30 07:26:59 dockes Exp $ (C) 2005 J.F.Dockes
+# @(#$Id: Makefile.in,v 1.7 2006-06-24 07:40:04 dockes Exp $ (C) 2005 J.F.Dockes
prefix = @prefix@
exec_prefix = @exec_prefix@
@@ -8,12 +8,13 @@ datadir = @datadir@
mandir = @mandir@
QMAKE = @QMAKE@
+QTGUI = @QTGUI@
all: mk/sysconf common/rclversion.h
cd lib; ${MAKE}
cd bincimapmime; ${MAKE}
cd index; ${MAKE} recollindex
- cd qtgui; ${QMAKE} recoll.pro; ${MAKE} depth=..
+ cd $(QTGUI); ${QMAKE} recoll.pro; ${MAKE} depth=..
mk/sysconf:
@echo "You need to run configure first" ; exit 1
@@ -27,7 +28,7 @@ static:
cd bincimapmime; ${MAKE}
cd index; rm -f recollindex; \
${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic recollindex
- cd qtgui; $(QMAKE) recoll.pro; \
+ cd $(QTGUI); $(QMAKE) recoll.pro; \
rm -f recoll; \
${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic depth=..
@@ -39,12 +40,12 @@ clean:
cd query; ${MAKE} clean
cd utils; ${MAKE} clean
#cd doc/user; ${MAKE} clean
- @-cd qtgui; ${MAKE} clean
- rm -f qtgui/Makefile qtgui/preview/Makefile qtgui/recoll
+ @-cd $(QTGUI); ${MAKE} clean
+ rm -f $(QTGUI)/Makefile $(QTGUI)/preview/Makefile $(QTGUI)/recoll
distclean: clean
rm -f mk/sysconf mk/localdefs sampleconf/recoll.conf \
- qtgui/recoll.pro Makefile config.log config.status \
+ $(QTGUI)/recoll.pro Makefile config.log config.status \
recollinstall \
doc/user/*.html* doc/user/*.txt doc/user/HTML.manifest \
lib/*.dep
diff --git a/src/VERSION b/src/VERSION
index 428b770e..1c99cf0e 100644
--- a/src/VERSION
+++ b/src/VERSION
@@ -1 +1 @@
-1.4.3
+1.4.4
diff --git a/src/configure b/src/configure
index 86d01465..466b4592 100755
--- a/src/configure
+++ b/src/configure
@@ -780,6 +780,11 @@ if test -n "$ac_init_help"; then
esac
cat <<\_ACEOF
+Optional Features:
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-qt4 Use qt version 4
+
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
@@ -2218,6 +2223,24 @@ XAPIANCXXFLAGS=`$XAPIAN_CONFIG --cxxflags`
# mkspecs directory, so that QMAKESPEC is not needed.
# If QMAKESPEC is not set and needed, the qmake test at the previous test
# will have failed, and we tell the user to check his environment.
+#
+# Note about qt4: if --enable-qt4 (enables the qt4gui directory), and the
+# QTDIR variable are inconsistent, too bad.
+#
+# Check whether --enable-qt4 or --disable-qt4 was given.
+if test "${enable_qt4+set}" = set; then
+ enableval="$enable_qt4"
+ rcl_cv_qt4=$enableval
+else
+ rcl_cv_qt4=no
+fi;
+{ echo "$as_me:$LINENO: rcl_cv_qt4 $rcl_cv_qt4" >&5
+echo "$as_me: rcl_cv_qt4 $rcl_cv_qt4" >&6;}
+if test X$rcl_cv_qt4 = Xyes ; then
+ QTGUI=qt4gui
+else
+ QTGUI=qtgui
+fi
if test X$QTDIR != X ; then
PATH=$QTDIR/bin:$PATH
@@ -2272,7 +2295,7 @@ it and/or set the QTDIR environment variable?" >&2;}
{ (exit 1); exit 1; }; }
fi
-cd qtgui
+cd $QTGUI
# We just want a .pro file: no problem with unsubstituted variables
cp recoll.pro.in recoll.pro
${QMAKE} recoll.pro
@@ -2314,6 +2337,7 @@ QTRECOLL_DATADIR=${m_datadir}/recoll
+
ac_config_files="$ac_config_files mk/localdefs"
ac_config_files="$ac_config_files recollinstall"
@@ -2322,7 +2346,7 @@ ac_config_files="$ac_config_files Makefile"
ac_config_files="$ac_config_files sampleconf/recoll.conf"
-ac_config_files="$ac_config_files qtgui/recoll.pro"
+ac_config_files="$ac_config_files $QTGUI/recoll.pro"
for d in bincimapmime index lib query
@@ -2833,7 +2857,7 @@ do
"recollinstall" ) CONFIG_FILES="$CONFIG_FILES recollinstall" ;;
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"sampleconf/recoll.conf" ) CONFIG_FILES="$CONFIG_FILES sampleconf/recoll.conf" ;;
- "qtgui/recoll.pro" ) CONFIG_FILES="$CONFIG_FILES qtgui/recoll.pro" ;;
+ "$QTGUI/recoll.pro" ) CONFIG_FILES="$CONFIG_FILES $QTGUI/recoll.pro" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
{ (exit 1); exit 1; }; };;
@@ -2928,6 +2952,7 @@ s,@XAPIANCXXFLAGS@,$XAPIANCXXFLAGS,;t t
s,@LIBICONV@,$LIBICONV,;t t
s,@INCICONV@,$INCICONV,;t t
s,@QTRECOLL_DATADIR@,$QTRECOLL_DATADIR,;t t
+s,@QTGUI@,$QTGUI,;t t
CEOF
_ACEOF
diff --git a/src/configure.ac b/src/configure.ac
index 27b22d0c..58e641d2 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -89,6 +89,20 @@ XAPIANCXXFLAGS=`$XAPIAN_CONFIG --cxxflags`
# mkspecs directory, so that QMAKESPEC is not needed.
# If QMAKESPEC is not set and needed, the qmake test at the previous test
# will have failed, and we tell the user to check his environment.
+#
+# Note about qt4: if --enable-qt4 (enables the qt4gui directory), and the
+# QTDIR variable are inconsistent, too bad.
+#
+AC_ARG_ENABLE(qt4,
+ AC_HELP_STRING([--enable-qt4],
+ [Use qt version 4]),
+ rcl_cv_qt4=$enableval, rcl_cv_qt4=no)
+AC_MSG_NOTICE(rcl_cv_qt4 $rcl_cv_qt4)
+if test X$rcl_cv_qt4 = Xyes ; then
+ QTGUI=qt4gui
+else
+ QTGUI=qtgui
+fi
if test X$QTDIR != X ; then
PATH=$QTDIR/bin:$PATH
@@ -101,7 +115,7 @@ if test X$QMAKE = XNOTFOUND ; then
it and/or set the QTDIR environment variable?])
fi
-cd qtgui
+cd $QTGUI
# We just want a .pro file: no problem with unsubstituted variables
cp recoll.pro.in recoll.pro
${QMAKE} recoll.pro
@@ -136,12 +150,13 @@ AC_SUBST(LIBICONV)
AC_SUBST(INCICONV)
AC_SUBST(QTRECOLL_DATADIR)
AC_SUBST(QMAKE)
+AC_SUBST(QTGUI)
AC_CONFIG_FILES(mk/localdefs)
AC_CONFIG_FILES(recollinstall)
AC_CONFIG_FILES(Makefile)
AC_CONFIG_FILES(sampleconf/recoll.conf)
-AC_CONFIG_FILES(qtgui/recoll.pro)
+AC_CONFIG_FILES($QTGUI/recoll.pro)
for d in bincimapmime index lib query
do
diff --git a/src/doc/user/usermanual.sgml b/src/doc/user/usermanual.sgml
index 1b561fa7..ba85d865 100644
--- a/src/doc/user/usermanual.sgml
+++ b/src/doc/user/usermanual.sgml
@@ -24,7 +24,7 @@
Dockes
- $Id: usermanual.sgml,v 1.13 2006-04-27 09:23:10 dockes Exp $
+ $Id: usermanual.sgml,v 1.14 2006-06-24 07:40:04 dockes Exp $This document introduces full text search notions
@@ -292,6 +292,11 @@
linkend="rcl.install.config.recollconf">installation chapter of
this document, or in the recoll.conf(5) man page.
+ The applications needed to index file types other than
+ text, html or email (ie: pdf, postscript, ms-word...) are
+ described in the external
+ packages section
+
@@ -511,7 +516,7 @@
EditCopy File NameCopy Url
- More like this
+ Find similarThe Preview and
@@ -520,7 +525,7 @@
an url or the file path to the clipboard, for pasting into
another application.
- The More like this entry will select
+ The Find similar entry will select
a number of relevant term from the current document and enter
them into the simple search field. You can then start a simple
search, with a good chance of finding documents related to the
@@ -593,10 +598,10 @@
close the application.
- Closing previews
- Entering ^W in a preview tab will
- close it (and, for the last tab, close the preview
- window).
+ Closing previews
+ Entering Esc will close the preview
+ window and all its tabs. Entering ^W in a tab will
+ close it (and, for the last tab, close the preview window).
diff --git a/src/qt4gui/recoll.pro.in b/src/qt4gui/recoll.pro.in
index a3cd60a8..15bdf40a 100644
--- a/src/qt4gui/recoll.pro.in
+++ b/src/qt4gui/recoll.pro.in
@@ -26,13 +26,7 @@ FORMS = sort.ui \
uiprefs.ui \
ssearchb.ui
-IMAGES = images/asearch.png \
- images/history.png \
- images/d_nextpage.png \
- images/nextpage.png \
- images/d_prevpage.png \
- images/prevpage.png \
- images/sortparms.png
+RESOURCES += icons.qrc
unix {
UI_DIR = .ui
diff --git a/src/qt4gui/recollmain.ui b/src/qt4gui/recollmain.ui
index 2241c136..01133a58 100644
--- a/src/qt4gui/recollmain.ui
+++ b/src/qt4gui/recollmain.ui
@@ -307,7 +307,9 @@
ssearchb.hrclreslist.h
-
+
+
+ prevPageAction
diff --git a/src/recollinstall.in b/src/recollinstall.in
index 9c0ab249..c8688dea 100755
--- a/src/recollinstall.in
+++ b/src/recollinstall.in
@@ -18,7 +18,12 @@ elif test $# -eq 1 ; then
else
usage
fi
-
+QTGUI=@QTGUI@
+if test X$QTGUI = Xqtgui ; then
+ I18N=$QTGUI
+else
+ I18N=${QTGUI}/i18n
+fi
test -n "$bindir" || bindir=${PREFIX}/bin
test -n "$datadir" || datadir=${PREFIX}/share
@@ -43,7 +48,7 @@ echo "Installing to $PREFIX"
INSTALL=${INSTALL:="install -c"}
STRIP=${STRIP:=strip}
-test -x qtgui/recoll || fatal "qtgui/recoll does not exist." \
+test -x ${QTGUI}/recoll || fatal "${QTGUI}/recoll does not exist." \
" You need to build first (type 'make')."
for d in \
@@ -69,7 +74,7 @@ ${INSTALL} -m 0444 doc/user/usermanual.html doc/user/docbook.css \
${INSTALL} -m 0444 doc/man/recoll.1 doc/man/recollindex.1 ${mandir}/man1/
${INSTALL} -m 0444 doc/man/recoll.conf.5 ${mandir}/man5/
-${INSTALL} -m 0755 qtgui/recoll index/recollindex ${bindir} || exit 1
+${INSTALL} -m 0755 ${QTGUI}/recoll index/recollindex ${bindir} || exit 1
${STRIP} ${bindir}/recoll ${bindir}/recollindex
${INSTALL} -m 0755 filters/rcl* ${datadir}/recoll/filters/ || exit 1
@@ -80,5 +85,5 @@ rm -f ${datadir}/recoll/examples/rcl*
${INSTALL} -m 0444 sampleconf/recoll.conf sampleconf/mimeconf \
sampleconf/mimemap ${datadir}/recoll/examples/ || exit 1
-${INSTALL} -m 0444 qtgui/mtpics/*.png ${datadir}/recoll/images || exit 1
-${INSTALL} -m 0444 qtgui/recoll*.qm ${datadir}/recoll/translations || exit 1
+${INSTALL} -m 0444 ${QTGUI}/mtpics/*.png ${datadir}/recoll/images || exit 1
+${INSTALL} -m 0444 ${I18N}/recoll*.qm ${datadir}/recoll/translations || exit 1