qt4-x11.git
7 years agoPermit loading plugins built with future major Qt releases (4.x)
Modestas Vainius [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
Permit loading plugins built with future major Qt releases (4.x)

This check is too paranoid for us because it prevents from using symbol files
in full potential. Fine-grained package level dependencies should ensure that
the required version of the Qt Library is installed which might not necessarily
be the latest Qt 4.x the plugin was built against because the plugin actually
did not use any of new symbols in the Qt Library.

However, removal of this check might still increase likelihood of crashes when:

1) loading a new incompatible version of plugin into a running process still
using an old Qt Library. This might happen right after upgrade;

2) user tries to load incompatible non-packaged plugin;

but it's an acceptable compromise. Here we trade more bullet proof protection
from rare user faults or weird system misconfigurations for more flexibility,
installability and expand of forward binary compatibility beyond the same Qt
4.x whenever possible.

Gbp-Pq: Name 23_permit_plugins_built_with_future_qt.diff

7 years ago_install_qvfb
Debian Qt/KDE Maintainers [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
_install_qvfb

Gbp-Pq: Name 20_install_qvfb.diff

7 years ago_enable_qt3support_qtwebkit_debug_info
Debian Qt/KDE Maintainers [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
_enable_qt3support_qtwebkit_debug_info

On Qt >= 4.5, debug info are disabled for Qt3Support and QtWebkit.
This patch enable them.

Gbp-Pq: Name 18_enable_qt3support_qtwebkit_debug_info.diff

7 years ago_hide_std_symbols_on_qtwebkit
Debian Qt/KDE Maintainers [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
_hide_std_symbols_on_qtwebkit

Solution based on the work of Mike Hommey in the gtk webkit package.
Author: Sune Vuorela <debian@pusling.com>

Gbp-Pq: Name 16_hide_std_symbols_on_qtwebkit.diff

7 years ago_fix_qmake_makefile_generation
Debian Qt/KDE Maintainers [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
_fix_qmake_makefile_generation

Gbp-Pq: Name 15_fix_qmake_makefile_generation.diff

7 years ago_add_nostrip_for_debug_packages
Debian Qt/KDE Maintainers [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
_add_nostrip_for_debug_packages

Qt is built in release mode and strip files by default.
Set CONFIG+=nostrip to avoid the stripping and
let dh_strip do it to generate debug packages.

Gbp-Pq: Name 12_add_nostrip_for_debug_packages.diff

7 years ago_build_translations
Debian Qt/KDE Maintainers [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
_build_translations

translations fails to build under autobuilders.
Use case: Qt sources comes from git and we need to build them.

Gbp-Pq: Name 11_build_translations.diff

7 years ago_config_tests_fixes
Debian Qt/KDE Maintainers [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
_config_tests_fixes

Gbp-Pq: Name 10_config_tests_fixes.diff

7 years ago_configure_quilt_compat
Debian Qt/KDE Maintainers [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
_configure_quilt_compat

Avoid '.pc' directories created by quilt.
It breaks qmake projects search.

Gbp-Pq: Name 08_configure_quilt_compat.diff

7 years ago_trust_dpkg-arch_over_uname-m
Debian Qt/KDE Maintainers [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
_trust_dpkg-arch_over_uname-m

qt-bugs@ issue : N180631
Trolltech task ID : 181882

Gbp-Pq: Name 07_trust_dpkg-arch_over_uname-m.diff

7 years agoset sane timestamps when generating header symlinks for non-existing headers
Modestas Vainius [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
set sane timestamps when generating header symlinks for non-existing headers

This is particularly important for QtCore/QtConfig symlink because typically
qconfig.h does not exist when syncqt is run by ./configure. So instead of
assigning a modification timestamp equal to the epoch (00:00 January 1, 1970
GMT.) for the symlink, just use current time().

Gbp-Pq: Name 02_syncqt_sane_timestamp_for_nonexisting_headers.diff

7 years agobuildable_appchooser_states_demos
Debian Qt/KDE Maintainers [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
buildable_appchooser_states_demos

Gbp-Pq: Name buildable_appchooser_states_demos.patch

7 years agoqtdebug_syslog
Debian Qt/KDE Maintainers [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
qtdebug_syslog

Gbp-Pq: Name qtdebug_syslog.patch

7 years agoWhen tabs are inserted or removed in a QTabBar, QTabBarPrivate::refresh() is called...
Robert Knight [Sun, 20 Apr 2008 14:28:31 +0000 (16:28 +0200)]
When tabs are inserted or removed in a QTabBar, QTabBarPrivate::refresh() is called to update the layout. If the tabbar widget is hidden, this just sets a boolean variable (layoutDirty) and returns, so the parent widget's layout is not notified about the possible geometry change.

Prior to Qt 4.4 this was not a problem because the geometry was
recalculated in QTabBar::sizeHint() if the layoutDirty variable was
set.  In Qt 4.4 however the layout caches size hint information in
QWidgetItemV2.  Since the cache information is not invalidated, the
layout may end up using out-of-date size hint information to compute
the widget size.

If the QTabBar is empty when QTabBar::sizeHint() is called, it will
return a size with a height of 0, which will be kept in the cache and
so the tab bar will never be shown.

This patch fixes the problem by calling updateGeometry() whenever the
tab bar's layout is refreshed.

qt-bugs@ issue : 208185
Trolltech task ID : 208349
bugs.kde.org number : 159014

Gbp-Pq: Name 0225-invalidate-tabbar-geometry-on-refresh.patch

7 years agoThis patch makes override-redirect windows (popup menu, dropdown menu, tooltip, combo...
Lubos Lunak [Tue, 2 Oct 2007 14:08:32 +0000 (16:08 +0200)]
This patch makes override-redirect windows (popup menu, dropdown menu, tooltip, combobox, etc.) also have more window properties like WM_CLASS, so they can be used when compositing.

qt-bugs@ issue : none
bugs.kde.org number : none

Gbp-Pq: Name 0195-compositing-properties.diff

7 years agoreplace_timestamps_with_fixed_date_in_qhelpgenerator
Debian Qt/KDE Maintainers [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
replace_timestamps_with_fixed_date_in_qhelpgenerator

 [1] https://codereview.qt-project.org/#/c/106296/
Author: Eduard Sanou <dhole@openmailbox.org>

Gbp-Pq: Name replace_timestamps_with_fixed_date_in_qhelpgenerator.patch

7 years agoplugin_system_for_systemtray
Debian Qt/KDE Maintainers [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
plugin_system_for_systemtray

Introduce a plugin system for QSystemTrayIcon. Designed to be used with sni-qt
(https://launchpad.net/sni-qt)

Gbp-Pq: Name plugin_system_for_systemtray.patch

7 years agoAdd qatomic support for AArch64 (aka arm64).
Lisandro Damián Nicanor Pérez Meyer [Sat, 15 Mar 2014 18:40:49 +0000 (15:40 -0300)]
Add qatomic support for AArch64 (aka arm64).

Patch by Mark Salter <msalter@redhat.com>
licensed under BSD:

<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735488#195>

This patch is known to not be the most correct way
to implement them, as it seems to be possible to do it in a faster way,
but should work non the less until we can provide something better.

Change-Id: Ib392b27dc54691fd4c2ea9896240ad71fb8128cc

Gbp-Pq: Name aarch64_arm64_qatomic_support.patch

7 years agoBetter handling of invalid font tables
Eskil Abrahamsen Blomfeldt [Fri, 10 Jul 2015 11:22:32 +0000 (13:22 +0200)]
Better handling of invalid font tables

Specifically when reading files with broken cmap tables, we could
get some undeterministic results. We handle this more gracefully
by verifying that the offsets are sane and bailing out early if not.
This replaces the current pattern throughout the font engine for
consistency.

This is a back-port of 4a1e5dbade4bab55f39bd368480dcca9a11e4b38
from Qt 5.

Change-Id: If4172b9ef0808801c8e27ffaad962535afe572ed
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Gbp-Pq: Name Better-handling-of-invalid-font-tables.patch

7 years agoxmlpatterns_stack_overflow_fix
Debian Qt/KDE Maintainers [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
xmlpatterns_stack_overflow_fix

commit d1b17740ed4d9b1e3c3ad5898bb8259969dc77df
Author: Kamil Rojewski <kamil.rojewski@gmail.com>
Date:   Wed Aug 13 10:38:38 2014 +0200

    fix for stack overflow

    Recursion in item mapping iterator caused a stack
    overflow for large datasets.

    Task-number: QTBUG-40153
    Change-Id: I693798de0ecfd3a920a3dd270172ce7ec3c13d8d
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Gbp-Pq: Name xmlpatterns_stack_overflow_fix.diff

7 years agoDon't crash on broken GIF images
Lars Knoll [Thu, 24 Apr 2014 13:33:27 +0000 (15:33 +0200)]
Don't crash on broken GIF images

Broken GIF images could set invalid width and height
values inside the image, leading to Qt creating a null
QImage for it. In that case we need to abort decoding
the image and return an error.

Initial patch by Rich Moore.

Backport of Id82a4036f478bd6e49c402d6598f57e7e5bb5e1e from Qt 5

Task-number: QTBUG-38367
Change-Id: I0680740018aaa8356d267b7af3f01fac3697312a
Security-advisory: CVE-2014-0190

Gbp-Pq: Name dont_crash_on_broken_gif_images.patch

7 years agoFix logic for figuring out what ConfigureNotify positions can be trusted
Owen W. Taylor [Mon, 17 Oct 2011 21:27:43 +0000 (17:27 -0400)]
Fix logic for figuring out what ConfigureNotify positions can be trusted

When reading ahead in the queue for ConfigureNotify events, it's necessary
to look for intermediate ReparentNotify events as well, since they will
determine whether the position in the event can be trusted or not.

Bug: https://bugreports.qt.nokia.com/browse/QTBUG-21900

Gbp-Pq: Name QTBUG-21900_Buttons_in_Qt_applications_not_clickable_when_run_under_gnome-shell.patch

7 years agoAdd_support_for_QT_USE_DRAG_DISTANCE_env_var
Debian Qt/KDE Maintainers [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
Add_support_for_QT_USE_DRAG_DISTANCE_env_var

from QT_USE_DRAG_DISTANCE environment variable.
See also http://bugreports.qt.nokia.com/browse/QTBUG-12594
Author: Joonas Tanskanen <joonas.tanskanen@sasken.com>

Gbp-Pq: Name Add_support_for_QT_USE_DRAG_DISTANCE_env_var.patch

7 years agoqt4-x11 (4:4.8.7+dfsg-17) unstable; urgency=medium
Lisandro Damián Nicanor Pérez Meyer [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
qt4-x11 (4:4.8.7+dfsg-17) unstable; urgency=medium

  * Add fix-build-icu59.patch from OpenSuse. Fixes build with icu59
   (Closes: #898542). Thanks John Paul Adrian Glaubitz for digging the
   patch!
  * Put the source package in section oldlibs. We do not expect new
    developments with qt4-x11.
  * Update Vcs-[Git Browser] to the new location in salsa.debian.org.

[dgit import unpatched qt4-x11 4:4.8.7+dfsg-17]

7 years agoImport qt4-x11_4.8.7+dfsg-17.debian.tar.xz
Lisandro Damián Nicanor Pérez Meyer [Tue, 15 May 2018 16:24:10 +0000 (17:24 +0100)]
Import qt4-x11_4.8.7+dfsg-17.debian.tar.xz

[dgit import tarball qt4-x11 4:4.8.7+dfsg-17 qt4-x11_4.8.7+dfsg-17.debian.tar.xz]

10 years agoImport qt4-x11_4.8.7+dfsg.orig.tar.xz
Lisandro Damián Nicanor Pérez Meyer [Tue, 26 May 2015 12:18:39 +0000 (13:18 +0100)]
Import qt4-x11_4.8.7+dfsg.orig.tar.xz

[dgit import orig qt4-x11_4.8.7+dfsg.orig.tar.xz]