qtwebkit-opensource-src.git
2 years agofix JSCore segmentation fault on 64-bit big endian systems
Debian Qt/KDE Maintainers [Sat, 8 Jul 2023 07:25:33 +0000 (08:25 +0100)]
fix JSCore segmentation fault on 64-bit big endian systems

Origin: backport, https://github.com/webkit/webkit/commit/3fdde71c7d95d758
Reviewed-by: Frank Heimes <frank.heimes@canonical.com>
Last-Update: 2021-11-24

In CodeBlock.cpp the code preparing the operands of op_get_from_scope writes
the property offset as pointer size (hence 64 bit) value:

2141: instructions[i + 6].u.pointer = reinterpret_cast<void*>(op.operand);

while the same slot is accessed later by the jitted code as 32 bit integer:

macro getProperty(slow)
   loadisFromInstruction(6, t1)

This fails on big endian targets since the integer access takes the higher
part of the 64 bit value.

Gbp-Pq: Name jscore_big_endian.diff

2 years agoremove invalid g_object declarations to fix build with glib ≥ 2.68
Debian Qt/KDE Maintainers [Sat, 8 Jul 2023 07:25:33 +0000 (08:25 +0100)]
remove invalid g_object declarations to fix build with glib ≥ 2.68

Origin: https://build.opensuse.org/package/view_file/KDE:Qt5/libqt5-qtwebkit/0001-Remove-invalid-g_object-declarations-to-fix-build-wi.patch
Forwarded: https://github.com/qtwebkit/qtwebkit/pull/1058
Last-Update: 2021-04-07

Gbp-Pq: Name glib_2.68.diff

2 years agofix compilation with Python 3.9: avoid passing encoding to json.load()
Debian Qt/KDE Maintainers [Sat, 8 Jul 2023 07:25:33 +0000 (08:25 +0100)]
fix compilation with Python 3.9: avoid passing encoding to json.load()

Origin: upstream, https://github.com/qtwebkit/qtwebkit/commit/78360c01c796b626
Last-Update: 2020-11-23

Gbp-Pq: Name python_3.9.diff

2 years agodo not attempt rendering PDF with Qt image plugin
Debian Qt/KDE Maintainers [Sat, 8 Jul 2023 07:25:33 +0000 (08:25 +0100)]
do not attempt rendering PDF with Qt image plugin

Origin: upstream, https://github.com/qtwebkit/qtwebkit/commit/0443d42b04e0f99c
Last-Update: 2020-09-13

Qt 5.15 added Qt PDF module which comes with imageformat plugin, which
allows rendering first page of PDF document as image.

Gbp-Pq: Name no_pdf_image_plugin.diff

2 years agolet Bison generate the header directly
Dmitry Shachnev [Sat, 8 Jul 2023 07:25:33 +0000 (08:25 +0100)]
let Bison generate the header directly

Forwarded: https://github.com/qtwebkit/qtwebkit/pull/1012
Last-Update: 2020-08-04

Starting with Bison 3.7, the generated C++ file #include's the header
by default, instead of duplicating it. So we should not delete it.

Remove the code to add #ifdef guards to the header, since Bison adds
them itself since version 2.6.3.

Gbp-Pq: Name bison_3.7.diff

2 years agoadd support for riscv64 architecture
William Grant [Sat, 8 Jul 2023 07:25:33 +0000 (08:25 +0100)]
add support for riscv64 architecture

Forwarded: https://github.com/qtwebkit/qtwebkit/pull/982
Last-Update: 2020-04-28

Gbp-Pq: Name support_riscv64.diff

2 years agoLocally define PATH_MAX is not available
Pino Toscano [Sat, 8 Jul 2023 07:25:33 +0000 (08:25 +0100)]
Locally define PATH_MAX is not available

Forwarded: no
Last-Update: 2017-11-20

The code unconditionally uses PATH_MAX, which is POSIX-optional.

This fixes the build on platforms without it, such as GNU/Hurd.

Gbp-Pq: Name path_max.diff

2 years agoreduce the number of exported symbols in libQt5WebKit.so.5
Dmitry Shachnev [Sat, 8 Jul 2023 07:25:33 +0000 (08:25 +0100)]
reduce the number of exported symbols in libQt5WebKit.so.5

Forwarded: not-needed
Last-Update: 2017-08-27

Gbp-Pq: Name reduce_exports.diff

2 years agoqtwebkit-opensource-src (5.212.0~alpha4-33) unstable; urgency=medium
Dmitry Shachnev [Sat, 8 Jul 2023 07:25:33 +0000 (08:25 +0100)]
qtwebkit-opensource-src (5.212.0~alpha4-33) unstable; urgency=medium

  * Add a patch to fix build with GCC 13 (closes: #1037834).
  * Upload to unstable.

[dgit import unpatched qtwebkit-opensource-src 5.212.0~alpha4-33]

2 years agoImport qtwebkit-opensource-src_5.212.0~alpha4-33.debian.tar.xz
Dmitry Shachnev [Sat, 8 Jul 2023 07:25:33 +0000 (08:25 +0100)]
Import qtwebkit-opensource-src_5.212.0~alpha4-33.debian.tar.xz

[dgit import tarball qtwebkit-opensource-src 5.212.0~alpha4-33 qtwebkit-opensource-src_5.212.0~alpha4-33.debian.tar.xz]

5 years agoImport qtwebkit-opensource-src_5.212.0~alpha4.orig.tar.xz
Dmitry Shachnev [Thu, 12 Mar 2020 13:11:29 +0000 (13:11 +0000)]
Import qtwebkit-opensource-src_5.212.0~alpha4.orig.tar.xz

[dgit import orig qtwebkit-opensource-src_5.212.0~alpha4.orig.tar.xz]