Skip to contentSkip to conversation

package/double-conversion: bump to 3.4.0

PATCH In review Thomas Petazzoni via buildroot 1 participant 2 messages Aug 15

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/double-conversion: bump to 3.4.0

Packaging changes:

- Drop patch that is upstream (it was an upstream backport)
- double-conversion now requires CMake 3.29, so we select BR2_HOST_CMAKE_AT_LEAST_3_29

Upstream changes:

CMake: Raised required version to 3.5 by @heirecka in #240
Bump ossf/scorecard-action from 2.4.0 to 2.4.1 by @dependabot[bot] in #241 Always initialize decimal-point variable. by @floitsch in #244 Explain that ToShortest might not be the shortest. by @floitsch in #245 Add higher bound for cmake. by @floitsch in #246
Bump ossf/scorecard-action from 2.4.1 to 2.4.2 by @dependabot[bot] in #248 Bump lukka/get-cmake from 4.0.2 to 4.0.3 by @dependabot[bot] in #250 Bump lukka/get-cmake from 4.0.3 to 4.1.0 by @dependabot[bot] in #252 Bump actions/checkout from 4.2.2 to 5.0.0 by @dependabot[bot] in #253 Bump lukka/get-cmake from 4.1.0 to 4.1.1 by @dependabot[bot] in #254 Add alias double-conversion::double-conversion by @Flamefire in #255 Revert "Add _ITERATOR_DEBUG_LEVEL=2 and _DEBUG defines (#202)" by @Osyotr in #256 Bump ossf/scorecard-action from 2.4.2 to 2.4.3 by @dependabot[bot] in #259 Install pkg-config file (from CMake build) by @Ericson2314 in #262 Update CI runners and minimal cmake. by @floitsch in #257
Bump lukka/get-cmake from 4.1.1 to 4.1.2 by @dependabot[bot] in #258 Bump lukka/get-cmake from 4.1.2 to 4.2.0 by @dependabot[bot] in #264 Bump actions/checkout from 5.0.0 to 6.0.0 by @dependabot[bot] in #265 Bump actions/checkout from 6.0.0 to 6.0.1 by @dependabot[bot] in #266 Prepare new release. by @floitsch in #267

See https://github.com/google/double-conversion/releases/tag/v3.4.0

Tested in a defconfig that has the two reverse dependencies of double-conversion in Buildroot:

BR2_aarch64=y
BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y BR2_PACKAGE_QT6=y
BR2_PACKAGE_PYTHON3=y BR2_PACKAGE_PYTHON_UJSON=y

---
 ...CMake-Raised-required-version-to-3.5.patch | 27 -------------------
 package/double-conversion/Config.in           |  1 +
 .../double-conversion/double-conversion.hash  |  2 +-
 .../double-conversion/double-conversion.mk    |  2 +-
 4 files changed, 3 insertions(+), 29 deletions(-)
 delete mode 100644 package/double-conversion/0001-CMake-Raised-required-version-to-3.5.patch
