summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/easyloggingpp/Manifest2
-rw-r--r--dev-cpp/easyloggingpp/easyloggingpp-9.97.0.ebuild32
-rw-r--r--dev-cpp/easyloggingpp/easyloggingpp-9.97.1.ebuild31
-rw-r--r--dev-cpp/easyloggingpp/files/0001-Switch-CMake-build-system-from-C-11-to-C-14.patch66
-rw-r--r--dev-cpp/easyloggingpp/files/disable-failing-tests.patch45
-rw-r--r--dev-cpp/easyloggingpp/metadata.xml10
-rw-r--r--dev-cpp/scnlib/Manifest2
-rw-r--r--dev-cpp/scnlib/files/scnlib-2.0.2-accept-newer-simdutf.patch16
-rw-r--r--dev-cpp/scnlib/files/scnlib-2.0.2-accept-simdutf-5.2.x.patch16
-rw-r--r--dev-cpp/scnlib/files/scnlib-2.0.2-no-external-test-deps.patch59
-rw-r--r--dev-cpp/scnlib/scnlib-2.0.3.ebuild (renamed from dev-cpp/scnlib/scnlib-2.0.2-r1.ebuild)15
-rw-r--r--dev-cpp/taskflow/Manifest1
-rw-r--r--dev-cpp/taskflow/taskflow-3.7.0.ebuild45
13 files changed, 51 insertions, 289 deletions
diff --git a/dev-cpp/easyloggingpp/Manifest b/dev-cpp/easyloggingpp/Manifest
deleted file mode 100644
index 7ff31490e76f..000000000000
--- a/dev-cpp/easyloggingpp/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST easyloggingpp-9.97.0.tar.gz 750851 BLAKE2B 7ae65db33009dccf6e3a4362e4b5e23080935629b079e5898c8063d31144bef2341a041365bf20d0acd5067ad606e752de4b2b70a55f4bd16047b1ae3bab416d SHA512 e45789edaf7a43ad6a73861840d24ccce9b9d6bba1aaacf93c6ac26ff7449957251d2ca322c9da85130b893332dd305b13a2499eaffc65ecfaaafa3e11f8d63d
-DIST easyloggingpp-9.97.1.tar.gz 771149 BLAKE2B 313a6547e2af4322bac8843d4efbfef89fa1ebcd40ce24ba32dfd6df7f8c7023dd821e773f43ef484facde1cb5c348c02d6fe23a3fdf308ce2a29559a0d65021 SHA512 3df813f7f9796c81c974ba794624db2602253e14b938370deb4c851fe8725f5c7ebf71d7ae0277fcb770b043ccf8f04bbf8e770d14565f4cb704328973473387
diff --git a/dev-cpp/easyloggingpp/easyloggingpp-9.97.0.ebuild b/dev-cpp/easyloggingpp/easyloggingpp-9.97.0.ebuild
deleted file mode 100644
index 9fd347ed9144..000000000000
--- a/dev-cpp/easyloggingpp/easyloggingpp-9.97.0.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="C++ logging library"
-HOMEPAGE="https://github.com/abumq/easyloggingpp"
-SRC_URI="https://github.com/abumq/easyloggingpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="test? ( dev-cpp/gtest )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}/0001-Switch-CMake-build-system-from-C-11-to-C-14.patch"
- "${FILESDIR}/disable-failing-tests.patch"
-)
-
-src_configure() {
- local mycmakeargs+=(
- -Dtest=$(usex test ON OFF)
- )
- cmake_src_configure
-}
diff --git a/dev-cpp/easyloggingpp/easyloggingpp-9.97.1.ebuild b/dev-cpp/easyloggingpp/easyloggingpp-9.97.1.ebuild
deleted file mode 100644
index 5eb9e8ab2bca..000000000000
--- a/dev-cpp/easyloggingpp/easyloggingpp-9.97.1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="C++ logging library"
-HOMEPAGE="https://github.com/abumq/easyloggingpp"
-SRC_URI="https://github.com/abumq/easyloggingpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="test? ( dev-cpp/gtest )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}/disable-failing-tests.patch"
-)
-
-src_configure() {
- local mycmakeargs+=(
- -Dtest=$(usex test ON OFF)
- )
- cmake_src_configure
-}
diff --git a/dev-cpp/easyloggingpp/files/0001-Switch-CMake-build-system-from-C-11-to-C-14.patch b/dev-cpp/easyloggingpp/files/0001-Switch-CMake-build-system-from-C-11-to-C-14.patch
deleted file mode 100644
index fbdbd849f2a2..000000000000
--- a/dev-cpp/easyloggingpp/files/0001-Switch-CMake-build-system-from-C-11-to-C-14.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-From 1f6025dc0553c64eb556759a38ff70e55f97904b Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Thu, 26 Jan 2023 20:10:42 -0500
-Subject: [PATCH] Switch CMake build system from C++11 to C++14
-
----
- CMakeLists.txt | 22 +++++++++++-----------
- 1 file changed, 11 insertions(+), 11 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 538cc8a..ed42915 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -2,21 +2,21 @@ cmake_minimum_required(VERSION 2.8.7)
-
- project(Easyloggingpp CXX)
-
--macro(require_cpp11)
-+macro(require_cpp14)
- if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 3.0)
- # CMake 3.1 has built-in CXX standard checks.
-- message("-- Setting C++11")
-- set(CMAKE_CXX_STANDARD 11)
-+ message("-- Setting C++14")
-+ set(CMAKE_CXX_STANDARD 14)
- set(CMAKE_CXX_STANDARD_REQUIRED on)
- else()
- if (CMAKE_CXX_COMPILER_ID MATCHES "GCC")
-- message ("-- GNU CXX (-std=c++11)")
-- list(APPEND CMAKE_CXX_FLAGS "-std=c++11")
-+ message ("-- GNU CXX (-std=c++14)")
-+ list(APPEND CMAKE_CXX_FLAGS "-std=c++14")
- elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
-- message ("-- CLang CXX (-std=c++11)")
-- list(APPEND CMAKE_CXX_FLAGS "-std=c++11")
-+ message ("-- CLang CXX (-std=c++14)")
-+ list(APPEND CMAKE_CXX_FLAGS "-std=c++14")
- else()
-- message ("-- Easylogging++ requires C++11. Your compiler does not support it.")
-+ message ("-- Easylogging++ requires C++14. Your compiler does not support it.")
- endif()
- endif()
- endmacro()
-@@ -57,7 +57,7 @@ if (build_static_lib)
- add_definitions(-DELPP_UTC_DATETIME)
- endif()
-
-- require_cpp11()
-+ require_cpp14()
- add_library(easyloggingpp STATIC src/easylogging++.cc)
- set_property(TARGET easyloggingpp PROPERTY POSITION_INDEPENDENT_CODE ON)
-
-@@ -71,8 +71,8 @@ export(PACKAGE ${PROJECT_NAME})
-
- ########################################## Unit Testing ###################################
- if (test)
-- # We need C++11
-- require_cpp11()
-+ # We need C++14
-+ require_cpp14()
- set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
-
- find_package (gtest REQUIRED)
---
-2.39.1
-
diff --git a/dev-cpp/easyloggingpp/files/disable-failing-tests.patch b/dev-cpp/easyloggingpp/files/disable-failing-tests.patch
deleted file mode 100644
index 44479ecb4aca..000000000000
--- a/dev-cpp/easyloggingpp/files/disable-failing-tests.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-Description: Disable failing tests
-Author: Stephen Kitt <skitt@debian.org>
-
---- a/test/command-line-args-test.h
-+++ b/test/command-line-args-test.h
-@@ -26,7 +26,7 @@
- EXPECT_STRCASEEQ(cmd.getParamValue("--arg4WithValue"), "this_should_Added");
- }
-
--TEST(CommandLineArgsTest, LoggingFlagsArg) {
-+TEST(CommandLineArgsTest, DISABLED_LoggingFlagsArg) {
- const char* c[3];
- c[0] = "myprog";
- c[1] = "--logging-flags=5"; // NewLineForContainer & LogDetailedCrashReason (1 & 4)
---- a/test/helpers-test.h
-+++ b/test/helpers-test.h
-@@ -5,7 +5,7 @@
- #include "test.h"
- #include <vector>
-
--TEST(HelpersTest, ConvertTemplateToStdString) {
-+TEST(HelpersTest, DISABLED_ConvertTemplateToStdString) {
- std::vector<int> vecInt;
- vecInt.push_back(1);
- vecInt.push_back(2);
---- a/test/syslog-test.h
-+++ b/test/syslog-test.h
-@@ -8,7 +8,7 @@
- static const char* kSysLogFile = "/var/log/syslog";
- static const char* s_currentHost = el::base::utils::OS::currentHost().c_str();
-
--TEST(SysLogTest, WriteLog) {
-+TEST(SysLogTest, DISABLED_WriteLog) {
- if (!fileExists(kSysLogFile)) {
- // Do not check for syslog config, just dont test it
- return;
-@@ -23,7 +23,7 @@
- EXPECT_TRUE(Str::endsWith(actual, expectedEnd));
- }
-
--TEST(SysLogTest, DebugVersionLogs) {
-+TEST(SysLogTest, DISABLED_DebugVersionLogs) {
- if (!fileExists(kSysLogFile)) {
- // Do not check for syslog config, just dont test it
- return;
diff --git a/dev-cpp/easyloggingpp/metadata.xml b/dev-cpp/easyloggingpp/metadata.xml
deleted file mode 100644
index 4a1120304621..000000000000
--- a/dev-cpp/easyloggingpp/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>kocelfc@tutanota.com</email>
- <name>Kostadin Shishmanov</name>
- </maintainer>
-
- <origin>gentoo-guru-overlay</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-cpp/scnlib/Manifest b/dev-cpp/scnlib/Manifest
index 2304b2a4e8fa..970d5182f3ea 100644
--- a/dev-cpp/scnlib/Manifest
+++ b/dev-cpp/scnlib/Manifest
@@ -1 +1 @@
-DIST scnlib-2.0.2.tar.gz 518311 BLAKE2B 21084e8830a10df0777dc100e2e448447f3a777535a821dca96423dfdb467c9073fb3e7c499ffb42598f54b8f44d3fdab9c43d005c313850454a8fd27e152273 SHA512 12b9ae26a5ccc600aacad1e2b2287bfc0b6986a260e182c91541876bc5804fe661093ad10d1befda56803afc7a9aa9f0348820dbb5af4fa6fdf048f85b3bcef1
+DIST scnlib-2.0.3.tar.gz 520197 BLAKE2B 6e0a88985e8113d85d5c511fe9ec857af12a5d34224fee7a41d8347e1e1e9fe7bb78b15bbdafd9c06006112de747c9c3cd6b101d1076b619e33ac7e745668cc4 SHA512 888f60d5a60b2e348001a56a59e123f496f89b09668f0b05791e878528c1c46930963f22e3b64130c875896ace56dffc0d9310edabb4804abf79cc125dfd5ff4
diff --git a/dev-cpp/scnlib/files/scnlib-2.0.2-accept-newer-simdutf.patch b/dev-cpp/scnlib/files/scnlib-2.0.2-accept-newer-simdutf.patch
deleted file mode 100644
index 3e42ae495a68..000000000000
--- a/dev-cpp/scnlib/files/scnlib-2.0.2-accept-newer-simdutf.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake
-index ae2832b..186fbed 100644
---- a/cmake/dependencies.cmake
-+++ b/cmake/dependencies.cmake
-@@ -61,7 +61,10 @@ endif ()
- # we don't want to include tests of dependencies, so we need to do some manual work
-
- if (SCN_USE_EXTERNAL_SIMDUTF)
-- find_package(simdutf 4.0.0 CONFIG REQUIRED)
-+ find_package(simdutf 5.0.0 CONFIG)
-+ if(NOT simdutf_FOUND)
-+ find_package(simdutf 4.0.0 CONFIG REQUIRED)
-+ endif()
- else ()
- FetchContent_Declare(
- simdutf
diff --git a/dev-cpp/scnlib/files/scnlib-2.0.2-accept-simdutf-5.2.x.patch b/dev-cpp/scnlib/files/scnlib-2.0.2-accept-simdutf-5.2.x.patch
deleted file mode 100644
index af0feb295c7a..000000000000
--- a/dev-cpp/scnlib/files/scnlib-2.0.2-accept-simdutf-5.2.x.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake
-index ae2832b..186fbed 100644
---- a/cmake/dependencies.cmake
-+++ b/cmake/dependencies.cmake
-@@ -61,7 +61,10 @@ endif ()
- # we don't want to include tests of dependencies, so we need to do some manual work
-
- if (SCN_USE_EXTERNAL_SIMDUTF)
-- find_package(simdutf 4.0.0 CONFIG REQUIRED)
-+ find_package(simdutf 5.2.0 CONFIG)
-+ if(NOT simdutf_FOUND)
-+ find_package(simdutf 4.0.0 CONFIG REQUIRED)
-+ endif()
- else ()
- FetchContent_Declare(
- simdutf
diff --git a/dev-cpp/scnlib/files/scnlib-2.0.2-no-external-test-deps.patch b/dev-cpp/scnlib/files/scnlib-2.0.2-no-external-test-deps.patch
deleted file mode 100644
index e78ba0a2a15d..000000000000
--- a/dev-cpp/scnlib/files/scnlib-2.0.2-no-external-test-deps.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake
-index ae2832b..c250eff 100644
---- a/cmake/dependencies.cmake
-+++ b/cmake/dependencies.cmake
-@@ -4,41 +4,10 @@ set(SCN_OPTIONAL_DEPENDENCIES "")
-
- if (SCN_TESTS)
- # GTest
--
-- FetchContent_Declare(
-- googletest
-- GIT_REPOSITORY https://github.com/google/googletest.git
-- GIT_TAG main
-- GIT_SHALLOW TRUE
-- )
--
-- # gtest CMake does some flag overriding we don't want, and it's also quite heavy
-- # Do it manually
--
-- set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
--
-- FetchContent_GetProperties(googletest)
-- if (NOT googletest)
-- FetchContent_Populate(googletest)
-- endif ()
--
-- find_package(Threads)
--
-- add_library(scn_gtest
-- "${googletest_SOURCE_DIR}/googletest/src/gtest-all.cc"
-- "${googletest_SOURCE_DIR}/googlemock/src/gmock-all.cc"
-- )
-- target_include_directories(scn_gtest SYSTEM
-- PUBLIC
-- "${googletest_SOURCE_DIR}/googletest/include"
-- "${googletest_SOURCE_DIR}/googlemock/include"
-- PRIVATE
-- "${googletest_SOURCE_DIR}/googletest"
-- "${googletest_SOURCE_DIR}/googlemock"
-- )
-- target_link_libraries(scn_gtest PRIVATE Threads::Threads)
-- target_compile_features(scn_gtest PUBLIC cxx_std_17)
-- target_compile_options(scn_gtest PRIVATE $<$<CXX_COMPILER_ID:GNU>: -Wno-psabi>)
-+ find_package(GTest REQUIRED)
-+ add_library(scn_gtest INTERFACE)
-+ target_link_libraries(scn_gtest INTERFACE GTest::GTest)
-+ target_compile_features(scn_gtest INTERFACE cxx_std_17)
- endif ()
-
- if (SCN_BENCHMARKS)
-@@ -158,8 +127,3 @@ if (SCN_REGEX_BACKEND STREQUAL "re2")
- set(SCN_REGEX_BACKEND_TARGET re2::re2)
- endif ()
-
--# make available
--
--FetchContent_MakeAvailable(
-- ${SCN_OPTIONAL_DEPENDENCIES}
--)
diff --git a/dev-cpp/scnlib/scnlib-2.0.2-r1.ebuild b/dev-cpp/scnlib/scnlib-2.0.3.ebuild
index c4d3153a0635..a3b430189517 100644
--- a/dev-cpp/scnlib/scnlib-2.0.2-r1.ebuild
+++ b/dev-cpp/scnlib/scnlib-2.0.3.ebuild
@@ -6,7 +6,7 @@ EAPI=8
inherit cmake
DESCRIPTION="scanf for modern C++ "
-HOMEPAGE="https://scnlib.dev/"
+HOMEPAGE="https://www.scnlib.dev/"
SRC_URI="https://github.com/eliaskosunen/scnlib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
@@ -14,23 +14,15 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+RDEPEND=">=dev-cpp/simdutf-5.2.0:="
+DEPEND="${RDEPEND}"
BDEPEND="
dev-cpp/fast_float
- >=dev-cpp/simdutf-5.2.0:=
test? ( dev-cpp/gtest )
"
RESTRICT="!test? ( test )"
-PATCHES=(
- "${FILESDIR}/${P}-accept-simdutf-5.2.x.patch"
-)
-
-src_prepare() {
- use test && eapply "${FILESDIR}/${P}-no-external-test-deps.patch"
- cmake_src_prepare
-}
-
src_configure() {
local mycmakeargs=(
-DSCN_BENCHMARKS=OFF
@@ -40,6 +32,7 @@ src_configure() {
-DSCN_EXAMPLES=$(usex test ON OFF)
-DSCN_TESTS=$(usex test ON OFF)
-DSCN_USE_EXTERNAL_FAST_FLOAT=ON
+ -DSCN_USE_EXTERNAL_GTEST=ON
-DSCN_USE_EXTERNAL_SIMDUTF=ON
)
cmake_src_configure
diff --git a/dev-cpp/taskflow/Manifest b/dev-cpp/taskflow/Manifest
index 356b679b2e87..05b23be00440 100644
--- a/dev-cpp/taskflow/Manifest
+++ b/dev-cpp/taskflow/Manifest
@@ -1,3 +1,4 @@
DIST taskflow-3.3.0.tar.gz 64446007 BLAKE2B 07878a03bd90af64914f1dc80850bcf5d4140f20ecfa998237039b6f37cc668e8c2b5dffafb75f4518209b3ac01f9935f5e30a020871334f131e6fe7654748bf SHA512 08ab20bf38927d49c8332fc103cb7b4b6358efa06466cb8471f2004eb27b79b9eadc9971ec4acd110c8f369686b6f99bf3e21192285c3f28b9cb855bfd9ab0b5
DIST taskflow-3.4.0.tar.gz 64152239 BLAKE2B cec78155bc8db3ac7fb6e61ece8c1bb4697c6655122cdcd987405ce21b1f4f30570debda8a7cccf43d089bac791cb18654e829380e244addae2875ad4fdb47c5 SHA512 e0e3589feec65677c4de6583a70c14f90826f2177636010955c597a3232f7842431c697eae711318f4a64fae52ac3e33e2d0739ef36bb7c57698110b6fa4740d
DIST taskflow-3.6.0.tar.gz 66335249 BLAKE2B bcdc6d721e32b7c40f65ed5bd115d2c0083663e8b51c0e4460baa5f62e576382a45e8da735119b577d8a6ae7a64c72431654471a3b8335997fdf4f9191ad64af SHA512 1bf17b69cdb29b982fc74b9091f5b6c8fc4fd3004b26afe7e73e71569738e492cf8663b71d98cfbc4e240c08ceb8a99bf51cccce95254710722f89929a4bbea8
+DIST taskflow-3.7.0.tar.gz 66383509 BLAKE2B 92a9d56f0101d507b7f924ce9038d6d43a5f39c9270582f910644ad281ea2cee3f8fa39f3ee4e748f90d013d57a3bc2f24842e328ab345bc580d1a9a5de4f308 SHA512 2faecc9eaf9e7f24253a5aedbb4ef6164ba8b5181b7f2c65d8646c21300f28278d7817e928eeab7e85ec2b9644508a8665bab1a7482ec85a7f6de18cecb32d6f
diff --git a/dev-cpp/taskflow/taskflow-3.7.0.ebuild b/dev-cpp/taskflow/taskflow-3.7.0.ebuild
new file mode 100644
index 000000000000..a9a00cd40a3d
--- /dev/null
+++ b/dev-cpp/taskflow/taskflow-3.7.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Modern C++ Parallel Task Programming"
+HOMEPAGE="https://taskflow.github.io"
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/taskflow/${PN}.git"
+ inherit git-r3
+ S="${WORKDIR}/taskflow-${PV}"
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ S="${WORKDIR}/taskflow-${PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-cpp/doctest )"
+
+HTML_DOCS=( docs/. )
+
+PATCHES=(
+)
+
+src_prepare() {
+ cmake_src_prepare
+}
+
+src_configure() {
+ # TODO: enable CUDA via USE flag
+ local mycmakeargs=(
+ -DTF_BUILD_CUDA=OFF
+ -DTF_BUILD_EXAMPLES=$(usex examples)
+ -DTF_BUILD_TESTS=$(usex test)
+ )
+
+ cmake_src_configure
+}