diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-04-10 08:43:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-04-10 08:43:23 +0100 |
commit | 3cd09a18bad26aad2645241b868755cfdf41b6ae (patch) | |
tree | b7cf88e82bfe5ff802cf44d7eb7b58001a825067 /dev-cpp | |
parent | ce375651e01b2f8fe2470091862de020c1b4420a (diff) |
gentoo auto-resync : 10:04:2025 - 08:43:23
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/Manifest.gz | bin | 17142 -> 17137 bytes | |||
-rw-r--r-- | dev-cpp/azure-identity/Manifest | 4 | ||||
-rw-r--r-- | dev-cpp/azure-identity/azure-identity-1.11.ebuild (renamed from dev-cpp/azure-identity/azure-identity-1.10.1.ebuild) | 4 | ||||
-rw-r--r-- | dev-cpp/lucene++/Manifest | 5 | ||||
-rw-r--r-- | dev-cpp/lucene++/files/lucene++-3.0.9-boost-1.87.patch | 81 | ||||
-rw-r--r-- | dev-cpp/lucene++/files/lucene++-3.0.9-pkgconfig.patch | 24 | ||||
-rw-r--r-- | dev-cpp/lucene++/files/lucene++-3.0.9-tests-gtest-cstdint.patch | 10 | ||||
-rw-r--r-- | dev-cpp/lucene++/lucene++-3.0.9.ebuild | 46 |
8 files changed, 170 insertions, 4 deletions
diff --git a/dev-cpp/Manifest.gz b/dev-cpp/Manifest.gz Binary files differindex 42a9cab50452..c1bf77dbd711 100644 --- a/dev-cpp/Manifest.gz +++ b/dev-cpp/Manifest.gz diff --git a/dev-cpp/azure-identity/Manifest b/dev-cpp/azure-identity/Manifest index c93c60a67134..14e77256a12a 100644 --- a/dev-cpp/azure-identity/Manifest +++ b/dev-cpp/azure-identity/Manifest @@ -1,6 +1,6 @@ AUX azure-sdk-for-cpp-soversion.patch 12323 BLAKE2B b9bb07576b4050ab2f4378b6b41a61e7d5f0636e0933bca13ca3f94ce1c8391828fbfb523821109e6f28bcce6009e62393ecb52d497be27ac40184c0c58b1153 SHA512 47f821ebb3f4a670efa4b76070087ed1e295fc838addc89ad4fd1379ba47f0d39fa63017efc4175609735e6e12b77ce14771afddc95102c3f631c02474b6b30f DIST azure-sdk-for-cpp-4b913e073e50466e8b2d674e65234e7b66d7db49.tar.gz 3130918 BLAKE2B 09f85c1d984b74de2ecfe7de3953b5d4d9898dd087d5a507f4a9a26ab79782a03022adf0fe5cd27cf998fbe277279a3dc0b3cc1977a8599338229146263fffaa SHA512 d243465b248b671495cf94c6d6a53639f6976cfd888a7963e98ba7381ae2b659e39af0102be31e2ad6912b4d3c78bbfc8038318fb98cfb736f5aa99d38207d93 -DIST azure-sdk-for-cpp-c7d19e283278af1eb9e8a8eb8375c7ce65956195.tar.gz 3152357 BLAKE2B 83063aed51cd25d623af6252f70e72284fce07a646d92d0221b2c35d0a0aec55af718146a8d342ef1bbbea9fdcf6be5a84033bf14befeff90a777cc004e064a1 SHA512 a70b2dfc64db5c5799352101bdade9e6acea0bf89cc0896386e5e46344734a674af10463ecb6d141a59257ab21d2b59f7cf663b30c1272560cb2d657132732c3 +DIST azure-sdk-for-cpp-e8d34efc671b7dff133bd32bd2fe65aab4737ef2.tar.gz 3330505 BLAKE2B 3693cc1d587ad3cba32f5dfdbbc650fbd077f05092f0bd44809d1b99b27a2e3e4a9eeb6fa725e5385f117cd76fb09101839e74c3fdc1e082b45d824cad059fb4 SHA512 ffa0ec9e10dfefd948607761dcc328d39bbb3ed56aa9d1df7c1e370fcfd61e91df6f207c85a97e84fb1bd5ad7f2ec848f2f5f1cb85181174c6c7850ade265eeb EBUILD azure-identity-1.10.0.ebuild 1098 BLAKE2B fdec61f2ba7a44132170a78e28cea0a05119637e98daff7394c80c9f85b4f3feb9c1bd19c382c990629d47374eaf1b3254047501ed412b880d833d9643bc747e SHA512 0e79e0fa5c1ef8f08c046ed9adfbfe6204591bf94f1ee6cbf20861bc7179452169bc14342b3ad12eef163adc1dbba2be3ad3bde2746df2939ff1f01ce2c5755f -EBUILD azure-identity-1.10.1.ebuild 985 BLAKE2B 9c7d60300809fd4095d32035bd4b8ec4a584cf7a05497e6bcc0f3d36054e29b527c362e172c52a12ffd5082249a2570443bcdd11cb228deadb7b47d9550c9d91 SHA512 99bab997a95c78cba27c2d1dd56a7e249e883de3779ee5cd851dc4455bdbc538737ec6b6a952f83dd06ed10b5aef8e6aa37d8b90718f21b0a0a33b9799380f31 +EBUILD azure-identity-1.11.ebuild 985 BLAKE2B d34ea56ad5a1dad6f2fc2a3869d8ded6ece128a104867ad1372f00de0e21791af5999acb0b85642bb33ed2429da4fa0357d563a1151429934ac0076270355d17 SHA512 a68bd75213a3cfc8aa28176143867809837c10a3534b3d543008616a6cae87cfdd0dcb21780ac9ddeb51f64bc73c1c89b7312d1d1a8da1187976b8aca39d3ec0 MISC metadata.xml 336 BLAKE2B 20544d6b685b5fcedb7cedc0385a151f67711d351c2c285d53ff9128041f6455b42a89c3b709e73b4de49b21187f490b6ecf653e67328dfe3abf0fb0b6aaf438 SHA512 9adcc8ac58314efaa2b8daf6f11a42fe60942cf2e3c94ed85738ddd882e17589456955adae9a48226026461b98fc9805afda9f1e1f21959b2f57bd0647a4846a diff --git a/dev-cpp/azure-identity/azure-identity-1.10.1.ebuild b/dev-cpp/azure-identity/azure-identity-1.11.ebuild index ce20d08c4c01..a91721b4d614 100644 --- a/dev-cpp/azure-identity/azure-identity-1.10.1.ebuild +++ b/dev-cpp/azure-identity/azure-identity-1.11.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cmake -COMMIT="c7d19e283278af1eb9e8a8eb8375c7ce65956195" +COMMIT="e8d34efc671b7dff133bd32bd2fe65aab4737ef2" MY_P="azure-sdk-for-cpp-${COMMIT}" DESCRIPTION="Azure SDK for C++" HOMEPAGE="https://azure.github.io/azure-sdk-for-cpp/" diff --git a/dev-cpp/lucene++/Manifest b/dev-cpp/lucene++/Manifest index 3902409bf6bd..6204b929b581 100644 --- a/dev-cpp/lucene++/Manifest +++ b/dev-cpp/lucene++/Manifest @@ -1,5 +1,10 @@ AUX lucene++-3.0.7-boost-1.58.patch 1149 BLAKE2B 0021a7a27caabb92232adb42c7b1e8d4832902954018be4bf89e2765562e1e26cc29a67dc75be82f9d2ca7dfddd1e137fc742850d6707527da04574f2b1bbac9 SHA512 7fd0089895ab77da158a49510241fdc894bd3d30f7a6691ddc230f4d52631ec9222a04e13ef0a118f7838b4320fd313502f635c8f0827ba5bb4c6169fdd404b9 AUX lucene++-3.0.7-boost-1.85.patch 2416 BLAKE2B 5984848b993da3107177f46b22748c2ede4b0986ae1c0bac6086566327eef4287229ef95c16d68e2846453e0055678e9d6795fbecd1dd0c2ca9aaea6115b1df6 SHA512 0af65afca3b0725a78774d9e443efdf6ef1463f9388c98f13f3823dfd3677cd7f3a82c8e9a8e20ec3322624cc85c0ec2b91ec668f1a822462ae9beda0d8ab44d +AUX lucene++-3.0.9-boost-1.87.patch 3001 BLAKE2B 918c98cf298b2100dd4c91f71f8c915f227f9f341330e2b340513c264ecd7995e1c529dcaafe83b5fd36e7764e4a4ad0feffef0918de0a94a509dcf0ca1c6931 SHA512 ce32261ec2b2b99110030916f4a0b7e37b4bb4d226954ec3ca156a2e88d5d1306fb6a898a0cae7b155d66154636e91d8beda13479022b1d82cb5535054d9f5b4 +AUX lucene++-3.0.9-pkgconfig.patch 797 BLAKE2B 22b8b55c92bdb4d1fb2685e391f71e56db3104a2f0046d57670fd2e454097d477680d3d7f63569cf97862c63edc7348e41875f6f562c670bee40b171ef44ec50 SHA512 961b850ce61b31665c179cdc5dc25fb38a9391dbca23ceda596528bb41b0fac4905833d5a67dc5adee225fb31b23e3c99c70dea0bc48f988662d674c103f5222 +AUX lucene++-3.0.9-tests-gtest-cstdint.patch 253 BLAKE2B ab1c17c1b126e733dba22b045dc2f8a163359c330d86778830e826097877c52eb851b7bad0b28a4c2e26e4dbe4e5a3516c87e716338e06437600e139bab1672b SHA512 39cfab3375e1815e6687c73c064ae9c101ed43845f12c20b44c6b167bcb71e8350560fbffbb873f1518de4f77a7b821905e4de9f46b15b73a7320558a4e22161 DIST lucene++-3.0.7.tar.gz 2013570 BLAKE2B 26abb1a2fa2a24d7240505f11639c078744313541b4993ed84e4d0129fda74346e841f0c4c7552e58a15dd492af9ffd33ea66866c8e6810cd41e5d675833ce79 SHA512 92f3bba320980673cc64c983616aa38d25b44ea811237ed226741b892757fb8151e4f833aa58a18dbe7a0c9a899d94e828aa15e6d7b48a69ab730d1d772db220 +DIST lucene++-3.0.9.tar.gz 2458287 BLAKE2B cbc6c32bd23525ad53fbcf500628f1806496d7f0575ee33baf0bc189d2ea5710334d07b23869e9b3b205bfa229400bc09c108ba6919e2b83bf0c6259e0a88564 SHA512 220fe1b46518018d176ae16434f03b1453fc345d8d552a294d1af927ea4ab69a83ee4b03c82938e648edaa3e7064526ca047fc86e1c71743b0958b520d59e225 EBUILD lucene++-3.0.7-r3.ebuild 838 BLAKE2B 4e26efe5c428b139343095dbd68b05bfe149e2857ed14896fa6f8cfd5f87918bae29737ae4aa238513d98c5f5a2885d9a7b76debd9ce5bfc6b927e37c438fd0f SHA512 8ee853e32fd39527cfeddf3809ee90dc99d302410babf708372150f81e4476ad9ad41fcdfe42ba295333df6110ef5dae07c66196c24ae99655901909f0816852 +EBUILD lucene++-3.0.9.ebuild 1205 BLAKE2B 641c81f0ad58e4292391fb19521dc2c50c2fb2e9ea46fc0d522ed460a2e99f3beba4472b9768b861ec22c0ea6a5522aa3509a47d97034b8483360a7506d947cc SHA512 5fcd8ea7eb4cbfe902a622776214611d5f5a7c0c0b62a94ce80a034f843f98ed510f9819106d133f34b278a70a35ce0615d462707cd6ebd1be896a012bd997cb MISC metadata.xml 262 BLAKE2B f970979571c8afdfdbdd843369bcf81c3700ef44b5afb996572e6466e5332adaa1adea1b5b41be4359eaac9cb0cee39c839df9a205f22575293c7ba7aecd7569 SHA512 07a7be70d8b9786c7be9d5a2bcf8f2cd0904d2ec6d3a060cf78c575e87f8b7f4f72d95bdcb291b63b03db46b49802e70d617fcb2182b814851c168799cba392b diff --git a/dev-cpp/lucene++/files/lucene++-3.0.9-boost-1.87.patch b/dev-cpp/lucene++/files/lucene++-3.0.9-boost-1.87.patch new file mode 100644 index 000000000000..8851e2a6749b --- /dev/null +++ b/dev-cpp/lucene++/files/lucene++-3.0.9-boost-1.87.patch @@ -0,0 +1,81 @@ +https://github.com/luceneplusplus/LucenePlusPlus/commit/e6a376836e5c891577eae6369263152106b9bc02 + +From e6a376836e5c891577eae6369263152106b9bc02 Mon Sep 17 00:00:00 2001 +From: Christian Heusel <christian@heusel.eu> +Date: Tue, 21 Jan 2025 01:01:58 +0100 +Subject: [PATCH] Migrate to boost::asio::io_context + +The code previously used the deprecated (and with bost 1.87.0 removed) +`boost::asio::io_service`, which used to be an alias to `io_context`. +The new version heavily changes the `io_context` API and therefore is no +the old interface was removed. + +Fixes https://github.com/luceneplusplus/LucenePlusPlus/issues/208 + +Signed-off-by: Christian Heusel <christian@heusel.eu> +--- + include/lucene++/ThreadPool.h | 10 ++++++---- + src/core/util/ThreadPool.cpp | 9 +++++---- + 2 files changed, 11 insertions(+), 8 deletions(-) + +diff --git a/include/lucene++/ThreadPool.h b/include/lucene++/ThreadPool.h +index dc6446ff..175ac8ad 100644 +--- a/include/lucene++/ThreadPool.h ++++ b/include/lucene++/ThreadPool.h +@@ -14,7 +14,9 @@ + + namespace Lucene { + +-typedef boost::shared_ptr<boost::asio::io_service::work> workPtr; ++ ++typedef boost::asio::io_context io_context_t; ++typedef boost::asio::executor_work_guard<io_context_t::executor_type> work_t; + + /// A Future represents the result of an asynchronous computation. Methods are provided to check if the computation + /// is complete, to wait for its completion, and to retrieve the result of the computation. The result can only be +@@ -51,8 +53,8 @@ class ThreadPool : public LuceneObject { + LUCENE_CLASS(ThreadPool); + + protected: +- boost::asio::io_service io_service; +- workPtr work; ++ io_context_t io_context; ++ work_t work; + boost::thread_group threadGroup; + + static const int32_t THREADPOOL_SIZE; +@@ -64,7 +66,7 @@ class ThreadPool : public LuceneObject { + template <typename FUNC> + FuturePtr scheduleTask(FUNC func) { + FuturePtr future(newInstance<Future>()); +- io_service.post(boost::bind(&ThreadPool::execute<FUNC>, this, func, future)); ++ boost::asio::post(io_context, boost::bind(&ThreadPool::execute<FUNC>, this, func, future)); + return future; + } + +diff --git a/src/core/util/ThreadPool.cpp b/src/core/util/ThreadPool.cpp +index 8086d8b1..116f521c 100644 +--- a/src/core/util/ThreadPool.cpp ++++ b/src/core/util/ThreadPool.cpp +@@ -14,15 +14,16 @@ Future::~Future() { + + const int32_t ThreadPool::THREADPOOL_SIZE = 5; + +-ThreadPool::ThreadPool() { +- work.reset(new boost::asio::io_service::work(io_service)); ++ThreadPool::ThreadPool() ++ : ++ work(boost::asio::make_work_guard(io_context)) ++{ + for (int32_t i = 0; i < THREADPOOL_SIZE; ++i) { +- threadGroup.create_thread(boost::bind(&boost::asio::io_service::run, &io_service)); ++ threadGroup.create_thread(boost::bind(&boost::asio::io_context::run, &io_context)); + } + } + + ThreadPool::~ThreadPool() { +- work.reset(); // stop all threads + threadGroup.join_all(); // wait for all competition + } + + diff --git a/dev-cpp/lucene++/files/lucene++-3.0.9-pkgconfig.patch b/dev-cpp/lucene++/files/lucene++-3.0.9-pkgconfig.patch new file mode 100644 index 000000000000..36fea7bb60dd --- /dev/null +++ b/dev-cpp/lucene++/files/lucene++-3.0.9-pkgconfig.patch @@ -0,0 +1,24 @@ +https://github.com/luceneplusplus/LucenePlusPlus/commit/f40f59c6e169b4e16b7a6439ecb26a629c6540d1 + +From f40f59c6e169b4e16b7a6439ecb26a629c6540d1 Mon Sep 17 00:00:00 2001 +From: Sergey Fedorov <vital.had@gmail.com> +Date: Thu, 14 Mar 2024 20:37:34 +0800 +Subject: [PATCH] Fix install path for liblucene++.pc + +--- + src/config/core/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/config/core/CMakeLists.txt b/src/config/core/CMakeLists.txt +index e5691f54..69cfefcc 100644 +--- a/src/config/core/CMakeLists.txt ++++ b/src/config/core/CMakeLists.txt +@@ -9,7 +9,7 @@ if(NOT WIN32) + install( + FILES + "${CMAKE_CURRENT_BINARY_DIR}/liblucene++.pc" +- DESTINATION "${LIB_DESTINATION}/pkgconfig") ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) + endif() + + diff --git a/dev-cpp/lucene++/files/lucene++-3.0.9-tests-gtest-cstdint.patch b/dev-cpp/lucene++/files/lucene++-3.0.9-tests-gtest-cstdint.patch new file mode 100644 index 000000000000..02cb8956543e --- /dev/null +++ b/dev-cpp/lucene++/files/lucene++-3.0.9-tests-gtest-cstdint.patch @@ -0,0 +1,10 @@ +--- a/src/test/gtest/googletest/src/gtest-death-test.cc ++++ b/src/test/gtest/googletest/src/gtest-death-test.cc +@@ -32,6 +32,7 @@ + + #include "gtest/gtest-death-test.h" + ++#include <cstdint> + #include <utility> + + #include "gtest/internal/gtest-port.h" diff --git a/dev-cpp/lucene++/lucene++-3.0.9.ebuild b/dev-cpp/lucene++/lucene++-3.0.9.ebuild new file mode 100644 index 000000000000..649549be2b75 --- /dev/null +++ b/dev-cpp/lucene++/lucene++-3.0.9.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P="LucenePlusPlus-rel_${PV}" +inherit edo cmake flag-o-matic + +DESCRIPTION="C++ port of 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" +S="${WORKDIR}/${MY_P}" + +LICENSE="|| ( LGPL-3 Apache-2.0 )" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~loong ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug test" +RESTRICT="!test? ( test )" + +DEPEND="dev-libs/boost:=[zlib]" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-3.0.7-boost-1.85.patch" + "${FILESDIR}/${PN}-3.0.9-boost-1.87.patch" + "${FILESDIR}/${PN}-3.0.9-pkgconfig.patch" + "${FILESDIR}/${PN}-3.0.9-tests-gtest-cstdint.patch" +) + +src_configure() { + # Can't be tested with LTO because of ODR issues in test mocks + filter-lto + + local mycmakeargs=( + -DENABLE_DEMO=OFF + -DENABLE_TEST=$(usex test) + ) + + cmake_src_configure +} + +src_test() { + edo "${BUILD_DIR}"/src/test/lucene++-tester \ + --test_dir="${S}"/src/test/testfiles \ + --gtest_filter="-ParallelMultiSearcherTest*:SortTest.*:" +} |