aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* qtwebengine: Add libxkbfile only when x11 is in distro featuresupstream/jansa/honisterupstream/honisterKhem Raj2022-03-111-2/+2
| | | | | | | | Its needed for xcb platform which means its not needed when x11 is not in distro features, limit the scope of this dependency to x11 fixes non-x11 builds Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5: upgrade to v5.15.3-lts-lgplMartin Jansa2022-03-1068-299/+182
| | | | | | | | | | | | | | | | | | | | | | | * https://github.com/meta-qt5/meta-qt5/issues/455 * https://lists.qt-project.org/pipermail/development/2022-March/042262.html qtbase/0021-qfloat16-Include-limits-header.patch partially resolved in upstream commit: 0afad46bb7 Fix build with GCC 11: include <limits> qtbase/0022-fix_timezone_dst.patch resolved in upstream commits: 692c7e021f Fix QTzTimeZonePrivate::displayName()'s fallback 5f91ed1493 QTzTimeZonePrivate::init(): fix handling of empty ID 9f74724d84 Fix handling of Sunday in POSIX time-zone rules qtsvg/CVE-2021-3481.patch: partially resolved in upstream commit: aceea78 Improve handling of malformed numeric values in svg files but the 2nd part is still needed. qtcoap, qtknx, qtmqtt, qtopcua: keep QT_MODULE_BRANCH "5.15.2" as it still wasn't downmerged to 5.15 branch and there is no v5.15.3-lts-lgpl tag in these as well Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit: Fix build when x11 is not in distro featuresKhem Raj2022-03-101-0/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtpdf: Fix build with clang on aarch64Khem Raj2022-03-102-1/+99
| | | | | | | | OE clang add -target option itself, there is no need to detect it in Chromium GN time Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtpdf: Fix build with clangKhem Raj2022-03-102-0/+21
| | | | | | | | | | | | | | use GNU runtime when building native tools like gn when using native clang compiler Fixes | FAILED: gn | /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/qtpdf/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot-native/usr/bin/clang++ -O3 -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-stri p-all -Wl,--as-needed -pthread -o gn -Wl,--start-group tools/gn/gn_main.o base.a gn_lib.a -Wl,--end-group -ldl | /mnt/b/yoe/master/build/tmp/hosttools/ld: cannot find /usr/lib/clang/14.0.0/lib/linux/libclang_rt.builtins-x86_64.a: No such file or directory Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: Add missing libxkbfile dependencyMarek Vasut2022-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The libxkbfile is a new dependency of qtwebengine 5.15.8 updated in commit d38470c2 ("qtwebengine: upgrade to v5.15.8 and use the same SRCREVs as qtpdf") Without libxkbfile dependency, the build fails with: ``` sed: can't read /.../qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/image/usr/lib/pkgconfig/Qt5WebEngineCore.pc: No such file or directory ``` The sed failure is fatal, but doesn't show what's wrong, log.do_configure shows it nicely: ``` QtWebEngine required system libraries for qpa-xcb: x11 .................................. yes libdrm ............................... yes xcomposite ........................... yes xcursor .............................. yes xi ................................... yes xproto (glproto) ..................... yes xtst ................................. yes xkbfile .............................. no ... Note: The following modules are not being compiled in this configuration: webenginecore webengine webenginewidgets WARNING: Could not find all necessary libraries for qpa-xcb support in QtWebEngine. WARNING: QtWebEngine will not be built. ``` And it happens only with x11 in DISTRO_FEATURES <- that's why I wasn't seeing it in my builds before. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: fix build with newer icu+libxmlAndrej Valek2022-03-072-0/+60
| | | | | | | Replace TRUE with 1, because of TRUE removal from newer ICU. Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta: update license namesMartin Jansa2022-02-2261-61/+61
| | | | | | | | * openembedded-core/scripts/contrib/convert-spdx-licenses.py . ... All files processed with version 0.01 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* python3-pytest-qt: add 4.0.2Justin Bronder2022-02-221-0/+12
| | | | | | Add pytest support for PyQt and PySide applications. Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
* layers: Bump to use kirkstoneKhem Raj2022-02-221-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebengine: upgrade to v5.15.8 and use the same SRCREVs as qtpdfMartin Jansa2022-02-1231-294/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes for glibc-2.34 were merged upstream * qtwebengine: git log --oneline be49f438d66f120646237c3f13d9e8f9166b95a6..73e76f9e86b3fded45be6b232bdebe75e7136e4a 73e76f9e8 Use IsSameDocument() rather than IsLoadingToDifferentDocument() cd2b9fa57 Update module-split for installer 4b5504d4d Fix printing PDF files 34b5b4b19 Do not override signal handlers c3fce9352 Update Chromium 763db8ce9 Avoid using xkbcommon in non-X11 builds 5018a477c Bump version from 5.15.8 to 5.15.9 0361b2cce Update Chromium 3387ca53e Don't unconditionally log that Apple Silicon is not supported 1c9785bf7 Skip QtWebEngine and QtPdf if building for Apple Silicon 5e30e3a7c Update documentation 6369c52ce Update Chromium cf53bf7fa Handle qtpdf compilation with static runtime a49e0b2ca Add bitcode support for qtpdf on ios 56ba5c978 Update Chromium 402f5a4a7 Do not access accessibility from qt post routines ab1d00253 Blacklist javascriptClipboard test on ubuntu 20.04 8cbd59dd3 Re-enable network-service-in-process e510ef5ae Bump version from 5.15.7 to 5.15.8 604f42c37 Update Chromium f817c9198 Update patch level 03b3df668 Fix pinch gesture 5f6a292bc Fix leak of properties after XkbRF_GetNamesProp 603ad5cc9 Fix leak on getDefaultScreeenId 9e63ed675 Blacklist certificate test until certicates have been renewed 4340b9579 Block CORS from local URLs when remote access is not enabled b99b6ed65 Do not wait on weak_pointer for termination errors e85939ac7 Update Chromium 19e6e9e29 Update Chromium 0997f6e32 Support MSVC_VER 16.8 d0576dda4 Fix wrong save file filter for Markdown Editor example ddf97c119 Add Chromium version source documentation e27ac3610 Bump version from 5.15.6 to 5.15.7 7f4a6ff45 Fix crash when clicking on a link in PDF c68457239 Update Chromium 6ce0de1a9 Update Chromium 7b9e9c922 Update Chromium 46d3c2349 Bump version from 5.15.5 to 5.15.6 eafc7b603 Always send phased wheel events beginning with Began 09bf7d7a9 Update Chromium 626830a78 Generate mojo bindings before compiling extension API registration 99c2125de Fix not working certificates on mac > 10.14 2240a3f8e Update Chromium f69c1859b Bump version from 5.15.4 to 5.15.5 4d13a3ef2 Blacklist handleError on macos until we merge the fix 8f7e7cfb7 Load signals test: use focusProxy for link clicking test 8b8cc47aa Set enumaration root directory for File.webkitRelativePath API ade5679e6 Fix FilePickerController's path validation for windows and corresponding tests 33e08cdfd Add support for Keyboard.getLayoutMap() e7d56d6c0 Remove ResourceTypeSubFrame check after website update 349db5edc Follow InProcessGpuThread::Init() on thread priority 5d41d39b8 Avoid unknownFunc messages in qmltests 7e5e92c32 Blacklist CertificateError::test_error for macOS 06228ca3c Adapt to new Connections syntax 9f0f9981d Remove tracking of frame which load error page 4d4fc9cd1 Fix inconsistent number of load signals and their order 88c9dc680 Doc: Add a note about navigation within a page to a fragment ba57bbb0f Unblacklist and fix load signals test for file download aa3b04de3 Add more tests to tst_loadsignals c3a81005a Remove obsolete loadSignals test secondLoadForError_WhenErrorPageEnabled a7d3b4cb0 Allow leaving OCSP off 119c9ae0a Blacklist NewViewRequest::test_loadNewViewRequest on macOS 70927466b Update Chromium * chromium: git log --oneline 6c7b4ffb3fe19e7c6a2db60ce2d05c3b50c16ffc..48a205f9e054b5cc3e67df2e25382da9460c0015 48a205f9e05 Do not overwrite signal handlers in the browser process. d505a379d3b [Backport] Copy 'name_' member during StyleRuleProperty::Copy 0ad28143707 [Backport] CVE-2021-4102: Use after free in V8 e5d497a3247 [Backport] CVE-2021-4101: Heap buffer overflow in Swiftshader. 571b49605f5 [Backport] CVE-2021-4099: Use after free in Swiftshader 3e477e28f22 [Backport] CVE-2021-4098: Insufficient data validation in Mojo 7ff159da128 Try to fix build on Apple Monterey 2918e073086 [Backport] Handle long SIGSTKSZ in glibc > 2.33 d3396fb6fcf [Backport] abseil-cpp: Fixes build with latest glibc b77d64307a4 Bump V8_PATCH_LEVEL 764c8558b0f [Backport] CVE-2021-4078: Type confusion in V8 371dfe28a34 [Backport] CVE-2021-4079: Out of bounds write in WebRTC 16d0d63ede4 [Backport] Security bug 1259899 e0abe24fe7b [Backport] CVE-2021-4062: Heap buffer overflow in BFCache ef54f3d63fd [Backport] CVE-2021-4059: Insufficient data validation in loader 5aeb41626e3 [Backport] CVE-2021-4058: Heap buffer overflow in ANGLE (2/2) c76e04186ad [Backport] CVE-2021-4058: Heap buffer overflow in ANGLE (1/2) 50e9ebbfc3c [Backport] CVE-2021-4057: Use after free in file API 1df82e89295 Use wglSetPixelFormat directly only if in software mode b3ec1114d8f Compile with GCC 11 -std=c++20 bfc2de04055 [Backport] CVE-2021-37996 : Insufficient validation of untrusted input in Downloads 460be974cd0 [Backport] CVE-2021-38001 : Type Confusion in V8 825745fdbd0 [Backport] Security bug 1252858 df07ad645cf [Backport] CVE-2021-37989 : Inappropriate implementation in Blink 4797e6e848b [Backport] Dependency for CVE-2021-37989 d1d8974783c [Backport] CVE-2021-38022: Inappropriate implementation in WebAuthentication c4f05eef5e4 [Backport] CVE-2021-38012: Type Confusion in V8 77eb03c0ff1 [Backport] CVE-2021-38010: Inappropriate implementation in service workers c7d8826a6d6 [Backport] CVE-2021-38021: Inappropriate implementation in referrer a81a024f3a5 [Backport] CVE-2021-38005: Use after free in loader (3/3) e1bdb5dff96 [Backport] CVE-2021-38005: Use after free in loader (2/3) 51c9803f8ac [Backport] CVE-2021-38005: Use after free in loader (1/3) c3635c792e4 [Backport] CVE-2021-38019: Insufficient policy enforcement in CORS f1d999742b7 [Backport] CVE-2021-38007: Type Confusion in V8 61f0637953b [Backport] CVE-2021-38017: Insufficient policy enforcement in iframe sandbox 695cc63e436 [Backport] CVE-2021-38009: Inappropriate implementation in cache 7382407581b [Backport] Dependency for CVE-2021-38009 3fce22f9ce9 [Backport] CVE-2021-38015: Inappropriate implementation in input 814d594ab39 [Backport] CVE-2021-38018: Inappropriate implementation in navigation 0b15e3a1283 Revert "Stop orphan child processes from staying alive on Windows" 961f13c6876 Fix stack overflow on gpu channel recreate with an error f878faa317d [Backport] Security bug 1245870 060cd95a1f3 [Backport] CVE-2021-37993 : Use after free in PDF Accessibility a1153aa778d [Backport] CVE-2021-37984 : Heap buffer overflow in PDFium 5814c143eb5 [Backport] CVE-2021-37992 : Out of bounds read in WebAudio f33d6723535 [Backport] CVE-2021-37987 : Use after free in Network APIs b497b6ac860 [Backport] CVE-2021-38003 : Inappropriate implementation in V8 d63517a0ebc [Backport] CVE-2021-3541 libxml2: Exponential entity expansion attack bypasses all existing protection mechanisms ce0357a3a86 [Backport] CVE-2021-3517: libxml2: Heap-based buffer overflow in xmlEncodeEntitiesInternal() in entities.c 8c0a9b4459f Revert "[Backport] Security bug 1239116" b3c5d18a071 [Backport] Linux sandbox: update syscalls numbers on 32-bit platforms 7f07b1c3d90 [Backport] sandbox: linux: allow clock_nanosleep & gettime64 549b2ecfd28 [Backport] Linux sandbox: update syscall numbers for all platforms. d33026ed7c5 Revert "[Backport] CVE-2021-37976 : Information leak in core" 29c41fac33d [Backport] Ease HarfBuzz API change with feature detection e1b1c8fbfdc Bump V8_PATCH_LEVEL bb7d5f412de CVE-2021-37972 : Out of bounds read in libjpeg-turbo f56401ddcec Add switch for static and dynamic crt 2577bccb3d5 [Backport] Security bug 1248665 231761dbed7 [Backport] CVE-2021-37975 : Use after free in V8 3301102062f [Backport] CVE-2021-37980 : Inappropriate implementation in Sandbox 10bdc1bcce9 [Backport] CVE-2021-37979 : Heap buffer overflow in WebRTC (2/2) 41bf49c17a6 [Backport] CVE-2021-37979 : Heap buffer overflow in WebRTC (1/2) 316ff0b2e0e [Backport] CVE-2021-37978 : Heap buffer overflow in Blink c9eee8926c9 [Backport] CVE-2021-37976 : Information leak in core b0d03b2f484 [Backport] CVE-2021-30616: Use after free in Media. 75e6c138ad9 [Backport] Dependency for CVE-2021-30616 be58035b0bf [Backport] CVE-2021-37962 : Use after free in Performance Manager (2/2) 842b1fe73c3 [Backport] CVE-2021-37962 : Use after free in Performance Manager (1/2) a12aac1d65a [Backport] CVE-2021-37973 : Use after free in Portals 31327570494 [Backport] CVE-2021-37971 : Incorrect security UI in Web Browser UI. e1c9ef661cc [Backport] CVE-2021-37968 : Inappropriate implementation in Background Fetch API 8170b884540 [Backport] CVE-2021-37967 : Inappropriate implementation in Background Fetch API 39c2ae1a9ea [Backport] Linux sandbox: return ENOSYS for clone3 be0320febb6 [Backport] Linux sandbox: fix fstatat() crash 0ef198c9ee2 [Backport] Reland "Reland "Linux sandbox syscall broker: use struct kernel_stat"" 1950f23d465 [Backport] Security bug 1238178 (2/2) 45133cbadf5 [Backport] Security bug 1238178 (1/2) 6643e7a877c [Backport] CVE-2021-30633: Use after free in Indexed DB API (2/2) af07badd6ff [Backport] CVE-2021-30633: Use after free in Indexed DB API (1/2) 19808bff72b [Backport] CVE-2021-30630: Inappropriate implementation in Blink 3b2c685c26a [Backport] CVE-2021-30629: Use after free in Permissions b84f1aa1c79 [Backport] CVE-2021-30628: Stack buffer overflow in ANGLE f1f2f28fb4e [Backport] CVE-2021-30627: Type Confusion in Blink layout 4b12199073d [Backport] CVE-2021-30626: Out of bounds memory access in ANGLE df0ac531326 [Backport] CVE-2021-30625: Use after free in Selection API adcb7c9d94a [Backport] Security bug 1239116 f0834350e21 [Backport] Security bug 1206289 ca1eed2838b [Backport] CVE-2021-30613: Use after free in Base internals 68f44b4acae [Backport] Security bug 1227228 d59527ce172 [Backport] CVE-2021-30618: Inappropriate implementation in DevTools 9f71911e38c [Backport] CVE-2021-30560: Use after free in Blink XSLT c8087cb6809 [Backport] CVE-2021-30566: Stack buffer overflow in Printing 7a8e3587227 [Backport] CVE-2021-30585: Use after free in sensor handling 80ed2154da5 Bump V8_PATCH_LEVEL 1c68d71eabf [Backport] Security bug 1228036 d2c0e58eab2 [Backport] CVE-2021-30604: Use after free in ANGLE fabc9bb01c0 [Backport] CVE-2021-30603: Race in WebAudio 36f3419335f [Backport] CVE-2021-30602: Use after free in WebRTC 6f4b9a24c6e [Backport] CVE-2021-30599: Type Confusion in V8 e9fe457edfc [Backport] CVE-2021-30598: Type Confusion in V8 d07208fe7ea [Backport] Security bug 1227933 6ed7e70372b [Backport] Security bug 1205059 2327f834a33 [Backport] Security bug 1184294 6d3335345c0 [Backport] Security bug 1198385 45ec486f694 [Backport] CVE-2021-30588: Type Confusion in V8 4c129f0da7f [Backport] CVE-2021-30587: Inappropriate implementation in Compositing on Windows 4c5ea7104ef [Backport] CVE-2021-30573: Use after free in GPU df0ce074884 [Backport] CVE-2021-30569, security bugs 1198216 and 1204814 362ebc273c3 [Backport] CVE-2021-30568: Heap buffer overflow in WebGL d2679dfe289 [Backport] CVE-2021-30541: Use after free in V8 c49a1b46977 [Backport] Security bugs 1197786 and 1194330 24fe4f7088e [Backport] Security bug 1194689 d20a32ba7b3 [Backport] CVE-2021-30563: Type Confusion in V8 82dbe6ec610 [Backport] Security bug 1211215 63aa70704eb [Backport] Security bug 1209558 5ddd26eb1c1 [Backport] CVE-2021-30553: Use after free in Network service ce44e18e5ea [Backport] CVE-2021-30548: Use after free in Loader dccd70ff668 [Backport] CVE-2021-30547: Out of bounds write in ANGLE 99850871829 [Backport] CVE-2021-30556: Use after free in WebAudio dcd69a31bd0 [Backport] CVE-2021-30559: Out of bounds write in ANGLE 09404bcb076 [Backport] CVE-2021-30533: Insufficient policy enforcement in PopupBlocker 9995d429475 [Backport] Security bug 1202534 8b6c2cc8db1 [Backport] CVE-2021-30536: Out of bounds read in V8 5db4492a5ee [Backport] CVE-2021-30522: Use after free in WebAudio 0b959ee26c9 [Backport] CVE-2021-30554 Use after free in WebGL 8a287eeecee [Backport] CVE-2021-30551: Type Confusion in V8 9e6ebb137db [Backport] CVE-2021-30544: Use after free in BFCache 00d148cb209 [Backport] CVE-2021-30535: Double free in ICU e11e1e26681 [Backport] CVE-2021-30534: Insufficient policy enforcement in iFrameSandbox 260e76054ff [Backport] CVE-2021-30530: Out of bounds memory access in WebAudio 559f74945e1 [Backport] CVE-2021-30523: Use after free in WebRTC 7948becb538 Generate mojo bindings before compiling extension API registration eaffb82d5ee [Backport] Security bug 1201938 951cdb36065 [Backport] Security bug 1201340 9827f0c6df6 [Backport] Security bug 1195331 96953e10399 [Backport] Security bug 1204071 5353de15a14 [Backport] CVE-2021-30518: Heap buffer overflow in Reader Mode 4646e31fd96 [Backport] CVE-2021-30516: Heap buffer overflow in History. 01441068d6d [Backport] CVE-2021-30515: Use after free in File API 59c82b51677 [Backport] CVE-2021-30513: Type Confusion in V8 a7025feb1be [Backport] CVE-2021-30512: Use after free in Notifications b1620340b6b [Backport] CVE-2021-30510: Race in Aura f5056d02494 [Backport] CVE-2021-30508: Heap buffer overflow in Media Feeds 5b2293cf1f2 Workaround revoked certificate check on Linux dc35950b9ee FIXUP: third_party perfetto: add missing include for clang, asan and no_pch 12ecfd11e32 Bump V8_PATCH_LEVEL b498f4ce3f5 Fix build with GCC 11 1d3b13e9634 Make clang to inline load/store atomic calls for YieldSortKey struct f6730fe81a0 Enable XkbKeyboardLayoutEngine::SetCurrentLayoutByName for Qt Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtpdf: fix BSD license like in qtwebengineMartin Jansa2022-02-111-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtpdf: remove duplicated patchesMartin Jansa2022-02-117-221/+8
| | | | | | | * add 0002-qmake.conf-lower-MODULE_VERSION-to-5.15.2.patch from qtwebengine as well Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtpdf: add as dedicated recipeLeif Middelschulte2022-02-117-0/+437
| | | | | | | | Provide qtpdf[0] as a dedicated package. [0] https://doc.qt.io/qt-5/qml-qtquick-pdf-pdfdocument.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes-qt: update ambiguous "BSD" license with "BSD-3-Clause"Denys Dmytriyenko2022-02-1132-32/+32
| | | | | | | | | OE-Core recently removed ambiguous "BSD" license in order for recipes to be more specific and use the exact variants of BSD. Update meta-qt5 recipes with "BSD-3-Clause" as that was the previous default. Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Fix ptest compilation with clangKhem Raj2022-02-114-0/+68
| | | | | | | | | | | | Fixes fakeplugin.cpp:36:39: error: 'message' causes a section type conflict with 'pluginSection' QT_PLUGIN_METADATA_SECTION const char message[] = "QTMETADATA"; ^ fakeplugin.cpp:32:40: note: declared here QT_PLUGIN_METADATA_SECTION void *const pluginSection = (void*)(0xc0ffeec0ffeeL); Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: set ALLOW_EMPTY for mkspecs subpackageMing Liu2022-02-111-0/+1
| | | | | | | | | Some recipes might not export mkspecs so set ALLOW_EMPTY. This fixes a qt3d-mkspecs package missing issue during populating SDK. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwayland: Fix vulkan build on GLES2Khem Raj2021-12-022-0/+63
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nativesdk-qtbase: inherit pkgconfigMartin Jansa2021-11-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * some features enabled with PACKAGECONFIG need pkgconfig to be detected correctly * fixes: Checking for pkg-config... test config.qtbase.tests.pkg-config FAILED ... Trying source 0 (type pkgConfig) of library dbus ... pkg-config use disabled globally. ... ERROR: Feature 'pkg-config' was enabled, but the pre-condition 'tests.pkg-config' failed. ERROR: Feature 'glib' was enabled, but the pre-condition 'libs.glib' failed. ERROR: Feature 'kms' was enabled, but the pre-condition 'libs.drm' failed. ERROR: Feature 'gbm' was enabled, but the pre-condition 'libs.gbm' failed. ERROR: Feature 'mtdev' was enabled, but the pre-condition 'libs.mtdev' failed. Change-Id: I498c586031ccea4b43f3e4d185bac9ce45bee14c Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Fix timezone DST calculationDilshod Mukhtarov2021-11-134-0/+83
| | | | | | | | In Qt5 DST calculation for timezone info generated in yocto is broken. Fix is backported from Qt 6.2. For example, for America/Los_Angeles for Nov 1, 2021 it's already showing winter time, while in reality winter time starts on Nov 7, 2021. In desktop generated time zone info is a little bit different, so this bug is not hit on desktop. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* maliit-plugins-qt5: inherit pkgconfigMartin Jansa2021-11-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Newer oe-core doesn't pull many default dependencies anymore: https://lists.openembedded.org/g/openembedded-core/message/156185 add explicit dependency on pkgconfig through pkgconfig.bbclass as we're using it here. * pkgconfig seems to be needed only when hunspell is enabled, e.g. with LuneOS we have following bbappend: # Enable support for predictive text and word correction EXTRA_QMAKEVARS_PRE += "CONFIG+=enable-pressage CONFIG+=enable-hunspell" DEPENDS += "hunspell presage" but add it here in case someone else will use similar extra flags * fixes: | NOTE: Direct dependencies are ['/OE/build/luneos-kirkstone/webos-ports/meta-qt5/recipes-qt/maliit/maliit-framework-qt5_git.bb:do_populate_sysroot', '/OE/build/luneos-kirkstone/webos-ports/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_11.2.bb:do_populate_sysroot', '/OE/build/luneos-kirkstone/webos-ports/meta-openembedded/meta-oe/recipes-support/hunspell/hunspell_1.7.0.bb:do_populate_sysroot', '/OE/build/luneos-kirkstone/webos-ports/meta-webos-ports/meta-luneos/recipes-upstreamable/presage/presage_0.9.1.bb:do_populate_sysroot', '/OE/build/luneos-kirkstone/webos-ports/openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_11.2.bb:do_populate_sysroot', 'virtual:native:/OE/build/luneos-kirkstone/webos-ports/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', '/OE/build/luneos-kirkstone/webos-ports/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_populate_sysroot', '/OE/build/luneos-kirkstone/webos-ports/openembedded-core/meta/recipes-core/glibc/glibc_2.34.bb:do_populate_sysroot', 'virtual:native:/OE/build/luneos-kirkstone/webos-ports/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/OE/build/luneos-kirkstone/webos-ports/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot'] | NOTE: Installed into sysroot: [] | NOTE: Skipping as already exists in sysroot: ['maliit-framework-qt5', 'gcc-cross-x86_64', 'hunspell', 'presage', 'gcc-runtime', 'patch-native', 'qtbase-native', 'glibc', 'pseudo-native', 'quilt-native', 'qtdeclarative', 'binutils-cross-x86_64', 'linux-libc-headers', 'gnu-config-native', 'mpfr-native', 'zlib-native', 'libmpc-native', 'flex-native', 'xz-native', 'texinfo-dummy-native', 'gmp-native', 'libtool-native', 'sqlite3', 'libtinyxml', 'ncurses', 'libgcc', 'attr-native', 'dbus-native', 'qtbase', 'm4-native', 'gettext-minimal-native', 'opkg-utils', 'expat-native', 'openssl', 'mtdev', 'glib-2.0', 'fontconfig', 'libxkbcommon', 'freetype', 'zlib', 'icu', 'libpng', 'libjpeg-turbo', 'libdrm', 'systemd', 'mesa', 'dbus', 'libpcre2', 'cmake-native', 'bash-completion', 'libpcre', 'util-linux', 'libffi', 'expat', 'wayland-protocols', 'util-macros', 'wayland', 'autoconf-archive', 'libpthread-stubs', 'libpciaccess', 'zstd', 'shadow-sysroot', 'base-files', 'shadow', 'kmod', 'libcap', 'base-passwd', 'shadow-native', 'elfutils', 'xorgproto', 'llvm', 'bzip2', 'bzip2-native', 'curl-native', 'zstd-native', 'ncurses-native', 'util-linux-libuuid', 'libxcrypt', 'libcap-ng', 'libxml2', 'attr', 'xz', 'libedit', 'openssl-native', 'python3', 'perl-native', 'libnsl2', 'libtirpc', 'gdbm', 'readline', 'perlcross-native', 'gdbm-native'] | DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing shell function qmake5_base_preconfigure | DEBUG: Shell function qmake5_base_preconfigure finished | DEBUG: Executing shell function do_configure | NOTE: qmake prevar substitution: ' PREFIX=/usr MALIIT_INSTALL_PRF=/OE/build/luneos-kirkstone/webos-ports/tmp-glibc/work/core2-64-webos-linux/maliit-plugins-qt5/0.99.0+gitAUTOINC+6a1e89ada5-r0/recipe-sysroot/usr/lib/mkspecs/features MALIIT_PLUGINS_DATA_DIR=/usr/share LIBDIR=/usr/lib CONFIG+=nodoc CONFIG+=disable-nemo-keyboard CONFIG+=enable-pressage CONFIG+=enable-hunspell' | Info: creating stash file /OE/build/luneos-kirkstone/webos-ports/tmp-glibc/work/core2-64-webos-linux/maliit-plugins-qt5/0.99.0+gitAUTOINC+6a1e89ada5-r0/build/.qmake.stash | -e Tip: Run qmake HELP=1 for a list of all supported build options | Reading /OE/build/luneos-kirkstone/webos-ports/tmp-glibc/work/core2-64-webos-linux/maliit-plugins-qt5/0.99.0+gitAUTOINC+6a1e89ada5-r0/git/maliit-keyboard/maliit-keyboard.pro [/OE/build/luneos-kirkstone/webos-ports/tmp-glibc/work/core2-64-webos-linux/maliit-plugins-qt5/0.99.0+gitAUTOINC+6a1e89ada5-r0/build/maliit-keyboard] | Reading /OE/build/luneos-kirkstone/webos-ports/tmp-glibc/work/core2-64-webos-linux/maliit-plugins-qt5/0.99.0+gitAUTOINC+6a1e89ada5-r0/git/maliit-keyboard/lib/lib.pro [/OE/build/luneos-kirkstone/webos-ports/tmp-glibc/work/core2-64-webos-linux/maliit-plugins-qt5/0.99.0+gitAUTOINC+6a1e89ada5-r0/build/maliit-keyboard/lib] | Project ERROR: hunspell development package not found Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libqofonoext: Fix new repo and update 1.0.25 -> 1.0.27Daniel Gomez2021-11-131-3/+3
| | | | | | | | | | | libqofononext repository has been moved to the Sailfish OS GitHub group as part of the migration of Mer and Sailfish to Sailfish OS domain. More details here: https://forum.sailfishos.org/t/changes-needed-to-merge-the-project-names-to-sailfish-os/1672 Update recipe to 1.0.27 release. Signed-off-by: Daniel Gomez <daniel@qtec.com>
* libqofono: Fix new repo and update 0.100 -> 0.103Daniel Gomez2021-11-132-10/+9
| | | | | | | | | | | | | | | | | libqofono repository has been moved to the Sailfish OS GitHub group as part of the migration of Mer and Sailfish to Sailfish OS domain. More details here: https://forum.sailfishos.org/t/changes-needed-to-merge-the-project-names-to-sailfish-os/1672 Update recipe to 0.103 release. Update 0001-also-emit-modemRemoved-and-modemAdded.patch with devtool to fix patch-fuzz QA Issue: WARNING: libqofono-0.100+gitrAUTOINC+047b667f18-r0 do_patch: QA Issue: Patch log indicates that patches do not apply cleanly. [patch-fuzz] Signed-off-by: Daniel Gomez <daniel@qtec.com>
* libconnman-qt5: Fix new repo and update 1.2.34 -> 1.2.35Daniel Gomez2021-11-131-4/+4
| | | | | | | | | | | libconnman-qt5 repository has been moved to the Sailfish OS GitHub group as part of the migration of Mer and Sailfish to Sailfish OS domain. More details here: https://forum.sailfishos.org/t/changes-needed-to-merge-the-project-names-to-sailfish-os/1672 Update recipe to 1.2.35 release. Signed-off-by: Daniel Gomez <daniel@qtec.com>
* qtwebengine: fix libvpx config nameVivien Didelot2021-11-131-1/+1
| | | | | | The PACKAGECONFIG entry is libvpx, not vpx, fix this. Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
* qtwebkit: Fix build on mips/clangKhem Raj2021-11-132-0/+22
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Recipes: add explicit branch parameter and use https:// instead of git:// ↵Martin Jansa2021-11-1313-13/+14
| | | | | | | | | | | | | | | | | | | | | for github.com * github decided that nobody should use git:// https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git and starting today all the builds were failing to fetch the metadata layers from github like: 2021-11-01T18:53:26 INFO _main_ Updating [meta-ros] fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. this was just a "test" as they said: "November 2, 2021: We'll also run several short brownouts on this date." and it will be completely disabled on January 11 2022. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtsystems: remove multiple installation of example filesansar-rasool2021-09-302-0/+74
| | | | | | | | | This removes multiple installation of qtsystems/examples/systeminfo examples of qml-battery, qml-deviceinfo etc which sometimes leads to a build error of "Destination file exists" Signed-off-by: ansar-rasool <ansar_rasool@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit: Inherit pkgconfigKhem Raj2021-09-271-0/+2
| | | | | | | Fixes Could NOT find LibXslt: Found unsuitable version "", but required is at Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libqofonoext: Inherit pkgconfigKhem Raj2021-09-271-1/+1
| | | | | | | Fixes Project ERROR: qofono-qt5 development package not found Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtgamepad: inherit pkgconfigKhem Raj2021-09-271-0/+2
| | | | | | | Fixes ERROR: Feature 'sdl2' was enabled, but the pre-condition 'libs.sdl2' failed. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwayland: Inherit pkgconfigKhem Raj2021-09-271-0/+2
| | | | | | | Fixes ERROR: Feature 'xcomposite-egl' was enabled, but the pre-condition 'features.wayland-client && features.opengl && features.egl && features.xlib && libs.xcomposite && features.egl_x11' failed. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwayland: Fix build break with clang/libc++Khem Raj2021-09-212-1/+33
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebengine: inherit pkgconfigMartin Jansa2021-09-211-0/+2
| | | | | | | | | | | | | | * Newer oe-core doesn't pull many default dependencies anymore: https://lists.openembedded.org/g/openembedded-core/message/156185 add explicit dependency on pkgconfig through pkgconfig.bbclass as we're using it here. * fixes: | sed: can't read /OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.15.4+gitAUTOINC+dd7f7a9166_7aad021f2e-r0/image/usr/lib/pkgconfig/Qt5WebEngineCore.pc: No such file or directory because without pkgconfig detected this file isn't created during the build Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtmultimedia: inherit pkgconfigMartin Jansa2021-09-211-0/+2
| | | | | | | | | | | | | | * some features enabled with PACKAGECONFIG need pkgconfig to be detected correctly * fixes: | Checking for libresourceqt5... ERROR: Error calling /OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtmultimedia/5.15.2+gitAUTOINC+fd30913d46-r0/recipe-sysroot-native/usr/bin/qmake -makefile -o Makefile QT_BUILD_PARTS-=examples QT_BUILD_PARTS-=tests /OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtmultimedia/5.15.2+gitAUTOINC+fd30913d46-r0/git/qtmultimedia.pro -- -alsa -gstreamer 1.0 -no-feature-openal -pulseaudio | no | Done running configuration tests. ... | ERROR: Feature 'gstreamer_1_0' was enabled, but the pre-condition 'libs.gstreamer_1_0' failed. | | ERROR: Feature 'pulseaudio' was enabled, but the pre-condition 'libs.pulseaudio' failed.
* maliit-framework-qt5: inherit pkgconfigMartin Jansa2021-09-211-1/+1
| | | | | | | | * fixes: | Reading /OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/maliit-framework-qt5/0.99.0+gitAUTOINC+62bd54bcde-r0/git/connection/connection.pro [/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/maliit-framework-qt5/0.99.0+gitAUTOINC+62bd54bcde-r0/build/connection] | sh: 1: pkg-config: not found | sh: 1: pkg-config: not found | WARNING: install_services.path is not defined: install target not created
* qtbase: inherit pkgconfigMartin Jansa2021-09-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | * some features enabled with PACKAGECONFIG need pkgconfig to be detected correctly * fixes: Checking for pkg-config... test config.qtbase.tests.pkg-config FAILED ... Trying source 0 (type pkgConfig) of library dbus ... pkg-config use disabled globally. ... ERROR: Feature 'pkg-config' was enabled, but the pre-condition 'tests.pkg-config' failed. ERROR: Feature 'glib' was enabled, but the pre-condition 'libs.glib' failed. ERROR: Feature 'kms' was enabled, but the pre-condition 'libs.drm' failed. ERROR: Feature 'gbm' was enabled, but the pre-condition 'libs.gbm' failed. ERROR: Feature 'mtdev' was enabled, but the pre-condition 'libs.mtdev' failed. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: fix build with glibc-2.34Martin Jansa2021-08-0414-24/+170
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtsvg: fix CVE-2021-3481Kai Kang2021-08-042-0/+75
| | | | | | | | | | | | Backport and squash commits 85b70a721695991e8a5bbe4aa52e5320e170e90c and bfd6ee0d8cf34b63d32adf10ed93daa0086b359f from qtsvg upstream to fix CVE-2021-3481. Ref: https://security-tracker.debian.org/tracker/CVE-2021-3481 Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* layer.conf: Update to honisterMartin Jansa2021-08-031-1/+1
| | | | | | | This marks the layers as compatible with honister now they use the new override syntax. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-0357-245/+245
| | | | | | | | | | This is the result of automated script (0.9.0) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-creator: upgrade 4.15.0 -> 4.15.2 and fix build with clang/llvm 13+Andreas Müller2021-07-233-2/+85
| | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtwayland: Check for wayland feature for enabling wayland-eglKhem Raj2021-06-231-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebengine: Add missing dbus dependencyPhilipp Zabel2021-06-011-0/+1
| | | | | | | | | | | QtWebEngine has a hard dependency on D-Bus, which is currently fulfilled indirectly via the pulseaudio dependency. As soon as pulseaudio is disabled via DISTRO_FEATURES_BACKFILL_CONSIDERED, building QtWebEngine fails. Add a direct dbus dependency to qtwebengine_git.bb to fix this. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* cmake_qt5: Add correct qtbase DEPENDSAndreas Müller2021-05-311-1/+4
| | | | | | | | | | | Discussion started at [1] To start a proper fix, set qtbase dependencies depending on target. [1] https://github.com/Freescale/meta-freescale/issues/798 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qwt-qt5: upgrade 6.1.4 -> 6.1.5Andreas Müller2021-05-192-134/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Backported patch can go ========= Qwt 6.1.5 ========= 1) Maintenance - Avoid using some of the deprecated Qt APIs - Missing includes of QPainterPath ( Qt 5.15 ) added - QwtPlotSpectroCurve: missing public inheritance - QwtPlotTradingCurve: missing public inheritance 2) Bug fixes - QwtLinearColorMap: handling of alpha values in color stops fixed - QwtPlotRasterItem: missing color table initialization for QImage::Format_Indexed8 - QwtScaleWidget: missing QEvent::LayoutRequest added - QwtSetSample: bound rectangle fixed for empty sets Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtwebengine: few more fixes for gcc-11Martin Jansa2021-05-102-6/+31
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: lower MODULE_VERSION to 5.15.2Martin Jansa2021-05-105-8/+43
| | | | | | | | | | * as we cannot upgrade all modules past 5.15.2 due to license change and the branches for 5.15.4 not available publicly, but qtwebengine and the chromium bits which are probably most important for security fixes are available and hopefully we can use them for non-commercial use Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: upgrade to latest 5.15 and 87-based, fix build with gcc-11Martin Jansa2021-05-1028-70/+122
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: add dependency on nodejs-nativeMartin Jansa2021-05-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * it's mandatory since this commit: commit c9d902ca6ca3b1aa2e2762329d18c226d26520af Author: Allan Sandfeld Jensen <allan.jensen@qt.io> Date: Fri Nov 6 09:16:15 2020 +0100 Adaptations for Chromium 87 * unfortunatelly missing this dependency only shows an warning in do_configure: Note: The following modules are not being compiled in this configuration: webenginecore webengine webenginewidgets WARNING: Nodejs is required to build QtWebEngine. WARNING: QtWebEngine will not be built. and then it fails in do_install with: make[1]: Leaving directory '/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtwebengine/5.15.3+gitAUTOINC+f121523512_9406a89a9d-r0/build/src' sed: can't read /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtwebengine/5.15.3+gitAUTOINC+f121523512_9406a89a9d-r0/image/usr/lib/pkgconfig/Qt5WebEngineCore.pc: No such file or directory WARNING: exit code 2 from a shell command. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>