desktop/recoll: Updated for version 1.31.0.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2021-05-16 10:31:23 +02:00 committed by Willy Sudiarto Raharjo
parent 6845772a38
commit 1d3b7fc6bc
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 46 additions and 39 deletions

View File

@ -1,14 +1,14 @@
Recoll is a personal full text search tool for Unix/Linux.
It is based on the very strong Xapian backend, for which it provides an
It is based on the very strong Xapian backend, for which it provides an
easy to use, feature-rich, easy administration, QT graphical interface.
Recoll is able to include several separate folders in its search.
To enable splitting of CamelCase words take a look in the SlackBuild
file. This feature is disabled by default.
antiword, unrtf, untex and exiftool are runtime dependencies. You can
build and run recoll without it, but recoll will keep nagging you about
the missing helper tools. Without those tools recoll will be not usable
for most people anyway, and these tools are quite small. But if you want
to go without any of them you can do so at the time of writing. Your
mileage may vary of course in the future.
antiword, unrtf, untex, lxml, mutagen and exiftool are runtime deps.
You can build and run recoll without it, but recoll will keep nagging
you about the missing helper tools. Without those tools recoll will be
not usable for most people anyway, and these tools are quite small.
But if you want to go without any of them you can do so at the time of
writing. Your mileage may vary of course in the future.

View File

@ -24,10 +24,37 @@
# Modified by the SlackBuilds.org Project
PRGNAM=recoll
VERSION=${VERSION:-1.22.3}
VERSION=${VERSION:-1.31.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
# from the official online documenatation:
#
# --enable-camelcase will enable splitting camelCase words. This is not enabled
@ -44,33 +71,6 @@ else
CAMEL_CASE_CONFIG=""
fi
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
@ -86,6 +86,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed -i '1,1i#include <QAbstractItemView>' qtgui/ssearch_w.cpp || exit 1
# Ugly hack, but it seems to work...
sed -i "s|recoll\.pro)|recoll.pro ; sed -i 's, -fno-exceptions,,' Makefile)|" Makefile.in
QMAKE=qmake-qt5 \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure $CAMEL_CASE_CONFIG \
@ -94,6 +100,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--mandir=/usr/man \
--localstatedir=/var \
--enable-recollq \
--build=$ARCH-slackware-linux
make

View File

@ -1,10 +1,10 @@
PRGNAM="recoll"
VERSION="1.22.3"
VERSION="1.31.0"
HOMEPAGE="https://www.lesbonscomptes.com/recoll/"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/recoll-1.22.3.tar.gz"
MD5SUM="afb5dc53b9d2ac0c6bdaeb9cbd399c78"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/recoll-1.31.0.tar.gz"
MD5SUM="f87e0137d6393f498e77693d4e7060f8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="antiword unrtf exiftool untex"
REQUIRES="antiword exiftool lxml mutagen unrtf untex"
MAINTAINER="titopoquito"
EMAIL="titopoquito@gmail.com"