package/double-conversion/0001-CMake-Raised-required-version-to-3.5.patch deleted +0 -27
deleted file mode 100644
index 9d8482d5d2..0000000000
@@ -1,27 +0,0 @@
-From 101e1ba89dc41ceb75090831da97c43a76cd2906 Mon Sep 17 00:00:00 2001
-From: Heiko Becker <[email protected]>
-Date: Thu, 20 Feb 2025 15:20:07 +0100
-Subject: [PATCH] CMake: Raised required version to 3.5 (#240)
-
-CMake >= 4.0.0-rc1 removed compatibility with versions < 3.5 and errors
-out with such versions passed to cmake_minimum_required(). 3.5.0 has
-been released 9 years ago, so I'd assume it's available almost
-everywhere.
-
-Upstream: https://github.com/google/double-conversion/commit/101e1ba89dc41ceb75090831da97c43a76cd2906
-
-Signed-off-by: Bernd Kuhls <[email protected]>
----
- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 8749ef86..31457723 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1,4 +1,4 @@
--cmake_minimum_required(VERSION 3.0)
-+cmake_minimum_required(VERSION 3.5)
- project(double-conversion VERSION 3.3.0)
- 
- option(BUILD_SHARED_LIBS "Build shared libraries (.dll/.so) instead of static ones (.lib/.a)" OFF)
package/double-conversion/Config.in +1 -0
index b858b56c27..1c43a2a851 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_DOUBLE_CONVERSION
 	bool "double-conversion"
 	depends on BR2_INSTALL_LIBSTDCPP
+	select BR2_HOST_CMAKE_AT_LEAST_3_29
 	help
 	  Provides binary-decimal and decimal-binary routines for
 	  IEEE doubles.
package/double-conversion/double-conversion.hash +1 -1
index a10da6d75d..3b61297332 100644
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256  fe54901055c71302dcdc5c3ccbe265a6c191978f3761ce1414d0895d6b0ea90e  double-conversion-3.3.1.tar.gz
+sha256  42fd4d980ea86426e457b24bdfa835a6f5ad9517ddb01cdb42b99ab9c8dd5dc9  double-conversion-3.4.0.tar.gz
 sha256  4af93c12062c58058378de2397dc1c92bbff9ddfb1d583a01c84127557ce97ca  COPYING
package/double-conversion/double-conversion.mk +1 -1
index a4760236ca..0c73c07043 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-DOUBLE_CONVERSION_VERSION = 3.3.1
+DOUBLE_CONVERSION_VERSION = 3.4.0
 DOUBLE_CONVERSION_SITE = $(call github,google,double-conversion,v$(DOUBLE_CONVERSION_VERSION))
 DOUBLE_CONVERSION_LICENSE = BSD-3-Clause
 DOUBLE_CONVERSION_LICENSE_FILES = COPYING
Signature · 6 lines
2.55.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 43 lines · Thomas Petazzoni via buildroot

Packaging changes:

- Drop patch that is upstream (it was an upstream backport)
- double-conversion now requires CMake 3.29, so we select BR2_HOST_CMAKE_AT_LEAST_3_29

Upstream changes:

CMake: Raised required version to 3.5 by @heirecka in #240 Bump ossf/scorecard-action from 2.4.0 to 2.4.1 by @dependabot[bot] in #241 Always initialize decimal-point variable. by @floitsch in #244 Explain that ToShortest might not be the shortest. by @floitsch in #245 Add higher bound for cmake. by @floitsch in #246
Bump ossf/scorecard-action from 2.4.1 to 2.4.2 by @dependabot[bot] in #248 Bump lukka/get-cmake from 4.0.2 to 4.0.3 by @dependabot[bot] in #250 Bump lukka/get-cmake from 4.0.3 to 4.1.0 by @dependabot[bot] in #252 Bump actions/checkout from 4.2.2 to 5.0.0 by @dependabot[bot] in #253 Bump lukka/get-cmake from 4.1.0 to 4.1.1 by @dependabot[bot] in #254 Add alias double-conversion::double-conversion by @Flamefire in #255 Revert "Add _ITERATOR_DEBUG_LEVEL=2 and _DEBUG defines (#202)" by @Osyotr in #256
Bump ossf/scorecard-action from 2.4.2 to 2.4.3 by @dependabot[bot] in #259 Install pkg-config file (from CMake build) by @Ericson2314 in #262 Update CI runners and minimal cmake. by @floitsch in #257
Bump lukka/get-cmake from 4.1.1 to 4.1.2 by @dependabot[bot] in #258 Bump lukka/get-cmake from 4.1.2 to 4.2.0 by @dependabot[bot] in #264 Bump actions/checkout from 5.0.0 to 6.0.0 by @dependabot[bot] in #265 Bump actions/checkout from 6.0.0 to 6.0.1 by @dependabot[bot] in #266 Prepare new release. by @floitsch in #267

See https://github.com/google/double-conversion/releases/tag/v3.4.0

Tested in a defconfig that has the two reverse dependencies of double-conversion in Buildroot:

BR2_aarch64=y
BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y BR2_PACKAGE_QT6=y
BR2_PACKAGE_PYTHON3=y BR2_PACKAGE_PYTHON_UJSON=y

Quoted 1 line

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot