summaryrefslogtreecommitdiff
path: root/dev-cpp/yaml-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/yaml-cpp')
-rw-r--r--dev-cpp/yaml-cpp/Manifest2
-rw-r--r--dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-cmake2.patch39
-rw-r--r--dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-gcc13.patch32
-rw-r--r--dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-gtest.patch30
-rw-r--r--dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-include-cstdint.patch33
-rw-r--r--dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-cmakever.patch10
-rw-r--r--dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-cxxstd.patch25
-rw-r--r--dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-precision.patch24
-rw-r--r--dev-cpp/yaml-cpp/metadata.xml15
-rw-r--r--dev-cpp/yaml-cpp/yaml-cpp-0.8.0-r2.ebuild43
-rw-r--r--dev-cpp/yaml-cpp/yaml-cpp-0.9.0-r1.ebuild45
11 files changed, 0 insertions, 298 deletions
diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
deleted file mode 100644
index 28650589cdf8..000000000000
--- a/dev-cpp/yaml-cpp/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST yaml-cpp-0.8.0.gh.tar.gz 1017151 BLAKE2B 5fd3eaec06bc04215afd2aa14ae8cd35f829f700f104931a51dbd8bb22e4e87f5cd5f2f975d3a2f464226d7165d3d106aa17bc7eab8a812c2545d2212011cf11 SHA512 aae9d618f906117d620d63173e95572c738db518f4ff1901a06de2117d8deeb8045f554102ca0ba4735ac0c4d060153a938ef78da3e0da3406d27b8298e5f38e
-DIST yaml-cpp-0.9.0.tar.gz 1056093 BLAKE2B c686fa5d51e9f28eea191647385e2cdef1269ad5dd361fe876b18bf45f85dd1872f4a30b6abe1cdcb534793c16bd9073ee5fb14fb8940885163a1ce0643f8068 SHA512 59f730e8c5744f1ccd542c1144db8d4d949012f72aab0b84ba4a818db25a0f847569b61238ab72ed5b0b2e9482b8d5007651b7185f4ca9e99045d5160259b565
diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-cmake2.patch b/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-cmake2.patch
deleted file mode 100644
index 220dc5452772..000000000000
--- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-cmake2.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-https://bugs.gentoo.org/957557
-From c9371de7836d113c0b14bfa15ca70f00ebb3ac6f Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <foss@grueninger.de>
-Date: Mon, 24 Mar 2025 08:32:25 +0100
-Subject: [PATCH] [cmake] Require minimum CMake version 3.5
-
-Soon CMake 4.0 will be released. It requires that projects
-set a minimum required CMake version of 3.5. There is a
-workaround with an additional flag, but it would is better
-to increase the minimum required version.
----
- CMakeLists.txt | 6 +++---
- test/CMakeLists.txt | 1 -
- 2 files changed, 3 insertions(+), 4 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 7e8a528d8..0df533a5a 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1,5 +1,6 @@
--# 3.5 is actually available almost everywhere, but this a good minimum
--cmake_minimum_required(VERSION 3.4)
-+# 3.5 is actually available almost everywhere.
-+# 3.30 as the upper policy limit avoids CMake deprecation warnings.
-+cmake_minimum_required(VERSION 3.5...3.30)
-
- # enable MSVC_RUNTIME_LIBRARY target property
- # see https://cmake.org/cmake/help/latest/policy/CMP0091.html
-diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
-index 1c60c07c5..6949d29c1 100644
---- a/test/CMakeLists.txt
-+++ b/test/CMakeLists.txt
-@@ -3,6 +3,5 @@ find_package(Threads REQUIRED)
- set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
- set(BUILD_MOCK ON CACHE BOOL "" FORCE)
--set(CMAKE_POLICY_DEFAULT_CMP0048 NEW)
-
- if(YAML_USE_SYSTEM_GTEST)
- find_package(GTest)
diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-gcc13.patch b/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-gcc13.patch
deleted file mode 100644
index f024b797eb47..000000000000
--- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-gcc13.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Fix test https://bugs.gentoo.org/917243
-
-From fcbb8193b94921e058be7b563aea053531e5b2d9 Mon Sep 17 00:00:00 2001
-From: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
-Date: Sat, 19 Aug 2023 21:36:16 +0200
-Subject: [PATCH] Fix testsuite with gcc-13 (#1216)
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-cd /<<PKGBUILDDIR>>/build-static/test && /usr/bin/c++ -DYAML_CPP_STATIC_DEFINE -I/<<PKGBUILDDIR>>/test/integration -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googletest -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/yaml-cpp-0.8.0+dfsg-1~build1 -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -Wno-variadic-macros -Wno-sign-compare -DGTEST_HAS_PTHREAD=1 -MD -MT test/CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -MF CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o.d -o CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -c /<<PKGBUILDDIR>>/test/binary_test.cpp
-/<<PKGBUILDDIR>>/test/binary_test.cpp: In member function ‘virtual void BinaryTest_DecodingNoCrashOnNegative_Test::TestBody()’:
-/<<PKGBUILDDIR>>/test/binary_test.cpp:11:38: error: narrowing conversion of ‘-58’ from ‘int’ to ‘char’ [-Wnarrowing]
- 11 | std::string input{-58, -1, -99, 109};
- | ^
----
- test/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
-index 351b03f81..c9e7f041b 100644
---- a/test/CMakeLists.txt
-+++ b/test/CMakeLists.txt
-@@ -33,7 +33,7 @@ target_include_directories(yaml-cpp-tests
- target_compile_options(yaml-cpp-tests
- PRIVATE
- $<$<CXX_COMPILER_ID:Clang>:-Wno-c99-extensions -Wno-variadic-macros -Wno-sign-compare>
-- $<$<CXX_COMPILER_ID:GNU>:-Wno-variadic-macros -Wno-sign-compare>)
-+ $<$<CXX_COMPILER_ID:GNU>:-Wno-variadic-macros -Wno-sign-compare -Wno-narrowing>)
- target_link_libraries(yaml-cpp-tests
- PRIVATE
- Threads::Threads
diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-gtest.patch b/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-gtest.patch
deleted file mode 100644
index 5386f8ec7c2f..000000000000
--- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-gtest.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
-index c9e7f04..58973ea 100644
---- a/test/CMakeLists.txt
-+++ b/test/CMakeLists.txt
-@@ -1,15 +1,10 @@
- find_package(Threads REQUIRED)
-+find_package(GTest REQUIRED CONFIG)
-
- set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
- set(BUILD_MOCK ON CACHE BOOL "" FORCE)
- set(CMAKE_POLICY_DEFAULT_CMP0048 NEW)
-
--add_subdirectory(
-- "${CMAKE_CURRENT_SOURCE_DIR}/gtest-1.11.0"
-- "${CMAKE_CURRENT_BINARY_DIR}/prefix")
--
--include_directories(SYSTEM "${CMAKE_CURRENT_SOURCE_DIR}/gtest-1.11.0/googletest/include")
--
- set(test-new-api-pattern "new-api/*.cpp")
- set(test-source-pattern "*.cpp" "integration/*.cpp" "node/*.cpp")
- if (CMAKE_VERSION VERSION_GREATER 3.11)
-@@ -38,7 +33,7 @@ target_link_libraries(yaml-cpp-tests
- PRIVATE
- Threads::Threads
- yaml-cpp
-- gmock)
-+ GTest::gmock)
-
- set_property(TARGET yaml-cpp-tests PROPERTY CXX_STANDARD_REQUIRED ON)
- if (NOT DEFINED CMAKE_CXX_STANDARD)
diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-include-cstdint.patch b/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-include-cstdint.patch
deleted file mode 100644
index d017b43fa440..000000000000
--- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-include-cstdint.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-https://github.com/jbeder/yaml-cpp/pull/1310
-
-From: Christopher Fore <csfore@posteo.net>
-Date: Wed, 14 Aug 2024 21:02:32 -0400
-Subject: [PATCH] emitterutils: Explicitly include <cstdint>
-
-GCC 15 will no longer include it by default, resulting in build
-failures in projects that do not explicitly include it.
-
-Error:
-src/emitterutils.cpp:221:11: error: 'uint16_t' was not declared in this scope
- 221 | std::pair<uint16_t, uint16_t> EncodeUTF16SurrogatePair(int codePoint) {
- | ^~~~~~~~
-src/emitterutils.cpp:13:1: note: 'uint16_t' is defined in header '<cstdint>';
-this is probably fixable by adding '#include <cstdint>'
- 12 | #include "yaml-cpp/null.h"
- +++ |+#include <cstdint>
- 13 | #include "yaml-cpp/ostream_wrapper.h"
-
-Tests pass.
-
-Closes: #1307
-See-also: https://gcc.gnu.org/pipermail/gcc-cvs/2024-August/407124.html
-See-also: https://bugs.gentoo.org/937412
-Signed-off-by: Christopher Fore <csfore@posteo.net>
---- a/src/emitterutils.cpp
-+++ b/src/emitterutils.cpp
-@@ -1,4 +1,5 @@
- #include <algorithm>
-+#include <cstdint>
- #include <iomanip>
- #include <sstream>
-
diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-cmakever.patch b/dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-cmakever.patch
deleted file mode 100644
index 0d6b98dc273a..000000000000
--- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-cmakever.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-https://github.com/jbeder/yaml-cpp/pull/1400
-
---- a/test/cmake/CMakeLists.txt
-+++ b/test/cmake/CMakeLists.txt
-@@ -1,4 +1,4 @@
--cmake_minimum_required(VERSION 3.5)
-+cmake_minimum_required(VERSION 3.5...3.30)
- project(yaml-cpp-consumer LANGUAGES CXX)
-
- find_package(yaml-cpp CONFIG REQUIRED)
diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-cxxstd.patch b/dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-cxxstd.patch
deleted file mode 100644
index b499af84e6c9..000000000000
--- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-cxxstd.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-dev-cpp/gtest requires c++ 17+
-https://github.com/jbeder/yaml-cpp/pull/1374
-
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -105,7 +105,7 @@ target_include_directories(yaml-cpp
- if (NOT DEFINED CMAKE_CXX_STANDARD)
- set_target_properties(yaml-cpp
- PROPERTIES
-- CXX_STANDARD 11)
-+ CXX_STANDARD 17)
- endif()
-
- if(YAML_CPP_MAIN_PROJECT)
---- a/test/CMakeLists.txt
-+++ b/test/CMakeLists.txt
-@@ -49,7 +49,7 @@ target_link_libraries(yaml-cpp-tests
-
- set_property(TARGET yaml-cpp-tests PROPERTY CXX_STANDARD_REQUIRED ON)
- if (NOT DEFINED CMAKE_CXX_STANDARD)
-- set_target_properties(yaml-cpp-tests PROPERTIES CXX_STANDARD 11)
-+ set_target_properties(yaml-cpp-tests PROPERTIES CXX_STANDARD 17)
- endif()
-
-
diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-precision.patch b/dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-precision.patch
deleted file mode 100644
index 8fecc8c28aa1..000000000000
--- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-precision.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-https://github.com/jbeder/yaml-cpp/pull/1401
-
-From 8d58b447fa7cafc3b9fdb5d4ca3e80239c111198 Mon Sep 17 00:00:00 2001
-From: Simon Gene Gottlieb <simon@gottliebtfreitag.de>
-Date: Wed, 11 Feb 2026 17:55:43 +0100
-Subject: [PATCH] fix: floating point conversion on x86 (32bit)
-
----
- src/fptostring.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/fptostring.cpp b/src/fptostring.cpp
-index e1722aeed..9176d73bd 100644
---- a/src/fptostring.cpp
-+++ b/src/fptostring.cpp
-@@ -28,7 +28,7 @@ namespace fp_formatting {
- * assert(buffer[1] == '2');
- * assert(buffer[2] == '3');
- */
--int ConvertToChars(char* begin, char* end, size_t value, int width=1) {
-+int ConvertToChars(char* begin, char* end, uint64_t value, int width=1) {
- // precondition of this function (will trigger in debug build)
- assert(width >= 1);
- assert(end >= begin); // end must be after begin
diff --git a/dev-cpp/yaml-cpp/metadata.xml b/dev-cpp/yaml-cpp/metadata.xml
deleted file mode 100644
index 3c0f051fb879..000000000000
--- a/dev-cpp/yaml-cpp/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>alexey+gentoo@asokolov.org</email>
- <name>Alexey Sokolov</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <upstream>
- <remote-id type="github">jbeder/yaml-cpp</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0-r2.ebuild b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0-r2.ebuild
deleted file mode 100644
index 19c0b23865bd..000000000000
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0-r2.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib
-
-DESCRIPTION="YAML parser and emitter in C++"
-HOMEPAGE="https://github.com/jbeder/yaml-cpp"
-SRC_URI="https://github.com/jbeder/yaml-cpp/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/0.8"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )
-"
-
-PATCHES=(
- "${FILESDIR}/yaml-cpp-0.8.0-gtest.patch"
- "${FILESDIR}/yaml-cpp-0.8.0-gcc13.patch"
- "${FILESDIR}/yaml-cpp-0.8.0-include-cstdint.patch"
- "${FILESDIR}/yaml-cpp-0.8.0-cmake2.patch"
-)
-
-src_prepare() {
- rm -r test/gtest-1.11.0 || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DYAML_BUILD_SHARED_LIBS=ON
- -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule
- -DYAML_CPP_BUILD_TESTS=$(usex test)
- )
-
- cmake-multilib_src_configure
-}
diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.9.0-r1.ebuild b/dev-cpp/yaml-cpp/yaml-cpp-0.9.0-r1.ebuild
deleted file mode 100644
index e9ac46d80afb..000000000000
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.9.0-r1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib
-
-DESCRIPTION="YAML parser and emitter in C++"
-HOMEPAGE="https://github.com/jbeder/yaml-cpp"
-SRC_URI="https://github.com/jbeder/yaml-cpp/archive/refs/tags/${P}.tar.gz"
-S="${WORKDIR}/yaml-cpp-${P}"
-
-LICENSE="MIT"
-SLOT="0/$(ver_cut 0-2)"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )
-"
-
-PATCHES=(
- "${FILESDIR}/yaml-cpp-0.9.0-cmakever.patch"
- "${FILESDIR}/yaml-cpp-0.9.0-cxxstd.patch"
- "${FILESDIR}/yaml-cpp-0.9.0-precision.patch"
-)
-
-src_prepare() {
- rm -r test/googletest-* || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DYAML_BUILD_SHARED_LIBS=ON
- -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule
- -DYAML_CPP_BUILD_TESTS=$(usex test)
- -DYAML_USE_SYSTEM_GTEST=ON
- -DYAML_CPP_FORMAT_SOURCE=OFF
- )
-
- cmake-multilib_src_configure
-}