qt4-x11.git
6 years agoMerge version 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1+rpi1 and 4:4.8.6+git64-g5dc8b2b... jessie-staging archive/raspbian/4%4.8.6+git64-g5dc8b2b+dfsg-3+deb8u2+rpi1 raspbian/4%4.8.6+git64-g5dc8b2b+dfsg-3+deb8u2+rpi1
Raspbian automatic forward porter [Thu, 30 May 2019 21:18:50 +0000 (22:18 +0100)]
Merge version 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1+rpi1 and 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u2 to produce 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u2+rpi1

6 years agoMerge qt4-x11 (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u2) import into refs/heads/workingbranch
Mike Gabriel [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
Merge qt4-x11 (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u2) import into refs/heads/workingbranch

6 years agoFix crash when parsing malformed url reference
Eirik Aavitsland [Mon, 9 Jul 2018 08:45:22 +0000 (10:45 +0200)]
Fix crash when parsing malformed url reference

The parsing did not check for end of input.

Change-Id: I56a478877d242146395977b767511425d2b8ced1
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Gbp-Pq: Name cve_2018-19869.patch

6 years agoTGA handler: check for out of range image size
Eirik Aavitsland [Fri, 24 Aug 2018 10:03:00 +0000 (12:03 +0200)]
TGA handler: check for out of range image size

Make the decoder fail early to avoid spending time and memory on
attempting to decode a corrupt image file.

Change-Id: Iac35e72de743f412a65d11c58fe7faa275dc4e41
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Gbp-Pq: Name cve_2018-19871.patch

6 years agobmp image handler: check for out of range image size
Eirik Aavitsland [Tue, 4 Sep 2018 09:08:06 +0000 (11:08 +0200)]
bmp image handler: check for out of range image size

Make the decoder fail early to avoid spending time and memory on
attempting to decode a corrupt image file.

Change-Id: I874e04f3b43122d73f8e58c7a5bcc4a741b68264
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Gbp-Pq: Name cve_2018-19873.patch

6 years agoCheck for QImage allocation failure in qgifhandler
Eirik Aavitsland [Fri, 3 Aug 2018 11:25:15 +0000 (13:25 +0200)]
Check for QImage allocation failure in qgifhandler

Since image files easily can be (or corrupt files claim to be) huge,
it is worth checking for out of memory situations.

Change-Id: I635a3ec6852288079fdec4e14cf7e776fe59e9e0
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Gbp-Pq: Name cve_2018-19870.patch

6 years agoFix possible heap corruption in QXmlStream
Allan Sandfeld Jensen [Mon, 13 Aug 2018 13:29:16 +0000 (15:29 +0200)]
Fix possible heap corruption in QXmlStream

The value of 'tos' at the check might already be on the last element,
so triggering stack expansion on the second last element is too late.

Change-Id: Ib3ab2662d4d27a71effe9e988b9e172923af2908
Reviewed-by: Richard J. Moore <rich@kde.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name cve_2018-15518.patch

6 years agocve-2015-0295
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
cve-2015-0295

Gbp-Pq: Name cve-2015-0295.diff

6 years agoAdd configure support for ppc64el
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
Add configure support for ppc64el

This patch was originally introduced [1] and rebased [2] in Ubuntu Trusty [3].

Some chunks were changed/removed on Debian:
  - The DPKG_ARCH / UNAME_MACHINE mapping is actually Debian-specific, and done
    in another patch; so this chunk is now there.
  - The 'PLATFORM=qws/linux-*-g++' setting is not required; ppc64el builds fine
    with the default 'linux-generic-g++'  (the difference to the previously set
    'linux-x86_64-g++' is just '-m64', which is default/only-option on ppc64el).

[1] http://launchpadlibrarian.net/159898800/qt4-x11_4:4.8.4+dfsg-0ubuntu20_4:4.8.4+dfsg-0ubuntu21.diff.gz
[2] http://launchpadlibrarian.net/162331250/qt4-x11_4:4.8.4+dfsg-0ubuntu22_4:4.8.5+git192-g085f851+dfsg-2ubuntu1.diff.gz
[3] https://launchpad.net/ubuntu/+source/qt4-x11/+changelog

Gbp-Pq: Name ppc64el_configure_support.patch

6 years agoparisc-atomic
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
parisc-atomic

Gbp-Pq: Name parisc-atomic.patch

6 years agoremove_addsense
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
remove_addsense

Gbp-Pq: Name remove_addsense.patch

6 years agoBuild HTML documentation suited for offline usage
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
Build HTML documentation suited for offline usage

Currently, the generated documentation includes a search box which relies on an
external search service, and which does not work for local usage. Therefore, the
generated search box does not work and confuses users, so it is best to build
the documentation in offline format which does not include the search box, but
does also not confuse users.

Gbp-Pq: Name qtdoc-build-offline-docs.patch

6 years agoqt-everywhere-opensource-src-4.8.5-QTBUG-22829
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
qt-everywhere-opensource-src-4.8.5-QTBUG-22829

Gbp-Pq: Name qt-everywhere-opensource-src-4.8.5-QTBUG-22829.patch

6 years agoQTBUG-25324_assistant_segfault_on_start_with_gcc_4.7
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
QTBUG-25324_assistant_segfault_on_start_with_gcc_4.7

Gbp-Pq: Name QTBUG-25324_assistant_segfault_on_start_with_gcc_4.7.patch

6 years agono_libicu_message
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
no_libicu_message

Gbp-Pq: Name no_libicu_message.diff

6 years agoadd_missing_method_for_QBasicAtomicPointer_on_s390
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
add_missing_method_for_QBasicAtomicPointer_on_s390

Gbp-Pq: Name add_missing_method_for_QBasicAtomicPointer_on_s390.patch

6 years agos390x_jscore
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
s390x_jscore

Gbp-Pq: Name s390x_jscore.diff

6 years agoqt-multiarch-plugin-path-compat
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
qt-multiarch-plugin-path-compat

Gbp-Pq: Name qt-multiarch-plugin-path-compat.diff

6 years agoworkaround FTBFS on powerpc/gcc 4.6 in signalsloteditor
Modestas Vainius [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
workaround FTBFS on powerpc/gcc 4.6 in signalsloteditor

This should workaround g++-4.6/powerpc ICE that is related to dwarf2 [1][2].
It is very likely the patch will not be needed long term as the gcc bug might
eventually be fixed.

[1] .moc/release-shared/qteditorfactory.moc:237:1: internal compiler error: in size_of_die, at dwarf2out.c:10749
Please submit a full bug report,
with preprocessed source if appropriate.

[2] https://buildd.debian.org/status/fetch.php?pkg=qt4-x11&arch=powerpc&ver=4%3A4.7.2-4&stamp=1304320067

Gbp-Pq: Name powerpc_designer_gstabs.diff

6 years agoFix monotonic clock detection on kFreeBSD
Modestas Vainius [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
Fix monotonic clock detection on kFreeBSD

Fix monotonic clock detection on kFreeBSD at configure time. This will finally
enable it in QElapsedTimer.

QProcess::waitForFinished() and all other qt_safe_select() users cannot safely
operate without monotonic clock because qt_safe_select() will indicate timeout
earlier than it is supposed when underlying select() call is interrupted
(errno=EINTR).

Gbp-Pq: Name kfreebsd_monotonic_clock.diff

6 years agosh
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
sh

Gbp-Pq: Name sh.diff

6 years agopowerpcspe
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
powerpcspe

Gbp-Pq: Name powerpcspe.diff

6 years ago_hppa_bug561203_decrease_failure_rate
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
_hppa_bug561203_decrease_failure_rate

~1/1000 when run in a row. Hopefully, this will make failures rare enough
 not to cause FTBFSes.
 Degradation in performance should not be very significant and is acceptable.
Author: Modestas Vainius <modax@debian.org>
Author: Fathi Boudra <fabo@debian.org>
Forwarded: not-needed
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561203
Origin: vendor
Last-Update: 2011-12-26

Gbp-Pq: Name 99_hppa_bug561203_decrease_failure_rate.diff

6 years ago_webkit_no_gc_sections
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
_webkit_no_gc_sections

Gbp-Pq: Name 96_webkit_no_gc_sections.diff

6 years ago_armv6_uname_entry
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
_armv6_uname_entry

Gbp-Pq: Name 94_armv6_uname_entry.diff

6 years agoRestore QtCore ABI compatibility with binaries built with g++ 4.3 on armel Once Qt...
Modestas Vainius [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
Restore QtCore ABI compatibility with binaries built with g++ 4.3 on armel Once Qt is rebuilt with g++ 4.4, it becomes ABI incompatible with binaries built with g++ 4.3 on armel. That's because g++ 4.4 mangles va_list differently on armel. As a result, affected symbols are those which have va_list type in their argument list. Qt exports 2 such symbols: . qvsnprintf(char *str, size_t n, const char *fmt, va_list ap); QString &QString::vsprintf(const char* cformat, va_list ap); . The patch uses .symver assembler directive to add aliases for the symbols above. Those aliases are mangled in the same way as g++ 4.3 would mangle original symbols.

Gbp-Pq: Name 92_armel_gcc43_valist_compat.diff

6 years ago_hurd_max_path
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
_hurd_max_path

Gbp-Pq: Name 80_hurd_max_path.diff

6 years ago_hppa_unaligned_access_fix_458133
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
_hppa_unaligned_access_fix_458133

Fix unaligned access on hppa

Gbp-Pq: Name 71_hppa_unaligned_access_fix_458133.diff

6 years ago_hppa_ldcw_fix
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
_hppa_ldcw_fix

patch from Ubuntu to properly support hppa.

Gbp-Pq: Name 70_hppa_ldcw_fix.diff

6 years ago_kfreebsd_strnstr_build_fix
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
_kfreebsd_strnstr_build_fix

Gbp-Pq: Name 51_kfreebsd_strnstr_build_fix.diff

6 years ago_kfreebsd_Q_OS
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
_kfreebsd_Q_OS

Gbp-Pq: Name 50_kfreebsd_Q_OS.diff

6 years ago_disable_opengl_visibility
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
_disable_opengl_visibility

temporary fix because of alpha, has to be dropped as soon as gcc's bug is fixed.

Gbp-Pq: Name 41_disable_opengl_visibility.diff

6 years ago_alpha_ice
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
_alpha_ice

Gbp-Pq: Name 40_alpha_ice.diff

6 years agoFixed some alignment problems on sparc
Mike Hommey [Sun, 6 Jul 2008 06:37:28 +0000 (08:37 +0200)]
Fixed some alignment problems on sparc

Fixed some alignment problems on sparc

(and some that might occur on arm, too).

Some compiler warnings about alignment remain, but I don't know if they are
a real problem yet.

Gbp-Pq: Name 30_webkit_unaligned_access.diff

6 years agoPermit loading plugins built with future major Qt releases (4.x)
Modestas Vainius [Tue, 7 May 2019 07:14:21 +0000 (08:14 +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

6 years ago_install_qvfb
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
_install_qvfb

Gbp-Pq: Name 20_install_qvfb.diff

6 years ago_enable_qt3support_qtwebkit_debug_info
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +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

6 years ago_hide_std_symbols_on_qtwebkit
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +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

6 years ago_fix_qmake_makefile_generation
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
_fix_qmake_makefile_generation

Gbp-Pq: Name 15_fix_qmake_makefile_generation.diff

6 years ago_add_nostrip_for_debug_packages
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +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

6 years ago_build_translations
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +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

6 years ago_config_tests_fixes
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
_config_tests_fixes

Gbp-Pq: Name 10_config_tests_fixes.diff

6 years ago_configure_quilt_compat
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
_configure_quilt_compat

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

Gbp-Pq: Name 08_configure_quilt_compat.diff

6 years ago_trust_dpkg-arch_over_uname-m
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +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

6 years agoset sane timestamps when generating header symlinks for non-existing headers
Modestas Vainius [Tue, 7 May 2019 07:14:21 +0000 (08:14 +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

6 years agobuildable_appchooser_states_demos
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
buildable_appchooser_states_demos

Gbp-Pq: Name buildable_appchooser_states_demos.patch

6 years agoqtdebug_syslog
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
qtdebug_syslog

Gbp-Pq: Name qtdebug_syslog.patch

6 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

6 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

6 years agofix_libmng_test
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
fix_libmng_test

Gbp-Pq: Name fix_libmng_test.patch

6 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

6 years agomkspecs for AArch64 (aka arm64).
Lisandro Damián Nicanor Pérez Meyer [Sat, 15 Mar 2014 18:35:00 +0000 (15:35 -0300)]
mkspecs for AArch64 (aka arm64).

Patch by Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
licensed under either Public Domain or BSD:

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

Change-Id: I21f17953234cfb176bac023e52ecdc927fc5c1a9

Gbp-Pq: Name aarch64_arm64_mkspecs.patch

6 years agoFix AArch64/arm64 detection.
Lisandro Damián Nicanor Pérez Meyer [Wed, 20 Aug 2014 20:52:49 +0000 (17:52 -0300)]
Fix AArch64/arm64 detection.

The detection needs to go before arm, else the system will detect AArch64/arm64
as arm.

This patch comes from Wookey, he has agreed to put it under BSD or Expat
to allow it's inclusion in here:
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735488#255>

Change-Id: Ic2171c03fca8bb871347940fa3a2bc467776f797

Gbp-Pq: Name aarch64_arm64_fix_arch_detection.patch

6 years agoFixes crash in gif image decoder
Eirik Aavitsland [Wed, 11 Mar 2015 08:00:41 +0000 (09:00 +0100)]
Fixes crash in gif image decoder

Fuzzing test revealed that for certain malformed gif files,
qgifhandler would segfault.

Change-Id: I5bb6f60e1c61849e0d8c735edc3869945e5331c1
(cherry picked from qtbase/ea2c5417fcd374302f5019e67f72af5facbd29f6)
Reviewed-by: Richard J. Moore <rich@kde.org>
Gbp-Pq: Name fixes_crash_in_gif_image_decoder.patch

6 years agoFixes crash in bmp and ico image decoding
Eirik Aavitsland [Wed, 11 Mar 2015 12:34:01 +0000 (13:34 +0100)]
Fixes crash in bmp and ico image decoding

Fuzzing test revealed that for certain malformed bmp and ico files,
the handler would segfault.

Change-Id: I19d45145f31e7f808f7f6a1a1610270ea4159cbe
(cherry picked from qtbase/2adbbae5432aa9d8cc41c6fcf55c2e310d2d4078)
Reviewed-by: Richard J. Moore <rich@kde.org>
Gbp-Pq: Name fixes_crash_in_bmp_and_ico_image_decoder.patch

6 years agoxmlpatterns_stack_overflow_fix
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +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

6 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

6 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

6 years agoAdd_support_for_QT_USE_DRAG_DISTANCE_env_var
Debian Qt/KDE Maintainers [Tue, 7 May 2019 07:14:21 +0000 (08:14 +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

6 years agoqt4-x11 (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u2) jessie-security; urgency=medium
Mike Gabriel [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
qt4-x11 (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u2) jessie-security; urgency=medium

  * Non-maintainer upload by the LTS team.
  * CVE-2018-15518: Fix a double-free or corruption during parsing
    of a specially crafted illegal XML document.
  * CVE-2018-19870: A malformed GIF image might have caused a NULL
    pointer dereference in QGifHandler resulting in a segmentation fault.
  * CVE-2018-19873: QBmpHandler had a buffer overflow via BMP data.
  * CVE-2018-19871: TGA handler: check for out of range image size
    Make the decoder fail early to avoid spending time and memory on
    attempting to decode a corrupt image file.
  * CVE-2018-19869:  Fix crash when parsing malformed url reference, The
    parsing did not check for end of input.

[dgit import unpatched qt4-x11 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u2]

6 years agoImport qt4-x11_4.8.6+git64-g5dc8b2b+dfsg-3+deb8u2.debian.tar.xz
Mike Gabriel [Tue, 7 May 2019 07:14:21 +0000 (08:14 +0100)]
Import qt4-x11_4.8.6+git64-g5dc8b2b+dfsg-3+deb8u2.debian.tar.xz

[dgit import tarball qt4-x11 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u2 qt4-x11_4.8.6+git64-g5dc8b2b+dfsg-3+deb8u2.debian.tar.xz]

8 years agoMerge qt4-x11 (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1+rpi1) import into refs/heads...
Raspbian Automatic git importer [Thu, 22 Dec 2016 05:42:36 +0000 (05:42 +0000)]
Merge qt4-x11 (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1+rpi1) import into refs/heads/workingbranch

8 years agoMerge qt4-x11 (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) import into refs/heads/workingbranch
Raspbian Automatic git importer [Thu, 22 Dec 2016 05:42:32 +0000 (05:42 +0000)]
Merge qt4-x11 (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) import into refs/heads/workingbranch

10 years agocve-2015-0295
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
cve-2015-0295

Gbp-Pq: Name cve-2015-0295.diff

10 years agoAdd configure support for ppc64el
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
Add configure support for ppc64el

This patch was originally introduced [1] and rebased [2] in Ubuntu Trusty [3].

Some chunks were changed/removed on Debian:
  - The DPKG_ARCH / UNAME_MACHINE mapping is actually Debian-specific, and done
    in another patch; so this chunk is now there.
  - The 'PLATFORM=qws/linux-*-g++' setting is not required; ppc64el builds fine
    with the default 'linux-generic-g++'  (the difference to the previously set
    'linux-x86_64-g++' is just '-m64', which is default/only-option on ppc64el).

[1] http://launchpadlibrarian.net/159898800/qt4-x11_4:4.8.4+dfsg-0ubuntu20_4:4.8.4+dfsg-0ubuntu21.diff.gz
[2] http://launchpadlibrarian.net/162331250/qt4-x11_4:4.8.4+dfsg-0ubuntu22_4:4.8.5+git192-g085f851+dfsg-2ubuntu1.diff.gz
[3] https://launchpad.net/ubuntu/+source/qt4-x11/+changelog

Gbp-Pq: Name ppc64el_configure_support.patch

10 years agoparisc-atomic
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
parisc-atomic

Gbp-Pq: Name parisc-atomic.patch

10 years agoremove_addsense
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
remove_addsense

Gbp-Pq: Name remove_addsense.patch

10 years agoBuild HTML documentation suited for offline usage
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
Build HTML documentation suited for offline usage

Currently, the generated documentation includes a search box which relies on an
external search service, and which does not work for local usage. Therefore, the
generated search box does not work and confuses users, so it is best to build
the documentation in offline format which does not include the search box, but
does also not confuse users.

Gbp-Pq: Name qtdoc-build-offline-docs.patch

10 years agoqt-everywhere-opensource-src-4.8.5-QTBUG-22829
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
qt-everywhere-opensource-src-4.8.5-QTBUG-22829

Gbp-Pq: Name qt-everywhere-opensource-src-4.8.5-QTBUG-22829.patch

10 years agoQTBUG-25324_assistant_segfault_on_start_with_gcc_4.7
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
QTBUG-25324_assistant_segfault_on_start_with_gcc_4.7

Gbp-Pq: Name QTBUG-25324_assistant_segfault_on_start_with_gcc_4.7.patch

10 years agono_libicu_message
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
no_libicu_message

Gbp-Pq: Name no_libicu_message.diff

10 years agoadd_missing_method_for_QBasicAtomicPointer_on_s390
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
add_missing_method_for_QBasicAtomicPointer_on_s390

Gbp-Pq: Name add_missing_method_for_QBasicAtomicPointer_on_s390.patch

10 years agos390x_jscore
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
s390x_jscore

Gbp-Pq: Name s390x_jscore.diff

10 years agoqt-multiarch-plugin-path-compat
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
qt-multiarch-plugin-path-compat

Gbp-Pq: Name qt-multiarch-plugin-path-compat.diff

10 years agoworkaround FTBFS on powerpc/gcc 4.6 in signalsloteditor
Modestas Vainius [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
workaround FTBFS on powerpc/gcc 4.6 in signalsloteditor

This should workaround g++-4.6/powerpc ICE that is related to dwarf2 [1][2].
It is very likely the patch will not be needed long term as the gcc bug might
eventually be fixed.

[1] .moc/release-shared/qteditorfactory.moc:237:1: internal compiler error: in size_of_die, at dwarf2out.c:10749
Please submit a full bug report,
with preprocessed source if appropriate.

[2] https://buildd.debian.org/status/fetch.php?pkg=qt4-x11&arch=powerpc&ver=4%3A4.7.2-4&stamp=1304320067

Gbp-Pq: Name powerpc_designer_gstabs.diff

10 years agoFix monotonic clock detection on kFreeBSD
Modestas Vainius [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
Fix monotonic clock detection on kFreeBSD

Fix monotonic clock detection on kFreeBSD at configure time. This will finally
enable it in QElapsedTimer.

QProcess::waitForFinished() and all other qt_safe_select() users cannot safely
operate without monotonic clock because qt_safe_select() will indicate timeout
earlier than it is supposed when underlying select() call is interrupted
(errno=EINTR).

Gbp-Pq: Name kfreebsd_monotonic_clock.diff

10 years agosh
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
sh

Gbp-Pq: Name sh.diff

10 years agopowerpcspe
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
powerpcspe

Gbp-Pq: Name powerpcspe.diff

10 years ago_hppa_bug561203_decrease_failure_rate
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_hppa_bug561203_decrease_failure_rate

~1/1000 when run in a row. Hopefully, this will make failures rare enough
 not to cause FTBFSes.
 Degradation in performance should not be very significant and is acceptable.
Author: Modestas Vainius <modax@debian.org>
Author: Fathi Boudra <fabo@debian.org>
Forwarded: not-needed
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561203
Origin: vendor
Last-Update: 2011-12-26

Gbp-Pq: Name 99_hppa_bug561203_decrease_failure_rate.diff

10 years ago_webkit_no_gc_sections
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_webkit_no_gc_sections

Gbp-Pq: Name 96_webkit_no_gc_sections.diff

10 years ago_armv6_uname_entry
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_armv6_uname_entry

Gbp-Pq: Name 94_armv6_uname_entry.diff

10 years agoRestore QtCore ABI compatibility with binaries built with g++ 4.3 on armel Once Qt...
Modestas Vainius [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
Restore QtCore ABI compatibility with binaries built with g++ 4.3 on armel Once Qt is rebuilt with g++ 4.4, it becomes ABI incompatible with binaries built with g++ 4.3 on armel. That's because g++ 4.4 mangles va_list differently on armel. As a result, affected symbols are those which have va_list type in their argument list. Qt exports 2 such symbols: . qvsnprintf(char *str, size_t n, const char *fmt, va_list ap); QString &QString::vsprintf(const char* cformat, va_list ap); . The patch uses .symver assembler directive to add aliases for the symbols above. Those aliases are mangled in the same way as g++ 4.3 would mangle original symbols.

Gbp-Pq: Name 92_armel_gcc43_valist_compat.diff

10 years ago_hurd_max_path
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_hurd_max_path

Gbp-Pq: Name 80_hurd_max_path.diff

10 years ago_hppa_unaligned_access_fix_458133
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_hppa_unaligned_access_fix_458133

Fix unaligned access on hppa

Gbp-Pq: Name 71_hppa_unaligned_access_fix_458133.diff

10 years ago_hppa_ldcw_fix
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_hppa_ldcw_fix

patch from Ubuntu to properly support hppa.

Gbp-Pq: Name 70_hppa_ldcw_fix.diff

10 years ago_kfreebsd_strnstr_build_fix
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_kfreebsd_strnstr_build_fix

Gbp-Pq: Name 51_kfreebsd_strnstr_build_fix.diff

10 years ago_kfreebsd_Q_OS
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_kfreebsd_Q_OS

Gbp-Pq: Name 50_kfreebsd_Q_OS.diff

10 years ago_disable_opengl_visibility
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_disable_opengl_visibility

temporary fix because of alpha, has to be dropped as soon as gcc's bug is fixed.

Gbp-Pq: Name 41_disable_opengl_visibility.diff

10 years ago_alpha_ice
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_alpha_ice

Gbp-Pq: Name 40_alpha_ice.diff

10 years agoFixed some alignment problems on sparc
Mike Hommey [Sun, 6 Jul 2008 06:37:28 +0000 (08:37 +0200)]
Fixed some alignment problems on sparc

Fixed some alignment problems on sparc

(and some that might occur on arm, too).

Some compiler warnings about alignment remain, but I don't know if they are
a real problem yet.

Gbp-Pq: Name 30_webkit_unaligned_access.diff

10 years agoPermit loading plugins built with future major Qt releases (4.x)
Modestas Vainius [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
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

10 years ago_install_qvfb
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_install_qvfb

Gbp-Pq: Name 20_install_qvfb.diff

10 years ago_enable_qt3support_qtwebkit_debug_info
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_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

10 years ago_hide_std_symbols_on_qtwebkit
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_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

10 years ago_fix_qmake_makefile_generation
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_fix_qmake_makefile_generation

Gbp-Pq: Name 15_fix_qmake_makefile_generation.diff

10 years ago_add_nostrip_for_debug_packages
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_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

10 years ago_build_translations
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_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

10 years ago_config_tests_fixes
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_config_tests_fixes

Gbp-Pq: Name 10_config_tests_fixes.diff

10 years ago_configure_quilt_compat
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_configure_quilt_compat

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

Gbp-Pq: Name 08_configure_quilt_compat.diff

10 years ago_trust_dpkg-arch_over_uname-m
Debian Qt/KDE Maintainers [Sun, 14 Jun 2015 16:38:43 +0000 (16:38 +0000)]
_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