qt6-base.git
13 months agoMerge qt6-base (6.7.2+dfsg-4) import into refs/heads/workingbranch
Pino Toscano [Wed, 23 Oct 2024 17:35:31 +0000 (19:35 +0200)]
Merge qt6-base (6.7.2+dfsg-4) import into refs/heads/workingbranch

13 months agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Wed, 23 Oct 2024 17:35:31 +0000 (19:35 +0200)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

13 months agoEnable skipping plugins search at build time.
Lisandro Damián Nicanor Pérez Meyer [Wed, 23 Oct 2024 17:35:31 +0000 (19:35 +0200)]
Enable skipping plugins search at build time.

Forwarded: not-needed

This patch sets
QT_SKIP_AUTO_PLUGIN_INCLUSION and QT_SKIP_AUTO_QML_PLUGIN_INCLUSION to ON
by default, thus avoiding unnecesary build dependencies on plugins.

The variables can still be set to OFF by the user at build time, allowing
them to find the packages if necessary. But if you need so for a Debian
package please reach the Qt maintainers first. We want to know why you
need to do so. Thanks in advance!

Gbp-Pq: Name enable_skip_plugins.patch

13 months agoChange how stack grows on HPPA.
John David Anglin [Wed, 23 Oct 2024 17:35:31 +0000 (19:35 +0200)]
Change how stack grows on HPPA.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28

On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.

Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch

13 months agoremove RPATH/RUNPATH from examples' binaries.
Lisandro Damián Nicanor Pérez Meyer [Wed, 23 Oct 2024 17:35:31 +0000 (19:35 +0200)]
remove RPATH/RUNPATH from examples' binaries.

Forwarded: not-needed
Last-Update: 2024-02-15

On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.

Gbp-Pq: Name remove_rpath_from_examples.patch

13 months agocross
Debian Qt/KDE Maintainers [Wed, 23 Oct 2024 17:35:31 +0000 (19:35 +0200)]
cross

Gbp-Pq: Name cross.patch

13 months ago[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.
Vagrant Cascadian [Fri, 25 Feb 2022 03:00:05 +0000 (03:00 +0000)]
[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.

The original build path should not be needed in the shipped package,
and causes reproducibility issues when built in different paths.

https://reproducible-builds.org/docs/build-path/

Gbp-Pq: Name build_path_embedded_qtbuildinternalsextra_cmake.patch

13 months agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Wed, 23 Oct 2024 17:35:31 +0000 (19:35 +0200)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

13 months agouse _Float16 only when SSE2 is enabled
Dmitry Shachnev [Wed, 23 Oct 2024 17:35:31 +0000 (19:35 +0200)]
use _Float16 only when SSE2 is enabled

Forwarded: https://codereview.qt-project.org/c/qt/qtbase/+/579205
Last-Update: 2024-08-01

The GCC documentation [1] says: “On x86 targets with SSE2 enabled, GCC
supports half-precision (16-bit) floating point via the _Float16 type”.

On non-SSE2 x86 (such as Debian i386 baseline [2]), __FLT16_MAX__ is
defined starting with GCC 14 [3], however any non-trivial use of the
_Float16 type results in an error:

error: operation not permitted on type ‘_Float16’ without option ‘-msse2’

which makes some packages fail to build on i386 architecture [4].

[1]: https://gcc.gnu.org/onlinedocs/gcc/Half-Precision.html
[2]: https://wiki.debian.org/ArchitectureSpecificsMemo#i386-1
[3]: https://gcc.gnu.org/g:9a19fa8b616f83474c35cc5b34a3865073ced829
[4]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076986

Gbp-Pq: Name use_float16_only_with_sse2.patch

13 months agoAdd SH description
John Paul Adrian Glaubitz [Wed, 23 Oct 2024 17:35:31 +0000 (19:35 +0200)]
Add SH description

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043225
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Upstream processes archs from time to time and tends to disable those that
they do not know wether they are working or not.

SH is working on Debian, so as an intermediate measure re enable it here.

Gbp-Pq: Name Add-SH-detection.patch

13 months ago[PATCH] QStorageInfo/Unix: fix declaration of 'mnt' on Hurd
Pino Toscano [Sun, 6 Oct 2024 07:40:14 +0000 (09:40 +0200)]
[PATCH] QStorageInfo/Unix: fix declaration of 'mnt' on Hurd

Directly use the right type for it, after the Linux code was dropped.
Fixes commit 543ae6e6a43519b9fca6758c4a8c78625fcb2c86.

Change-Id: I1417853153d2851262f40713b3318f0dae09c391
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_QStorageInfo-Unix-fix-declaration-of-mnt-on-Hurd.patch

13 months ago[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH
Pino Toscano [Sat, 22 Jun 2024 17:55:15 +0000 (19:55 +0200)]
[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH

Define MAX_PATH also when PATH_MAX is not defined (e.g on GNU/Hurd).
MAX_PATH is Windows constant, and it is used in this file only in a
code path for Windows; because of this, the static fallback define
should be good enough.

Change-Id: Ic1b9fee3b62505f86aa8ec89bbd20493bfe1f67c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_IPC-add-PATH_MAX-less-fallback-definition-for-MAX_PA.patch

13 months agoqt6-base (6.7.2+dfsg-4) unstable; urgency=medium
Pino Toscano [Wed, 23 Oct 2024 17:35:31 +0000 (19:35 +0200)]
qt6-base (6.7.2+dfsg-4) unstable; urgency=medium

  * Team upload.

  [ Pino Toscano ]
  * Backport upstream commit fc3e3d033584c62dfb2f3e3da551a7dbd7c0150d to fix
    the build on the Hurd; patch
    upstream_QStorageInfo-Unix-fix-declaration-of-mnt-on-Hurd.patch.
  * Update the symbols files:
    - mark some Linux symbols as such
    - mark 64bit symbols as such
    - drop ia64 markers, as that architecture was discontinued

  [ Patrick Franz ]
  * Do not ship the androiddeployqt tool any more and always use
    androiddeployqt6 instead. Also, add a symlink for androiddeployqt6
    in /usr/bin.

[dgit import unpatched qt6-base 6.7.2+dfsg-4]

13 months agoImport qt6-base_6.7.2+dfsg-4.debian.tar.xz
Pino Toscano [Wed, 23 Oct 2024 17:35:31 +0000 (19:35 +0200)]
Import qt6-base_6.7.2+dfsg-4.debian.tar.xz

[dgit import tarball qt6-base 6.7.2+dfsg-4 qt6-base_6.7.2+dfsg-4.debian.tar.xz]

14 months agoMerge qt6-base (6.7.2+dfsg-3) import into refs/heads/workingbranch
Patrick Franz [Fri, 4 Oct 2024 23:12:57 +0000 (01:12 +0200)]
Merge qt6-base (6.7.2+dfsg-3) import into refs/heads/workingbranch

14 months agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Fri, 4 Oct 2024 23:12:57 +0000 (01:12 +0200)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

14 months agoEnable skipping plugins search at build time.
Lisandro Damián Nicanor Pérez Meyer [Fri, 4 Oct 2024 23:12:57 +0000 (01:12 +0200)]
Enable skipping plugins search at build time.

Forwarded: not-needed

This patch sets
QT_SKIP_AUTO_PLUGIN_INCLUSION and QT_SKIP_AUTO_QML_PLUGIN_INCLUSION to ON
by default, thus avoiding unnecesary build dependencies on plugins.

The variables can still be set to OFF by the user at build time, allowing
them to find the packages if necessary. But if you need so for a Debian
package please reach the Qt maintainers first. We want to know why you
need to do so. Thanks in advance!

Gbp-Pq: Name enable_skip_plugins.patch

14 months agoChange how stack grows on HPPA.
John David Anglin [Fri, 4 Oct 2024 23:12:57 +0000 (01:12 +0200)]
Change how stack grows on HPPA.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28

On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.

Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch

14 months agoremove RPATH/RUNPATH from examples' binaries.
Lisandro Damián Nicanor Pérez Meyer [Fri, 4 Oct 2024 23:12:57 +0000 (01:12 +0200)]
remove RPATH/RUNPATH from examples' binaries.

Forwarded: not-needed
Last-Update: 2024-02-15

On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.

Gbp-Pq: Name remove_rpath_from_examples.patch

14 months agocross
Debian Qt/KDE Maintainers [Fri, 4 Oct 2024 23:12:57 +0000 (01:12 +0200)]
cross

Gbp-Pq: Name cross.patch

14 months ago[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.
Vagrant Cascadian [Fri, 25 Feb 2022 03:00:05 +0000 (03:00 +0000)]
[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.

The original build path should not be needed in the shipped package,
and causes reproducibility issues when built in different paths.

https://reproducible-builds.org/docs/build-path/

Gbp-Pq: Name build_path_embedded_qtbuildinternalsextra_cmake.patch

14 months agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Fri, 4 Oct 2024 23:12:57 +0000 (01:12 +0200)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

14 months agouse _Float16 only when SSE2 is enabled
Dmitry Shachnev [Fri, 4 Oct 2024 23:12:57 +0000 (01:12 +0200)]
use _Float16 only when SSE2 is enabled

Forwarded: https://codereview.qt-project.org/c/qt/qtbase/+/579205
Last-Update: 2024-08-01

The GCC documentation [1] says: “On x86 targets with SSE2 enabled, GCC
supports half-precision (16-bit) floating point via the _Float16 type”.

On non-SSE2 x86 (such as Debian i386 baseline [2]), __FLT16_MAX__ is
defined starting with GCC 14 [3], however any non-trivial use of the
_Float16 type results in an error:

error: operation not permitted on type ‘_Float16’ without option ‘-msse2’

which makes some packages fail to build on i386 architecture [4].

[1]: https://gcc.gnu.org/onlinedocs/gcc/Half-Precision.html
[2]: https://wiki.debian.org/ArchitectureSpecificsMemo#i386-1
[3]: https://gcc.gnu.org/g:9a19fa8b616f83474c35cc5b34a3865073ced829
[4]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076986

Gbp-Pq: Name use_float16_only_with_sse2.patch

14 months agoAdd SH description
John Paul Adrian Glaubitz [Fri, 4 Oct 2024 23:12:57 +0000 (01:12 +0200)]
Add SH description

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043225
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Upstream processes archs from time to time and tends to disable those that
they do not know wether they are working or not.

SH is working on Debian, so as an intermediate measure re enable it here.

Gbp-Pq: Name Add-SH-detection.patch

14 months ago[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH
Pino Toscano [Sat, 22 Jun 2024 17:55:15 +0000 (19:55 +0200)]
[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH

Define MAX_PATH also when PATH_MAX is not defined (e.g on GNU/Hurd).
MAX_PATH is Windows constant, and it is used in this file only in a
code path for Windows; because of this, the static fallback define
should be good enough.

Change-Id: Ic1b9fee3b62505f86aa8ec89bbd20493bfe1f67c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_IPC-add-PATH_MAX-less-fallback-definition-for-MAX_PA.patch

14 months agoqt6-base (6.7.2+dfsg-3) unstable; urgency=medium
Patrick Franz [Fri, 4 Oct 2024 23:12:57 +0000 (01:12 +0200)]
qt6-base (6.7.2+dfsg-3) unstable; urgency=medium

  * Merge 6.6.2+dfsg-12 upload from unstable.

[dgit import unpatched qt6-base 6.7.2+dfsg-3]

14 months agoImport qt6-base_6.7.2+dfsg-3.debian.tar.xz
Patrick Franz [Fri, 4 Oct 2024 23:12:57 +0000 (01:12 +0200)]
Import qt6-base_6.7.2+dfsg-3.debian.tar.xz

[dgit import tarball qt6-base 6.7.2+dfsg-3 qt6-base_6.7.2+dfsg-3.debian.tar.xz]

14 months agoMerge qt6-base (6.6.2+dfsg-12) import into refs/heads/workingbranch
Dmitry Shachnev [Sun, 22 Sep 2024 19:08:16 +0000 (22:08 +0300)]
Merge qt6-base (6.6.2+dfsg-12) import into refs/heads/workingbranch

14 months agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Sun, 22 Sep 2024 19:08:16 +0000 (22:08 +0300)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

14 months agoDon't use yield on CPUs that might not support it
Debian Qt/KDE Maintainers [Sun, 22 Sep 2024 19:08:16 +0000 (22:08 +0300)]
Don't use yield on CPUs that might not support it

Gbp-Pq: Name armel-noyield.patch

14 months agoEnable skipping plugins search at build time.
Lisandro Damián Nicanor Pérez Meyer [Sun, 22 Sep 2024 19:08:16 +0000 (22:08 +0300)]
Enable skipping plugins search at build time.

Forwarded: not-needed

This patch sets
QT_SKIP_AUTO_PLUGIN_INCLUSION and QT_SKIP_AUTO_QML_PLUGIN_INCLUSION to ON
by default, thus avoiding unnecesary build dependencies on plugins.

The variables can still be set to OFF by the user at build time, allowing
them to find the packages if necessary. But if you need so for a Debian
package please reach the Qt maintainers first. We want to know why you
need to do so. Thanks in advance!

Gbp-Pq: Name enable_skip_plugins.patch

14 months agoChange how stack grows on HPPA.
John David Anglin [Sun, 22 Sep 2024 19:08:16 +0000 (22:08 +0300)]
Change how stack grows on HPPA.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28

On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.

Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch

14 months agoremove RPATH/RUNPATH from examples' binaries.
Lisandro Damián Nicanor Pérez Meyer [Sun, 22 Sep 2024 19:08:16 +0000 (22:08 +0300)]
remove RPATH/RUNPATH from examples' binaries.

Forwarded: not-needed
Last-Update: 2024-02-15

On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.

Gbp-Pq: Name remove_rpath_from_examples.patch

14 months agocross
Debian Qt/KDE Maintainers [Sun, 22 Sep 2024 19:08:16 +0000 (22:08 +0300)]
cross

Gbp-Pq: Name cross.patch

14 months ago[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.
Vagrant Cascadian [Fri, 25 Feb 2022 03:00:05 +0000 (03:00 +0000)]
[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.

The original build path should not be needed in the shipped package,
and causes reproducibility issues when built in different paths.

https://reproducible-builds.org/docs/build-path/

Gbp-Pq: Name build_path_embedded_qtbuildinternalsextra_cmake.patch

14 months agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Sun, 22 Sep 2024 19:08:16 +0000 (22:08 +0300)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

14 months agouse _Float16 only when SSE2 is enabled
Dmitry Shachnev [Sun, 22 Sep 2024 19:08:16 +0000 (22:08 +0300)]
use _Float16 only when SSE2 is enabled

Forwarded: https://codereview.qt-project.org/c/qt/qtbase/+/579205
Last-Update: 2024-08-01

The GCC documentation [1] says: “On x86 targets with SSE2 enabled, GCC
supports half-precision (16-bit) floating point via the _Float16 type”.

On non-SSE2 x86 (such as Debian i386 baseline [2]), __FLT16_MAX__ is
defined starting with GCC 14 [3], however any non-trivial use of the
_Float16 type results in an error:

error: operation not permitted on type ‘_Float16’ without option ‘-msse2’

which makes some packages fail to build on i386 architecture [4].

[1]: https://gcc.gnu.org/onlinedocs/gcc/Half-Precision.html
[2]: https://wiki.debian.org/ArchitectureSpecificsMemo#i386-1
[3]: https://gcc.gnu.org/g:9a19fa8b616f83474c35cc5b34a3865073ced829
[4]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076986

Gbp-Pq: Name use_float16_only_with_sse2.patch

14 months agoAdd SH description
John Paul Adrian Glaubitz [Sun, 22 Sep 2024 19:08:16 +0000 (22:08 +0300)]
Add SH description

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043225
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Upstream processes archs from time to time and tends to disable those that
they do not know wether they are working or not.

SH is working on Debian, so as an intermediate measure re enable it here.

Gbp-Pq: Name Add-SH-detection.patch

14 months ago[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH
Pino Toscano [Sat, 22 Jun 2024 17:55:15 +0000 (19:55 +0200)]
[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH

Define MAX_PATH also when PATH_MAX is not defined (e.g on GNU/Hurd).
MAX_PATH is Windows constant, and it is used in this file only in a
code path for Windows; because of this, the static fallback define
should be good enough.

Change-Id: Ic1b9fee3b62505f86aa8ec89bbd20493bfe1f67c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_IPC-add-PATH_MAX-less-fallback-definition-for-MAX_PA.patch

14 months ago[PATCH] Ensure that libzstd targets are promoted to global if they were found
Alexey Edelev [Tue, 28 May 2024 14:36:41 +0000 (16:36 +0200)]
[PATCH] Ensure that libzstd targets are promoted to global if they were found

Promote all internal zstd targets if they were found by WrapZSTD to
global using PROVIDED_TARGETS mechanism.

Amends 7d9d1220f367d9275dfaa7ce12e89b0a9f4c1978

Task-numer: QTBUG-119469
Change-Id: I15ec484304f7bf2b3ee2a533d2badb3bb7797863
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Gbp-Pq: Name upstream_Ensure-that-libzstd-targets-are-promoted-to-global-i.patch

14 months ago[PATCH] Prefer using the non-suffixed libzstd over static one
Alexey Edelev [Mon, 27 May 2024 09:09:05 +0000 (11:09 +0200)]
[PATCH] Prefer using the non-suffixed libzstd over static one

Recent zstd versions provide the libstd target but not only libzstd_shared
or libzstd_static. Attempt to use it as the WrapZSTD::WrapZSTD counterpart
if the target exists.

Task-number: QTBUG-119469
Change-Id: I47916bfa6f10883d099184a497800277c8026b14
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Gbp-Pq: Name upstream_Prefer-using-the-non-suffixed-libzstd-over-static-on.patch

14 months ago[PATCH] Be verbose on plugin inclusion, easy patch point for distros
Lisandro Damián Nicanor Pérez Meyer [Thu, 2 Nov 2023 00:41:59 +0000 (21:41 -0300)]
[PATCH] Be verbose on plugin inclusion, easy patch point for distros

TL;DR: This creates two changes:

1. Makes the plugin inclusion status more visible for builders for both Qt
   itself and applications.
2. Allows a simple patch-point for distros to change the default
   (perhaps not ideal, but good enough).
3. Does not changes the current behavior.

As discussed both in the mailing list and privately with
Alexandru Croitor and Joerg Bornemann this makes a lot os sense for Qt
on static builds and when trying to find where the plugins are so they
can be easily packaged up in order to distribute a build with all the
dependencies on it.

But at the same time it makes no sense for distributions building the
libraries in dynamic mode as it forces unnecesary build time
dependencies for for both Qt and applications like QML modules or even
PostgreSQL! [0].

[0] <https://sources.debian.org/src/martchus-qtutilities/6.10.0-1/cmake/modules/QtConfig.cmake/?hl=35#L35>

Other approaches have been considered like not shipping specific CMake
files, but this depends on the packager finding the right ones at the
right time, and does not allows end users to change the behavior if they
happen to need it.

Change-Id: Id32fbc0cf0f289edd4426fb703cf1195288aacb4
Gerrit: https://codereview.qt-project.org/c/qt/qtbase/+/515440

Gbp-Pq: Name be_verbose_on_plugin_inclusion.patch

14 months agoQGtk3Theme: fix QGtk3Interface::fileIcon
Debian Qt/KDE Maintainers [Sun, 22 Sep 2024 19:08:16 +0000 (22:08 +0300)]
QGtk3Theme: fix QGtk3Interface::fileIcon

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=277d77029d7fe8f4
Last-Update: 2024-08-02

By failing to set the G_FILE_ATTRIBUTE_STANDARD_ICON attribute, the
"icon" returned by g_file_info_get_icon was always null and a
GLib-GIO-CRITICAL warning was output to the console (at least since glib
2.76.0)[1].

After adding the necessary attribute, the code was crashing, because now
a valid icon was returned, however the icon should not be freed[2],
which is why I removed the "g_object_unref(icon)".

Now it was no longer crashing, but the size of the icons was off. It was
passing GTK_ICON_SIZE_BUTTON (4) to gtk_icon_theme_lookup_by_gicon where
a size in pixels was expected. I chose 16 because that's the pixel size
associated with GTK_ICON_SIZE_BUTTON[3].

Finally I noticed the returned icons had the wrong color. It seems that
a GdkPixbuf uses RGBA8888 format[4]. Adding an explicit conversion to
ARGB32 made the icons look correct for me.

[1] https://gitlab.gnome.org/GNOME/glib/-/commit/ed8e86a7d41a0900d8fa57edc64264d04cf8135b
[2] https://docs.gtk.org/gio/method.FileInfo.get_icon.html
[3] https://docs.gtk.org/gtk3/enum.IconSize.html#button
[4] https://docs.gtk.org/gdk-pixbuf/class.Pixbuf.html#image-data

Gbp-Pq: Name fix_qgtk3interface_fileicon.patch

14 months agoqt6-base (6.6.2+dfsg-12) unstable; urgency=medium
Dmitry Shachnev [Sun, 22 Sep 2024 19:08:16 +0000 (22:08 +0300)]
qt6-base (6.6.2+dfsg-12) unstable; urgency=medium

  * Team upload.
  * Replace Qml2Imports (deprecated) with QmlImports in debian/qt.conf.in.

[dgit import unpatched qt6-base 6.6.2+dfsg-12]

14 months agoImport qt6-base_6.6.2+dfsg-12.debian.tar.xz
Dmitry Shachnev [Sun, 22 Sep 2024 19:08:16 +0000 (22:08 +0300)]
Import qt6-base_6.6.2+dfsg-12.debian.tar.xz

[dgit import tarball qt6-base 6.6.2+dfsg-12 qt6-base_6.6.2+dfsg-12.debian.tar.xz]

15 months agoImport qt6-base_6.7.2+dfsg.orig.tar.xz
Patrick Franz [Wed, 28 Aug 2024 23:31:57 +0000 (01:31 +0200)]
Import qt6-base_6.7.2+dfsg.orig.tar.xz

[dgit import orig qt6-base_6.7.2+dfsg.orig.tar.xz]

16 months agoMerge qt6-base (6.6.2+dfsg-11) import into refs/heads/workingbranch
Dmitry Shachnev [Fri, 2 Aug 2024 15:24:23 +0000 (18:24 +0300)]
Merge qt6-base (6.6.2+dfsg-11) import into refs/heads/workingbranch

16 months agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Fri, 2 Aug 2024 15:24:23 +0000 (18:24 +0300)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

16 months agoDon't use yield on CPUs that might not support it
Debian Qt/KDE Maintainers [Fri, 2 Aug 2024 15:24:23 +0000 (18:24 +0300)]
Don't use yield on CPUs that might not support it

Gbp-Pq: Name armel-noyield.patch

16 months agoEnable skipping plugins search at build time.
Lisandro Damián Nicanor Pérez Meyer [Fri, 2 Aug 2024 15:24:23 +0000 (18:24 +0300)]
Enable skipping plugins search at build time.

Forwarded: not-needed

This patch sets
QT_SKIP_AUTO_PLUGIN_INCLUSION and QT_SKIP_AUTO_QML_PLUGIN_INCLUSION to ON
by default, thus avoiding unnecesary build dependencies on plugins.

The variables can still be set to OFF by the user at build time, allowing
them to find the packages if necessary. But if you need so for a Debian
package please reach the Qt maintainers first. We want to know why you
need to do so. Thanks in advance!

Gbp-Pq: Name enable_skip_plugins.patch

16 months agoChange how stack grows on HPPA.
John David Anglin [Fri, 2 Aug 2024 15:24:23 +0000 (18:24 +0300)]
Change how stack grows on HPPA.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28

On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.

Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch

16 months agoremove RPATH/RUNPATH from examples' binaries.
Lisandro Damián Nicanor Pérez Meyer [Fri, 2 Aug 2024 15:24:23 +0000 (18:24 +0300)]
remove RPATH/RUNPATH from examples' binaries.

Forwarded: not-needed
Last-Update: 2024-02-15

On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.

Gbp-Pq: Name remove_rpath_from_examples.patch

16 months agocross
Debian Qt/KDE Maintainers [Fri, 2 Aug 2024 15:24:23 +0000 (18:24 +0300)]
cross

Gbp-Pq: Name cross.patch

16 months ago[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.
Vagrant Cascadian [Fri, 25 Feb 2022 03:00:05 +0000 (03:00 +0000)]
[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.

The original build path should not be needed in the shipped package,
and causes reproducibility issues when built in different paths.

https://reproducible-builds.org/docs/build-path/

Gbp-Pq: Name build_path_embedded_qtbuildinternalsextra_cmake.patch

16 months agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Fri, 2 Aug 2024 15:24:23 +0000 (18:24 +0300)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

16 months agouse _Float16 only when SSE2 is enabled
Dmitry Shachnev [Fri, 2 Aug 2024 15:24:23 +0000 (18:24 +0300)]
use _Float16 only when SSE2 is enabled

Forwarded: https://codereview.qt-project.org/c/qt/qtbase/+/579205
Last-Update: 2024-08-01

The GCC documentation [1] says: “On x86 targets with SSE2 enabled, GCC
supports half-precision (16-bit) floating point via the _Float16 type”.

On non-SSE2 x86 (such as Debian i386 baseline [2]), __FLT16_MAX__ is
defined starting with GCC 14 [3], however any non-trivial use of the
_Float16 type results in an error:

error: operation not permitted on type ‘_Float16’ without option ‘-msse2’

which makes some packages fail to build on i386 architecture [4].

[1]: https://gcc.gnu.org/onlinedocs/gcc/Half-Precision.html
[2]: https://wiki.debian.org/ArchitectureSpecificsMemo#i386-1
[3]: https://gcc.gnu.org/g:9a19fa8b616f83474c35cc5b34a3865073ced829
[4]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076986

Gbp-Pq: Name use_float16_only_with_sse2.patch

16 months agoAdd SH description
John Paul Adrian Glaubitz [Fri, 2 Aug 2024 15:24:23 +0000 (18:24 +0300)]
Add SH description

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043225
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Upstream processes archs from time to time and tends to disable those that
they do not know wether they are working or not.

SH is working on Debian, so as an intermediate measure re enable it here.

Gbp-Pq: Name Add-SH-detection.patch

16 months ago[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH
Pino Toscano [Sat, 22 Jun 2024 17:55:15 +0000 (19:55 +0200)]
[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH

Define MAX_PATH also when PATH_MAX is not defined (e.g on GNU/Hurd).
MAX_PATH is Windows constant, and it is used in this file only in a
code path for Windows; because of this, the static fallback define
should be good enough.

Change-Id: Ic1b9fee3b62505f86aa8ec89bbd20493bfe1f67c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_IPC-add-PATH_MAX-less-fallback-definition-for-MAX_PA.patch

16 months ago[PATCH] Ensure that libzstd targets are promoted to global if they were found
Alexey Edelev [Tue, 28 May 2024 14:36:41 +0000 (16:36 +0200)]
[PATCH] Ensure that libzstd targets are promoted to global if they were found

Promote all internal zstd targets if they were found by WrapZSTD to
global using PROVIDED_TARGETS mechanism.

Amends 7d9d1220f367d9275dfaa7ce12e89b0a9f4c1978

Task-numer: QTBUG-119469
Change-Id: I15ec484304f7bf2b3ee2a533d2badb3bb7797863
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Gbp-Pq: Name upstream_Ensure-that-libzstd-targets-are-promoted-to-global-i.patch

16 months ago[PATCH] Prefer using the non-suffixed libzstd over static one
Alexey Edelev [Mon, 27 May 2024 09:09:05 +0000 (11:09 +0200)]
[PATCH] Prefer using the non-suffixed libzstd over static one

Recent zstd versions provide the libstd target but not only libzstd_shared
or libzstd_static. Attempt to use it as the WrapZSTD::WrapZSTD counterpart
if the target exists.

Task-number: QTBUG-119469
Change-Id: I47916bfa6f10883d099184a497800277c8026b14
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Gbp-Pq: Name upstream_Prefer-using-the-non-suffixed-libzstd-over-static-on.patch

16 months ago[PATCH] Be verbose on plugin inclusion, easy patch point for distros
Lisandro Damián Nicanor Pérez Meyer [Thu, 2 Nov 2023 00:41:59 +0000 (21:41 -0300)]
[PATCH] Be verbose on plugin inclusion, easy patch point for distros

TL;DR: This creates two changes:

1. Makes the plugin inclusion status more visible for builders for both Qt
   itself and applications.
2. Allows a simple patch-point for distros to change the default
   (perhaps not ideal, but good enough).
3. Does not changes the current behavior.

As discussed both in the mailing list and privately with
Alexandru Croitor and Joerg Bornemann this makes a lot os sense for Qt
on static builds and when trying to find where the plugins are so they
can be easily packaged up in order to distribute a build with all the
dependencies on it.

But at the same time it makes no sense for distributions building the
libraries in dynamic mode as it forces unnecesary build time
dependencies for for both Qt and applications like QML modules or even
PostgreSQL! [0].

[0] <https://sources.debian.org/src/martchus-qtutilities/6.10.0-1/cmake/modules/QtConfig.cmake/?hl=35#L35>

Other approaches have been considered like not shipping specific CMake
files, but this depends on the packager finding the right ones at the
right time, and does not allows end users to change the behavior if they
happen to need it.

Change-Id: Id32fbc0cf0f289edd4426fb703cf1195288aacb4
Gerrit: https://codereview.qt-project.org/c/qt/qtbase/+/515440

Gbp-Pq: Name be_verbose_on_plugin_inclusion.patch

16 months agoQGtk3Theme: fix QGtk3Interface::fileIcon
Debian Qt/KDE Maintainers [Fri, 2 Aug 2024 15:24:23 +0000 (18:24 +0300)]
QGtk3Theme: fix QGtk3Interface::fileIcon

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=277d77029d7fe8f4
Last-Update: 2024-08-02

By failing to set the G_FILE_ATTRIBUTE_STANDARD_ICON attribute, the
"icon" returned by g_file_info_get_icon was always null and a
GLib-GIO-CRITICAL warning was output to the console (at least since glib
2.76.0)[1].

After adding the necessary attribute, the code was crashing, because now
a valid icon was returned, however the icon should not be freed[2],
which is why I removed the "g_object_unref(icon)".

Now it was no longer crashing, but the size of the icons was off. It was
passing GTK_ICON_SIZE_BUTTON (4) to gtk_icon_theme_lookup_by_gicon where
a size in pixels was expected. I chose 16 because that's the pixel size
associated with GTK_ICON_SIZE_BUTTON[3].

Finally I noticed the returned icons had the wrong color. It seems that
a GdkPixbuf uses RGBA8888 format[4]. Adding an explicit conversion to
ARGB32 made the icons look correct for me.

[1] https://gitlab.gnome.org/GNOME/glib/-/commit/ed8e86a7d41a0900d8fa57edc64264d04cf8135b
[2] https://docs.gtk.org/gio/method.FileInfo.get_icon.html
[3] https://docs.gtk.org/gtk3/enum.IconSize.html#button
[4] https://docs.gtk.org/gdk-pixbuf/class.Pixbuf.html#image-data

Gbp-Pq: Name fix_qgtk3interface_fileicon.patch

16 months agoqt6-base (6.6.2+dfsg-11) unstable; urgency=medium
Dmitry Shachnev [Fri, 2 Aug 2024 15:24:23 +0000 (18:24 +0300)]
qt6-base (6.6.2+dfsg-11) unstable; urgency=medium

  * Team upload.
  * Add a patch to use _Float16 only when SSE2 is enabled (closes: #1076986).
  * Backport upstream patch to fix QGtk3Interface::fileIcon with GLib ≥ 2.76.

[dgit import unpatched qt6-base 6.6.2+dfsg-11]

16 months agoImport qt6-base_6.6.2+dfsg-11.debian.tar.xz
Dmitry Shachnev [Fri, 2 Aug 2024 15:24:23 +0000 (18:24 +0300)]
Import qt6-base_6.6.2+dfsg-11.debian.tar.xz

[dgit import tarball qt6-base 6.6.2+dfsg-11 qt6-base_6.6.2+dfsg-11.debian.tar.xz]

17 months agoMerge qt6-base (6.6.2+dfsg-10) import into refs/heads/workingbranch
Pino Toscano [Tue, 16 Jul 2024 19:53:21 +0000 (21:53 +0200)]
Merge qt6-base (6.6.2+dfsg-10) import into refs/heads/workingbranch

17 months agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Tue, 16 Jul 2024 19:53:21 +0000 (21:53 +0200)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

17 months agoDon't use yield on CPUs that might not support it
Debian Qt/KDE Maintainers [Tue, 16 Jul 2024 19:53:21 +0000 (21:53 +0200)]
Don't use yield on CPUs that might not support it

Gbp-Pq: Name armel-noyield.patch

17 months agoEnable skipping plugins search at build time.
Lisandro Damián Nicanor Pérez Meyer [Tue, 16 Jul 2024 19:53:21 +0000 (21:53 +0200)]
Enable skipping plugins search at build time.

Forwarded: not-needed

This patch sets
QT_SKIP_AUTO_PLUGIN_INCLUSION and QT_SKIP_AUTO_QML_PLUGIN_INCLUSION to ON
by default, thus avoiding unnecesary build dependencies on plugins.

The variables can still be set to OFF by the user at build time, allowing
them to find the packages if necessary. But if you need so for a Debian
package please reach the Qt maintainers first. We want to know why you
need to do so. Thanks in advance!

Gbp-Pq: Name enable_skip_plugins.patch

17 months agoChange how stack grows on HPPA.
John David Anglin [Tue, 16 Jul 2024 19:53:21 +0000 (21:53 +0200)]
Change how stack grows on HPPA.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28

On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.

Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch

17 months agoremove RPATH/RUNPATH from examples' binaries.
Lisandro Damián Nicanor Pérez Meyer [Tue, 16 Jul 2024 19:53:21 +0000 (21:53 +0200)]
remove RPATH/RUNPATH from examples' binaries.

Forwarded: not-needed
Last-Update: 2024-02-15

On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.

Gbp-Pq: Name remove_rpath_from_examples.patch

17 months agocross
Debian Qt/KDE Maintainers [Tue, 16 Jul 2024 19:53:21 +0000 (21:53 +0200)]
cross

Gbp-Pq: Name cross.patch

17 months ago[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.
Vagrant Cascadian [Fri, 25 Feb 2022 03:00:05 +0000 (03:00 +0000)]
[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.

The original build path should not be needed in the shipped package,
and causes reproducibility issues when built in different paths.

https://reproducible-builds.org/docs/build-path/

Gbp-Pq: Name build_path_embedded_qtbuildinternalsextra_cmake.patch

17 months agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Tue, 16 Jul 2024 19:53:21 +0000 (21:53 +0200)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

17 months ago[PATCH] Be verbose on plugin inclusion, easy patch point for distros
Lisandro Damián Nicanor Pérez Meyer [Thu, 2 Nov 2023 00:41:59 +0000 (21:41 -0300)]
[PATCH] Be verbose on plugin inclusion, easy patch point for distros

TL;DR: This creates two changes:

1. Makes the plugin inclusion status more visible for builders for both Qt
   itself and applications.
2. Allows a simple patch-point for distros to change the default
   (perhaps not ideal, but good enough).
3. Does not changes the current behavior.

As discussed both in the mailing list and privately with
Alexandru Croitor and Joerg Bornemann this makes a lot os sense for Qt
on static builds and when trying to find where the plugins are so they
can be easily packaged up in order to distribute a build with all the
dependencies on it.

But at the same time it makes no sense for distributions building the
libraries in dynamic mode as it forces unnecesary build time
dependencies for for both Qt and applications like QML modules or even
PostgreSQL! [0].

[0] <https://sources.debian.org/src/martchus-qtutilities/6.10.0-1/cmake/modules/QtConfig.cmake/?hl=35#L35>

Other approaches have been considered like not shipping specific CMake
files, but this depends on the packager finding the right ones at the
right time, and does not allows end users to change the behavior if they
happen to need it.

Change-Id: Id32fbc0cf0f289edd4426fb703cf1195288aacb4
Gerrit: https://codereview.qt-project.org/c/qt/qtbase/+/515440

Gbp-Pq: Name be_verbose_on_plugin_inclusion.patch

17 months agoAdd SH description
John Paul Adrian Glaubitz [Tue, 16 Jul 2024 19:53:21 +0000 (21:53 +0200)]
Add SH description

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043225
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Upstream processes archs from time to time and tends to disable those that
they do not know wether they are working or not.

SH is working on Debian, so as an intermediate measure re enable it here.

Gbp-Pq: Name Add-SH-detection.patch

17 months ago[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH
Pino Toscano [Sat, 22 Jun 2024 17:55:15 +0000 (19:55 +0200)]
[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH

Define MAX_PATH also when PATH_MAX is not defined (e.g on GNU/Hurd).
MAX_PATH is Windows constant, and it is used in this file only in a
code path for Windows; because of this, the static fallback define
should be good enough.

Change-Id: Ic1b9fee3b62505f86aa8ec89bbd20493bfe1f67c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_IPC-add-PATH_MAX-less-fallback-definition-for-MAX_PA.patch

17 months ago[PATCH] Ensure that libzstd targets are promoted to global if they were found
Alexey Edelev [Tue, 28 May 2024 14:36:41 +0000 (16:36 +0200)]
[PATCH] Ensure that libzstd targets are promoted to global if they were found

Promote all internal zstd targets if they were found by WrapZSTD to
global using PROVIDED_TARGETS mechanism.

Amends 7d9d1220f367d9275dfaa7ce12e89b0a9f4c1978

Task-numer: QTBUG-119469
Change-Id: I15ec484304f7bf2b3ee2a533d2badb3bb7797863
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Gbp-Pq: Name upstream_Ensure-that-libzstd-targets-are-promoted-to-global-i.patch

17 months ago[PATCH] Prefer using the non-suffixed libzstd over static one
Alexey Edelev [Mon, 27 May 2024 09:09:05 +0000 (11:09 +0200)]
[PATCH] Prefer using the non-suffixed libzstd over static one

Recent zstd versions provide the libstd target but not only libzstd_shared
or libzstd_static. Attempt to use it as the WrapZSTD::WrapZSTD counterpart
if the target exists.

Task-number: QTBUG-119469
Change-Id: I47916bfa6f10883d099184a497800277c8026b14
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Gbp-Pq: Name upstream_Prefer-using-the-non-suffixed-libzstd-over-static-on.patch

17 months agoqt6-base (6.6.2+dfsg-10) unstable; urgency=medium
Pino Toscano [Tue, 16 Jul 2024 19:53:21 +0000 (21:53 +0200)]
qt6-base (6.6.2+dfsg-10) unstable; urgency=medium

  * Team upload.
  * Backport upstream commit 7d9d1220f367d9275dfaa7ce12e89b0a9f4c1978 to use
    also the zstd::libzstd cmake target, if available; patch
    upstream_Prefer-using-the-non-suffixed-libzstd-over-static-on.patch.
  * Backport upstream commit 3073b9c4dec5e5877363794bf81cbd4b84fdb9ee to promote
    the libzstd cmake targets to global; patch
    upstream_Ensure-that-libzstd-targets-are-promoted-to-global-i.patch.

[dgit import unpatched qt6-base 6.6.2+dfsg-10]

17 months agoImport qt6-base_6.6.2+dfsg-10.debian.tar.xz
Pino Toscano [Tue, 16 Jul 2024 19:53:21 +0000 (21:53 +0200)]
Import qt6-base_6.6.2+dfsg-10.debian.tar.xz

[dgit import tarball qt6-base 6.6.2+dfsg-10 qt6-base_6.6.2+dfsg-10.debian.tar.xz]

17 months agoMerge qt6-base (6.6.2+dfsg-9) import into refs/heads/workingbranch
Pino Toscano [Fri, 5 Jul 2024 05:44:11 +0000 (07:44 +0200)]
Merge qt6-base (6.6.2+dfsg-9) import into refs/heads/workingbranch

17 months agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Fri, 5 Jul 2024 05:44:11 +0000 (07:44 +0200)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

17 months agoDon't use yield on CPUs that might not support it
Debian Qt/KDE Maintainers [Fri, 5 Jul 2024 05:44:11 +0000 (07:44 +0200)]
Don't use yield on CPUs that might not support it

Gbp-Pq: Name armel-noyield.patch

17 months agoEnable skipping plugins search at build time.
Lisandro Damián Nicanor Pérez Meyer [Fri, 5 Jul 2024 05:44:11 +0000 (07:44 +0200)]
Enable skipping plugins search at build time.

Forwarded: not-needed

This patch sets
QT_SKIP_AUTO_PLUGIN_INCLUSION and QT_SKIP_AUTO_QML_PLUGIN_INCLUSION to ON
by default, thus avoiding unnecesary build dependencies on plugins.

The variables can still be set to OFF by the user at build time, allowing
them to find the packages if necessary. But if you need so for a Debian
package please reach the Qt maintainers first. We want to know why you
need to do so. Thanks in advance!

Gbp-Pq: Name enable_skip_plugins.patch

17 months agoChange how stack grows on HPPA.
John David Anglin [Fri, 5 Jul 2024 05:44:11 +0000 (07:44 +0200)]
Change how stack grows on HPPA.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28

On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.

Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch

17 months agoremove RPATH/RUNPATH from examples' binaries.
Lisandro Damián Nicanor Pérez Meyer [Fri, 5 Jul 2024 05:44:11 +0000 (07:44 +0200)]
remove RPATH/RUNPATH from examples' binaries.

Forwarded: not-needed
Last-Update: 2024-02-15

On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.

Gbp-Pq: Name remove_rpath_from_examples.patch

17 months agocross
Debian Qt/KDE Maintainers [Fri, 5 Jul 2024 05:44:11 +0000 (07:44 +0200)]
cross

Gbp-Pq: Name cross.patch

17 months ago[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.
Vagrant Cascadian [Fri, 25 Feb 2022 03:00:05 +0000 (03:00 +0000)]
[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.

The original build path should not be needed in the shipped package,
and causes reproducibility issues when built in different paths.

https://reproducible-builds.org/docs/build-path/

Gbp-Pq: Name build_path_embedded_qtbuildinternalsextra_cmake.patch

17 months agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Fri, 5 Jul 2024 05:44:11 +0000 (07:44 +0200)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

17 months ago[PATCH] Be verbose on plugin inclusion, easy patch point for distros
Lisandro Damián Nicanor Pérez Meyer [Thu, 2 Nov 2023 00:41:59 +0000 (21:41 -0300)]
[PATCH] Be verbose on plugin inclusion, easy patch point for distros

TL;DR: This creates two changes:

1. Makes the plugin inclusion status more visible for builders for both Qt
   itself and applications.
2. Allows a simple patch-point for distros to change the default
   (perhaps not ideal, but good enough).
3. Does not changes the current behavior.

As discussed both in the mailing list and privately with
Alexandru Croitor and Joerg Bornemann this makes a lot os sense for Qt
on static builds and when trying to find where the plugins are so they
can be easily packaged up in order to distribute a build with all the
dependencies on it.

But at the same time it makes no sense for distributions building the
libraries in dynamic mode as it forces unnecesary build time
dependencies for for both Qt and applications like QML modules or even
PostgreSQL! [0].

[0] <https://sources.debian.org/src/martchus-qtutilities/6.10.0-1/cmake/modules/QtConfig.cmake/?hl=35#L35>

Other approaches have been considered like not shipping specific CMake
files, but this depends on the packager finding the right ones at the
right time, and does not allows end users to change the behavior if they
happen to need it.

Change-Id: Id32fbc0cf0f289edd4426fb703cf1195288aacb4
Gerrit: https://codereview.qt-project.org/c/qt/qtbase/+/515440

Gbp-Pq: Name be_verbose_on_plugin_inclusion.patch

17 months agoAdd SH description
John Paul Adrian Glaubitz [Fri, 5 Jul 2024 05:44:11 +0000 (07:44 +0200)]
Add SH description

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043225
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Upstream processes archs from time to time and tends to disable those that
they do not know wether they are working or not.

SH is working on Debian, so as an intermediate measure re enable it here.

Gbp-Pq: Name Add-SH-detection.patch

17 months ago[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH
Pino Toscano [Sat, 22 Jun 2024 17:55:15 +0000 (19:55 +0200)]
[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH

Define MAX_PATH also when PATH_MAX is not defined (e.g on GNU/Hurd).
MAX_PATH is Windows constant, and it is used in this file only in a
code path for Windows; because of this, the static fallback define
should be good enough.

Change-Id: Ic1b9fee3b62505f86aa8ec89bbd20493bfe1f67c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_IPC-add-PATH_MAX-less-fallback-definition-for-MAX_PA.patch

17 months agoqt6-base (6.6.2+dfsg-9) unstable; urgency=medium
Pino Toscano [Fri, 5 Jul 2024 05:44:11 +0000 (07:44 +0200)]
qt6-base (6.6.2+dfsg-9) unstable; urgency=medium

  * Team upload.
  * Drop the unused ${perl:Depends} substvar from qt6-base-dev-tools, and
    qmake6.
  * Exclude one symbol in libqt6core6t64.symbols from hurd-i386, as it is not
    available on x86 architectures.
  * Update install files for more Linux-only bits.
  * Enable the Vulkan support on all the architectures (i.e. not only on
    Linux), as vulkan-loader is portable, and now available also on non-Linux
    architectures in Debian:
    - remove the linux-any limitation for the libvulkan-dev build and runtime
      dependency
    - remove the linux-any limitation for the vulkan-related symbols in
      libqt6gui6.symbols
    - remove the linux-any limitation for the vulkan-related files in install
      files
  * Sort the install files.
  * Backport upstream commit f319895389705a3db7c2134d1ed47ceade1b204e to fix
    the build on the Hurd; patch
    upstream_IPC-add-PATH_MAX-less-fallback-definition-for-MAX_PA.patch.
  * Copy/import the patch armv4.diff from Qt5 to support ARMv4; it is needed
    to be able to build Qt6 bits with clang 16 and older, which in Debian still
    defaults to ARMv4.

[dgit import unpatched qt6-base 6.6.2+dfsg-9]

17 months agoImport qt6-base_6.6.2+dfsg-9.debian.tar.xz
Pino Toscano [Fri, 5 Jul 2024 05:44:11 +0000 (07:44 +0200)]
Import qt6-base_6.6.2+dfsg-9.debian.tar.xz

[dgit import tarball qt6-base 6.6.2+dfsg-9 qt6-base_6.6.2+dfsg-9.debian.tar.xz]

18 months agoMerge qt6-base (6.6.2+dfsg-8) import into refs/heads/workingbranch
Patrick Franz [Thu, 6 Jun 2024 16:11:40 +0000 (18:11 +0200)]
Merge qt6-base (6.6.2+dfsg-8) import into refs/heads/workingbranch

18 months agoDon't use yield on CPUs that might not support it
Debian Qt/KDE Maintainers [Thu, 6 Jun 2024 16:11:40 +0000 (18:11 +0200)]
Don't use yield on CPUs that might not support it

Gbp-Pq: Name armel-noyield.patch

18 months agoEnable skipping plugins search at build time.
Lisandro Damián Nicanor Pérez Meyer [Thu, 6 Jun 2024 16:11:40 +0000 (18:11 +0200)]
Enable skipping plugins search at build time.

Forwarded: not-needed

This patch sets
QT_SKIP_AUTO_PLUGIN_INCLUSION and QT_SKIP_AUTO_QML_PLUGIN_INCLUSION to ON
by default, thus avoiding unnecesary build dependencies on plugins.

The variables can still be set to OFF by the user at build time, allowing
them to find the packages if necessary. But if you need so for a Debian
package please reach the Qt maintainers first. We want to know why you
need to do so. Thanks in advance!

Gbp-Pq: Name enable_skip_plugins.patch

18 months agoChange how stack grows on HPPA.
John David Anglin [Thu, 6 Jun 2024 16:11:40 +0000 (18:11 +0200)]
Change how stack grows on HPPA.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28

On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.

Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch

18 months agoremove RPATH/RUNPATH from examples' binaries.
Lisandro Damián Nicanor Pérez Meyer [Thu, 6 Jun 2024 16:11:40 +0000 (18:11 +0200)]
remove RPATH/RUNPATH from examples' binaries.

Forwarded: not-needed
Last-Update: 2024-02-15

On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.

Gbp-Pq: Name remove_rpath_from_examples.patch

18 months agocross
Debian Qt/KDE Maintainers [Thu, 6 Jun 2024 16:11:40 +0000 (18:11 +0200)]
cross

Gbp-Pq: Name cross.patch