1. 28 Apr, 2023 1 commit
  2. 25 Apr, 2023 2 commits
  3. 13 Apr, 2023 1 commit
  4. 12 Apr, 2023 4 commits
    • Martin Jansa's avatar
      e55593fb
    • Martin Jansa's avatar
      qtwebengine, qtpdf: upgrade to latest 5.15.13 · 9537acc9
      Martin Jansa authored
      
      * 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: default avatarMartin Jansa <Martin.Jansa@gmail.com>
      9537acc9
    • Martin Jansa's avatar
      qtwebkit: Fix build with gcc-13 · e551f7b3
      Martin Jansa authored
      
      * 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: default avatarMartin Jansa <Martin.Jansa@gmail.com>
      e551f7b3
    • Martin Jansa's avatar
      qtbase: fix Upstream-Status format · 3b21fad6
      Martin Jansa authored
      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: default avatarMartin Jansa <Martin.Jansa@gmail.com>
      3b21fad6
  5. 11 Apr, 2023 1 commit
  6. 03 Apr, 2023 3 commits
  7. 15 Feb, 2023 1 commit
  8. 11 Feb, 2023 3 commits
  9. 07 Jan, 2023 4 commits
  10. 03 Jan, 2023 1 commit
  11. 06 Dec, 2022 3 commits
    • Martin Jansa's avatar
      qt5-creator: bump SRCREV to fix compatibility with newer qt · c22b8fac
      Martin Jansa authored
      * 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: default avatarMartin Jansa <Martin.Jansa@gmail.com>
      c22b8fac
    • Markus Volk's avatar
      qtbase: add -DUSE_X11 Flag · c555401f
      Markus Volk authored
      
      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: default avatarMarkus Volk <f_l_k@t-online.de>
      Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
      c555401f
    • Francesco Montefoschi's avatar
  12. 23 Oct, 2022 1 commit
  13. 16 Oct, 2022 1 commit
  14. 30 Sep, 2022 4 commits
  15. 15 Aug, 2022 1 commit
  16. 08 Aug, 2022 2 commits
    • Marek Vasut's avatar
      qtwebengine: Fix archiver assignment · 9287d635
      Marek Vasut authored
      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: default avatarMarek Vasut <marex@denx.de>
      Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
      9287d635
    • Khem Raj's avatar
      qtpdf: Do not add -rtlib=libgcc -unwindlib=libgcc when using gcc · e8ada8b8
      Khem Raj authored
      
      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: default avatarKhem Raj <raj.khem@gmail.com>
      Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
      e8ada8b8
  17. 06 Jul, 2022 1 commit
  18. 05 Jul, 2022 4 commits
  19. 09 Jun, 2022 1 commit
  20. 25 May, 2022 1 commit