mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
libwpe: upgrade 1.16.2 -> 1.16.3
Release notes are available at [0]. The new release contains a CMake-related patch that we can now drop. [0]: https://github.com/WebPlatformForEmbedded/libwpe/releases/tag/1.16.3 (From OE-Core rev: 40bc1667e4137da70453af3def94ec02d0e6c37d) Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2423dc098c
commit
4e39c25485
@@ -1,38 +0,0 @@
|
|||||||
From 7b227c7c1ac226498b1ea3987f87350d0f14f49f Mon Sep 17 00:00:00 2001
|
|
||||||
From: Moritz Haase <Moritz.Haase@bmw.de>
|
|
||||||
Date: Wed, 2 Jul 2025 09:19:44 +0200
|
|
||||||
Subject: [PATCH] cmake: Bump required CMake version to 3.5 to allow builds
|
|
||||||
with CMake 4+
|
|
||||||
|
|
||||||
This enables builds with CMake 4+, fixing:
|
|
||||||
|
|
||||||
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
|
|
||||||
Compatibility with CMake < 3.5 has been removed from CMake.
|
|
||||||
|
|
||||||
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
|
|
||||||
to tell CMake that the project requires at least <min> but has been
|
|
||||||
updated to work with policies introduced by <max> or earlier.
|
|
||||||
|
|
||||||
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
||||||
|
|
||||||
While at it, remove the extra call to 'cmake_policy()'. When passing the same
|
|
||||||
version as to 'cmake_minimum_required()' it's not needed, as the latter calls
|
|
||||||
the former automatically.
|
|
||||||
|
|
||||||
Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
|
|
||||||
Upstream-Status: Submitted [https://github.com/WebPlatformForEmbedded/libwpe/pull/136]
|
|
||||||
---
|
|
||||||
CMakeLists.txt | 3 +--
|
|
||||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index db9ae50..2a01daf 100644
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -1,5 +1,4 @@
|
|
||||||
-cmake_minimum_required(VERSION 3.0)
|
|
||||||
-cmake_policy(VERSION 3.0)
|
|
||||||
+cmake_minimum_required(VERSION 3.5)
|
|
||||||
|
|
||||||
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
|
||||||
include(VersioningUtils)
|
|
||||||
@@ -11,9 +11,8 @@ inherit cmake features_check pkgconfig
|
|||||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||||
|
|
||||||
SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz \
|
SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz \
|
||||||
file://0001-cmake-Bump-required-CMake-version-to-3.5-to-allow-bu.patch \
|
|
||||||
"
|
"
|
||||||
SRC_URI[sha256sum] = "960bdd11c3f2cf5bd91569603ed6d2aa42fd4000ed7cac930a804eac367888d7"
|
SRC_URI[sha256sum] = "c880fa8d607b2aa6eadde7d6d6302b1396ebc38368fe2332fa20e193c7ee1420"
|
||||||
|
|
||||||
# This is a tweak of upstream-version-is-even needed because
|
# This is a tweak of upstream-version-is-even needed because
|
||||||
# upstream directory contains tarballs for other components as well.
|
# upstream directory contains tarballs for other components as well.
|
||||||
Reference in New Issue
Block a user