aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* python3-pyqt5: add 5.15.9upstream/mickledore-nextupstream/mickledoreupstream/jansa/mickledoreJustin Bronder2023-06-121-0/+97
| | | | | | | | | | | | Commit 88c8564eb58d28768165fde0d6ab9e88b42ddc8f, "qtwebkit: Fix build with ruby 3.2+", also removed pyqt5. Presumably because the recipe was still using an old version of sip that was removed from oe-core. This adds the recipe back with support for current sip v6. Closes #503 Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* python3-pyqt5-sip: add 12.12.1Justin Bronder2023-06-121-0/+10
| | | | | | | Runtime dependency of PyQt5. Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* python3-pyqt-builder: add 1.15.0Justin Bronder2023-06-122-0/+59
| | | | | | | This is required to build PyQt5 now. Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtlocation: fix compilation with gcc13Denys Dmytriyenko2023-06-122-0/+53
| | | | | | | Fix declaration errors with C standard integers. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Denys Dmytriyenko <denis@denix.org>
* qt3d,qtquick3d: Update assimp SRC_URIRyan Eatmon2023-04-282-2/+2
| | | | | | | | The previous branch has been removed from the specified repo. Updating to a code.qt.io repo and branch that still contains the requested SRCREV. Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Fix build on 32bit arches with 64bit time_tKhem Raj2023-04-252-0/+27
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtsmarthome: update SRC_URIGianfranco Mariotti2023-04-251-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt3d: Add new Assimp submoduleBernhard Hartleb2023-04-131-0/+9
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine, qtpdf: Fix build with gcc-13Martin Jansa2023-04-123-4/+871
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine, qtpdf: upgrade to latest 5.15.13Martin Jansa2023-04-1234-136/+78
| | | | | | | | | | | | | | | | | | | | | | | * use latest revision from chromium 87-based repo instead of the revision from submodule, there are couple more security fixes: $ git log --oneline e48df7803c7c98b0b2471c94057d32e44a301ad5..origin/87-based fb66d7ca964 (origin/87-based) [Backport] CVE-2023-1530: Use after free in PDF (1/2) 7d80d640bf7 [Backport] CVE-2023-1531: Use after free in ANGLE 906ec4b3148 [Backport] Security bug 1418734 7acd92df98d [Backport] Security bug 1417585 d4dae0cad19 [Backport] Security bug 1337747 bfc3d37f279 [Backport] CVE-2023-1534: Out of bounds read in ANGLE 6514de99619 [Backport] CVE-2023-1529: Out of bounds memory access in WebHID 799ad56b699 [Backport] CVE-2023-1222: Heap buffer overflow in Web Audio API 9dd9b39ef9d [Backport] CVE-2023-1220: Heap buffer overflow in UMA ca58730e230 [Backport] CVE-2023-1219: Heap buffer overflow in Metrics (3/3) c1d9b7fd4fa [Backport] CVE-2023-1219: Heap buffer overflow in Metrics (2/3) 53d71ca32b1 [Backport] CVE-2023-1219: Heap buffer overflow in Metrics (1/3) bf140f0d01b [Backport] CVE-2023-1217: Stack buffer overflow in Crash reporting aec0b21eb33 [Backport] CVE-2023-1215: Type Confusion in CSS Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit: Fix build with gcc-13Martin Jansa2023-04-1214-45/+87
| | | | | | | | | | | | | | | | | * there are few newer commits since the SRCREV used in this recipe it might be useful if someone is still using this (I don't, so I'll just fix the build failure with gcc-13 and cleanup the .patch files): $ git log --oneline 10cd6a106..origin/5.212 ac8ebc6c3 (origin/5.212) Enable QML tests 5a99e5d4c Import QtWebKit commit 5d89eef9bc689abb59ef799b445c35b1e322b3f1 685ed792f Import QtWebKit commit 143b469188bde226d5e70cff5f01699b8a29d865 8967b4f87 Import QtWebKit commit 6faf5d547055321f0d518fe83766499cac5d8664 08eaf858c Import QtWebKit commit cf37bc44f798d3c5a26d17086ada92688b9bfe6d 412e257d0 Workaround for Windows Store python3.exe e16357a52 Import QtWebKit commit f966d667c14ddcfe983f4a31fc80a1edbb6ada10 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: fix Upstream-Status formatMartin Jansa2023-04-121-1/+1
| | | | | | | | | WARNING: qtbase-5.15.9+gitAUTOINC+42e4ae042a-r0 do_patch: QA Issue: Malformed Upstream-Status in patch /OE/build/oe-core/meta-qt5/recipes-qt/qt5/qtbase/0016-tst_qpainter-FE_-macros-are-not-defined-for-every-pl.patch Please correct according to https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations:_Upstream-Status : Upstream-Status: submitted [https://codereview.qt-project.org/c/qt/qtbase/+/289447] [patch-status-noncore] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: upgrade to v5.15.9-lts-lgplBernhard Hartleb2023-04-1141-84/+45
| | | | | | | | | Update all available SRCREVs and remove obsolete patches https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/5.15.8/release-note.md https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/5.15.9/release-note.md Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gdb: remove bbappendMartin Jansa2023-04-031-2/+0
| | | | | | | | * not worth breaking yocto-check-layer because of this * https://github.com/meta-qt5/meta-qt5/issues/511 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-git: do not override CVE productsAndrej Valek2023-04-031-1/+1
| | | | | | | | | | Some components use also base name in NVD CVE database product: | sqlite> select * from products where product like 'qtbase'; | CVE-2019-18281|qt|qtbase|5.11.0|>=|5.11.3|<= | CVE-2019-18281|qt|qtbase|5.12.0|>=|5.12.5|< | sqlite> select * from products where product like 'qtsvg'; | CVE-2021-45930|qt|qtsvg|5.0.0|>=|5.15.2|<= | CVE-2021-45930|qt|qtsvg|6.0.0|>=|6.2.1|<=
* qtpdf: Enable on rv64 and do not force shared c++ runtime with libc++Khem Raj2023-04-033-13/+20
| | | | | | | | | | When using runtime-llvm it links with libc++ for host pieces as well e.g. gn, therefore its going to use the c++ runtime thats built with libcxx-native/compiler-rt-native and it does provide static C++ runtime It builds for rv64 now, therefore enable it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Readd missing objcopy in linux-oe mkspecsStefan Sonski2023-02-152-12/+15
| | | | | Signed-off-by: Stefan Sonski <s.sonski@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtvirtualkeyboard: Fix build when std=c++17Khem Raj2023-02-112-0/+68
| | | | | | | | clang-16 will be defaulting to c++17 across C++ runtime as well, which means auto_ptr is reported as error, make provisions to replace it Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* .patch: Add missing Upstream-Status and Signed-off-byMartin Jansa2023-02-1157-0/+73
| | | | | | | | | | | * a lot of Pending, but don't follow this example for other layers in this case I didn't want to spend more time on the patches because whole meta-qt5 is dead-end and not worth spending more of my free time. If you're interested in Qt switch to meta-qt6 which is still receiving updates. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qttools,tufao: fix Upstream-Status formattingMartin Jansa2023-02-113-3/+3
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit: Add packageconfig to build toolsKhem Raj2023-01-071-0/+1
| | | | | | | Keep it disabled by default Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit: Fix build with ruby 3.2+Khem Raj2023-01-074-69/+50
| | | | | | | Ruby 3.2 removes Object#=~ completely Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtpdf,qtwebengine: Fix build with 64bit time_tKhem Raj2023-01-073-0/+39
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Fix build with 64bit time_t on glibcKhem Raj2023-01-072-0/+38
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* layer.conf: update LAYERSERIES_COMPAT for mickledoreMartin Jansa2023-01-031-1/+1
| | | | | | | * oe-core switched to mickedore in: https://git.openembedded.org/openembedded-core/commit/?id=57239d66b933c4313cf331d35d13ec2d0661c38f Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-creator: bump SRCREV to fix compatibility with newer qtMartin Jansa2022-12-061-1/+1
| | | | | | | | | | | | | | | | | * https://code.qt.io/cgit/qt-creator/qt-creator.git/commit/?h=4.15&id=c5ab9205895d630d2a3828e4f623617efcb97784 fixes: | make[3]: Leaving directory '/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.15.2+gitAUTOINC+94d227cd43-r0/build/src/tools/sdktool' | /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.15.2+gitAUTOINC+94d227cd43-r0/git/share/qtcreator/qml/qmlpuppet/qmlprivategate/qmlprivategate_56.cpp: In function 'QmlDesigner::PropertyNameList QmlDesigner::Internal::QmlPrivateGate::propertyNameListForWritableProperties(QObject*, const QmlDesigner::PropertyName&, QObjectList*)': | /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.15.2+gitAUTOINC+94d227cd43-r0/git/share/qtcreator/qml/qmlpuppet/qmlprivategate/qmlprivategate_56.cpp:156:82: error: no matching function for call to 'QQuickDesignerSupportProperties::propertyNameListForWritableProperties(QObject*&, const QmlDesigner::PropertyName&, QObjectList*&)' | 156 | return QQuickDesignerSupportProperties::propertyNameListForWritableProperties(object, baseName, inspectedObjects); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | In file included from /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.15.2+gitAUTOINC+94d227cd43-r0/git/share/qtcreator/qml/qmlpuppet/qmlprivategate/qmlprivategate_56.cpp:44: | /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.15.2+gitAUTOINC+94d227cd43-r0/recipe-sysroot/usr/include/QtQuick/5.15.7/QtQuick/private/qquickdesignersupportproperties_p.h:93:52: note: candidate: 'static QQuickDesignerSupport::PropertyNameList QQuickDesignerSupportProperties::propertyNameListForWritableProperties(QObject*)' | 93 | static QQuickDesignerSupport::PropertyNameList propertyNameListForWritableProperties(QObject *object); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.15.2+gitAUTOINC+94d227cd43-r0/recipe-sysroot/usr/include/QtQuick/5.15.7/QtQuick/private/qquickdesignersupportproperties_p.h:93:52: note: candidate expects 1 argument, 3 provided Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: add -DUSE_X11 FlagMarkus Volk2022-12-061-1/+1
| | | | | | | | | | | | | | | | | | | Recently Mesa synced egl headers with khronos. Until now eglplatform.h added the xlib headers as long as it hasn't been explicitly disabled with EGL_NO_X11. Now its one step closer to deprecating X11 and the headers are only included if USE_X11 is set. If missing qtbase silently refuses to build the EGL_X11 Plugin. This results e.g. in configure failure for qtwayland, if building with xcomposite-egl PACKAGECONFIG: 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: Markus Volk <f_l_k@t-online.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: upgrade to v5.15.7-lts-lgplFrancesco Montefoschi2022-12-0643-154/+42
| | | | | | | | * update to new SRCREVs where available * https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/5.15.7/release-note.md Signed-off-by: Francesco Montefoschi <francesco.monte@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* packagegroup-qt5-toolchain-target: Add qtquickcontrols2-qmlplugins ↵BogDan Vatra2022-10-231-0/+1
| | | | | | RRECOMMENDS:${PN} Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase-native: Reduce TMPDIR QA false positives for rcc generated filesAndreas Müller2022-10-168-15/+49
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* ptest: remove references to destination directorySamuli Piippo2022-09-302-18/+25
| | | | | | | | | | | | | Tests are build against the destination directory where qt module was just installed. This causes extra files to be taken into source package and adds references to the TMPDIR, which produces QA warnings from buildpaths QA test. Use DEBUG_PREFIX_MAP to get rid of those paths. Pick-to: 6.4 6.3 6.2 Task-number: QTBUG-105913 Change-Id: I01ed9261004410db307f2cd809a181377b734c9e Reviewed-by: Ari Parkkila <ari.parkkila@qt.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* ptest: remove build paths from testsSamuli Piippo2022-09-302-0/+29
| | | | | | | | | | Testlib adds references to the build and source directories to tests, which causes warnings on buildpaths QA test. Remove those references. Pick-to: 6.4 6.3 6.2 Task-number: QTBUG-105913 Change-Id: Ic63e72a0b11bef55876ef5ca40d0c1d753243004 Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
* qmake5_base: Remove QMAKE_PRL_BUILD_DIR from prl filesbenedikt-mueller-zeiss2022-09-301-1/+2
| | | | | | | | | | Reduce warnings from buildpaths QA test (contains reference to TMPDIR) by removing QMAKE_PRL_BUILD_DIR from prl files. Same as in meta-qt6: https://code.qt.io/cgit/yocto/meta-qt6.git/commit/?id=8fb6c082 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* layers: Add langdale to LAYERSERIES_COMPATKhem Raj2022-09-291-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qmake5_base.bbclass: Remove remove-libtool from recipe scopeKhem Raj2022-08-151-1/+1
| | | | | | Its a global setting Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebengine: Fix archiver assignmentMarek Vasut2022-08-0810-22/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This qtwebengine GN patch already assigns AR correctly one line above to '--ar \"$$which(ar)\"' , drop the newly added upstream AR assignment as it triggers build failure: " [184/187] CXX tools/gn/target.o [185/187] CXX tools/gn/visual_studio_writer.o [186/187] AR gn_lib.a [187/187] LINK gn FAILED: gn /build/tmp/hosttools/g++ -O3 -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-strip-all -Wl,--as-needed -static-libstdc++ -pthread -o gn -Wl,--start-group tools/gn/gn_main.o base.a gn_lib.a -Wl,--end-group -ldl /build/tmp/hosttools/ld: base.a: error adding symbols: archive has no index; run ranlib to add one collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Project ERROR: GN build error! make[2]: *** [Makefile:98: sub-gn-pro-make_first] Error 3 " MJ: for GN(-native) build we don't want to respect QMAKE_AR, we want ar for host architecture and use $$which(ar) (will will be similar to $$first(BUILD_AR) with BUILD_AR from bitbake.conf) MJ: Refresh other patches to apply on top of this change. MJ: it's not reproducible with qemux86-64 (which I was using to test the last upgrade): martin@jama /OE/build/oe-core/tmp-glibc/work $ ls -lah core2-64-oe-linux/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release/base.a cortexa15t2hf-neon-oe-linux-gnueabi/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release/base.a -rw-r--r-- 1 martin martin 99K Aug 8 22:01 core2-64-oe-linux/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release/base.a -rw-r--r-- 1 martin martin 3.3K Aug 8 21:10 cortexa15t2hf-neon-oe-linux-gnueabi/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release/base.a martin@jama /OE/build/oe-core/tmp-glibc/work $ file core2-64-oe-linux/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release/base.a cortexa15t2hf-neon-oe-linux-gnueabi/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release/base.a core2-64-oe-linux/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release/base.a: thin archive with 1168 symbol entries cortexa15t2hf-neon-oe-linux-gnueabi/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release/base.a: thin archive with 1650553701 symbol entries The issue is that gn build will use arm-oe-linux-gnueabi-gcc-ar from QMAKE_AR which is correct for target libraries, but in this case it's used for native gn and arm-oe-linux-gnueabi-gcc-ar doesn't support native x86_64 host (while x86_64-oe-linux-gcc-ar used in qemux86-64 builds was fine, because the architecture is compatible): qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release $ ninja -v gn 2>&1 [1/2] rm -f base.a && /OE/build/oe-core/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/arm-oe-linux-gnueabi-gcc-ar rcsT base.a base/callback_internal.o base/command_line.o base/environment.o base/files/file.o base/files/file_enumerator.o base/files/file_path.o base/files/file_path_constants.o base/files/file_util.o base/files/scoped_file.o base/files/scoped_temp_dir.o base/json/json_parser.o base/json/json_reader.o base/json/json_writer.o base/json/string_escape.o base/logging.o base/md5.o base/memory/ref_counted.o base/memory/weak_ptr.o base/sha1.o base/strings/string_number_conversions.o base/strings/string_piece.o base/strings/string_split.o base/strings/string_util.o base/strings/string_util_constants.o base/strings/stringprintf.o base/strings/utf_string_conversion_utils.o base/strings/utf_string_conversions.o base/third_party/icu/icu_utf.o base/timer/elapsed_timer.o base/value_iterators.o base/values.o base/files/file_enumerator_posix.o base/files/file_posix.o base/files/file_util_posix.o base/posix/file_descriptor_shuffle.o base/posix/safe_strerror.o base/strings/string16.o [2/2] /OE/build/oe-core/tmp-glibc/hosttools/g++ -O3 -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-strip-all -Wl,--as-needed -static-libstdc++ -pthread -o gn -Wl,--start-group tools/gn/gn_main.o base.a gn_lib.a -Wl,--end-group -ldl FAILED: gn /OE/build/oe-core/tmp-glibc/hosttools/g++ -O3 -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-strip-all -Wl,--as-needed -static-libstdc++ -pthread -o gn -Wl,--start-group tools/gn/gn_main.o base.a gn_lib.a -Wl,--end-group -ldl /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: base.a: error adding symbols: archive has no index; run ranlib to add one collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. $ arm-oe-linux-gnueabi-gcc-ar --help | grep supported.targets recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/12.1.0/ar: supported targets: elf32-littlearm elf32-littlearm-fdpic elf32-bigarm elf32-bigarm-fdpic elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex plugin $ ar --help | grep supported.targets ar: supported targets: elf64-x86-64 elf32-i386 elf32-iamcu elf32-x86-64 pei-i386 pe-x86-64 pei-x86-64 elf64-l1om elf64-k1om elf64-little elf64-big elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex plugin It would be better to force gn build to respect BUILD_AR = "${BUILD_PREFIX}ar" instead of "$$which(ar)" here or better just using separate gn-native recipe like meta-browser does since: https://github.com/OSSystems/meta-browser/commit/c5ff301787ef76eec57ca500ec9d1ccf0f74b488 but meta-qt5 is dead-end and I don't care enough to fix this. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtpdf: Do not add -rtlib=libgcc -unwindlib=libgcc when using gccKhem Raj2022-08-081-1/+1
| | | | | | | | | We need to also check for compiler along with runtime to apply this patch so we dont accidentally add these options when using TOOLCHAIN = "gcc" Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libconnman-qt5: pass VERSION in EXTRA_QMAKEVARS_PREMartin Jansa2022-07-061-4/+5
| | | | | | | | | | * the version in .pro and .spec doesn't match with the git tag: https://github.com/sailfishos/libconnman-qt/pull/9#issuecomment-1175243813 sailfish passes the version based on git tag: https://github.com/sailfishos/libconnman-qt/pull/9#issuecomment-1175827075 lets do the same Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libconnman-qt5: Drop patch that was merged upstream & qt6 supportHerman van Hazendonk2022-07-052-35/+3
| | | | | | | | A modified version of the patch was merged upstream which has been confirmed to be working with GCC12, so I expect it will work with clang too. Qt6 support has been added as well. Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
* qtpdf: upgrade to v5.15.10-ltsMartin Jansa2022-07-056-130/+87
| | | | | | | | | | | * sync with qtwebengine recipe * replace 0002-Remove-the-GN-settings-done-for-clang-that-conflict-.patch with whole set of chromium patches from qtwebengine where recipes-qt/qt5/qtwebengine/chromium/0002-chromium-fix-build-with-clang.patch should do the same Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: upgrade to latest chromium from 87-based branchMartin Jansa2022-07-051-3/+4
| | | | | | | | | | | | * contains useful fix to resolve: https://github.com/meta-qt5/meta-qt5/pull/475 qtwebengine-chromium $ git log --oneline caba2fcb0fe8a8d213c4c79d26da3bb88eee61c7..ecc2bb74f1f7140fc52650042299be18e826b27b ecc2bb74f1f [Backport] CVE-2022-0796: Use after free in Media a7a23ccc69e [Backport] Linux sandbox: ENOSYS for some statx syscalls 7857ff290ab FIXUP: Workaround MSVC2022 ICE in constexpr functions Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: upgrade to v5.15.10-ltsMartin Jansa2022-07-0529-62/+62
| | | | | | | * keep the MODULE_VERSION on 5.15.4 to match the rest of the publicly available 5.15 modules Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libconnman-qt5: Drop upstreamed patch for MeeGo prefix removalHerman van Hazendonk2022-06-092-46/+4
| | | | | | | MeeGo prefix was made optional by sending the adjusted patch upstream. By defining "no-module-prefix" it will now build without prefix. Signed-off-by: Herman van Hazendonk <github.com@herrie.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwayland: Include locale.h for LC_CTYPE defineKhem Raj2022-05-252-0/+37
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-git: bump PV to 5.15.4Martin Jansa2022-05-241-2/+2
| | | | * I forgot to do that in previous commit
* qt5: upgrade to v5.15.4-lts-lgplMartin Jansa2022-05-2237-82/+36
| | | | | | | * update to new SRCREVs where available * https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/5.15.4/release-note.md Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: Fix build with gcc-12Martin Jansa2022-05-2014-32/+95
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* cinematicexperience: Fix file permissions for non-root userKhem Raj2022-05-161-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running this demo under non-root user it often does not come up because the asset are non-readable for non-root users e.g. weston user when running weston based images. Fixes raspberrypi4-64:/usr/share/cinematicexperience-1.0$ ./Qt5_CinematicExperience file:///usr/share/cinematicexperience-1.0/Qt5_CinematicExperience.qml:30:5: Type InfoView unavailable InfoView { ^ file:///usr/share/cinematicexperience-1.0/content/InfoView.qml: Permission denied ^C buildhistory view after the change --- a/packages/cortexa72-yoe-linux-musl/cinematicexperience/sysroot +++ b/packages/cortexa72-yoe-linux-musl/cinematicexperience/sysroot @@ -5,11 +5,11 @@ drwxr-xr-x - - 4096 ./usr/share drwxr-xr-x - - 4096 ./usr/share/cinematicexperience-1.0 drwxr-xr-x - - 4096 ./usr/share/cinematicexperience-1.0/content -rw-r--r-- - - 1184 ./usr/share/cinematicexperience-1.0/content/Background.qml --rw------- - - 2868 ./usr/share/cinematicexperience-1.0/content/Button.qml --rw------- - - 1777 ./usr/share/cinematicexperience-1.0/content/CurtainEffect.qml +-rw-r--r-- - - 2868 ./usr/share/cinematicexperience-1.0/content/Button.qml +-rw-r--r-- - - 1777 ./usr/share/cinematicexperience-1.0/content/CurtainEffect.qml -rw-r--r-- - - 3284 ./usr/share/cinematicexperience-1.0/content/DelegateItem.qml -rw-r--r-- - - 5499 ./usr/share/cinematicexperience-1.0/content/DetailsView.qml --rw------- - - 844 ./usr/share/cinematicexperience-1.0/content/FpsItem.qml +-rw-r--r-- - - 844 ./usr/share/cinematicexperience-1.0/content/FpsItem.qml drwxr-xr-x - - 4096 ./usr/share/cinematicexperience-1.0/content/images -rw-r--r-- - - 88497 ./usr/share/cinematicexperience-1.0/content/images/10.png -rw-r--r-- - - 106319 ./usr/share/cinematicexperience-1.0/content/images/11.png @@ -63,11 +63,11 @@ drwxr-xr-x - - 4096 ./usr/share/cinematicexperience-1.0/ -rw-r--r-- - - 5854 ./usr/share/cinematicexperience-1.0/content/images/switch_frame.png -rw-r--r-- - - 2383 ./usr/share/cinematicexperience-1.0/content/images/switch_on.png -rw-r--r-- - - 3366 ./usr/share/cinematicexperience-1.0/content/images/switch_thumb.png --rw------- - - 727 ./usr/share/cinematicexperience-1.0/content/InfoViewItem.qml --rw------- - - 10046 ./usr/share/cinematicexperience-1.0/content/InfoView.qml +-rw-r--r-- - - 727 ./usr/share/cinematicexperience-1.0/content/InfoViewItem.qml +-rw-r--r-- - - 10046 ./usr/share/cinematicexperience-1.0/content/InfoView.qml -rw-r--r-- - - 8136 ./usr/share/cinematicexperience-1.0/content/MainView.qml --rw------- - - 15431 ./usr/share/cinematicexperience-1.0/content/MoviesModel.qml --rw------- - - 794 ./usr/share/cinematicexperience-1.0/content/RatingsItem.qml +-rw-r--r-- - - 15431 ./usr/share/cinematicexperience-1.0/content/MoviesModel.qml +-rw-r--r-- - - 794 ./usr/share/cinematicexperience-1.0/content/RatingsItem.qml -rw-r--r-- - - 4155 ./usr/share/cinematicexperience-1.0/content/SettingsView.qml -rw-r--r-- - - 5020 ./usr/share/cinematicexperience-1.0/content/Switch.qml -rwxr-xr-x - - 9960 ./usr/share/cinematicexperience-1.0/Qt5_CinematicExperience Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libconnman-qt5: Apply operator patch also for gcc-12Khem Raj2022-05-101-1/+1
| | | | | | | | | | | | gcc12 has started to fail with same error like clang, perhaps this should be upstreamed too usr/include/QtDBus/qdbusargument.h:276:13: error: no match for 'operator>>' (operand types are 'const QDBusArgument' and 'RouteStructure') | 276 | arg >> item; | | ~~~~^~~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-creator: add pkgconfig to inheritAndreas Müller2022-04-151-1/+1
| | | | | | | | Fixes many complaints in configure as: | sh: line 1: pkg-config: command not found Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>