summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-04-07 19:00:23 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-13 22:23:49 +0100
commitdc849aa9ebab3117f60d5f1728cdb9a325528e8a (patch)
tree4d49e4592d9c0ddfd65aa73da55b80265bae4835 /meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
parent50f5ca8ccf37dbb889a821b21120a35ef893d804 (diff)
downloadpoky-dc849aa9ebab3117f60d5f1728cdb9a325528e8a.tar.gz
webkitgtk: update 2.34.6 -> 2.36.0
Drop patches: 0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch 0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch (both merged upstream) reduce-memory-overheads.patch (rejected by upstream, there's no use case - see the discussion) Rebase to version submitted upstream: 0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch Add: 0001-When-building-introspection-files-do-not-quote-CFLAG.patch angle is no longer needed for x11-less setups. (From OE-Core rev: 05582e9e6583126879977b0bbb88b691d625056b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch')
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch38
1 files changed, 23 insertions, 15 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch b/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
index 54d34b1c69..bccf74d9c9 100644
--- a/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
@@ -1,4 +1,4 @@
1From 317a5ac120c44987219bc03486cd2f2d1842c9b9 Mon Sep 17 00:00:00 2001 1From e0bf97eecfa601e08b9578f00b1000890284241a Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 27 Oct 2015 16:02:19 +0200 3Date: Tue, 27 Oct 2015 16:02:19 +0200
4Subject: [PATCH] FindGObjectIntrospection.cmake: prefix variables obtained 4Subject: [PATCH] FindGObjectIntrospection.cmake: prefix variables obtained
@@ -6,22 +6,30 @@ Subject: [PATCH] FindGObjectIntrospection.cmake: prefix variables obtained
6 6
7Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=232933] 7Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=232933]
8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
9
9--- 10---
10 Source/cmake/FindGObjectIntrospection.cmake | 1 + 11 Source/cmake/FindGObjectIntrospection.cmake | 4 +++-
11 1 file changed, 1 insertion(+) 12 1 file changed, 3 insertions(+), 1 deletion(-)
12 13
13diff --git a/Source/cmake/FindGObjectIntrospection.cmake b/Source/cmake/FindGObjectIntrospection.cmake 14diff --git a/Source/cmake/FindGObjectIntrospection.cmake b/Source/cmake/FindGObjectIntrospection.cmake
14index e1f49b4..03a4446 100644 15index be96814a..ae67b593 100644
15--- a/Source/cmake/FindGObjectIntrospection.cmake 16--- a/Source/cmake/FindGObjectIntrospection.cmake
16+++ b/Source/cmake/FindGObjectIntrospection.cmake 17+++ b/Source/cmake/FindGObjectIntrospection.cmake
17@@ -26,6 +26,7 @@ macro(_GIR_GET_PKGCONFIG_VAR _outvar _varname _extra_args) 18@@ -16,7 +16,6 @@
18 else () 19 # Redistribution and use is allowed according to the terms of the BSD license.
19 string(REGEX REPLACE "[\r\n]" " " _result "${_result}") 20
20 string(REGEX REPLACE " +$" "" _result "${_result}") 21
21+ string(CONCAT _result $ENV{PKG_CONFIG_SYSROOT_DIR} "${_result}") 22-
22 separate_arguments(_result) 23 find_package(PkgConfig QUIET)
23 set(${_outvar} ${_result} CACHE INTERNAL "") 24 if (PKG_CONFIG_FOUND)
24 endif () 25 if (PACKAGE_FIND_VERSION_COUNT GREATER 0)
25-- 26@@ -30,6 +29,9 @@ if (PKG_CONFIG_FOUND)
262.1.4 27 pkg_get_variable(INTROSPECTION_GENERATE gobject-introspection-1.0 g_ir_generate)
27 28 pkg_get_variable(INTROSPECTION_GIRDIR gobject-introspection-1.0 girdir)
29 pkg_get_variable(INTROSPECTION_TYPELIBDIR gobject-introspection-1.0 typelibdir)
30+ set(INTROSPECTION_SCANNER "$ENV{PKG_CONFIG_SYSROOT_DIR}${INTROSPECTION_SCANNER}")
31+ set(INTROSPECTION_COMPILER "$ENV{PKG_CONFIG_SYSROOT_DIR}${INTROSPECTION_COMPILER}")
32+ set(INTROSPECTION_GENERATE "$ENV{PKG_CONFIG_SYSROOT_DIR}${INTROSPECTION_GENERATE}")
33 set(INTROSPECTION_VERSION "${_pc_gir_VERSION}")
34 if (${INTROSPECTION_VERSION} VERSION_GREATER_EQUAL "1.59.1")
35 set(INTROSPECTION_HAVE_SOURCES_TOP_DIRS YES)