aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-08 15:51:37 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-08 15:51:37 +0700
commitb4f7c7d98fddc65a1b0fb716af4f26a1e28d5a1f (patch)
treee7d3efd88ea2059a962a6085c5a67e6dfebefd9e /libraries
parent46be8fe6a2a3a2d9afbdea1f7621b48796dfbe71 (diff)
libraries/LucenePlusPlus: Updated for version 3.0.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/LucenePlusPlus/LuceneHeaders.patch38
-rw-r--r--libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild8
-rw-r--r--libraries/LucenePlusPlus/LucenePlusPlus.info6
-rw-r--r--libraries/LucenePlusPlus/LuceneTestFixture.patch19
4 files changed, 5 insertions, 66 deletions
diff --git a/libraries/LucenePlusPlus/LuceneHeaders.patch b/libraries/LucenePlusPlus/LuceneHeaders.patch
deleted file mode 100644
index 4ff60c5d206ab..0000000000000
--- a/libraries/LucenePlusPlus/LuceneHeaders.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-commit 994f03cf736229044a168835ae7387696041658f
-Author: rezso <rezso@example.com>
-Date: Mon May 19 09:20:40 2014 +0100
-
- fix installing lucene++ headers in 3.0.6
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index b0f3f20..6ae96b7 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -138,6 +138,14 @@ if(NOT WIN32)
- DESTINATION "${LIB_DESTINATION}/pkgconfig")
- endif()
-
-+#################################
-+# install Config.h
-+#################################
-+install(
-+ FILES
-+ "${CMAKE_CURRENT_BINARY_DIR}/include/Config.h"
-+ DESTINATION include/lucene++)
-+
- ####################################
- # custom targets
- ####################################
-diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
-index 83eb578..7d6153d 100644
---- a/src/core/CMakeLists.txt
-+++ b/src/core/CMakeLists.txt
-@@ -20,7 +20,7 @@ file(GLOB_RECURSE lucene_internal_headers
- )
-
- file(GLOB_RECURSE lucene_headers
-- include/*.h
-+ "${lucene++_SOURCE_DIR}/include/*.h"
- )
-
- add_definitions(-DLPP_BUILDING_LIB)
diff --git a/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild b/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild
index 91527c33cb7ec..58d715c07cae0 100644
--- a/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild
+++ b/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for LucenePlusPlus
-# Copyright 2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2015 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=LucenePlusPlus
-VERSION=${VERSION:-3.0.6}
+VERSION=${VERSION:-3.0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,10 +73,6 @@ find -L . \
sed -i "s/include(CMakeExternal.txt)/#include(CMakeExternal.txt)/" CMakeLists.txt
sed -i "s/enable_testing()/#enable_testing()/" CMakeLists.txt
-# Upstream patches to fix building and header location
-patch -p1 < $CWD/LuceneTestFixture.patch
-patch -p1 < $CWD/LuceneHeaders.patch
-
mkdir -p build
cd build
cmake \
diff --git a/libraries/LucenePlusPlus/LucenePlusPlus.info b/libraries/LucenePlusPlus/LucenePlusPlus.info
index 73226c1d1bf13..0d48b7d561569 100644
--- a/libraries/LucenePlusPlus/LucenePlusPlus.info
+++ b/libraries/LucenePlusPlus/LucenePlusPlus.info
@@ -1,8 +1,8 @@
PRGNAM="LucenePlusPlus"
-VERSION="3.0.6"
+VERSION="3.0.7"
HOMEPAGE="https://github.com/luceneplusplus/LucenePlusPlus"
-DOWNLOAD="https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_3.0.6.tar.gz"
-MD5SUM="80f38e7faf88472b5f2ac82320a9b920"
+DOWNLOAD="https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_3.0.7.tar.gz"
+MD5SUM="e260c1ff9c10af7070faee29f325f955"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gtest"
diff --git a/libraries/LucenePlusPlus/LuceneTestFixture.patch b/libraries/LucenePlusPlus/LuceneTestFixture.patch
deleted file mode 100644
index b36068eee65f9..0000000000000
--- a/libraries/LucenePlusPlus/LuceneTestFixture.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-commit 4c1f1371e98c387cb07043c26b99beff5b5111a8
-Author: Alan Wright <alan@spotify.com>
-Date: Mon Apr 28 13:53:48 2014 +0100
-
- Throw exception in fixture destructor instead of FAIL().
-
-diff --git a/src/test/util/LuceneTestFixture.cpp b/src/test/util/LuceneTestFixture.cpp
-index 27c61e0..e737bdb 100644
---- a/src/test/util/LuceneTestFixture.cpp
-+++ b/src/test/util/LuceneTestFixture.cpp
-@@ -21,7 +21,7 @@ LuceneTestFixture::~LuceneTestFixture() {
- if (ConcurrentMergeScheduler::anyUnhandledExceptions()) {
- // Clear the failure so that we don't just keep failing subsequent test cases
- ConcurrentMergeScheduler::clearUnhandledExceptions();
-- FAIL() << "ConcurrentMergeScheduler hit unhandled exceptions";
-+ boost::throw_exception(RuntimeException(L"ConcurrentMergeScheduler hit unhandled exceptions"));
- }
- }
-