diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-04-21 08:09:12 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-12 08:51:09 +0100 |
commit | 99df0c34705006cbab9de58bf6b796728a295b7a (patch) | |
tree | 36795369ee372b623d083350b3942f5bc0f85d69 /meta/recipes-sato/webkit/webkitgtk/0001-Tweak-gtkdoc-settings-so-that-gtkdoc-generation-work.patch | |
parent | 2b070ef738a30f23963fed4bec3470557a5dc2a3 (diff) | |
download | poky-99df0c34705006cbab9de58bf6b796728a295b7a.tar.gz |
webkitgtk: Upgrade to 2.16.1
Fix build with gcc7
Move all patches to webkit folder
Drop patches that were backports or have been upstreamed
(From OE-Core rev: bfbdd1a2069f199be9ba0909dd512469ff17b65e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato/webkit/webkitgtk/0001-Tweak-gtkdoc-settings-so-that-gtkdoc-generation-work.patch')
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk/0001-Tweak-gtkdoc-settings-so-that-gtkdoc-generation-work.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-Tweak-gtkdoc-settings-so-that-gtkdoc-generation-work.patch b/meta/recipes-sato/webkit/webkitgtk/0001-Tweak-gtkdoc-settings-so-that-gtkdoc-generation-work.patch new file mode 100644 index 0000000000..586dd2375c --- /dev/null +++ b/meta/recipes-sato/webkit/webkitgtk/0001-Tweak-gtkdoc-settings-so-that-gtkdoc-generation-work.patch | |||
@@ -0,0 +1,49 @@ | |||
1 | From 4eeeaec775e190cf3f5885d7c6717acebd0201a8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Thu, 11 Aug 2016 17:13:51 +0300 | ||
4 | Subject: [PATCH] Tweak gtkdoc settings so that gtkdoc generation works under | ||
5 | OpenEmbedded build system | ||
6 | |||
7 | This requires setting a few environment variables so that the transient | ||
8 | binary is build and linked correctly, and disabling the tweaks to RUN | ||
9 | variable from gtkdoc.py script so that our qemu wrapper is taken into use. | ||
10 | |||
11 | Upstream-Status: Inappropriate [oe-specific] | ||
12 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
13 | --- | ||
14 | Source/PlatformGTK.cmake | 2 +- | ||
15 | Tools/gtk/gtkdoc.py | 4 ++-- | ||
16 | 2 files changed, 3 insertions(+), 3 deletions(-) | ||
17 | |||
18 | diff --git a/Source/PlatformGTK.cmake b/Source/PlatformGTK.cmake | ||
19 | index af4d2e3..b7b93c7 100644 | ||
20 | --- a/Source/PlatformGTK.cmake | ||
21 | +++ b/Source/PlatformGTK.cmake | ||
22 | @@ -25,7 +25,7 @@ macro(ADD_GTKDOC_GENERATOR _stamp_name _extra_args) | ||
23 | add_custom_command( | ||
24 | OUTPUT "${CMAKE_BINARY_DIR}/${_stamp_name}" | ||
25 | DEPENDS ${DocumentationDependencies} | ||
26 | - COMMAND CC=${CMAKE_C_COMPILER} CFLAGS=${CMAKE_C_FLAGS} ${CMAKE_SOURCE_DIR}/Tools/gtk/generate-gtkdoc ${_extra_args} | ||
27 | + COMMAND CC=${CMAKE_C_COMPILER} CFLAGS=${CMAKE_C_FLAGS} LD=${CMAKE_C_COMPILER} LDFLAGS=${CMAKE_C_LINK_FLAGS} RUN=${CMAKE_BINARY_DIR}/gtkdoc-qemuwrapper GIR_EXTRA_LIBS_PATH=${CMAKE_BINARY_DIR}/lib ${CMAKE_SOURCE_DIR}/Tools/gtk/generate-gtkdoc ${_extra_args} | ||
28 | COMMAND touch ${_stamp_name} | ||
29 | WORKING_DIRECTORY "${CMAKE_BINARY_DIR}" | ||
30 | ) | ||
31 | diff --git a/Tools/gtk/gtkdoc.py b/Tools/gtk/gtkdoc.py | ||
32 | index 4c8237b..c0205f0 100644 | ||
33 | --- a/Tools/gtk/gtkdoc.py | ||
34 | +++ b/Tools/gtk/gtkdoc.py | ||
35 | @@ -318,9 +318,9 @@ class GTKDoc(object): | ||
36 | additional_ldflags = '%s %s' % (additional_ldflags, arg) | ||
37 | ldflags = ' "-L%s" %s ' % (self.library_path, additional_ldflags) + ldflags | ||
38 | current_ld_library_path = env.get('LD_LIBRARY_PATH') | ||
39 | - if current_ld_library_path: | ||
40 | + if current_ld_library_path and 'RUN' not in env: | ||
41 | env['RUN'] = 'LD_LIBRARY_PATH="%s:%s" ' % (self.library_path, current_ld_library_path) | ||
42 | - else: | ||
43 | + elif 'RUN' not in env: | ||
44 | env['RUN'] = 'LD_LIBRARY_PATH="%s" ' % self.library_path | ||
45 | |||
46 | if ldflags: | ||
47 | -- | ||
48 | 2.8.1 | ||
49 | |||