qtwebkit-opensource-src.git
13 months agofix build with GCC 14
Debian Qt/KDE Maintainers [Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)]
fix build with GCC 14

Origin: Fedora, https://src.fedoraproject.org/rpms/qt5-qtwebkit/blob/rawhide/f/qtwebkit-fix-build-gcc14.patch
Forwarded: no
Last-Update: 2024-07-04

Gbp-Pq: Name gcc_14.diff

13 months agopartial backport of r260554 (79fe19caf)
Debian Qt/KDE Maintainers [Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)]
partial backport of r260554 (79fe19caf)

Origin: upstream, https://github.com/qtwebkit/qtwebkit/commit/756e1c8f23dc2720
Last-Update: 2024-05-28

In particular, we need -DU_SHOW_CPLUSPLUS_API=0 to avoid compilation
errors in C++ parts of ICU headers which we are not using anyway.

Gbp-Pq: Name icu_75.1.diff

13 months agofix offlineasm error with Ruby 3.2
Debian Qt/KDE Maintainers [Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)]
fix offlineasm error with Ruby 3.2

Origin: upstream, https://commits.webkit.org/219400@main
Last-Update: 2024-03-28

Swap checks to prevent applying the =~ operator to Annotation instances,
which do not define it.

Gbp-Pq: Name offlineasm_ruby_3.2.diff

13 months agoadd loongarch64 support
Dandan Zhang [Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)]
add loongarch64 support

Forwarded: https://github.com/qtwebkit/qtwebkit/pull/1096
Last-Update: 2024-03-09

Gbp-Pq: Name loongarch64.diff

13 months agofix build with libxml2 version 2.12.0
Debian Qt/KDE Maintainers [Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)]
fix build with libxml2 version 2.12.0

Origin: upstream, https://commits.webkit.org/270977@main
Last-Update: 2024-01-22

Gbp-Pq: Name libxml2_2.12.diff

13 months agoANGLE: add missing include to fix build with GCC 13
Debian Qt/KDE Maintainers [Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)]
ANGLE: add missing include to fix build with GCC 13

Origin: upstream, https://chromium.googlesource.com/angle/angle/+/cdfa8f504d83c2a3
Last-Update: 2023-06-18

Gbp-Pq: Name gcc_13.diff

13 months agofix macro definitions TRUE, FALSE
Debian Qt/KDE Maintainers [Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)]
fix macro definitions TRUE, FALSE

Origin: Fedora, https://src.fedoraproject.org/rpms/qt5-qtwebkit/blob/rawhide/f/qtwebkit-icu68.patch
Forwarded: no
Last-Update: 2022-03-13

Gbp-Pq: Name icu_68.diff

13 months agofix JSCore segmentation fault on 64-bit big endian systems
Debian Qt/KDE Maintainers [Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)]
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

13 months agoremove invalid g_object declarations to fix build with glib ≥ 2.68
Debian Qt/KDE Maintainers [Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)]
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

13 months agofix compilation with Python 3.9: avoid passing encoding to json.load()
Debian Qt/KDE Maintainers [Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)]
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

13 months agodo not attempt rendering PDF with Qt image plugin
Debian Qt/KDE Maintainers [Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)]
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

13 months agolet Bison generate the header directly
Dmitry Shachnev [Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)]
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

13 months agoadd support for riscv64 architecture
William Grant [Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)]
add support for riscv64 architecture

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

Gbp-Pq: Name support_riscv64.diff

13 months agoLocally define PATH_MAX is not available
Pino Toscano [Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)]
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

13 months agoreduce the number of exported symbols in libQt5WebKit.so.5
Dmitry Shachnev [Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)]
reduce the number of exported symbols in libQt5WebKit.so.5

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

Gbp-Pq: Name reduce_exports.diff

13 months agoqtwebkit-opensource-src (5.212.0~alpha4-41) unstable; urgency=medium
Dmitry Shachnev [Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)]
qtwebkit-opensource-src (5.212.0~alpha4-41) unstable; urgency=medium

  * Upload to unstable.

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

13 months agoImport qtwebkit-opensource-src_5.212.0~alpha4-41.debian.tar.xz
Dmitry Shachnev [Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)]
Import qtwebkit-opensource-src_5.212.0~alpha4-41.debian.tar.xz

[dgit import tarball qtwebkit-opensource-src 5.212.0~alpha4-41 qtwebkit-opensource-src_5.212.0~alpha4-41.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 (16:11 +0300)]
Import qtwebkit-opensource-src_5.212.0~alpha4.orig.tar.xz

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