From 1baf5e3b09c51287d16d3260bcc69afad55d4a3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 30 Aug 2025 16:16:34 +0700 Subject: [PATCH] Lucene++: for boost-1.89 --- srcpkgs/Lucene++/patches/boost-1.89.patch | 98 +++++++++++++++++++++++ srcpkgs/Lucene++/template | 4 +- 2 files changed, 100 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/Lucene++/patches/boost-1.89.patch diff --git a/srcpkgs/Lucene++/patches/boost-1.89.patch b/srcpkgs/Lucene++/patches/boost-1.89.patch new file mode 100644 index 00000000000..ca241275e28 --- /dev/null +++ b/srcpkgs/Lucene++/patches/boost-1.89.patch @@ -0,0 +1,98 @@ +--- a/cmake/dependencies.cmake ++++ b/cmake/dependencies.cmake +@@ -3,11 +3,8 @@ + #################################### + + find_package(Boost COMPONENTS +- date_time + filesystem + iostreams +- regex +- system + thread + REQUIRED + ) +--- a/src/contrib/CMakeLists.txt ++++ b/src/contrib/CMakeLists.txt +@@ -63,11 +63,8 @@ target_include_directories(lucene++-cont + #################################### + target_link_libraries(lucene++-contrib + Boost::boost +- Boost::date_time + Boost::filesystem + Boost::iostreams +- Boost::regex +- Boost::system + Boost::thread + ZLIB::ZLIB + lucene++::lucene++) +--- a/src/core/CMakeLists.txt ++++ b/src/core/CMakeLists.txt +@@ -53,11 +53,8 @@ target_include_directories(lucene++ + #################################### + target_link_libraries(lucene++ + Boost::boost +- Boost::date_time + Boost::filesystem + Boost::iostreams +- Boost::regex +- Boost::system + Boost::thread + ZLIB::ZLIB + ) +--- a/src/demo/deletefiles/CMakeLists.txt ++++ b/src/demo/deletefiles/CMakeLists.txt +@@ -34,11 +34,8 @@ target_include_directories(deletefiles + target_link_libraries(deletefiles + PRIVATE + Boost::boost +- Boost::date_time + Boost::filesystem + Boost::iostreams +- Boost::regex +- Boost::system + Boost::thread + ZLIB::ZLIB + lucene++::lucene++ +--- a/src/demo/indexfiles/CMakeLists.txt ++++ b/src/demo/indexfiles/CMakeLists.txt +@@ -35,11 +35,8 @@ target_include_directories(indexfiles + target_link_libraries(indexfiles + PRIVATE + Boost::boost +- Boost::date_time + Boost::filesystem + Boost::iostreams +- Boost::regex +- Boost::system + Boost::thread + ZLIB::ZLIB + lucene++::lucene++ +--- a/src/demo/searchfiles/CMakeLists.txt ++++ b/src/demo/searchfiles/CMakeLists.txt +@@ -34,11 +34,8 @@ target_include_directories(searchfiles + target_link_libraries(searchfiles + PRIVATE + Boost::boost +- Boost::date_time + Boost::filesystem + Boost::iostreams +- Boost::regex +- Boost::system + Boost::thread + ZLIB::ZLIB + lucene++::lucene++ +--- a/src/test/CMakeLists.txt ++++ b/src/test/CMakeLists.txt +@@ -54,11 +54,8 @@ target_include_directories(lucene++-test + target_link_libraries(lucene++-tester + PRIVATE + Boost::boost +- Boost::date_time + Boost::filesystem + Boost::iostreams +- Boost::regex +- Boost::system + Boost::thread + ZLIB::ZLIB + gtest_main diff --git a/srcpkgs/Lucene++/template b/srcpkgs/Lucene++/template index 12de2e53570..873d821fcdb 100644 --- a/srcpkgs/Lucene++/template +++ b/srcpkgs/Lucene++/template @@ -1,11 +1,11 @@ # Template file for 'Lucene++' pkgname=Lucene++ version=3.0.9 -revision=1 +revision=2 build_style=cmake configure_args="-Wno-dev" makedepends="boost-devel-minimal libboost_filesystem libboost_iostreams - libboost_thread libboost_date_time gtest-devel zlib-devel" + libboost_thread gtest-devel zlib-devel" short_desc="C++ port of the popular text search engine" maintainer="Enno Boland " license="LGPL-3.0-or-later, Apache-2.0"