desktop/recoll: Updated for version 1.11.4
This commit is contained in:
parent
fcb536188c
commit
8062fee61d
|
@ -1,12 +1,8 @@
|
||||||
recoll (personal full text search tool)
|
Recoll is a personal full text search tool for Unix/Linux.
|
||||||
|
It is based on the very strong Xapian backend, for which it
|
||||||
Recoll is a personal full text search tool for Unix/Linux. It is based
|
provides an easy to use, feature-rich, easy administration,
|
||||||
on the very strong Xapian backend, for which it provides an easy to use,
|
QT graphical interface. Recoll is able to include several separate
|
||||||
feature-rich, easy administration, QT graphical interface.
|
folders ("Top directories") in its search.
|
||||||
|
|
||||||
This requires xapian-core, with optional dependencies of antiword, unrtf,
|
This requires xapian-core, with optional dependencies of antiword, unrtf,
|
||||||
and exiftool (all available at SlackBuilds.org).
|
and exiftool (all available at SlackBuilds.org).
|
||||||
|
|
||||||
This version has the ability to define the folders that shall be
|
|
||||||
indexed from within the program's GUI. Manually editing the config files
|
|
||||||
should no longer be necessary.
|
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
if [ -x /usr/bin/update-desktop-database ]; then
|
||||||
|
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
|
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Slackware build script for recoll
|
# Slackware build script for recoll
|
||||||
# Copyright 2007 by titopoquito (titopoquito@cooltoad.com)
|
|
||||||
|
# Copyright 2007-2009 by titopoquito (titopoquito@gmail.com)
|
||||||
# Permission to use, copy, modify, and distribute this software for
|
# Permission to use, copy, modify, and distribute this software for
|
||||||
# any purpose with or without fee is hereby granted, provided that
|
# any purpose with or without fee is hereby granted, provided that
|
||||||
# the above copyright notice and this permission notice appear in all
|
# the above copyright notice and this permission notice appear in all
|
||||||
|
@ -19,12 +20,11 @@
|
||||||
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
|
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
|
||||||
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
# SUCH DAMAGE.
|
# SUCH DAMAGE.
|
||||||
# ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Modified by the SlackBuilds.org Project
|
# Modified by the SlackBuilds.org Project
|
||||||
|
|
||||||
PRGNAM=recoll
|
PRGNAM=recoll
|
||||||
VERSION=1.10.1
|
VERSION=1.11.4
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -36,17 +36,22 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e # Exit on most errors
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
chmod -R u+w,go+r-w,a-s .
|
chmod -R u+w,go+r-w,a-s .
|
||||||
|
@ -55,15 +60,20 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var
|
--mandir=/usr/man \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
( cd $PKG
|
( cd $PKG
|
||||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
||||||
|
xargs strip --strip-unneeded 2> /dev/null
|
||||||
)
|
)
|
||||||
|
|
||||||
( cd $PKG/usr/man
|
( cd $PKG/usr/man
|
||||||
|
@ -71,11 +81,14 @@ make install DESTDIR=$PKG
|
||||||
)
|
)
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a ChangeLog COPYING INSTALL README VERSION $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a \
|
||||||
|
ChangeLog COPYING INSTALL README VERSION \
|
||||||
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
PRGNAM="recoll"
|
PRGNAM="recoll"
|
||||||
VERSION="1.10.1"
|
VERSION="1.11.4"
|
||||||
HOMEPAGE="http://www.lesbonscomptes.com/recoll/"
|
HOMEPAGE="http://www.lesbonscomptes.com/recoll/"
|
||||||
DOWNLOAD="http://www.lesbonscomptes.com/recoll/recoll-1.10.1.tar.gz"
|
DOWNLOAD="http://www.lesbonscomptes.com/recoll/recoll-1.11.4.tar.gz"
|
||||||
MD5SUM="307abae987bf4fc40ef3ec1899d49995"
|
MD5SUM="3a7bdf9317814288e922707209943578"
|
||||||
MAINTAINER="titopoquito"
|
MAINTAINER="titopoquito"
|
||||||
EMAIL="titopoquito@cooltoad.com"
|
EMAIL="titopoquito@gmail.com"
|
||||||
APPROVED="David Somero"
|
|
||||||
|
|
Loading…
Reference in New Issue