diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/recoll/README | 3 | ||||
-rw-r--r-- | desktop/recoll/recoll.SlackBuild | 23 | ||||
-rw-r--r-- | desktop/recoll/recoll.info | 8 |
3 files changed, 27 insertions, 7 deletions
diff --git a/desktop/recoll/README b/desktop/recoll/README index 7249258c176a7..885f9557008f9 100644 --- a/desktop/recoll/README +++ b/desktop/recoll/README @@ -3,6 +3,9 @@ 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. + This requires xapian-core. Optional dependencies are antiword, unrtf, and exiftool. diff --git a/desktop/recoll/recoll.SlackBuild b/desktop/recoll/recoll.SlackBuild index 0ac7e79927e9d..e2fbe68db03d9 100644 --- a/desktop/recoll/recoll.SlackBuild +++ b/desktop/recoll/recoll.SlackBuild @@ -25,10 +25,26 @@ # Modified by the SlackBuilds.org Project PRGNAM=recoll -VERSION=${VERSION:-1.14.4} +VERSION=${VERSION:-1.15.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +# from the official online documenatation: +# +# --enable-camelcase will enable splitting camelCase words. This is not enabled +# by default as it has the unfortunate side-effect of making some phrase searches +# quite confusing: ie, "MySQL manual" would be matched by "MySQL manual" and +# "my sql manual" but not "mysql manual" (only inside phrase searches). +# +# to use this feature, set ENABLE_CAMELCASE to YES (default is to let it disabled) +ENABLE_CAMELCASE=${ENABLE_CAMELCASE:-"NO"} + +if test $ENABLE_CAMELCASE=="YES" + then CAMEL_CASE_CONFIG="--enable-camelcase" + else CAMEL_CASE_CONFIG="" +fi + + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -56,7 +72,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -71,9 +87,10 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -./configure \ +./configure $CAMEL_CASE_CONFIG \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ diff --git a/desktop/recoll/recoll.info b/desktop/recoll/recoll.info index 632ba00819a9d..23098247e705c 100644 --- a/desktop/recoll/recoll.info +++ b/desktop/recoll/recoll.info @@ -1,10 +1,10 @@ PRGNAM="recoll" -VERSION="1.14.4" +VERSION="1.15.8" HOMEPAGE="http://www.lesbonscomptes.com/recoll/" -DOWNLOAD="http://www.lesbonscomptes.com/recoll/recoll-1.14.4.tar.gz" -MD5SUM="d5f212b187268a603a4ce058d8471cdb" +DOWNLOAD="http://www.lesbonscomptes.com/recoll/recoll-1.15.8.tar.gz" +MD5SUM="ca08ff6b8898587c120effd98cc9c85a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="titopoquito" EMAIL="titopoquito@gmail.com" -APPROVED="rworkman" +APPROVED="Niels Horn" |