New package: recoll 1.23.3

x11 monitor support in recollindex is disabled

Closes: #8017 [via git-merge-pr]
This commit is contained in:
Rui Abreu Ferreira 2017-03-10 14:15:37 +00:00 committed by Jürgen Buchmüller
parent 3f542a8073
commit 6b16960b2e
3 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- utils/pxattr.cpp 2017-07-03 14:14:46.000000000 +0200
+++ utils/pxattr.cpp 2017-12-17 14:34:29.955674837 +0100
@@ -44,7 +44,7 @@
// just let the methods return errors (like they would on a non-xattr
// fs on e.g. linux)
-#if defined(__DragonFly__) || defined(__OpenBSD__)
+#if defined(__DragonFly__) || defined(__OpenBSD__) || !defined(__GLIBC__)
#define HAS_NO_XATTR
#endif

View File

@ -0,0 +1,25 @@
--- qtgui/recoll.pro.in 2017-07-01 08:16:34.000000000 +0200
+++ qtgui/recoll.pro.in 2017-12-17 14:56:27.433648300 +0100
@@ -1,6 +1,13 @@
TEMPLATE = app
LANGUAGE = C++
+QMAKE_CC = @CC@
+QMAKE_CXX = @CXX@
+QMAKE_LINK = @CXX@
+QMAKE_CFLAGS = @CFLAGS@
+QMAKE_CXXFLAGS = @CXXFLAGS@
+QMAKE_LFLAGS = @LDFLAGS@
+
VPATH = @srcdir@
DEFINES += BUILDING_RECOLL
@@ -160,7 +167,7 @@
unix {
isEmpty(PREFIX) {
- PREFIX = /usr/local
+ PREFIX = /usr
}
message("Prefix is $$PREFIX")
DEFINES += PREFIX=\\\"$$PREFIX\\\"

35
srcpkgs/recoll/template Normal file
View File

@ -0,0 +1,35 @@
# Template file for 'recoll'
pkgname=recoll
version=1.23.3
revision=1
build_style=gnu-configure
configure_args="--disable-python-module --enable-recollq --disable-x11mon"
hostmakedepends="automake libtool gettext-devel qt5-qmake"
makedepends="xapian-core-devel zlib-devel libuuid-devel qt5-webkit-devel qt5-devel"
short_desc="Full text search tool based on Xapian backend"
maintainer="Rui Abreu Ferreira <raf-ep@gmx.com>"
license="GPL-2"
homepage="http://www.lesbonscomptes.com/recoll/"
distfiles="https://www.lesbonscomptes.com/$pkgname/$pkgname-${version}.tar.gz"
checksum=15125871424ef32ac584eb1c3e4fdd4ac7ff32894db60a3ebff32fa7a45d2eb6
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel qt5-webkit-devel"
configure_args+=" CC=$CC CXX=$CXX LD=$CXX"
fi
pre_configure() {
autoreconf -fi
if [ -n "$CROSS_BUILD" ]; then
cat > ${wrksrc}/qtgui/qmake.conf <<EOF
QMAKE_CC = $CC
QMAKE_CXX = $CXX
QMAKE_LINK = $CXX
QMAKE_CFLAGS = $CFLAGS
QMAKE_CXXFLAGS = $CXXFLAGS
QMAKE_LFLAGS = $LDFLAGS
QMAKE_AR = $AR
EOF
cat ${wrksrc}/qtgui/qmake.conf
fi
}