diff --git a/.hgtags b/.hgtags
index 8488d400..15278583 100644
--- a/.hgtags
+++ b/.hgtags
@@ -126,3 +126,4 @@ e44205c256063d6388682c1dfc62b4db6184db0d help
0000000000000000000000000000000000000000 RECOLL_1_19_0
0000000000000000000000000000000000000000 RECOLL_1_19_0
3207b030989d19bdec25fdd2b500c3bbec3ebe97 RECOLL_1_19_0
+599179076d53eb87604c97e0adf391e304bcf377 RECOLL_1_19_1
diff --git a/src/VERSION b/src/VERSION
index 815d5ca0..66e2ae6c 100644
--- a/src/VERSION
+++ b/src/VERSION
@@ -1 +1 @@
-1.19.0
+1.19.1
diff --git a/src/kde/kioslave/kio_recoll/CMakeLists.txt b/src/kde/kioslave/kio_recoll/CMakeLists.txt
index 3cb978ce..e28d7277 100644
--- a/src/kde/kioslave/kio_recoll/CMakeLists.txt
+++ b/src/kde/kioslave/kio_recoll/CMakeLists.txt
@@ -46,15 +46,21 @@ IF(PTHREAD_IN_LIBPTHREAD)
LIST(APPEND EXTRA_LIBS pthread)
ENDIF(PTHREAD_IN_LIBPTHREAD)
+# Had the idea to add e.g. /usr/lib/recoll to the rpath so that the dyn lib
+# will be found at run time. But this does not seem to work with debian
+# which strips RPATH by default (I think there is a way for libs in app-specific
+# paths but I did not find it. Link with the .a instead.
+#SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib/recoll")
+
kde4_add_plugin(kio_recoll ${kio_recoll_SRCS})
add_custom_target(rcllib
- COMMAND make
+ COMMAND make librecoll.a
WORKING_DIRECTORY ${rcltop}/lib
)
add_dependencies(kio_recoll rcllib)
-target_link_libraries(kio_recoll recoll ${EXTRA_LIBS} ${KDE4_KIO_LIBS})
+target_link_libraries(kio_recoll recoll xapian z ${EXTRA_LIBS} ${KDE4_KIO_LIBS})
install(TARGETS kio_recoll DESTINATION ${PLUGIN_INSTALL_DIR})
diff --git a/src/rcldb/searchdata.h b/src/rcldb/searchdata.h
index 4c10f3d0..f9d3154b 100644
--- a/src/rcldb/searchdata.h
+++ b/src/rcldb/searchdata.h
@@ -315,6 +315,12 @@ public:
m_haveWildCards =
(txt.find_first_of(cstr_minwilds) != std::string::npos);
}
+ SearchDataClauseSimple(const std::string& txt, SClType tp)
+ : SearchDataClause(tp), m_text(txt), m_curcl(0)
+ {
+ m_haveWildCards =
+ (txt.find_first_of(cstr_minwilds) != std::string::npos);
+ }
virtual ~SearchDataClauseSimple()
{
@@ -365,10 +371,10 @@ protected:
* field, especially for file names, because this makes searches for
* "*xx" much faster (no need to scan the whole main index).
*/
-class SearchDataClauseFilename : public SearchDataClause {
+class SearchDataClauseFilename : public SearchDataClauseSimple {
public:
SearchDataClauseFilename(const std::string& txt)
- : SearchDataClause(SCLT_FILENAME), m_text(txt)
+ : SearchDataClauseSimple(txt, SCLT_FILENAME)
{
// File name searches don't count when looking for wild cards.
m_haveWildCards = false;
@@ -383,9 +389,6 @@ public:
}
virtual bool toNativeQuery(Rcl::Db &, void *);
-
-protected:
- std::string m_text;
};
diff --git a/src/rcldb/searchdataxml.cpp b/src/rcldb/searchdataxml.cpp
index f2d90641..72b3b9e5 100644
--- a/src/rcldb/searchdataxml.cpp
+++ b/src/rcldb/searchdataxml.cpp
@@ -56,18 +56,20 @@ string SearchData::asXML()
// Clause list
os << "" << cld->getslack() << "" << endl;
+ }
+ }
+ os << "" << cld->getslack() << "" << endl;
- }
- os << "
The current version is 1.19.0. Release
+ The current version is 1.19.1. Release
notes. The download page for Recoll 1.18 is still
@@ -87,12 +87,12 @@ is probably no necessity to upgrade anyway.Source
-Current release distribution: 1.19.0:
+Current release distribution: 1.19.1:
-
+