diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-04-07 19:00:23 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-13 22:23:49 +0100 |
commit | dc849aa9ebab3117f60d5f1728cdb9a325528e8a (patch) | |
tree | 4d49e4592d9c0ddfd65aa73da55b80265bae4835 /meta/recipes-sato/webkit/webkitgtk/0001-When-building-introspection-files-do-not-quote-CFLAG.patch | |
parent | 50f5ca8ccf37dbb889a821b21120a35ef893d804 (diff) | |
download | poky-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-When-building-introspection-files-do-not-quote-CFLAG.patch')
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk/0001-When-building-introspection-files-do-not-quote-CFLAG.patch | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-When-building-introspection-files-do-not-quote-CFLAG.patch b/meta/recipes-sato/webkit/webkitgtk/0001-When-building-introspection-files-do-not-quote-CFLAG.patch new file mode 100644 index 0000000000..3d02be9894 --- /dev/null +++ b/meta/recipes-sato/webkit/webkitgtk/0001-When-building-introspection-files-do-not-quote-CFLAG.patch | |||
@@ -0,0 +1,78 @@ | |||
1 | From 01f5ab0edf3dd8f76d37fd36c2dcd3108be33a7b Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Mon, 4 Apr 2022 21:20:05 +0200 | ||
4 | Subject: [PATCH] When building introspection files, do not quote CFLAGS. | ||
5 | |||
6 | This does not seem to be propagated to the compiler correctly: | ||
7 | |||
8 | In file included from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysroot-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/11.2.0/include-fixed/syslimits.h:7, | ||
9 | from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysroot-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/11.2.0/include-fixed/limits.h:34, | ||
10 | from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysroot/usr/lib/glib-2.0/include/glibconfig.h:11, | ||
11 | from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysroot/usr/include/glib-2.0/glib/gtypes.h:32, | ||
12 | from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysroot/usr/include/glib-2.0/glib/galloca.h:32, | ||
13 | from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysroot/usr/include/glib-2.0/glib.h:30, | ||
14 | from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/build/Source/JavaScriptCore/tmp-introspectb51ks33n/JavaScriptCore-4.0.c:2: | ||
15 | /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysroot-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/11.2.0/include-fixed/limits.h:203:75: error: no include path in which to search for limits.h | ||
16 | 203 | #include_next <limits.h> /* recurse down to the real one */ | ||
17 | | ^ | ||
18 | In file included from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysroot/usr/include/glib-2.0/glib/galloca.h:32, | ||
19 | from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysroot/usr/include/glib-2.0/glib.h:30, | ||
20 | from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/build/Source/JavaScriptCore/tmp-introspectb51ks33n/JavaScriptCore-4.0.c:2: | ||
21 | /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysroot/usr/include/glib-2.0/glib/gtypes.h:35:10: fatal error: time.h: No such file or directory | ||
22 | 35 | #include <time.h> | ||
23 | | ^~~~~~~~ | ||
24 | compilation terminated. | ||
25 | Traceback (most recent call last): | ||
26 | File "/srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysroot-native/usr/lib/python3.10/distutils/unixccompiler.py", line 117, in _compile | ||
27 | self.spawn(compiler_so + cc_args + [src, '-o', obj] + | ||
28 | File "/srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysroot-native/usr/lib/python3.10/distutils/ccompiler.py", line 910, in spawn | ||
29 | spawn(cmd, dry_run=self.dry_run) | ||
30 | File "/srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysroot-native/usr/lib/python3.10/distutils/spawn.py", line 91, in spawn | ||
31 | raise DistutilsExecError( | ||
32 | distutils.errors.DistutilsExecError: command '/srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc' failed with exit code 1 | ||
33 | |||
34 | Upstream-Status: Inappropriate [upstream has rewritten the whole thing as of https://github.com/WebKit/WebKit/commit/b0ae032850bb6b2672051bab8032fc9f9ef5eb97] | ||
35 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
36 | --- | ||
37 | Source/JavaScriptCore/PlatformGTK.cmake | 2 +- | ||
38 | Source/WebKit/PlatformGTK.cmake | 4 ++-- | ||
39 | 2 files changed, 3 insertions(+), 3 deletions(-) | ||
40 | |||
41 | diff --git a/Source/JavaScriptCore/PlatformGTK.cmake b/Source/JavaScriptCore/PlatformGTK.cmake | ||
42 | index 1c3c8fb7..efd18807 100644 | ||
43 | --- a/Source/JavaScriptCore/PlatformGTK.cmake | ||
44 | +++ b/Source/JavaScriptCore/PlatformGTK.cmake | ||
45 | @@ -71,7 +71,7 @@ if (ENABLE_INTROSPECTION) | ||
46 | add_custom_command( | ||
47 | OUTPUT ${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.gir | ||
48 | DEPENDS JavaScriptCore | ||
49 | - COMMAND CC=${CMAKE_C_COMPILER} CFLAGS="-Wno-deprecated-declarations ${CMAKE_C_FLAGS}" LDFLAGS= | ||
50 | + COMMAND CC=${CMAKE_C_COMPILER} CFLAGS=-Wno-deprecated-declarations\ ${CMAKE_C_FLAGS} LDFLAGS= | ||
51 | ${LOADER_LIBRARY_PATH_VAR}="${INTROSPECTION_ADDITIONAL_LIBRARY_PATH}" | ||
52 | ${INTROSPECTION_SCANNER} | ||
53 | --quiet | ||
54 | diff --git a/Source/WebKit/PlatformGTK.cmake b/Source/WebKit/PlatformGTK.cmake | ||
55 | index 48d1820d..ded05035 100644 | ||
56 | --- a/Source/WebKit/PlatformGTK.cmake | ||
57 | +++ b/Source/WebKit/PlatformGTK.cmake | ||
58 | @@ -675,7 +675,7 @@ if (ENABLE_INTROSPECTION) | ||
59 | add_custom_target(WebKit2-${WEBKITGTK_API_VERSION}-gir | ||
60 | DEPENDS WebKit | ||
61 | DEPENDS ${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.gir | ||
62 | - COMMAND CC=${CMAKE_C_COMPILER} CFLAGS="-Wno-deprecated-declarations ${CMAKE_C_FLAGS}" LDFLAGS= | ||
63 | + COMMAND CC=${CMAKE_C_COMPILER} CFLAGS=-Wno-deprecated-declarations\ ${CMAKE_C_FLAGS} LDFLAGS= | ||
64 | ${LOADER_LIBRARY_PATH_VAR}="${INTROSPECTION_ADDITIONAL_LIBRARY_PATH}" | ||
65 | ${INTROSPECTION_SCANNER} | ||
66 | --quiet | ||
67 | @@ -721,7 +721,7 @@ if (ENABLE_INTROSPECTION) | ||
68 | OUTPUT ${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.gir | ||
69 | DEPENDS ${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.gir | ||
70 | DEPENDS WebKit2-${WEBKITGTK_API_VERSION}-gir | ||
71 | - COMMAND CC=${CMAKE_C_COMPILER} CFLAGS="-Wno-deprecated-declarations ${CMAKE_C_FLAGS}" | ||
72 | + COMMAND CC=${CMAKE_C_COMPILER} CFLAGS=-Wno-deprecated-declarations\ ${CMAKE_C_FLAGS} | ||
73 | LDFLAGS="${INTROSPECTION_ADDITIONAL_LDFLAGS}" | ||
74 | ${LOADER_LIBRARY_PATH_VAR}="${INTROSPECTION_ADDITIONAL_LIBRARY_PATH}" | ||
75 | ${INTROSPECTION_SCANNER} | ||
76 | -- | ||
77 | 2.30.2 | ||
78 | |||