diff options
| author | Liu Yiding <liuyd.fnst@fujitsu.com> | 2025-11-26 11:29:05 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-25 19:51:53 -0800 |
| commit | b9c57d65e6193d92dd9ee7de16594f842f6f402c (patch) | |
| tree | efeacbde22286c49e8fea8f0ab9aa2249f72c026 | |
| parent | 415501a41493e956d2aaa7dcbd87cf1dd8172b1d (diff) | |
| download | meta-openembedded-b9c57d65e6193d92dd9ee7de16594f842f6f402c.tar.gz | |
wxwidgets: upgrade 3.2.8 -> 3.3.1
1.Changelog:
https://github.com/wxWidgets/wxWidgets/releases/tag/v3.3.1
2.Update following patches for 3.3.1
0002-fix-libdir-for-multilib.patch
0003-create-links-with-relative-path.patch
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-extended/wxwidgets/wxwidgets/0002-fix-libdir-for-multilib.patch | 25 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/wxwidgets/wxwidgets/0003-create-links-with-relative-path.patch | 15 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/wxwidgets/wxwidgets_3.3.1.bb (renamed from meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.bb) | 6 |
3 files changed, 26 insertions, 20 deletions
diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets/0002-fix-libdir-for-multilib.patch b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0002-fix-libdir-for-multilib.patch index cd0417612f..bc6c4e6f54 100644 --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets/0002-fix-libdir-for-multilib.patch +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0002-fix-libdir-for-multilib.patch | |||
| @@ -15,6 +15,9 @@ Rebase for wxWidgets 3.2.1. Replace wxPLATFORM_LIB_DIR with LIB_SUFFIX | |||
| 15 | in this patch that LIB_SUFFIX has been passed to cmake in cmake.bbclass. | 15 | in this patch that LIB_SUFFIX has been passed to cmake in cmake.bbclass. |
| 16 | 16 | ||
| 17 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | 17 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
| 18 | |||
| 19 | Update for 3.3.1 | ||
| 20 | Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> | ||
| 18 | --- | 21 | --- |
| 19 | CMakeLists.txt | 2 +- | 22 | CMakeLists.txt | 2 +- |
| 20 | build/cmake/config.cmake | 2 +- | 23 | build/cmake/config.cmake | 2 +- |
| @@ -23,7 +26,7 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com> | |||
| 23 | 4 files changed, 9 insertions(+), 9 deletions(-) | 26 | 4 files changed, 9 insertions(+), 9 deletions(-) |
| 24 | 27 | ||
| 25 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 28 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
| 26 | index d6a4b49..9e86b87 100644 | 29 | index 6112fb7fac..42c0430598 100644 |
| 27 | --- a/CMakeLists.txt | 30 | --- a/CMakeLists.txt |
| 28 | +++ b/CMakeLists.txt | 31 | +++ b/CMakeLists.txt |
| 29 | @@ -43,7 +43,7 @@ include(build/cmake/policies.cmake NO_POLICY_SCOPE) | 32 | @@ -43,7 +43,7 @@ include(build/cmake/policies.cmake NO_POLICY_SCOPE) |
| @@ -36,7 +39,7 @@ index d6a4b49..9e86b87 100644 | |||
| 36 | # parse the version number from wx/version.h and include in wxMAJOR_VERSION and wxMINOR_VERSION | 39 | # parse the version number from wx/version.h and include in wxMAJOR_VERSION and wxMINOR_VERSION |
| 37 | file(READ "${wxSOURCE_DIR}/include/wx/version.h" WX_VERSION_H_CONTENTS) | 40 | file(READ "${wxSOURCE_DIR}/include/wx/version.h" WX_VERSION_H_CONTENTS) |
| 38 | diff --git a/build/cmake/config.cmake b/build/cmake/config.cmake | 41 | diff --git a/build/cmake/config.cmake b/build/cmake/config.cmake |
| 39 | index addd8d6..9ec6775 100644 | 42 | index fe6c0f84c7..6845aacbe0 100644 |
| 40 | --- a/build/cmake/config.cmake | 43 | --- a/build/cmake/config.cmake |
| 41 | +++ b/build/cmake/config.cmake | 44 | +++ b/build/cmake/config.cmake |
| 42 | @@ -100,7 +100,7 @@ function(wx_write_config_inplace) | 45 | @@ -100,7 +100,7 @@ function(wx_write_config_inplace) |
| @@ -49,10 +52,10 @@ index addd8d6..9ec6775 100644 | |||
| 49 | ) | 52 | ) |
| 50 | endfunction() | 53 | endfunction() |
| 51 | diff --git a/build/cmake/install.cmake b/build/cmake/install.cmake | 54 | diff --git a/build/cmake/install.cmake b/build/cmake/install.cmake |
| 52 | index 202d054..e255e0b 100644 | 55 | index a373983043..225a112ca5 100644 |
| 53 | --- a/build/cmake/install.cmake | 56 | --- a/build/cmake/install.cmake |
| 54 | +++ b/build/cmake/install.cmake | 57 | +++ b/build/cmake/install.cmake |
| 55 | @@ -44,11 +44,11 @@ if(WIN32_MSVC_NAMING) | 58 | @@ -51,11 +51,11 @@ if(WIN32_MSVC_NAMING) |
| 56 | else() | 59 | else() |
| 57 | install( | 60 | install( |
| 58 | DIRECTORY "${wxSETUP_HEADER_PATH}" | 61 | DIRECTORY "${wxSETUP_HEADER_PATH}" |
| @@ -66,12 +69,12 @@ index 202d054..e255e0b 100644 | |||
| 66 | PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ | 69 | PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ |
| 67 | GROUP_EXECUTE GROUP_READ | 70 | GROUP_EXECUTE GROUP_READ |
| 68 | WORLD_EXECUTE WORLD_READ | 71 | WORLD_EXECUTE WORLD_READ |
| 69 | @@ -57,13 +57,13 @@ else() | 72 | @@ -64,13 +64,13 @@ else() |
| 70 | install(DIRECTORY DESTINATION "bin") | 73 | install(DIRECTORY DESTINATION "bin") |
| 71 | install(CODE "execute_process( \ | 74 | install(CODE "execute_process( \ |
| 72 | COMMAND ${CMAKE_COMMAND} -E create_symlink \ | 75 | COMMAND ${CMAKE_COMMAND} -E create_symlink \ |
| 73 | - \"${CMAKE_INSTALL_PREFIX}/lib/wx/config/${wxBUILD_FILE_ID}\" \ | 76 | - \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/wx/config/${wxBUILD_FILE_ID}\" \ |
| 74 | + \"${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/wx/config/${wxBUILD_FILE_ID}\" \ | 77 | + \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/wx/config/${wxBUILD_FILE_ID}\" \ |
| 75 | \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/wx-config\" \ | 78 | \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/wx-config\" \ |
| 76 | )" | 79 | )" |
| 77 | ) | 80 | ) |
| @@ -82,7 +85,7 @@ index 202d054..e255e0b 100644 | |||
| 82 | 85 | ||
| 83 | # find_package config file | 86 | # find_package config file |
| 84 | include(CMakePackageConfigHelpers) | 87 | include(CMakePackageConfigHelpers) |
| 85 | @@ -86,11 +86,11 @@ write_basic_package_version_file( | 88 | @@ -93,11 +93,11 @@ write_basic_package_version_file( |
| 86 | configure_package_config_file( | 89 | configure_package_config_file( |
| 87 | "${wxSOURCE_DIR}/build/cmake/wxWidgetsConfig.cmake.in" | 90 | "${wxSOURCE_DIR}/build/cmake/wxWidgetsConfig.cmake.in" |
| 88 | "${projectConfig}" | 91 | "${projectConfig}" |
| @@ -97,10 +100,10 @@ index 202d054..e255e0b 100644 | |||
| 97 | 100 | ||
| 98 | # uninstall target | 101 | # uninstall target |
| 99 | diff --git a/build/cmake/lib/webview/CMakeLists.txt b/build/cmake/lib/webview/CMakeLists.txt | 102 | diff --git a/build/cmake/lib/webview/CMakeLists.txt b/build/cmake/lib/webview/CMakeLists.txt |
| 100 | index 2cb35e7..7977a84 100644 | 103 | index 84ba0351d7..e68ab16d1b 100644 |
| 101 | --- a/build/cmake/lib/webview/CMakeLists.txt | 104 | --- a/build/cmake/lib/webview/CMakeLists.txt |
| 102 | +++ b/build/cmake/lib/webview/CMakeLists.txt | 105 | +++ b/build/cmake/lib/webview/CMakeLists.txt |
| 103 | @@ -146,7 +146,7 @@ if(WXGTK AND wxUSE_WEBVIEW_WEBKIT2) | 106 | @@ -153,7 +153,7 @@ if(WXGTK AND wxUSE_WEBVIEW_WEBKIT2) |
| 104 | ${WEBKIT2_LIBRARIES} | 107 | ${WEBKIT2_LIBRARIES} |
| 105 | ) | 108 | ) |
| 106 | 109 | ||
| @@ -110,5 +113,5 @@ index 2cb35e7..7977a84 100644 | |||
| 110 | wx_add_dependencies(wxwebview wxwebkit2_ext) | 113 | wx_add_dependencies(wxwebview wxwebkit2_ext) |
| 111 | endif() | 114 | endif() |
| 112 | -- | 115 | -- |
| 113 | 2.49.0 | 116 | 2.43.0 |
| 114 | 117 | ||
diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets/0003-create-links-with-relative-path.patch b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0003-create-links-with-relative-path.patch index dbede0304f..f0d22ec56d 100644 --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets/0003-create-links-with-relative-path.patch +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0003-create-links-with-relative-path.patch | |||
| @@ -24,37 +24,40 @@ Create symlink with relative path to fix the issues. | |||
| 24 | Upstream-Status: Pending | 24 | Upstream-Status: Pending |
| 25 | 25 | ||
| 26 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | 26 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
| 27 | |||
| 28 | Update for 3.3.1. | ||
| 29 | Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> | ||
| 27 | --- | 30 | --- |
| 28 | build/cmake/install.cmake | 2 +- | 31 | build/cmake/install.cmake | 2 +- |
| 29 | build/cmake/utils/CMakeLists.txt | 2 +- | 32 | build/cmake/utils/CMakeLists.txt | 2 +- |
| 30 | 2 files changed, 2 insertions(+), 2 deletions(-) | 33 | 2 files changed, 2 insertions(+), 2 deletions(-) |
| 31 | 34 | ||
| 32 | diff --git a/build/cmake/install.cmake b/build/cmake/install.cmake | 35 | diff --git a/build/cmake/install.cmake b/build/cmake/install.cmake |
| 33 | index d3303faabb..c79e187f37 100644 | 36 | index 5a54fcb895..1dcd1b2886 100644 |
| 34 | --- a/build/cmake/install.cmake | 37 | --- a/build/cmake/install.cmake |
| 35 | +++ b/build/cmake/install.cmake | 38 | +++ b/build/cmake/install.cmake |
| 36 | @@ -42,7 +42,7 @@ else() | 39 | @@ -64,7 +64,7 @@ else() |
| 37 | install(DIRECTORY DESTINATION "bin") | 40 | install(DIRECTORY DESTINATION "bin") |
| 38 | install(CODE "execute_process( \ | 41 | install(CODE "execute_process( \ |
| 39 | COMMAND ${CMAKE_COMMAND} -E create_symlink \ | 42 | COMMAND ${CMAKE_COMMAND} -E create_symlink \ |
| 40 | - \"${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/wx/config/${wxBUILD_FILE_ID}\" \ | 43 | - \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/wx/config/${wxBUILD_FILE_ID}\" \ |
| 41 | + \"../lib${LIB_SUFFIX}/wx/config/${wxBUILD_FILE_ID}\" \ | 44 | + \"../lib${LIB_SUFFIX}/wx/config/${wxBUILD_FILE_ID}\" \ |
| 42 | \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/wx-config\" \ | 45 | \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/wx-config\" \ |
| 43 | )" | 46 | )" |
| 44 | ) | 47 | ) |
| 45 | diff --git a/build/cmake/utils/CMakeLists.txt b/build/cmake/utils/CMakeLists.txt | 48 | diff --git a/build/cmake/utils/CMakeLists.txt b/build/cmake/utils/CMakeLists.txt |
| 46 | index dbed8cc9b3..1dbc3261d3 100644 | 49 | index 15f4339ef9..1dbc3261d3 100644 |
| 47 | --- a/build/cmake/utils/CMakeLists.txt | 50 | --- a/build/cmake/utils/CMakeLists.txt |
| 48 | +++ b/build/cmake/utils/CMakeLists.txt | 51 | +++ b/build/cmake/utils/CMakeLists.txt |
| 49 | @@ -40,7 +40,7 @@ if(wxUSE_XRC) | 52 | @@ -40,7 +40,7 @@ if(wxUSE_XRC) |
| 50 | # Don't use wx_install() here to preserve escaping. | 53 | # Don't use wx_install() here to preserve escaping. |
| 51 | install(CODE "execute_process( \ | 54 | install(CODE "execute_process( \ |
| 52 | COMMAND ${CMAKE_COMMAND} -E create_symlink \ | 55 | COMMAND ${CMAKE_COMMAND} -E create_symlink \ |
| 53 | - \"${CMAKE_INSTALL_PREFIX}/bin/${wxrc_output_name}${EXE_SUFFIX}\" \ | 56 | - \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/${wxrc_output_name}${EXE_SUFFIX}\" \ |
| 54 | + \"./${wxrc_output_name}${EXE_SUFFIX}\" \ | 57 | + \"./${wxrc_output_name}${EXE_SUFFIX}\" \ |
| 55 | \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/wxrc${EXE_SUFFIX}\" \ | 58 | \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/wxrc${EXE_SUFFIX}\" \ |
| 56 | )" | 59 | )" |
| 57 | ) | 60 | ) |
| 58 | -- | 61 | -- |
| 59 | 2.25.1 | 62 | 2.43.0 |
| 60 | 63 | ||
diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.bb b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.3.1.bb index fcb30b41b0..8e5c3e60c6 100644 --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.bb +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.3.1.bb | |||
| @@ -18,7 +18,7 @@ DEPENDS += " \ | |||
| 18 | tiff \ | 18 | tiff \ |
| 19 | " | 19 | " |
| 20 | 20 | ||
| 21 | SRC_URI = "gitsm://github.com/wxWidgets/wxWidgets.git;branch=3.2;protocol=https;tag=v${PV} \ | 21 | SRC_URI = "gitsm://github.com/wxWidgets/wxWidgets.git;branch=master;protocol=https;tag=v${PV} \ |
| 22 | file://0001-wx-config.in-Disable-cross-magic-it-does-not-work-fo.patch \ | 22 | file://0001-wx-config.in-Disable-cross-magic-it-does-not-work-fo.patch \ |
| 23 | file://0002-fix-libdir-for-multilib.patch \ | 23 | file://0002-fix-libdir-for-multilib.patch \ |
| 24 | file://0003-create-links-with-relative-path.patch \ | 24 | file://0003-create-links-with-relative-path.patch \ |
| @@ -27,7 +27,7 @@ SRC_URI = "gitsm://github.com/wxWidgets/wxWidgets.git;branch=3.2;protocol=https; | |||
| 27 | file://0006-Fix-locale-on-musl.patch \ | 27 | file://0006-Fix-locale-on-musl.patch \ |
| 28 | file://0007-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch \ | 28 | file://0007-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch \ |
| 29 | " | 29 | " |
| 30 | SRCREV = "8aef5f40b93958719771331ca03866b7b6fff6bf" | 30 | SRCREV = "49c6810948f40c457e3d0848b9111627b5b61de5" |
| 31 | 31 | ||
| 32 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" | 32 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" |
| 33 | 33 | ||
| @@ -110,7 +110,7 @@ do_install:append() { | |||
| 110 | # fix host contamination | 110 | # fix host contamination |
| 111 | sed -i -e "s#${STAGING_DIR_NATIVE}##g" \ | 111 | sed -i -e "s#${STAGING_DIR_NATIVE}##g" \ |
| 112 | -e "s#${STAGING_DIR_TARGET}##g" \ | 112 | -e "s#${STAGING_DIR_TARGET}##g" \ |
| 113 | ${D}${libdir}/wx/config/*-unicode-3.2 \ | 113 | ${D}${libdir}/wx/config/*-unicode-3.3 \ |
| 114 | ${D}${libdir}/cmake/wxWidgets/wxWidgetsTargets.cmake | 114 | ${D}${libdir}/cmake/wxWidgets/wxWidgetsTargets.cmake |
| 115 | } | 115 | } |
| 116 | 116 | ||
