[Lunar-commits] <moonbase-other> clucene: Add a few patch to fix pkgconfig and a sedit to correct the logic

stumbles stumbles at lunar-linux.org
Mon Oct 22 13:51:53 CEST 2012


commit 871f5c9f28d9957801325fb077c6ea7744a11ced
Author: stumbles <stumbles at lunar-linux.org>
Date: Mon, 22 Oct 2012 04:51:53 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/871f5c9f28d9957801325fb077c6ea7744a11ced

clucene: Add a few patch to fix pkgconfig and a sedit to correct the logic

for zlib detection.
---
  utils/clucene/BUILD   | +5/-0     
  utils/clucene/DETAILS | +8/-1     
  2 files changed, 13 insertions(+), 1 deletion(-)

--- a/utils/clucene/BUILD
+++ b/utils/clucene/BUILD
@@ -1,5 +1,10 @@
 (
 
+  patch_it $SOURCE2 1 &&
+  patch_it $SOURCE3 1 &&
+
+  sedit "s:ELSEIF ( ZLIB:ELSE ( ZLIB:" src/shared/CMakeLists.txt &&
+
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
--- a/utils/clucene/DETAILS
+++ b/utils/clucene/DETAILS
@@ -1,13 +1,20 @@
           MODULE=clucene
          VERSION=2.3.3.4
           SOURCE=$MODULE-core-$VERSION.tar.gz
+         SOURCE2=clucene-2.3.3.4-contrib.patch
+         SOURCE3=clucene-2.3.3.4-pkgconfig.patch
       SOURCE_URL=$SFORGE_URL/clucene/clucene-core-unstable/${VERSION%.*.*}/
+     SOURCE2_URL=http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-cpp/clucene/files/
+     SOURCE3_URL=http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-cpp/clucene/files/
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-core-$VERSION
       SOURCE_VFY=sha1:76d6788e747e78abb5abf8eaad78d3342da5f2a4
+     SOURCE2_VFY=sha1:304e5dfaaf6cf0733b8e6f43a192565c9a9a845a
+     SOURCE3_VFY=sha1:7a6c187dc32cab5e13626fe6e5a12dc2bfb6e85f
         WEB_SITE=http://clucene.sourceforge.net/
          ENTERED=20070802
-         UPDATED=20110813
+         UPDATED=20121022
            SHORT="open-source indexing and searching API"
+
 cat << EOF
 CLucene is a high-performance, scalable, cross platform, full-featured,
 open-source indexing and searching API. It is written in C++. CLucene




More information about the Lunar-commits mailing list