diff options
author | Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> | 2020-12-18 08:22:23 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-12-18 08:23:14 -0800 |
commit | b9cfc2afb787c2dcb5825e12df8491bdd15b9152 (patch) | |
tree | 5c272f62f819febcfe76bff996b03cc5e5a9b125 /meta-oe/recipes-support | |
parent | 0ab835271c665207c53a42f772240b06dea50233 (diff) | |
download | meta-openembedded-b9cfc2afb787c2dcb5825e12df8491bdd15b9152.tar.gz |
poppler: upgrade 20.11.0 -> 20.12.1
Refresh the following patch:
0001-Do-not-overwrite-all-our-build-flags.patch
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r-- | meta-oe/recipes-support/poppler/poppler/0001-Do-not-overwrite-all-our-build-flags.patch | 17 | ||||
-rw-r--r-- | meta-oe/recipes-support/poppler/poppler_20.12.1.bb (renamed from meta-oe/recipes-support/poppler/poppler_20.11.0.bb) | 2 |
2 files changed, 11 insertions, 8 deletions
diff --git a/meta-oe/recipes-support/poppler/poppler/0001-Do-not-overwrite-all-our-build-flags.patch b/meta-oe/recipes-support/poppler/poppler/0001-Do-not-overwrite-all-our-build-flags.patch index 05e0abede..afb0b5df0 100644 --- a/meta-oe/recipes-support/poppler/poppler/0001-Do-not-overwrite-all-our-build-flags.patch +++ b/meta-oe/recipes-support/poppler/poppler/0001-Do-not-overwrite-all-our-build-flags.patch | |||
@@ -15,12 +15,12 @@ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | |||
15 | 15 | ||
16 | --- a/cmake/modules/PopplerMacros.cmake | 16 | --- a/cmake/modules/PopplerMacros.cmake |
17 | +++ b/cmake/modules/PopplerMacros.cmake | 17 | +++ b/cmake/modules/PopplerMacros.cmake |
18 | @@ -123,14 +123,14 @@ if(CMAKE_COMPILER_IS_GNUCXX) | 18 | @@ -104,14 +104,14 @@ if(CMAKE_COMPILER_IS_GNUCXX) |
19 | set(DEFAULT_COMPILE_WARNINGS_EXTRA "${_warn} ${_warnx}") | 19 | set(DEFAULT_COMPILE_WARNINGS_EXTRA "${_warn} ${_warnx}") |
20 | 20 | ||
21 | set(_save_cxxflags "${CMAKE_CXX_FLAGS}") | 21 | set(_save_cxxflags "${CMAKE_CXX_FLAGS}") |
22 | - set(CMAKE_CXX_FLAGS "-fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE") | 22 | - set(CMAKE_CXX_FLAGS "-fno-exceptions -fno-check-new -fno-common -fno-operator-names -D_DEFAULT_SOURCE") |
23 | + set(CMAKE_CXX_FLAGS "-fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE ${_save_cxxflags}") | 23 | + set(CMAKE_CXX_FLAGS "-fno-exceptions -fno-check-new -fno-common -fno-operator-names -D_DEFAULT_SOURCE ${_save_cxxflags}") |
24 | set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cxxflags}") | 24 | set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cxxflags}") |
25 | set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cxxflags}") | 25 | set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cxxflags}") |
26 | set(CMAKE_CXX_FLAGS_DEBUG "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline ${_save_cxxflags}") | 26 | set(CMAKE_CXX_FLAGS_DEBUG "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline ${_save_cxxflags}") |
@@ -32,16 +32,16 @@ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | |||
32 | set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cflags}") | 32 | set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cflags}") |
33 | set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cflags}") | 33 | set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cflags}") |
34 | set(CMAKE_C_FLAGS_DEBUG "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline ${_save_cflags}") | 34 | set(CMAKE_C_FLAGS_DEBUG "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline ${_save_cflags}") |
35 | @@ -167,7 +167,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL | 35 | @@ -149,7 +149,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") |
36 | set(DEFAULT_COMPILE_WARNINGS_EXTRA "${_warn} ${_warnx}") | 36 | set(DEFAULT_COMPILE_WARNINGS_EXTRA "${_warn} ${_warnx}") |
37 | 37 | ||
38 | set(_save_cxxflags "${CMAKE_CXX_FLAGS}") | 38 | set(_save_cxxflags "${CMAKE_CXX_FLAGS}") |
39 | - set(CMAKE_CXX_FLAGS "-fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE") | 39 | - set(CMAKE_CXX_FLAGS "-fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE") |
40 | + set(CMAKE_CXX_FLAGS "-fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE ${_save_cxxflags}") | 40 | + set(CMAKE_CXX_FLAGS "-fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE ${_save_cxxflags}") |
41 | set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cxxflags}") | 41 | set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cxxflags}") |
42 | set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cxxflags}") | 42 | set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cxxflags}") |
43 | # clang does not support -fno-reorder-blocks -fno-schedule-insns, so do not use -O2 | 43 | # clang does not support -fno-reorder-blocks -fno-schedule-insns, so do not use -O2 |
44 | @@ -175,7 +175,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL | 44 | @@ -157,7 +157,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") |
45 | set(CMAKE_CXX_FLAGS_DEBUGFULL "-g3 -fno-inline ${_save_cxxflags}") | 45 | set(CMAKE_CXX_FLAGS_DEBUGFULL "-g3 -fno-inline ${_save_cxxflags}") |
46 | set(CMAKE_CXX_FLAGS_PROFILE "-g3 -fno-inline -ftest-coverage -fprofile-arcs ${_save_cxxflags}") | 46 | set(CMAKE_CXX_FLAGS_PROFILE "-g3 -fno-inline -ftest-coverage -fprofile-arcs ${_save_cxxflags}") |
47 | set(_save_cflags "${CMAKE_C_FLAGS}") | 47 | set(_save_cflags "${CMAKE_C_FLAGS}") |
@@ -50,3 +50,6 @@ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | |||
50 | set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cflags}") | 50 | set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cflags}") |
51 | set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cflags}") | 51 | set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cflags}") |
52 | # clang does not support -fno-reorder-blocks -fno-schedule-insns, so do not use -O2 | 52 | # clang does not support -fno-reorder-blocks -fno-schedule-insns, so do not use -O2 |
53 | -- | ||
54 | 2.25.1 | ||
55 | |||
diff --git a/meta-oe/recipes-support/poppler/poppler_20.11.0.bb b/meta-oe/recipes-support/poppler/poppler_20.12.1.bb index 729923d40..87a57523f 100644 --- a/meta-oe/recipes-support/poppler/poppler_20.11.0.bb +++ b/meta-oe/recipes-support/poppler/poppler_20.12.1.bb | |||
@@ -7,7 +7,7 @@ SRC_URI = "http://poppler.freedesktop.org/${BP}.tar.xz \ | |||
7 | file://0001-Do-not-overwrite-all-our-build-flags.patch \ | 7 | file://0001-Do-not-overwrite-all-our-build-flags.patch \ |
8 | file://basename-include.patch \ | 8 | file://basename-include.patch \ |
9 | " | 9 | " |
10 | SRC_URI[sha256sum] = "021557074516492375c2bb4226a413aad431159e9177f9f14dff4159d2723b14" | 10 | SRC_URI[sha256sum] = "d0aa2586c0a4296c775f0d2045f28bb95a694113fc995f95350faa12930f7b35" |
11 | 11 | ||
12 | DEPENDS = "fontconfig zlib cairo lcms glib-2.0" | 12 | DEPENDS = "fontconfig zlib cairo lcms glib-2.0" |
13 | 13 | ||