dev-cpp/lucene++: drop old version

Package-Manager: portage-2.2.24
This commit is contained in:
Sergey Popov
2015-11-07 14:36:38 +03:00
parent 37183e58ff
commit 6f2a47bbae
5 changed files with 0 additions and 134 deletions

View File

@@ -1,2 +1 @@
DIST lucene++-3.0.6.tar.gz 1529066 SHA256 3e7092a4935e0d1ad5c6d7ac8f3c6ed2f53e51321237ce83744bbf02e0d61519 SHA512 c65aac4cdc92b4593a7d9996273047ff68cc097b755bacdd424266ffcf9143b491ef91123b8e78d9f1fba3d9ac39078a0c2c97c22a39f646f84a0fef0f2956ef WHIRLPOOL 7064b69214d62e05986c78fee2873222c85c2a7a4c892fcc29a5b47f0b1cb67e64789f3665dc3b8ca3628daf28e05c331a99cd0111062683e9323a6827e7ebf5
DIST lucene++-3.0.7.tar.gz 2013570 SHA256 6c19f203311e4b44a0ccf7b1127db77436eb47159ea1c54f7531a0b1ca585e0c SHA512 92f3bba320980673cc64c983616aa38d25b44ea811237ed226741b892757fb8151e4f833aa58a18dbe7a0c9a899d94e828aa15e6d7b48a69ab730d1d772db220 WHIRLPOOL e5d18d6d0ac90f8b0ace161dc0457b2ca3546c211e96ac3c44dea4ba7d9bbd6bd9183016ceb2bccd8516261db0ca2dd4331701bb37e653e96df9453d6acbc878

View File

@@ -1,13 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9217c21..d4e7b86 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -118,7 +118,7 @@ enable_testing()
add_subdirectory(src/core)
add_subdirectory(src/contrib)
-add_subdirectory(src/demo)
+#add_subdirectory(src/demo)
add_subdirectory(src/test)
#################################

View File

@@ -1,42 +0,0 @@
Forwarded: https://github.com/luceneplusplus/LucenePlusPlus/pull/64
Author: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Description: Disabling tests until we find a proper way for building and including gtest
In the next release this might become possible, after commit 83356d9681fb52
https://github.com/luceneplusplus/LucenePlusPlus/commit/83356d9681fb52a4c190d2cf033279006c1bf57d
Last-Update: 2014-08-25
--- a/CMakeExternal.txt
+++ b/CMakeExternal.txt
@@ -1,5 +1,6 @@
# Enable ExternalProject CMake module
include(ExternalProject)
+find_package(Subversion REQUIRED)
# main directory for external projects
set_directory_properties(PROPERTIES EP_PREFIX ${CMAKE_CURRENT_BINARY_DIR}/ThirdParty)
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -49,7 +49,6 @@
# bootstrap
####################################
-find_package(Subversion REQUIRED)
find_package(Threads REQUIRED)
find_package(Boost COMPONENTS
date_time
@@ -114,13 +113,13 @@
${CMAKE_CURRENT_BINARY_DIR}/include
)
-include(CMakeExternal.txt)
-enable_testing()
+#include(CMakeExternal.txt)
+#enable_testing()
add_subdirectory(src/core)
add_subdirectory(src/contrib)
#add_subdirectory(src/demo)
-add_subdirectory(src/test)
+#add_subdirectory(src/test)
#################################
# install pkg-config file

View File

@@ -1,39 +0,0 @@
From: rezso <rezso@example.com>
Date: Mon, 19 May 2014 09:20:40 +0100
Subject: [PATCH] fix installing lucene++ headers in 3.0.6
Origin: upstream, https://github.com/luceneplusplus/LucenePlusPlus/commit/994f03cf736229044a168835ae7387696041658f
Description: backport upstream patch to fix missing headers install
Index: lucene++-3.0.6/CMakeLists.txt
===================================================================
--- lucene++-3.0.6.orig/CMakeLists.txt
+++ lucene++-3.0.6/CMakeLists.txt
@@ -139,6 +139,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
####################################
Index: lucene++-3.0.6/src/core/CMakeLists.txt
===================================================================
--- lucene++-3.0.6.orig/src/core/CMakeLists.txt
+++ lucene++-3.0.6/src/core/CMakeLists.txt
@@ -20,7 +20,7 @@ file(GLOB_RECURSE lucene_internal_header
)
file(GLOB_RECURSE lucene_headers
- include/*.h
+ "${lucene++_SOURCE_DIR}/include/*.h"
)
add_definitions(-DLPP_BUILDING_LIB)

View File

@@ -1,39 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MY_P="LucenePlusPlus-rel_${PV}"
inherit cmake-utils multilib
DESCRIPTION="C++ port of Java Lucene library, a high-performance, full-featured text search engine"
HOMEPAGE="https://github.com/luceneplusplus/LucenePlusPlus"
SRC_URI="https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( LGPL-3 Apache-2.0 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
DEPEND="dev-libs/boost:="
RDEPEND="${DEPEND}"
RESTRICT="test"
S="${WORKDIR}/${MY_P}"
DOCS=( AUTHORS README.rst )
PATCHES=(
"${FILESDIR}/${P}-disable-demos.patch"
"${FILESDIR}/${P}-disable-tests.patch"
"${FILESDIR}/${P}-fix-installing-headers.patch"
)
src_configure() {
local mycmakeargs=(
-DLIB_DESTINATION=$(get_libdir)
)
cmake-utils_src_configure
}