Fix kio build for newer ubuntu releases and recoll 1.25

This commit is contained in:
Jean-Francois Dockes
2019-02-15 18:18:25 +01:00
parent 55a9d59dd6
commit 5b8e2d06e1
9 changed files with 126 additions and 24 deletions
@@ -1,11 +0,0 @@
diff -r 110af3426961 src/kde/kioslave/kio_recoll/CMakeLists.txt
--- a/kde/kioslave/kio_recoll/CMakeLists.txt Mon May 15 13:18:53 2017 +0200
+++ b/kde/kioslave/kio_recoll/CMakeLists.txt Mon May 15 13:19:28 2017 +0200
@@ -83,6 +83,7 @@
recoll
xapian
KF5::KIOCore
+dl
z
pthread
)
@@ -0,0 +1,29 @@
diff --git a/kde/kioslave/kio_recoll/CMakeLists.txt b/kde/kioslave/kio_recoll/CMakeLists.txt
index 0c2de973..277f1578 100644
--- a/kde/kioslave/kio_recoll/CMakeLists.txt
+++ b/kde/kioslave/kio_recoll/CMakeLists.txt
@@ -42,7 +42,7 @@ set(rcltop ${CMAKE_CURRENT_SOURCE_DIR}/../../../)
# Execute recoll configuration to create autoconfig.h and version.h and
# generate a PIC lib
-execute_process(COMMAND ${rcltop}/configure --disable-static --disable-qtgui --disable-x11mon --prefix=${CMAKE_INSTALL_PREFIX} --mandir=${CMAKE_INSTALL_PREFIX}/share/man
+execute_process(COMMAND ${rcltop}/configure --disable-static --disable-qtgui --disable-x11mon --disable-python-chm --disable-python-module --prefix=${CMAKE_INSTALL_PREFIX} --mandir=${CMAKE_INSTALL_PREFIX}/share/man
WORKING_DIRECTORY ${rcltop}
)
@@ -82,10 +82,12 @@ add_dependencies(kio_recoll rcllib)
target_link_libraries(kio_recoll
recoll
xapian
-KF5::KIOCore
-dl
+xslt
+xml2
+KF5::KIOCore
+dl
z
-pthread
+pthread
)
install(FILES recoll.protocol recollf.protocol
@@ -0,0 +1 @@
fix-kio-cmake-nopython+xml.patch