Debian Codegraph @

debian/patches/

29 patches in series

  1. mime_globs.diff
    When multiple globs match, and the result from magic sniffing is unrelated to any of those globs, globs have priority and one of them should be picked up.
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=0cbbba2aa5b47224
    Last update
    2021-06-12
  2. fusion_checkable_qpushbutton.diff
    The fusion style did ignore the QIcon::On icon because it reset State_On to avoid the visual shift of a pressed button. But it's not needed to reset this flag - the shift does not happen because the fusion style does return 0 as offset for PM_ButtonShiftHorizontal/PM_ButtonShiftVertical so no shifting will happen.
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=e9ccdf4d84157173
    Last update
    2021-08-10
  3. openssl3.diff
    Origin
    upstream: commits https://code.qt.io/cgit/qt/qtbase.git/commit/?id=3186ca3e3972cf46 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=408656c6f9de326c
    Last update
    2023-10-17
  4. qmenu_set_transient_parent.diff
    On some platforms, such as X11 and Wayland with some compositors, QMenu could be a popup window, which should be set a transient parent to get relative position, which is requested by Wayland. Added transientParentWindow() for QMenuPrivate like QDialogPrivate.
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=493a85a9e4688744
    Last update
    2022-10-16
  5. gnome_wayland.diff
    Qt wayland platform plugin has improved quite a lot and it is now pretty much usable on Gnome. It also improves user experience a lot on HiDPI displays.
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=dda7dab8274991e4
    Last update
    2022-10-16
  6. qshapedpixmapwindow_no_tooltip.diff
    This hint is not really needed in the first place and only causes problems in some environments. For example in KDE, the compositor animates changes in position and size for all ToolTip windows. However, this is not wanted here because we use this window as a thumbnail for a drag-and-drop operation. Before this patch the dragged element would lag significantly behind the cursor. Now it works as expected, i.e. the dragged element follows the cursor immediately.
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=180b496b537089b8
    Bug
    https://bugreports.qt.io/browse/QTBUG-98048
    Last update
    2023-05-20
  7. sql_odbc_more_unicode_checks.diff
    Since ODBC does not have a direct way finding out if unicode is supported by the underlying driver the ODBC plugin does some checks. As a last resort a sql statement is executed which returns a string. But even this may fail because the select statement has no FROM part which is rejected by at least Oracle does not allow. Therefore add another query which is correct for Oracle & DB2 as a workaround. The question why the first three statements to check for unicode availability fail is still open but can't be checked since I've no access to an oracle database.
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=f19320748d282b1e
    Last update
    2024-05-25
  8. a11y_root.diff
    Accessibility actually works when running applications as root, but we would never properly connect, since the enabledChanged signal would be emitted from the constructor in this case. So after connecting the signal, check the value by hand to make sure not to miss the notification. Only applications running as root would be affected, because all other applications would go through the asynchronous pattern of getting the bus address from dbus instead.
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=db346e711c9af505
    Bug
    https://bugs.debian.org/1033995
    Last update
    2023-04-15
  9. dont_use_O_PATH.diff
    Using O_PATH requires correctly specifying whether the fd is writable or not. Stating that the fd is writable without it actually being writable results into rejection on xdg-desktop-portal side. Other implementations like xdg-open or gtk have also moved away from O_PATH fds so this will make a matching implementation and avoid possible rejections from xdp.
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=03cbcba7b2b0e42a
    Last update
    2023-05-13
  10. loongarch.diff
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=bdc16f086f1664b5
    Last update
    2024-03-09
  11. revert_statusnotifierhost_checking.diff
    The original commit was made based on a KDE workaround for libdbusmenu-qt crash, but Qt is not using libdbusmenu-qt, Qt is not watching for StatusNotifierHost registration and Qt is not capable to switch backends on the fly leading to tray support being not detected on Plasma Wayland sessions and falling back to the poor legacy protocol on X11.
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=447f3ade9a284d52
    Last update
    2024-07-24
  12. dont_fallback_to_x11_tray_on_non_x11.diff
    This allows to have system tray support on the fly on Wayland at least where only QDBusTrayIcon is possible and no need to fallback to QSystemTrayIconSys
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=f6cd286e6609cfbf
    Last update
    2024-07-24
  13. check_dbus_tray_availability_every_time.diff
    It could appear in runtime, this allows applications to watch for it themselves and re-create QSystemTrayIcon as needed.
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=3c93dedc063bf453
    Last update
    2024-07-24
  14. qreadwritelock_data_race.diff
    The loadRelaxed() at the beginning of tryLockForRead/tryLockForWrite isn't enough to bring us the non-atomic write of the recursive bool. Same issue with the std::mutex itself.
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit?id=80d01c4ccb697b9d
    Last update
    2025-12-14
  15. qreadwritelock_data_race_2.diff
    The fix changes the relaxed load of d_ptr in lockFor{Read,Write} after the acquire of the mutex to an acquire load, to establish synchronization with the release store of d_ptr when converting from an uncontended lock to a contended lock.
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit?id=4fd88011fa7975ce
    Last update
    2025-12-14
  16. dont_use_physical_dpi.diff
    Returning physical DPI from logicalDpi() is problematic, as explained in commit 77e04acb. The most predictable implementation is to never return physical DPI from QPlaformScreen::logicalDpi(). Other platform plugins already do this, and this change brings xcb in line with the rest of Qt. We have the QPlatformScreen::physicalSize() API which covers returning physical DPI (indirectly); Options for selecting which one to use can be implemented on top of these (see QT_USE_PHYSICAL_DPI).
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit?id=7238123521708ec9
    Last update
    2025-12-31
  17. revert_simplify_locking.diff
    This reverts commit c5d6b263c204cb09db2be36826e19acb03dc24fb. The commit being reverted assumes the mutex is only protecting 'nameMap' and nothing else is mutable, which is false. The mutex is not only protecting 'nameMap' but also protecting the containing value objects, since even though the value object is accessed read-only, its implementation mutates its internal states for 2-way conversion between ByteArray and QString. Commit 85e61297f7b02297641826332dbdbc845a88c34b ("restore QProcessEnvironment shared data thread safety on unix") said that implicit sharing together with 'mutable' is a time bomb and the bomb is triggered by the reverted commit.
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit?id=080d61c020678b75
    Last update
    2026-01-29
  18. balign.diff
    It is architecture defined whether .align means .palign or .balign. Use .balign to make that explicit.
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit?id=47a4e6a9497b068a
    Last update
    2026-05-05
  19. asn1_time_to_tm.diff
    OpenSSL 1.1.1 has a convenient function for parsing ASN.1 times; use that instead of the hand-rolled code.
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=0e240204b59c3398
    Last update
    2026-06-10
  20. openssl4.diff
    OpenSSL 4 now uses const in logical cases across its X.509 API; this patch updates Qt's TLS backend to compile against both 3.x and 4.x. To do this QT_OPENSSL4_CONST macro (expands to `const` on OpenSSL >= 4, empty otherwise) is introduced for functions which changed in OpenSSL 4. There were pre-existing functions that were already const in OpenSSL 3 but were declared without const in Qt's wrapper layer - they have now been fixed with plain const. ASN1_STRING was made opaque in OpenSSL 4, so replace direct access with use of accessor functions through the wrappers.
    Origin
    upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=e806630e694d89f5
    Last update
    2026-06-10
  21. no_htmlinfo_example.diff
    Author
    Dmitry Shachnev <[email protected]>
    Forwarded
    not-needed
    Last update
    2014-12-17
  22. link_fbclient.diff
    Author
    Fathi Boudra <[email protected]>
    Forwarded
    no
    Last update
    2017-06-30
  23. path_max.diff
    Use a "safe" size in case PATH_MAX is not defined; in the end, this should not be used, as a allocating realpath() will be used instead.
    Author
    Pino Toscano <[email protected]>
    Forwarded
    no
    Last update
    2020-04-19
  24. qstorageinfo_linux.diff
    The QStorageInfo/QStorageIterator implementation used for Linux is used also on Hurd, as it uses an interface provided by GNU libc. QStorageIterator::device() tries to use PATH_MAX (unavailable on the Hurd) to lookup a /dev/block/ path, which exists on Linux only; hence, perform that check within a Q_OS_LINUX block.
    Author
    Pino Toscano <[email protected]>
    Forwarded
    no
    Last update
    2020-04-19
  25. cross_build_mysql.diff
    Qt's build system calls mysql_config... which won't work in a cross build environment like Debian's, as it will throw an exec format error. In order to solve this call pkgconfig and use mysqlclient.pc.
    Author
    Helmut Grohne <[email protected]>
    Reviewed-by
    Lisandro Damián Nicanor Pérez Meyer <[email protected]>
    Forwarded
    not-needed
    Debian bug
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
    Last update
    2026-05-27
  26. cast_types_for_egl_x11_test.diff
    Author
    Rex Dieter <[email protected]>
    Origin
    https://src.fedoraproject.org/rpms/qt5-qtbase/blob/rawhide/f/qtbase-everywhere-src-5.15.2-libglvnd.patch
dir..
file a11y_root.diff
file asn1_time_to_tm.diff
file balign.diff
file cast_types_for_egl_x11_test.diff
file check_dbus_tray_availability_every_time.diff
file cross_build_mysql.diff
file dont_fallback_to_x11_tray_on_non_x11.diff
file dont_use_O_PATH.diff
file dont_use_physical_dpi.diff
file fusion_checkable_qpushbutton.diff
file gnome_wayland.diff
file gnukfreebsd_linker_warnings.diff
file link_fbclient.diff
file loongarch.diff
file mime_globs.diff
file no_htmlinfo_example.diff
file openssl3.diff
file openssl4.diff
file path_max.diff
file qdoc_default_incdirs.diff
file qmenu_set_transient_parent.diff
file qreadwritelock_data_race.diff
file qreadwritelock_data_race_2.diff
file qshapedpixmapwindow_no_tooltip.diff
file qstorageinfo_linux.diff
file remove_privacy_breaches.diff
file revert_simplify_locking.diff
file revert_statusnotifierhost_checking.diff
file series
file sql_odbc_more_unicode_checks.diff