mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
dev-libs/xapian: bump to 1.2.25, add debuginfo package. (#2150)
* Drop patch as it was applied upstream. * Add x86_64, marked as untested. * Add TEST(). * Mark x86 as untested because TEST() KDLs a lot. * DESCRIPTION: fix typo and re-wrap. * HOMEPAGE: switch to https. * BUILD_PREREQUIRES: sort. Notes: Version 1.2.25 builds fine but is only the latest oldstable. The latest stable release, 1.4.5, does not build on any arch.
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
From f26cd828c65cd8d6b521165171c6373db7bd2d79 Mon Sep 17 00:00:00 2001
|
||||
From: Markus Himmel <markus@himmel-villmar.de>
|
||||
Date: Sat, 26 Dec 2015 16:57:30 +0100
|
||||
Subject: [PATCH] Fix build on Haiku
|
||||
|
||||
---
|
||||
common/socket_utils.cc | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/common/socket_utils.cc b/common/socket_utils.cc
|
||||
index 99a4a23..cf43533 100644
|
||||
--- a/common/socket_utils.cc
|
||||
+++ b/common/socket_utils.cc
|
||||
@@ -28,6 +28,7 @@ using namespace std;
|
||||
|
||||
#ifndef __WIN32__
|
||||
# include <sys/socket.h>
|
||||
+# include <sys/time.h>
|
||||
#else
|
||||
# include "safeerrno.h"
|
||||
|
||||
--
|
||||
2.2.2
|
||||
|
||||
@@ -1,25 +1,27 @@
|
||||
SUMMARY="A probabilistic information retrieval library with numerous bindings"
|
||||
DESCRIPTION="Xapian is an open source search engline library written in C++. \
|
||||
DESCRIPTION="Xapian is an open source search engine library written in C++. \
|
||||
It has bindings for a large number of other programming languages, including \
|
||||
Perl, Python, Java and Ruby. It is hightly adaptable and extensible, fitting \
|
||||
a wide range of information retrieval-related tasks. Xapian empowers the \
|
||||
Omega search engine package. It supports a wide range of advanced features such \
|
||||
as native Unicode support and modern search algorithms."
|
||||
HOMEPAGE="http://xapian.org/"
|
||||
COPYRIGHT="1999-2015 The Xapian Authors"
|
||||
a wide range of information retrieval-related tasks. Xapian empowers the Omega \
|
||||
search engine package. It supports a wide range of advanced features such as \
|
||||
native Unicode support and modern search algorithms."
|
||||
HOMEPAGE="https://xapian.org/"
|
||||
COPYRIGHT="1999-2017 The Xapian Authors"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://oligarchy.co.uk/xapian/$portVersion/xapian-core-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="63f48758fbd13fa8456dd4cf9bf3ec35a096e4290f14a51ac7df23f78c162d3f"
|
||||
SOURCE_URI="https://oligarchy.co.uk/xapian/$portVersion/xapian-core-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="7c77ff259bc92414c620015d6798f5f3e2c52907936096ec97c23c17fc0d6403"
|
||||
SOURCE_DIR="xapian-core-$portVersion"
|
||||
PATCHES="xapian-$portVersion.patch"
|
||||
|
||||
ARCHITECTURES="x86 !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
libVersion="22.7.3"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
xapian$secondaryArchSuffix = $portVersion
|
||||
lib:libxapian$secondaryArchSuffix = 22.6.8 compat >= 22
|
||||
lib:libxapian$secondaryArchSuffix = $libVersionCompat
|
||||
cmd:copydatabase$secondaryArchSuffix = $portVersion
|
||||
cmd:delve$secondaryArchSuffix = $portVersion
|
||||
cmd:quest$secondaryArchSuffix = $portVersion
|
||||
@@ -45,7 +47,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
xapian${secondaryArchSuffix} = $portVersion
|
||||
devel:libxapian$secondaryArchSuffix = 22.6.8 compat >= 22
|
||||
devel:libxapian$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
xapian$secondaryArchSuffix
|
||||
@@ -57,14 +59,17 @@ BUILD_REQUIRES="
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:sed
|
||||
cmd:awk
|
||||
cmd:cmp
|
||||
cmd:diff
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
defineDebugInfoPackage xapian$secondaryArchSuffix \
|
||||
"$libDir"/libxapian.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
@@ -75,6 +80,8 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm -f "$libDir"/libxapian.la
|
||||
|
||||
prepareInstalledDevelLib libxapian
|
||||
fixPkgconfig
|
||||
|
||||
@@ -85,3 +92,8 @@ INSTALL()
|
||||
$developDir \
|
||||
$dataDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user