debian/0000755000000000000000000000000012231714331007163 5ustar debian/README.Debian0000644000000000000000000000035212011375116011224 0ustar clucene-core for Debian ----------------------- CLucene is built with -ansi flag to make sure we use typedef float float_t otherwise we get typedef double float_t. -- Fathi Boudra Fri, 15 Jun 2007 20:00:12 +0200 debian/source/0000755000000000000000000000000012011401743010457 5ustar debian/source/format0000644000000000000000000000001412011401642011663 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000001266512011450457011132 0ustar This package was debianized by: Daniel Glassey on Thur, 11 Aug 2005 18:44 +0100. It was downloaded from: http://clucene.sourceforge.net CLucene was originally ported to C++ by Ben van Klinken from Doug Cutting's popular java search engine, Lucene (see http://lucene.apache.org). Upstream Authors: Ben van Klinken Doug Cutting John Wheeler Robert G. Ristroph David Rushby Jimmy Pritts Peter Edwards Jorge Sabater Redondo Daniel Glassey Peter Gladkikh Pedja Peter Hodges Jos van den Oever Itamar Syn-Hershko synhershko@users.sourceforge.net Copyright: Copyright (C) 2003-2006 Ben van Klinken Copyright (C) 2003-2006 CLucene Team Copyright (C) 2003-2006 Jos van den Oever Copyright for gunichartables and utf8: Copyright (C) 1999 Tom Tromey Copyright (C) 1999 Owen Taylor Copyright (C) 2000 Red Hat, Inc. Copyright (C) 2003-2006 The Apache Software Foundation Copyright for MD5 Message-Digest Algorithm (MD5Digester): Copyright (C) 1991-2 RSA Data Security, Inc Copyright (C) 2002 Gary McNickle Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team License: It is dual licensed under the GNU LGPL version 2.1, and the Apache License Version 2.0 /*------------------------------------------------------------------------------ * Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team * * Distributable under the terms of either the Apache License (Version 2.0) or * the GNU Lesser General Public License, as specified in the COPYING file. ------------------------------------------------------------------------------* The CLucene Core Library uses a dual license strategy for the source code. These licenses are the GNU Lesser General Public License (LGPL) and the Apache License (Version 2.0). Users can choose the license they wish to distribute their software under. This means that you do not need to abide by *both* licenses, but rather than you can choose the license which most suits your needs. To rephrase this and to make it perfectly clear: CLucene is distributed under the GNU Lesser General Public License (LGPL) *or* the Apache License, Version 2.0 However, we are an open source project, and we encourage users to use the LGPL license and participate fully in the free software community. Dual licensing of the CLucene source code provides open and free access to the technology both for the GPL community and for other developers or companies that cannot use theGPL. You can freely modify, extend, and improve the CLucene source code. The only question is whether or not you must provide the source code and contribute modifications to the community. The GNU and Apache licenses allow different ranges of flexibility in this regard, but in the end, regardless of the licenseused, we highly recommend that you submit any bugs, incompatibilities or added features. Note that this same license does *not* apply to the CLucene Contributions package. You should read the COPYING file in that directory or package for more information. CLUCENE SUBCOMPONENTS: CLucene includes a number of subcomponents with separate copyright notices and license terms. Your use of the source code for the these subcomponents is subject to the terms and conditions of the following licenses. For the MD5 Message-Digest Algorithm (MD5Digester) component: /* * This is work is derived from material Copyright RSA Data Security, Inc. * * The RSA copyright statement and Licence for that original material is * included below. This is followed by the Apache copyright statement and * licence for the modifications made to that material. */ /* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved. License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing this software or this function. License is also granted to make and use derivative works provided that such works are identified as "derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing the derived work. RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose. It is provided "as is" without express or implied warranty of any kind. These notices must be retained in any copies of any part of this documentation and/or software. */ On Debian systems, the complete text of the GNU Lesser General Public License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1' and the Apache License version 2.0 can be found in `/usr/share/common-licenses/Apache-2.0'. The Debian packaging is: Copyright (C) 2006-2012 Fathi Boudra Copyright (C) 2005-2006 Daniel Glassey and is licensed under the LGPL version 2.1, see above. debian/changelog0000644000000000000000000001724612231714331011047 0ustar clucene-core (2.3.3.4-4build1) trusty; urgency=low * No change rebuild for Boost 1.54 transition. -- Dmitrijs Ledkovs Wed, 23 Oct 2013 10:37:29 +0100 clucene-core (2.3.3.4-4) unstable; urgency=low * Add bug718187-ftbfs-hurd.patch to fix build failure on HURD. Thanks to Pino Toscano. (Closes: #718187) -- Fathi Boudra Mon, 29 Jul 2013 08:31:38 +0300 clucene-core (2.3.3.4-3) unstable; urgency=low * Add bug715474-no-boost-headers.patch to drop boost headers from clucene-core. (Closes: #715474) * Update debian/control: - Upload to Sid. - bump Standards-Version to 3.9.3. -- Fathi Boudra Sun, 28 Jul 2013 15:51:57 +0300 clucene-core (2.3.3.4-2) experimental; urgency=low * Update multiarch patch: add multiarch path to pkg-config's cflags. (Closes: #684715) -- Fathi Boudra Tue, 14 Aug 2012 17:39:32 +0300 clucene-core (2.3.3.4-1) experimental; urgency=low * New upstream release (Closes: #661703). * Convert package to multiarch. * Drop obsolete patches: - 01_add_missing_include_bug505667.diff - 02_posixness_fix_bug530308.diff * Add patches: - Fixing_ZLIB_configuration_in_shared_CMakeLists.patch - Fix-pkgconfig-file-by-adding-clucene-shared-library.patch - Install-contribs-lib.patch - multiarch.patch * Update debian/compat: bump to 8. * Update debian/control: - update build dependencies (add cmake, libboost-dev and libz-dev). - bump Standards-Version to 3.9.3. - rename packages due to ABI bump: libclucene0ldbl -> libclucene-core1. - add libclucene-contribs1 package. * Update debian/rules: - rewrite to use CMake. - add multiarch support. -- Fathi Boudra Sat, 11 Aug 2012 09:33:38 +0300 clucene-core (0.9.21b-2) unstable; urgency=low * Restore libclucene0ldbl package name. (Closes: #542337) * Bump Standards-Version to 3.8.3 (no changes needed). -- Fathi Boudra Wed, 19 Aug 2009 08:51:17 +0200 clucene-core (0.9.21b-1) unstable; urgency=low * New upstream release. * Drop '01_stack_fix' patch - fixed upstream. * Add patches: - 01_add_missing_include_bug505667 Thanks to Martin Michlmayr. (Closes: #505667) - 02_posixness_fix_bug530308 fix POSIX incompatibilities causing FTBFS on hurd-i386. Thanks to Marc Dequènes. (Closes: #530308) * Bump debian/compat to 7. * Update debian/control: - Remove cdbs build dependency. - Bump Standards-Version: 3.8.2 - Replace libclucene0ldbl package by libclucene0 package. * Update debian/copyright file. * Convert debian/rules to dh_usage. -- Fathi Boudra Wed, 12 Aug 2009 12:16:43 +0200 clucene-core (0.9.20-3) unstable; urgency=low * Lower compat/debhelper to 5. * Re-enable static library build. -- Fathi Boudra Thu, 21 Feb 2008 08:43:54 +0100 clucene-core (0.9.20-2) unstable; urgency=low * Re-add stack fix for x86_64. Not merged upstream. (Closes: #460328) * Bump compat/debhelper to 6. * Update my e-mail address. * Use quilt patch system. * Bump Standards-Version to 3.7.3. * Use Homepage field. * Build with --no-undefined and --as-needed linker flags. * Disable static library build. -- Fathi Boudra Thu, 07 Feb 2008 23:59:58 +0100 clucene-core (0.9.20-1) unstable; urgency=low * New upstream release. * Remove libclucene.la from libclucene-dev package. -- Fathi Boudra Wed, 03 Oct 2007 16:04:38 +0200 clucene-core (0.9.16a-4) unstable; urgency=low * Set Fathi as maintainer and me as optional uploader * Fix for x86_64 segfaults in CLucene (Closes: #435197) Thanks to Jonny Lamb for passing on the patch -- Daniel Glassey Fri, 31 Aug 2007 12:44:59 +0100 clucene-core (0.9.16a-3) unstable; urgency=low * Rename libclucene0 to libclucene0ldbl for ldbl128 transition. (Closes: #430254) * Update control: Replace deprecated ${Source-Version} by ${binary:Version}. -- Fathi Boudra Thu, 19 Jul 2007 21:40:30 +0200 clucene-core (0.9.16a-2) unstable; urgency=low * Build with -ansi flag. Make sure we use typedef float float_t otherwise we get typedef double float_t. It fixes strigi crash on PPC. (Closes: #424675) -- Fathi Boudra Fri, 15 Jun 2007 20:00:12 +0200 clucene-core (0.9.16a-1) unstable; urgency=low * New upstream release. -- Fathi Boudra Fri, 1 Dec 2006 00:45:51 +0100 clucene-core (0.9.16-1) unstable; urgency=low [Fathi Boudra] * New upstream release * Remove patch for jstream classes merged upstream -- Fathi Boudra Tue, 19 Sep 2006 16:40:02 +0200 clucene-core (0.9.15-5) unstable; urgency=low [Fathi Boudra] * Add patch to update jstream classes for Strigi -- Fathi Boudra Fri, 8 Sep 2006 11:26:44 +0200 clucene-core (0.9.15-4) unstable; urgency=low [Fathi Boudra] * Revert previous change: clucene-config.h is arch/platform specific and must be installed in /usr/lib/CLucene -- Fathi Boudra Sat, 5 Aug 2006 12:32:34 +0200 clucene-core (0.9.15-3) unstable; urgency=low [Fathi Boudra] * Install clucene-config.h in /usr/include/CLucene (Closes: #380484) -- Fathi Boudra Wed, 2 Aug 2006 12:33:03 +0200 clucene-core (0.9.15-2) unstable; urgency=low [Fathi Boudra] * libclucene0.shlibs: version less strict -- Fathi Boudra Sun, 9 Jul 2006 15:30:04 +0200 clucene-core (0.9.15-1) unstable; urgency=low [Fathi Boudra] * New upstream release (Closes: #343486) * Use real source package name: clucene-core * libclucene0.docs: cleanup paths * libclucene0.shlibs: update for new release * libclucene-dev.install: add clucene-config.h * rules: * cleanup to use a more common way to package * no more "tarball in the tarball" packaging -- Fathi Boudra Wed, 5 Jul 2006 11:02:01 +0200 clucene (0.9.14-1) unstable; urgency=low [Fathi Boudra] * Removed unneeded files like control.in and *.dirs files * changelog: minor cleanup * compat: bumped to 5 * control: * removed unneeded Build-depends : quilt, patchutils * added myself as Uploaders * bumped Standards-Version to 3.7.2 * suggests sword-frontend instead of Recommends * improved short description * added Homepage in long description * copyright: * replaced mailing list in Upstream Authors by real list * added missing copyright for gunichartables, utf8 and MD5Digester * added RSA Data Security notice * minor cosmetic cleanup * libclucene0.install: * removed unneeded usr/bin * replaced libclucene.so installation by wildcard * libclucene-dev.install: added libclucene.la installation * rules: * filled DEB_TAR_SRCDIR using a shell script * removed unneeded commented lines * added clean rules -- Fathi Boudra Wed, 21 Jun 2006 12:13:16 +0200 clucene (0.9.12-1) unstable; urgency=low * New upstream release * copyright notices in source files have been fixed clucene is dual licensed Apache 2.0 and LGPL * debian/copyright: include the Apache license verbatim * debian/libclucene0.docs: update for new release * debian/libclucene0.shlibs: update for new release * debian/rules: source of core library is now clucene-core don't need --enable-ucs2 any more -- Daniel Glassey Tue, 6 Jun 2006 23:19:14 +0100 clucene (0.9.10-1) unstable; urgency=low * New upstream release -- Daniel Glassey Thu, 15 Dec 2005 16:07:47 +0000 clucene (0.9.7-1) unstable; urgency=low * Initial Release -- Daniel Glassey Thu, 11 Aug 2005 18:32:48 +0100 debian/control0000644000000000000000000000545512231714331010577 0ustar Source: clucene-core Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Fathi Boudra Uploaders: Daniel Glassey Build-Depends: cmake (>= 2.8.5), debhelper (>= 8.1.3~), libboost-dev, libz-dev Standards-Version: 3.9.4 Section: libs Homepage: http://clucene.sourceforge.net Package: libclucene-dev Section: libdevel Architecture: any Depends: libc6-dev, libclucene-contribs1 (= ${binary:Version}), libclucene-core1 (= ${binary:Version}), ${misc:Depends} Description: library for full-featured text search engine (development) CLucene is a C++ port of the popular Apache Lucene search engine (http://lucene.apache.org/java). It is released under LGPL or the Apache License. . CLucene aims to be a high-speed alternative to Java Lucene, its API is very similar to that of the Java version. CLucene has recently been brought up to date with Lucene 1.4.3. It contains most of the same functionality as the Java version, except for Socket, Threading and the special caching modifications. . This package contains the static libraries and headers for developing applications that use the CLucene search API. Package: libclucene-core1 Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Description: core library for full-featured text search engine (runtime) CLucene is a C++ port of the popular Apache Lucene search engine (http://lucene.apache.org/java). It is released under LGPL or the Apache License. . CLucene aims to be a high-speed alternative to Java Lucene, its API is very similar to that of the Java version. CLucene has recently been brought up to date with Lucene 1.4.3. It contains most of the same functionality as the Java version, except for Socket, Threading and the special caching modifications. . This package contains the files necessary for running applications that use the CLucene core and shared libraries. Package: libclucene-contribs1 Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Description: language specific text analyzers (runtime) CLucene is a C++ port of the popular Apache Lucene search engine (http://lucene.apache.org/java). It is released under LGPL or the Apache License. . CLucene aims to be a high-speed alternative to Java Lucene, its API is very similar to that of the Java version. CLucene has recently been brought up to date with Lucene 1.4.3. It contains most of the same functionality as the Java version, except for Socket, Threading and the special caching modifications. . This package contains the files necessary for running applications that use the CLucene contribs library (language specific text analyzers for CLucene). debian/libclucene-contribs1.lintian-overrides0000644000000000000000000000007312011442231016543 0ustar package-name-doesnt-match-sonames libclucene-contribs-lib1 debian/libclucene-core1.docs0000644000000000000000000000003312011375116013145 0ustar README doc/*.htm doc/*.jpg debian/libclucene-core1.install0000644000000000000000000000020412011450457013665 0ustar usr/lib/*/libclucene-core.so.1 usr/lib/*/libclucene-core.so.2.* usr/lib/*/libclucene-shared.so.1 usr/lib/*/libclucene-shared.so.2.* debian/rules0000755000000000000000000000124512011447121010241 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) %: dh $@ --list-missing --parallel override_dh_auto_configure: dh_auto_configure -- \ -DBUILD_CONTRIBS_LIB=ON \ -DLIB_DESTINATION:PATH=/usr/lib/$(DEB_HOST_MULTIARCH) \ -DLUCENE_SYS_INCLUDES:PATH=/usr/lib/$(DEB_HOST_MULTIARCH) override_dh_makeshlibs: dh_makeshlibs -V override_dh_auto_test: debian/libclucene-dev.install0000644000000000000000000000026412011450457013440 0ustar usr/include/CLucene usr/include/CLucene.h usr/lib/*/CLucene/CLuceneConfig.cmake usr/lib/*/CLucene/clucene-config.h usr/lib/*/libclucene-*.so usr/lib/*/pkgconfig/libclucene-core.pc debian/patches/0000755000000000000000000000000012175377751010634 5ustar debian/patches/multiarch.patch0000644000000000000000000000211312012463044013617 0ustar Description: add multiarch support. Author: Fathi Boudra --- CMakeLists.txt | 2 +- src/core/libclucene-core.pc.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,7 +94,7 @@ SET(LUCENE_SYS_INCLUDES "" CACHE PATH ) #install path options SET(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" ) -SET(LIB_DESTINATION "lib${LIB_SUFFIX}") +SET(LIB_DESTINATION "lib/${CMAKE_LIBRARY_ARCHITECTURE}") SET ( ENABLE_COMPILE_TESTS_VALUE ON ) --- a/src/core/libclucene-core.pc.cmake +++ b/src/core/libclucene-core.pc.cmake @@ -7,5 +7,5 @@ Name: libclucene Description: CLucene - a C++ search engine, ported from the popular Apache Lucene Version: @CLUCENE_VERSION_MAJOR@.@CLUCENE_VERSION_MINOR@.@CLUCENE_VERSION_REVISION@.@CLUCENE_VERSION_PATCH@ Libs: -L${prefix}/@LIB_DESTINATION@/ -lclucene-core -lclucene-shared -Cflags: -I${prefix}/include -I${prefix}/include/CLucene/ext +Cflags: -I${prefix}/include -I${prefix}/include/CLucene/ext -I${prefix}/@LIB_DESTINATION@ ~ debian/patches/bug718187-ftbfs-hurd.patch0000644000000000000000000000247712175377751015206 0ustar Description: FTBFS on Hurd Author: Pino Toscano Bug: http://sourceforge.net/p/clucene/bugs/217/ Bug-Debian: http://bugs.debian.org/718187 --- src/shared/CLucene/util/Misc.cpp | 2 ++ src/shared/CLucene/util/Misc.h | 2 ++ 2 files changed, 4 insertions(+) --- a/src/shared/CLucene/util/Misc.cpp +++ b/src/shared/CLucene/util/Misc.cpp @@ -466,6 +466,7 @@ bool Misc::listFiles(const char* directo std::string Misc::toString(const bool value){ return value ? "true" : "false"; } +#ifndef __GNU__ std::string Misc::toString(_LUCENE_THREADID_TYPE value){ static int32_t nextindex = 0; static std::map<_LUCENE_THREADID_TYPE, int32_t> ids; @@ -474,6 +475,7 @@ std::string Misc::toString(_LUCENE_THREA } return toString(ids[value]); } +#endif std::string Misc::toString(const int32_t value){ char buf[20]; TCHAR tbuf[20]; --- a/src/shared/CLucene/util/Misc.h +++ b/src/shared/CLucene/util/Misc.h @@ -67,7 +67,9 @@ CL_NS_DEF(util) static std::string toString(const int32_t value); static std::string toString(const int64_t value); +#ifndef __GNU__ static std::string toString(const _LUCENE_THREADID_TYPE value); +#endif static std::string toString(const bool value); static std::string toString(const float_t value); static std::string toString(const TCHAR* s, int32_t len=-1); debian/patches/Fixing_ZLIB_configuration_in_shared_CMakeLists.patch0000644000000000000000000000134512011377153022727 0ustar From 772481ca94071ddfe65102a451926e4f9aeb4d2c Mon Sep 17 00:00:00 2001 From: Veit Jahns Date: Thu, 26 May 2011 13:35:28 +0200 Subject: [PATCH] Fixing ZLIB configuration in shared's CMakeLists --- src/shared/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/src/shared/CMakeLists.txt +++ b/src/shared/CMakeLists.txt @@ -42,7 +42,7 @@ INCLUDE (CheckAtomicFunctions) find_package(ZLIB) IF ( ZLIB_FOUND ) SET ( EXTRA_LIBS ${EXTRA_LIBS} ${ZLIB_LIBRARY} ) -ELSEIF ( ZLIB_FOUND ) +ELSE ( ZLIB_FOUND ) MESSAGE( "ZLIB not found, using local: ${clucene-ext_SOURCE_DIR}/zlib" ) SET(ZLIB_INCLUDE_DIR ${clucene-ext_SOURCE_DIR}/zlib ) SET(ZLIB_LIBRARY ${clucene-ext_BINARY_DIR}) debian/patches/series0000644000000000000000000000032612175377446012053 0ustar Fixing_ZLIB_configuration_in_shared_CMakeLists.patch Fix-pkgconfig-file-by-adding-clucene-shared-library.patch Install-contribs-lib.patch multiarch.patch bug715474-no-boost-headers.patch bug718187-ftbfs-hurd.patch debian/patches/Install-contribs-lib.patch0000644000000000000000000000310612011377363015634 0ustar Description: contribs-lib is not built and installed even with config Author: Vitaliy Filippov Bug: https://sourceforge.net/tracker/index.php?func=detail&aid=3392466&group_id=80013&atid=558446 --- CMakeLists.txt | 2 +- src/contribs-lib/CMakeLists.txt | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -163,7 +163,7 @@ IF ( BUILD_CONTRIBS ) SET(BUILD_CONTRIBS_LIB 1) ENDIF ( BUILD_CONTRIBS ) IF ( BUILD_CONTRIBS_LIB ) - ADD_SUBDIRECTORY (src/contribs-lib EXCLUDE_FROM_ALL) + ADD_SUBDIRECTORY (src/contribs-lib) ENDIF ( BUILD_CONTRIBS_LIB ) --- a/src/contribs-lib/CMakeLists.txt +++ b/src/contribs-lib/CMakeLists.txt @@ -106,9 +106,26 @@ add_library(clucene-contribs-lib SHARED ) TARGET_LINK_LIBRARIES(clucene-contribs-lib ${clucene_contrib_extra_libs}) +#install public headers. +FOREACH(file ${HEADERS}) + get_filename_component(apath ${file} PATH) + get_filename_component(aname ${file} NAME) + file(RELATIVE_PATH relpath ${CMAKE_SOURCE_DIR}/src/contribs-lib ${apath}) + IF ( NOT aname MATCHES "^_.*" ) + install(FILES ${file} + DESTINATION include/${relpath} + COMPONENT development) + ENDIF ( NOT aname MATCHES "^_.*" ) +ENDFOREACH(file) + #set properties on the libraries SET_TARGET_PROPERTIES(clucene-contribs-lib PROPERTIES VERSION ${CLUCENE_VERSION} SOVERSION ${CLUCENE_SOVERSION} COMPILE_DEFINITIONS_DEBUG _DEBUG ) + +#and install library +install(TARGETS clucene-contribs-lib + DESTINATION ${LIB_DESTINATION} + COMPONENT runtime ) debian/patches/Fix-pkgconfig-file-by-adding-clucene-shared-library.patch0000644000000000000000000000151012011377165023424 0ustar From 7be4a19b76d98260cf95040a47935f854a4ba7a4 Mon Sep 17 00:00:00 2001 From: Valentin Rusu Date: Sat, 17 Dec 2011 13:47:58 +0100 Subject: [PATCH] Fix .pc file by adding clucene-shared library --- src/core/libclucene-core.pc.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/src/core/libclucene-core.pc.cmake +++ b/src/core/libclucene-core.pc.cmake @@ -6,6 +6,6 @@ includedir=${prefix}/include:${prefix}/i Name: libclucene Description: CLucene - a C++ search engine, ported from the popular Apache Lucene Version: @CLUCENE_VERSION_MAJOR@.@CLUCENE_VERSION_MINOR@.@CLUCENE_VERSION_REVISION@.@CLUCENE_VERSION_PATCH@ -Libs: -L${prefix}/@LIB_DESTINATION@/ -lclucene-core +Libs: -L${prefix}/@LIB_DESTINATION@/ -lclucene-core -lclucene-shared Cflags: -I${prefix}/include -I${prefix}/include/CLucene/ext ~ debian/patches/bug715474-no-boost-headers.patch0000644000000000000000000000336312175215104016261 0ustar Description: clucene-core contains boost headers under ext/boost. And clucene-core's pkgconfig file adds -I/usr/include/CLucene/ext to CFLAGS. This causes problems building packages that use both clucene-core and boost Depending on the header search order, including a boost header may actually result in getting one of the files in /usr/include/CLucene/ext/boost. Or this may happen several levels deep of nested boost includes. This patch drops boost from clucene-core. Author: Fathi Boudra Bug: http://bugs.debian.org/715474 --- src/core/libclucene-core.pc.cmake | 4 ++-- src/ext/CMakeLists.txt | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) --- a/src/core/libclucene-core.pc.cmake +++ b/src/core/libclucene-core.pc.cmake @@ -1,11 +1,11 @@ prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix}/bin libdir=${prefix}/@LIB_DESTINATION@ -includedir=${prefix}/include:${prefix}/include/CLucene/ext +includedir=${prefix}/include Name: libclucene Description: CLucene - a C++ search engine, ported from the popular Apache Lucene Version: @CLUCENE_VERSION_MAJOR@.@CLUCENE_VERSION_MINOR@.@CLUCENE_VERSION_REVISION@.@CLUCENE_VERSION_PATCH@ Libs: -L${prefix}/@LIB_DESTINATION@/ -lclucene-core -lclucene-shared -Cflags: -I${prefix}/include -I${prefix}/include/CLucene/ext -I${prefix}/@LIB_DESTINATION@ +Cflags: -I${prefix}/include -I${prefix}/@LIB_DESTINATION@ ~ --- a/src/ext/CMakeLists.txt +++ b/src/ext/CMakeLists.txt @@ -8,8 +8,5 @@ FOREACH(file ${EXTHEADERS}) get_filename_component(aname ${file} NAME) file(RELATIVE_PATH relpath ${CMAKE_SOURCE_DIR}/src/ext/boost ${apath}) - install(FILES ${file} - DESTINATION "include/CLucene/ext/boost/${relpath}" - COMPONENT development) ENDFOREACH(file) debian/compat0000644000000000000000000000000212011436614010362 0ustar 8 debian/libclucene-contribs1.install0000644000000000000000000000012012011450457014555 0ustar usr/lib/*/libclucene-contribs-lib.so.1 usr/lib/*/libclucene-contribs-lib.so.2.*