Fix kio build for newer ubuntu releases and recoll 1.25
This commit is contained in:
parent
55a9d59dd6
commit
5b8e2d06e1
@ -6,9 +6,9 @@
|
|||||||
|
|
||||||
PPA_KEYID=D38B9201
|
PPA_KEYID=D38B9201
|
||||||
|
|
||||||
RCLVERS=1.24.1
|
RCLVERS=1.25.3
|
||||||
SCOPEVERS=1.20.2.4
|
SCOPEVERS=1.20.2.4
|
||||||
PPAVERS=2
|
PPAVERS=6
|
||||||
|
|
||||||
#
|
#
|
||||||
RCLSRC=/y/home/dockes/projets/fulltext/recoll/src
|
RCLSRC=/y/home/dockes/projets/fulltext/recoll/src
|
||||||
@ -20,7 +20,7 @@ case $RCLVERS in
|
|||||||
1.14*) PPANAME=recoll-ppa;;
|
1.14*) PPANAME=recoll-ppa;;
|
||||||
*) PPANAME=recoll15-ppa;;
|
*) PPANAME=recoll15-ppa;;
|
||||||
esac
|
esac
|
||||||
# PPANAME=recollexp-ppa
|
PPANAME=recollexp-ppa
|
||||||
echo "PPA: $PPANAME. Type CR if Ok, else ^C"
|
echo "PPA: $PPANAME. Type CR if Ok, else ^C"
|
||||||
read rep
|
read rep
|
||||||
|
|
||||||
@ -46,8 +46,8 @@ debdir=debian
|
|||||||
# Note: no new releases for lucid: no webkit. Or use old debianrclqt4 dir.
|
# Note: no new releases for lucid: no webkit. Or use old debianrclqt4 dir.
|
||||||
# No new releases for trusty either because of risk of kio compat (kio
|
# No new releases for trusty either because of risk of kio compat (kio
|
||||||
# wont build)
|
# wont build)
|
||||||
series="xenial zesty artful bionic"
|
series="xenial bionic cosmic disco"
|
||||||
#series=
|
series=
|
||||||
|
|
||||||
if test "X$series" != X ; then
|
if test "X$series" != X ; then
|
||||||
check_recoll_orig
|
check_recoll_orig
|
||||||
@ -78,8 +78,8 @@ done
|
|||||||
|
|
||||||
### KIO. Does not build on trusty from recoll 1.23 because of the need
|
### KIO. Does not build on trusty from recoll 1.23 because of the need
|
||||||
### for c++11
|
### for c++11
|
||||||
series="xenial zesty artful bionic"
|
series="xenial bionic cosmic disco"
|
||||||
series=
|
series="cosmic disco"
|
||||||
|
|
||||||
debdir=debiankio
|
debdir=debiankio
|
||||||
topdir=kio-recoll-${RCLVERS}
|
topdir=kio-recoll-${RCLVERS}
|
||||||
@ -102,6 +102,12 @@ for svers in $series ; do
|
|||||||
rm -rf $topdir/debian
|
rm -rf $topdir/debian
|
||||||
cp -rp ${debdir}/ $topdir/debian || exit 1
|
cp -rp ${debdir}/ $topdir/debian || exit 1
|
||||||
|
|
||||||
|
if test -f $debdir/control-$series ; then
|
||||||
|
cp -f -p $debdir/control-$series recoll-${RCLVERS}/debian/control
|
||||||
|
else
|
||||||
|
cp -f -p $debdir/control recoll-${RCLVERS}/debian/control
|
||||||
|
fi
|
||||||
|
|
||||||
sed -e s/SERIES/$svers/g \
|
sed -e s/SERIES/$svers/g \
|
||||||
-e s/PPAVERS/${PPAVERS}/g \
|
-e s/PPAVERS/${PPAVERS}/g \
|
||||||
< ${debdir}/changelog > $topdir/debian/changelog ;
|
< ${debdir}/changelog > $topdir/debian/changelog ;
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
7
|
9
|
||||||
|
|||||||
@ -10,9 +10,10 @@ Build-Depends: cdbs,
|
|||||||
kdelibs5-dev (>= 4:4.2.2),
|
kdelibs5-dev (>= 4:4.2.2),
|
||||||
qtbase5-dev,
|
qtbase5-dev,
|
||||||
extra-cmake-modules,
|
extra-cmake-modules,
|
||||||
kio-dev,
|
libkf5kio-dev,
|
||||||
pkg-kde-tools (>= 0.4.0),
|
pkg-kde-tools (>= 0.4.0),
|
||||||
libxapian-dev,
|
libxapian-dev,
|
||||||
|
libxslt1-dev,
|
||||||
libz-dev
|
libz-dev
|
||||||
Standards-Version: 3.9.7
|
Standards-Version: 3.9.7
|
||||||
Homepage: http://www.recoll.org/
|
Homepage: http://www.recoll.org/
|
||||||
|
|||||||
37
packaging/debian/debiankio/control-bionic
Normal file
37
packaging/debian/debiankio/control-bionic
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
Source: kio-recoll
|
||||||
|
Section: kde
|
||||||
|
Priority: extra
|
||||||
|
Maintainer: Jean-Francois Dockes <jfd@recoll.org>
|
||||||
|
Build-Depends: cdbs,
|
||||||
|
cmake,
|
||||||
|
libtool,
|
||||||
|
debhelper (>= 7),
|
||||||
|
bison,
|
||||||
|
kdelibs5-dev (>= 4:4.2.2),
|
||||||
|
qtbase5-dev,
|
||||||
|
extra-cmake-modules,
|
||||||
|
kio-dev,
|
||||||
|
pkg-kde-tools (>= 0.4.0),
|
||||||
|
libxapian-dev,
|
||||||
|
libxslt1-dev,
|
||||||
|
libz-dev
|
||||||
|
Standards-Version: 3.9.7
|
||||||
|
Homepage: http://www.recoll.org/
|
||||||
|
|
||||||
|
Package: kio-recoll
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${misc:Depends}, ${shlibs:Depends}, recoll
|
||||||
|
Description: Recoll KIO slave for KDE 4
|
||||||
|
Recoll KIO slave for KDE 4, allows performing a Recoll search by
|
||||||
|
entering an appropriate URL in a KDE open dialog, or with an HTML-based
|
||||||
|
interface displayed in Konqueror.
|
||||||
|
The HTML-based interface is similar to the Recoll GUI QT-based interface,
|
||||||
|
slightly less powerful. It allows performing a search while staying fully
|
||||||
|
within the KDE framework: drag and drop from the result list works
|
||||||
|
normally and you have your normal choice of applications for opening files.
|
||||||
|
An alternative interface uses a directory view of search results. Due to
|
||||||
|
limitations in the current KIO slave interface, it is currently not
|
||||||
|
obviously useful.
|
||||||
|
The interface is described in more detail inside a help file which you can
|
||||||
|
access by entering recoll:/ inside the konqueror URL line (this works only
|
||||||
|
if the recoll KIO slave has been previously installed).
|
||||||
37
packaging/debian/debiankio/control-xenial
Normal file
37
packaging/debian/debiankio/control-xenial
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
Source: kio-recoll
|
||||||
|
Section: kde
|
||||||
|
Priority: extra
|
||||||
|
Maintainer: Jean-Francois Dockes <jfd@recoll.org>
|
||||||
|
Build-Depends: cdbs,
|
||||||
|
cmake,
|
||||||
|
libtool,
|
||||||
|
debhelper (>= 7),
|
||||||
|
bison,
|
||||||
|
kdelibs5-dev (>= 4:4.2.2),
|
||||||
|
qtbase5-dev,
|
||||||
|
extra-cmake-modules,
|
||||||
|
kio-dev,
|
||||||
|
pkg-kde-tools (>= 0.4.0),
|
||||||
|
libxapian-dev,
|
||||||
|
libxslt1-dev,
|
||||||
|
libz-dev
|
||||||
|
Standards-Version: 3.9.7
|
||||||
|
Homepage: http://www.recoll.org/
|
||||||
|
|
||||||
|
Package: kio-recoll
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${misc:Depends}, ${shlibs:Depends}, recoll
|
||||||
|
Description: Recoll KIO slave for KDE 4
|
||||||
|
Recoll KIO slave for KDE 4, allows performing a Recoll search by
|
||||||
|
entering an appropriate URL in a KDE open dialog, or with an HTML-based
|
||||||
|
interface displayed in Konqueror.
|
||||||
|
The HTML-based interface is similar to the Recoll GUI QT-based interface,
|
||||||
|
slightly less powerful. It allows performing a search while staying fully
|
||||||
|
within the KDE framework: drag and drop from the result list works
|
||||||
|
normally and you have your normal choice of applications for opening files.
|
||||||
|
An alternative interface uses a directory view of search results. Due to
|
||||||
|
limitations in the current KIO slave interface, it is currently not
|
||||||
|
obviously useful.
|
||||||
|
The interface is described in more detail inside a help file which you can
|
||||||
|
access by entering recoll:/ inside the konqueror URL line (this works only
|
||||||
|
if the recoll KIO slave has been previously installed).
|
||||||
@ -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
|
||||||
@ -42,7 +42,7 @@ set(rcltop ${CMAKE_CURRENT_SOURCE_DIR}/../../../)
|
|||||||
|
|
||||||
# Execute recoll configuration to create autoconfig.h and version.h and
|
# Execute recoll configuration to create autoconfig.h and version.h and
|
||||||
# generate a PIC lib
|
# 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}
|
WORKING_DIRECTORY ${rcltop}
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -80,11 +80,13 @@ add_custom_target(rcllib
|
|||||||
add_dependencies(kio_recoll rcllib)
|
add_dependencies(kio_recoll rcllib)
|
||||||
|
|
||||||
target_link_libraries(kio_recoll
|
target_link_libraries(kio_recoll
|
||||||
recoll
|
recoll
|
||||||
xapian
|
xapian
|
||||||
|
xslt
|
||||||
|
xml2
|
||||||
KF5::KIOCore
|
KF5::KIOCore
|
||||||
dl
|
dl
|
||||||
z
|
z
|
||||||
pthread
|
pthread
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user