summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFathi Boudra <fabo@debian.org>2007-10-07 05:45:59 +0000
committerFathi Boudra <fabo@debian.org>2007-10-07 05:45:59 +0000
commitd37b1a0c3c36f368f0bfbaf40579e94e38998c86 (patch)
treed83074732d58edc440914824b63d64a5bb991b36
parent93ba1f1ef72f63d1443e2fdd2c43cf0ff3b8a19a (diff)
downloadqt4-x11-d37b1a0c3c36f368f0bfbaf40579e94e38998c86.tar.gz
* Use quilt -p ab.
* Add dot to make ana happy. * 07 patch is a debian patch. * Uniform style in rules.
-rw-r--r--debian/changelog4
-rw-r--r--debian/patches/0163-fix-gcc43-support.diff44
-rw-r--r--debian/patches/0167-fix-group-reading.diff4
-rw-r--r--debian/patches/0175-fix-s390-qatomic.diff4
-rw-r--r--debian/patches/0176-coverity-fixes.diff8
-rw-r--r--debian/patches/0178-transparency-window-types.diff32
-rw-r--r--debian/patches/0179-transient-hack.diff4
-rw-r--r--debian/patches/0180-window-role.diff16
-rw-r--r--debian/patches/0185-fix-format-strings.diff24
-rw-r--r--debian/patches/0187-fix-font-fixed-pitch.diff8
-rw-r--r--debian/patches/0188-fix-moc-parser-same-name-header.diff4
-rw-r--r--debian/patches/0189-fix-q3toolbar-qcombobox-signal-slot.diff4
-rw-r--r--debian/patches/0191-listview-alternate-row-colors.diff4
-rw-r--r--debian/patches/0192-itemdelegate-palette-state.diff4
-rw-r--r--debian/patches/0193-qtreeview-division-by-zero.diff4
-rw-r--r--debian/patches/0194-fix-moveonly-dnd-in-itemviews.diff8
-rw-r--r--debian/patches/0195-compositing-properties.diff4
-rw-r--r--debian/patches/01_qmake_for_debian.diff8
-rw-r--r--debian/patches/02_launch_assistant-qt4.diff4
-rw-r--r--debian/patches/03_launch_moc-qt4.diff4
-rw-r--r--debian/patches/04_launch_uic-qt4.diff4
-rw-r--r--debian/patches/05_append_qt4_target.diff64
-rw-r--r--debian/patches/06_qtdemo_destdir.diff8
-rw-r--r--debian/patches/20_mips_atomic_ops.diff4
-rw-r--r--debian/patches/30_arm_ftbfs_fixes.diff4
-rw-r--r--debian/patches/31_arm_eabi_fix.diff4
-rw-r--r--debian/patches/40_alpha_ice.diff8
-rw-r--r--debian/patches/41_disable_opengl_visibility.diff4
-rw-r--r--debian/patches/50_kfreebsd_build_fix.diff12
-rw-r--r--debian/patches/60_m68k_inotify_fix.diff4
-rw-r--r--debian/patches/70_hppa_ldcw_fix.diff4
-rw-r--r--debian/patches/80_hurd_max_path.diff4
-rw-r--r--debian/patches/90_qmake_cxxflags_fpermissive.diff4
-rw-r--r--debian/patches/series2
-rwxr-xr-xdebian/rules10
35 files changed, 168 insertions, 168 deletions
diff --git a/debian/changelog b/debian/changelog
index f40dcae..8892439 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,8 +26,8 @@ qt4-x11 (4.3.2-1) unstable; urgency=low
* Fix qt4-config menu section. (Closes: 444896)
[Sune Vuorela]
- * Have strict interdependencies between packages with a shlibs.local file
- (Closing: #438746)
+ * Have strict interdependencies between packages with a shlibs.local file.
+ (Closes: #438746)
* Don't trust uname in generating the qt build key. This has bitten us in
qt3, but will soon bite us in qt4 as qt4 becomes more popular.
diff --git a/debian/patches/0163-fix-gcc43-support.diff b/debian/patches/0163-fix-gcc43-support.diff
index 730b05a..90975fa 100644
--- a/debian/patches/0163-fix-gcc43-support.diff
+++ b/debian/patches/0163-fix-gcc43-support.diff
@@ -6,8 +6,8 @@ author: Dirk Mueller <mueller@kde.org>
various fixes to get Qt 4.3 without hundreds of warnings compiling
---- qt4-x11-4.3.2.orig/config.tests/unix/endian.test
-+++ qt4-x11-4.3.2/config.tests/unix/endian.test
+--- a/config.tests/unix/endian.test
++++ b/config.tests/unix/endian.test
@@ -30,6 +30,7 @@
[ "$VERBOSE" = "yes" ] && echo " Found 'MostSignificantByteFirst' in binary"
ENDIAN="BIG"
@@ -16,8 +16,8 @@ various fixes to get Qt 4.3 without hundreds of warnings compiling
# done
if [ "$ENDIAN" = "LITTLE" ]; then
---- qt4-x11-4.3.2.orig/config.tests/unix/glib/glib.cpp
-+++ qt4-x11-4.3.2/config.tests/unix/glib/glib.cpp
+--- a/config.tests/unix/glib/glib.cpp
++++ b/config.tests/unix/glib/glib.cpp
@@ -6,7 +6,7 @@
{
GMainContext *context;
@@ -27,8 +27,8 @@ various fixes to get Qt 4.3 without hundreds of warnings compiling
if (!g_thread_supported())
g_thread_init(NULL);
context = g_main_context_default();
---- qt4-x11-4.3.2.orig/src/corelib/codecs/qtextcodec.cpp
-+++ qt4-x11-4.3.2/src/corelib/codecs/qtextcodec.cpp
+--- a/src/corelib/codecs/qtextcodec.cpp
++++ b/src/corelib/codecs/qtextcodec.cpp
@@ -432,7 +432,7 @@
localeMapper = checkForCodec(lang);
@@ -38,8 +38,8 @@ various fixes to get Qt 4.3 without hundreds of warnings compiling
localeMapper = checkForCodec("ISO 8859-15");
// 6. guess locale from ctype unless ctype is "C"
---- qt4-x11-4.3.2.orig/src/corelib/io/qtextstream.cpp
-+++ qt4-x11-4.3.2/src/corelib/io/qtextstream.cpp
+--- a/src/corelib/io/qtextstream.cpp
++++ b/src/corelib/io/qtextstream.cpp
@@ -553,8 +553,8 @@
if (!codec || autoDetectUnicode) {
autoDetectUnicode = false;
@@ -51,8 +51,8 @@ various fixes to get Qt 4.3 without hundreds of warnings compiling
codec = QTextCodec::codecForName("UTF-16");
} else if (!codec) {
codec = QTextCodec::codecForLocale();
---- qt4-x11-4.3.2.orig/src/corelib/io/qurl.cpp
-+++ qt4-x11-4.3.2/src/corelib/io/qurl.cpp
+--- a/src/corelib/io/qurl.cpp
++++ b/src/corelib/io/qurl.cpp
@@ -4741,9 +4741,9 @@
if (include.isEmpty()) {
for (int i = 0; i < len; ++i) {
@@ -79,8 +79,8 @@ various fixes to get Qt 4.3 without hundreds of warnings compiling
|| c == 0x2D // -
|| c == 0x2E // .
|| c == 0x5F // _
---- qt4-x11-4.3.2.orig/src/corelib/tools/qlocale.cpp
-+++ qt4-x11-4.3.2/src/corelib/tools/qlocale.cpp
+--- a/src/corelib/tools/qlocale.cpp
++++ b/src/corelib/tools/qlocale.cpp
@@ -2609,8 +2609,8 @@
QChar c1 = format.at(i);
@@ -92,8 +92,8 @@ various fixes to get Qt 4.3 without hundreds of warnings compiling
return true;
++i;
---- qt4-x11-4.3.2.orig/src/gui/kernel/qapplication.cpp
-+++ qt4-x11-4.3.2/src/gui/kernel/qapplication.cpp
+--- a/src/gui/kernel/qapplication.cpp
++++ b/src/gui/kernel/qapplication.cpp
@@ -2036,11 +2036,11 @@
#ifndef QT_NO_TRANSLATION
static bool qt_detectRTLLanguage()
@@ -108,8 +108,8 @@ various fixes to get Qt 4.3 without hundreds of warnings compiling
}
#endif
---- qt4-x11-4.3.2.orig/src/gui/kernel/qkeymapper_x11.cpp
-+++ qt4-x11-4.3.2/src/gui/kernel/qkeymapper_x11.cpp
+--- a/src/gui/kernel/qkeymapper_x11.cpp
++++ b/src/gui/kernel/qkeymapper_x11.cpp
@@ -1330,8 +1330,8 @@
}
@@ -121,8 +121,8 @@ various fixes to get Qt 4.3 without hundreds of warnings compiling
directionKeyEvent = Qt::Key_Direction_L;
} else if (keysym == XK_Shift_R && directionKeyEvent == XK_Control_R ||
keysym == XK_Control_R && directionKeyEvent == XK_Shift_R) {
---- qt4-x11-4.3.2.orig/src/gui/kernel/qwidget.cpp
-+++ qt4-x11-4.3.2/src/gui/kernel/qwidget.cpp
+--- a/src/gui/kernel/qwidget.cpp
++++ b/src/gui/kernel/qwidget.cpp
@@ -1872,7 +1872,7 @@
for (int i = 0; i < pd->children.size(); ++i) {
@@ -140,8 +140,8 @@ various fixes to get Qt 4.3 without hundreds of warnings compiling
}
} else {
q->create();
---- qt4-x11-4.3.2.orig/src/gui/painting/qregion_unix.cpp
-+++ qt4-x11-4.3.2/src/gui/painting/qregion_unix.cpp
+--- a/src/gui/painting/qregion_unix.cpp
++++ b/src/gui/painting/qregion_unix.cpp
@@ -1944,7 +1944,7 @@
else
--isInside;
@@ -151,8 +151,8 @@ various fixes to get Qt 4.3 without hundreds of warnings compiling
pWETE->nextWETE = AET;
pWETE = AET;
inside = !inside;
---- qt4-x11-4.3.2.orig/src/tools/uic/driver.cpp
-+++ qt4-x11-4.3.2/src/tools/uic/driver.cpp
+--- a/src/tools/uic/driver.cpp
++++ b/src/tools/uic/driver.cpp
@@ -175,7 +175,7 @@
static bool isAnsiCCharacter(const QChar& c)
diff --git a/debian/patches/0167-fix-group-reading.diff b/debian/patches/0167-fix-group-reading.diff
index fd94f62..28e36e9 100644
--- a/debian/patches/0167-fix-group-reading.diff
+++ b/debian/patches/0167-fix-group-reading.diff
@@ -7,8 +7,8 @@ author: Dirk Mueller <mueller@kde.org>
in big user environments, getgrgid_r() needs more memory than sysconf() returns.
Try a bit harder.
---- qt4-x11-4.3.2.orig/src/corelib/io/qfsfileengine_unix.cpp
-+++ qt4-x11-4.3.2/src/corelib/io/qfsfileengine_unix.cpp
+--- a/src/corelib/io/qfsfileengine_unix.cpp
++++ b/src/corelib/io/qfsfileengine_unix.cpp
@@ -845,9 +845,16 @@
} else if (own == OwnerGroup) {
struct group *gr = 0;
diff --git a/debian/patches/0175-fix-s390-qatomic.diff b/debian/patches/0175-fix-s390-qatomic.diff
index 3839f5a..913b570 100644
--- a/debian/patches/0175-fix-s390-qatomic.diff
+++ b/debian/patches/0175-fix-s390-qatomic.diff
@@ -6,8 +6,8 @@ author: Dirk Mueller
fix s390(x) build
---- qt4-x11-4.3.2.orig/src/corelib/arch/qatomic_s390.h
-+++ qt4-x11-4.3.2/src/corelib/arch/qatomic_s390.h
+--- a/src/corelib/arch/qatomic_s390.h
++++ b/src/corelib/arch/qatomic_s390.h
@@ -197,10 +197,20 @@
#endif
}
diff --git a/debian/patches/0176-coverity-fixes.diff b/debian/patches/0176-coverity-fixes.diff
index d593348..340f6fb 100644
--- a/debian/patches/0176-coverity-fixes.diff
+++ b/debian/patches/0176-coverity-fixes.diff
@@ -6,8 +6,8 @@ author: Dirk Mueller
fix various obvious memory leaks etc
---- qt4-x11-4.3.2.orig/src/gui/painting/qimagescale.cpp
-+++ qt4-x11-4.3.2/src/gui/painting/qimagescale.cpp
+--- a/src/gui/painting/qimagescale.cpp
++++ b/src/gui/painting/qimagescale.cpp
@@ -1020,6 +1020,7 @@
buffer = QImage(dw, dh, src.format());
if (buffer.isNull()) {
@@ -16,8 +16,8 @@ fix various obvious memory leaks etc
return QImage();
}
---- qt4-x11-4.3.2.orig/src/svg/qsvghandler.cpp
-+++ qt4-x11-4.3.2/src/svg/qsvghandler.cpp
+--- a/src/svg/qsvghandler.cpp
++++ b/src/svg/qsvghandler.cpp
@@ -1144,15 +1144,9 @@
if (!size.isEmpty()) {
QSvgHandler::LengthType type;
diff --git a/debian/patches/0178-transparency-window-types.diff b/debian/patches/0178-transparency-window-types.diff
index 2c24d4b..1cdf4e3 100644
--- a/debian/patches/0178-transparency-window-types.diff
+++ b/debian/patches/0178-transparency-window-types.diff
@@ -6,8 +6,8 @@ author: Lubos Lunak <l.lunak@kde.org>
This patch adds Qt support for new window types used for compositing.
---- qt4-x11-4.3.2.orig/src/gui/kernel/qapplication_x11.cpp
-+++ qt4-x11-4.3.2/src/gui/kernel/qapplication_x11.cpp
+--- a/src/gui/kernel/qapplication_x11.cpp
++++ b/src/gui/kernel/qapplication_x11.cpp
@@ -214,6 +214,11 @@
"_NET_WM_WINDOW_TYPE_SPLASH\0"
"_NET_WM_WINDOW_TYPE_TOOLBAR\0"
@@ -20,8 +20,8 @@ This patch adds Qt support for new window types used for compositing.
"_KDE_NET_WM_FRAME_STRUT\0"
---- qt4-x11-4.3.2.orig/src/gui/kernel/qdnd_x11.cpp
-+++ qt4-x11-4.3.2/src/gui/kernel/qdnd_x11.cpp
+--- a/src/gui/kernel/qdnd_x11.cpp
++++ b/src/gui/kernel/qdnd_x11.cpp
@@ -270,6 +270,7 @@
QWidget(QApplication::desktop()->screen(screen),
Qt::Tool | Qt::FramelessWindowHint | Qt::X11BypassWindowManagerHint)
@@ -46,8 +46,8 @@ This patch adds Qt support for new window types used for compositing.
willDrop = false;
---- qt4-x11-4.3.2.orig/src/gui/kernel/qt_x11_p.h
-+++ qt4-x11-4.3.2/src/gui/kernel/qt_x11_p.h
+--- a/src/gui/kernel/qt_x11_p.h
++++ b/src/gui/kernel/qt_x11_p.h
@@ -530,6 +530,11 @@
_NET_WM_WINDOW_TYPE_SPLASH,
_NET_WM_WINDOW_TYPE_TOOLBAR,
@@ -60,8 +60,8 @@ This patch adds Qt support for new window types used for compositing.
_KDE_NET_WM_FRAME_STRUT,
---- qt4-x11-4.3.2.orig/src/gui/kernel/qtooltip.cpp
-+++ qt4-x11-4.3.2/src/gui/kernel/qtooltip.cpp
+--- a/src/gui/kernel/qtooltip.cpp
++++ b/src/gui/kernel/qtooltip.cpp
@@ -149,6 +149,9 @@
setMouseTracking(true);
fadingOut = false;
@@ -94,8 +94,8 @@ This patch adds Qt support for new window types used for compositing.
QTipLabel::instance->setTipRect(w, rect);
QTipLabel::instance->placeTip(pos, w);
QTipLabel::instance->setObjectName(QLatin1String("qtooltip_label"));
---- qt4-x11-4.3.2.orig/src/gui/kernel/qwidget.h
-+++ qt4-x11-4.3.2/src/gui/kernel/qwidget.h
+--- a/src/gui/kernel/qwidget.h
++++ b/src/gui/kernel/qwidget.h
@@ -354,6 +354,19 @@
void setWindowOpacity(qreal level);
@@ -116,8 +116,8 @@ This patch adds Qt support for new window types used for compositing.
bool isWindowModified() const;
#ifndef QT_NO_TOOLTIP
---- qt4-x11-4.3.2.orig/src/gui/kernel/qwidget_x11.cpp
-+++ qt4-x11-4.3.2/src/gui/kernel/qwidget_x11.cpp
+--- a/src/gui/kernel/qwidget_x11.cpp
++++ b/src/gui/kernel/qwidget_x11.cpp
@@ -562,10 +562,6 @@
}
#endif // QT_NO_XRENDER
@@ -255,8 +255,8 @@ This patch adds Qt support for new window types used for compositing.
/*!
Frees up window system resources. Destroys the widget window if \a
destroyWindow is true.
---- qt4-x11-4.3.2.orig/src/gui/widgets/qcombobox.cpp
-+++ qt4-x11-4.3.2/src/gui/widgets/qcombobox.cpp
+--- a/src/gui/widgets/qcombobox.cpp
++++ b/src/gui/widgets/qcombobox.cpp
@@ -333,6 +333,10 @@
combo->update();
}
@@ -268,8 +268,8 @@ This patch adds Qt support for new window types used for compositing.
}
void QComboBoxPrivateContainer::leaveEvent(QEvent *)
---- qt4-x11-4.3.2.orig/src/gui/widgets/qmenu.cpp
-+++ qt4-x11-4.3.2/src/gui/widgets/qmenu.cpp
+--- a/src/gui/widgets/qmenu.cpp
++++ b/src/gui/widgets/qmenu.cpp
@@ -99,6 +99,9 @@
QTornOffMenu(QMenu *p) : QMenu(*(new QTornOffMenuPrivate(p)))
{
diff --git a/debian/patches/0179-transient-hack.diff b/debian/patches/0179-transient-hack.diff
index 26fee5e..62f39d0 100644
--- a/debian/patches/0179-transient-hack.diff
+++ b/debian/patches/0179-transient-hack.diff
@@ -8,8 +8,8 @@ This patch is just a hackish workaround that makes setting of WM_TRANSIENT_FOR
work with some window types (needed basically by the #0178 qt-copy patch).
It is not a proper solution, waiting for TT to come up with something.
---- qt4-x11-4.3.2.orig/src/gui/kernel/qwidget_x11.cpp
-+++ qt4-x11-4.3.2/src/gui/kernel/qwidget_x11.cpp
+--- a/src/gui/kernel/qwidget_x11.cpp
++++ b/src/gui/kernel/qwidget_x11.cpp
@@ -1650,7 +1650,7 @@
do_size_hints(q, extra);
diff --git a/debian/patches/0180-window-role.diff b/debian/patches/0180-window-role.diff
index bfb7f79..fec3405 100644
--- a/debian/patches/0180-window-role.diff
+++ b/debian/patches/0180-window-role.diff
@@ -34,8 +34,8 @@ setWindowRole()).
QObjectPrivate already has a virtual dtor I think adding another virtual for
handling the QWidget-related functionality from QtCore is fine.
---- qt4-x11-4.3.2.orig/src/corelib/kernel/qobject.cpp
-+++ qt4-x11-4.3.2/src/corelib/kernel/qobject.cpp
+--- a/src/corelib/kernel/qobject.cpp
++++ b/src/corelib/kernel/qobject.cpp
@@ -1008,9 +1008,18 @@
{
Q_D(QObject);
@@ -55,8 +55,8 @@ handling the QWidget-related functionality from QtCore is fine.
#ifdef QT3_SUPPORT
/*! \internal
QObject::child is compat but needs to call itself recursively,
---- qt4-x11-4.3.2.orig/src/corelib/kernel/qobject_p.h
-+++ qt4-x11-4.3.2/src/corelib/kernel/qobject_p.h
+--- a/src/corelib/kernel/qobject_p.h
++++ b/src/corelib/kernel/qobject_p.h
@@ -139,6 +139,9 @@
mutable quint32 connectedSignals;
@@ -67,8 +67,8 @@ handling the QWidget-related functionality from QtCore is fine.
};
class QSemaphore;
---- qt4-x11-4.3.2.orig/src/gui/kernel/qwidget_p.h
-+++ qt4-x11-4.3.2/src/gui/kernel/qwidget_p.h
+--- a/src/gui/kernel/qwidget_p.h
++++ b/src/gui/kernel/qwidget_p.h
@@ -309,6 +309,7 @@
#if defined(Q_WS_X11)
@@ -77,8 +77,8 @@ handling the QWidget-related functionality from QtCore is fine.
void sendStartupMessage(const char *message) const;
#endif
---- qt4-x11-4.3.2.orig/src/gui/kernel/qwidget_x11.cpp
-+++ qt4-x11-4.3.2/src/gui/kernel/qwidget_x11.cpp
+--- a/src/gui/kernel/qwidget_x11.cpp
++++ b/src/gui/kernel/qwidget_x11.cpp
@@ -671,11 +671,8 @@
// when we create a toplevel widget, the frame strut should be dirty
data.fstrut_dirty = 1;
diff --git a/debian/patches/0185-fix-format-strings.diff b/debian/patches/0185-fix-format-strings.diff
index 44cf658..db97bc7 100644
--- a/debian/patches/0185-fix-format-strings.diff
+++ b/debian/patches/0185-fix-format-strings.diff
@@ -8,8 +8,8 @@ This patch fixes various code issues with handling format strings
None of them seem to be exceptionally bad, but its better safe
than sorry.
---- qt4-x11-4.3.2.orig/src/corelib/global/qglobal.h
-+++ qt4-x11-4.3.2/src/corelib/global/qglobal.h
+--- a/src/corelib/global/qglobal.h
++++ b/src/corelib/global/qglobal.h
@@ -1276,8 +1276,16 @@
#ifdef QT3_SUPPORT
Q_CORE_EXPORT QT3_SUPPORT void qSystemWarning(const char *msg, int code = -1);
@@ -29,8 +29,8 @@ than sorry.
#if (defined(QT_NO_DEBUG_OUTPUT) || defined(QT_NO_TEXTSTREAM)) && !defined(QT_NO_DEBUG_STREAM)
#define QT_NO_DEBUG_STREAM
---- qt4-x11-4.3.2.orig/src/corelib/tools/qbytearray.h
-+++ qt4-x11-4.3.2/src/corelib/tools/qbytearray.h
+--- a/src/corelib/tools/qbytearray.h
++++ b/src/corelib/tools/qbytearray.h
@@ -86,8 +86,16 @@
Q_CORE_EXPORT int qstrnicmp(const char *, const char *, uint len);
@@ -50,8 +50,8 @@ than sorry.
#ifdef QT3_SUPPORT
inline QT3_SUPPORT void *qmemmove(void *dst, const void *src, uint len)
---- qt4-x11-4.3.2.orig/src/gui/painting/qprintengine_pdf_p.h
-+++ qt4-x11-4.3.2/src/gui/painting/qprintengine_pdf_p.h
+--- a/src/gui/painting/qprintengine_pdf_p.h
++++ b/src/gui/painting/qprintengine_pdf_p.h
@@ -163,7 +163,11 @@
void writePage();
@@ -65,8 +65,8 @@ than sorry.
inline void write(const QByteArray &data) {
stream->writeRawData(data.constData(), data.size());
streampos += data.size();
---- qt4-x11-4.3.2.orig/src/qt3support/tools/q3cstring.h
-+++ qt4-x11-4.3.2/src/qt3support/tools/q3cstring.h
+--- a/src/qt3support/tools/q3cstring.h
++++ b/src/qt3support/tools/q3cstring.h
@@ -72,7 +72,11 @@
}
@@ -80,8 +80,8 @@ than sorry.
Q3CString left(uint len) const { return QByteArray::left(len); }
Q3CString right(uint len) const { return QByteArray::right(len); }
---- qt4-x11-4.3.2.orig/tools/linguist/shared/profileevaluator.h
-+++ qt4-x11-4.3.2/tools/linguist/shared/profileevaluator.h
+--- a/tools/linguist/shared/profileevaluator.h
++++ b/tools/linguist/shared/profileevaluator.h
@@ -103,7 +103,11 @@
private:
@@ -95,8 +95,8 @@ than sorry.
QString expandVariableReferences(const QString &value);
QString evaluateExpandFunction(const QByteArray &func, const QString &arguments);
---- qt4-x11-4.3.2.orig/tools/qtestlib/src/qtest_global.h
-+++ qt4-x11-4.3.2/tools/qtestlib/src/qtest_global.h
+--- a/tools/qtestlib/src/qtest_global.h
++++ b/tools/qtestlib/src/qtest_global.h
@@ -74,7 +74,11 @@
enum SkipMode { SkipSingle = 1, SkipAll = 2 };
enum TestFailMode { Abort = 1, Continue = 2 };
diff --git a/debian/patches/0187-fix-font-fixed-pitch.diff b/debian/patches/0187-fix-font-fixed-pitch.diff
index 84a6e84..d26512d 100644
--- a/debian/patches/0187-fix-font-fixed-pitch.diff
+++ b/debian/patches/0187-fix-font-fixed-pitch.diff
@@ -15,8 +15,8 @@ fixed pitch.
This patch should be considered temporary until TT has a better fix.
---- qt4-x11-4.3.2.orig/src/gui/text/qfont.cpp
-+++ qt4-x11-4.3.2/src/gui/text/qfont.cpp
+--- a/src/gui/text/qfont.cpp
++++ b/src/gui/text/qfont.cpp
@@ -2093,7 +2093,6 @@
{
QFontEngine *engine = d->engineForScript(QUnicodeTables::Common);
@@ -33,8 +33,8 @@ This patch should be considered temporary until TT has a better fix.
return engine->fontDef.fixedPitch;
}
---- qt4-x11-4.3.2.orig/src/gui/text/qfont_p.h
-+++ qt4-x11-4.3.2/src/gui/text/qfont_p.h
+--- a/src/gui/text/qfont_p.h
++++ b/src/gui/text/qfont_p.h
@@ -66,9 +66,7 @@
styleStrategy(QFont::PreferDefault), styleHint(QFont::AnyStyle),
weight(50), fixedPitch(false), style(QFont::StyleNormal), stretch(100),
diff --git a/debian/patches/0188-fix-moc-parser-same-name-header.diff b/debian/patches/0188-fix-moc-parser-same-name-header.diff
index 2978a82..ca16b64 100644
--- a/debian/patches/0188-fix-moc-parser-same-name-header.diff
+++ b/debian/patches/0188-fix-moc-parser-same-name-header.diff
@@ -13,8 +13,8 @@ This patch move dir test to proper place, as entry is validated only if is a rea
Detected by qca2 plugins code that uses QtCrypto/QtCrypto
Thanks to Thiago to find proper syntax
---- qt4-x11-4.3.2.orig/src/tools/moc/preprocessor.cpp
-+++ qt4-x11-4.3.2/src/tools/moc/preprocessor.cpp
+--- a/src/tools/moc/preprocessor.cpp
++++ b/src/tools/moc/preprocessor.cpp
@@ -768,7 +768,7 @@
QFileInfo fi;
if (local)
diff --git a/debian/patches/0189-fix-q3toolbar-qcombobox-signal-slot.diff b/debian/patches/0189-fix-q3toolbar-qcombobox-signal-slot.diff
index 198b1ec..68499f6 100644
--- a/debian/patches/0189-fix-q3toolbar-qcombobox-signal-slot.diff
+++ b/debian/patches/0189-fix-q3toolbar-qcombobox-signal-slot.diff
@@ -9,8 +9,8 @@ This patch changed un-existing slot in qcombobox by existing slot.
When qcombobox was transform to popupmenu when toolbar with combobox is too small
we used this slot to update combobox. (now it's updated)
---- qt4-x11-4.3.2.orig/src/qt3support/widgets/q3toolbar.cpp
-+++ qt4-x11-4.3.2/src/qt3support/widgets/q3toolbar.cpp
+--- a/src/qt3support/widgets/q3toolbar.cpp
++++ b/src/qt3support/widgets/q3toolbar.cpp
@@ -667,7 +667,7 @@
Q3PopupMenu *cp = new Q3PopupMenu(d->extensionPopup);
cp->setEnabled(c->isEnabled());
diff --git a/debian/patches/0191-listview-alternate-row-colors.diff b/debian/patches/0191-listview-alternate-row-colors.diff
index 18f0dff..65af0ad 100644
--- a/debian/patches/0191-listview-alternate-row-colors.diff
+++ b/debian/patches/0191-listview-alternate-row-colors.diff
@@ -9,8 +9,8 @@ AlternateBase color even for inactive widgets (while the rest of the
widget is drawn correctly). Please let me know if QListView is not
the only culprit. (QTreeView was fixed by TT already.)
---- qt4-x11-4.3.2.orig/src/gui/itemviews/qlistview.cpp
-+++ qt4-x11-4.3.2/src/gui/itemviews/qlistview.cpp
+--- a/src/gui/itemviews/qlistview.cpp
++++ b/src/gui/itemviews/qlistview.cpp
@@ -1071,7 +1071,7 @@
option.state &= ~QStyle::State_Enabled;
cg = QPalette::Disabled;
diff --git a/debian/patches/0192-itemdelegate-palette-state.diff b/debian/patches/0192-itemdelegate-palette-state.diff
index e7fb608..e031933 100644
--- a/debian/patches/0192-itemdelegate-palette-state.diff
+++ b/debian/patches/0192-itemdelegate-palette-state.diff
@@ -7,8 +7,8 @@ This patch fixes incorrect setting of the palette color group in
QItemDelegate that resulted in inactive colors being used for widgets
in active windows.
---- qt4-x11-4.3.2.orig/src/gui/itemviews/qitemdelegate.cpp
-+++ qt4-x11-4.3.2/src/gui/itemviews/qitemdelegate.cpp
+--- a/src/gui/itemviews/qitemdelegate.cpp
++++ b/src/gui/itemviews/qitemdelegate.cpp
@@ -635,10 +635,10 @@
QPen pen = painter->pen();
diff --git a/debian/patches/0193-qtreeview-division-by-zero.diff b/debian/patches/0193-qtreeview-division-by-zero.diff
index 24c7172..801b533 100644
--- a/debian/patches/0193-qtreeview-division-by-zero.diff
+++ b/debian/patches/0193-qtreeview-division-by-zero.diff
@@ -7,8 +7,8 @@ author: Rafael Fernández López <ereslibre@kde.org>
This patch fixes a division by zero that happens on the QTreeView widget
if the ScrollPerPixel scroll mode is set.
---- qt4-x11-4.3.2.orig/src/gui/itemviews/qtreeview.cpp
-+++ qt4-x11-4.3.2/src/gui/itemviews/qtreeview.cpp
+--- a/src/gui/itemviews/qtreeview.cpp
++++ b/src/gui/itemviews/qtreeview.cpp
@@ -2983,6 +2983,9 @@
}
// ScrollMode == ScrollPerPixel
diff --git a/debian/patches/0194-fix-moveonly-dnd-in-itemviews.diff b/debian/patches/0194-fix-moveonly-dnd-in-itemviews.diff
index 8f07c96..4ae99b6 100644
--- a/debian/patches/0194-fix-moveonly-dnd-in-itemviews.diff
+++ b/debian/patches/0194-fix-moveonly-dnd-in-itemviews.diff
@@ -5,8 +5,8 @@ author: Matthias Kretz <kretz@kde.org>
Allows drag and drop to work without pressing the shift key for itemviews that use InternalMove.
---- qt4-x11-4.3.2.orig/src/gui/itemviews/qabstractitemview.cpp
-+++ qt4-x11-4.3.2/src/gui/itemviews/qabstractitemview.cpp
+--- a/src/gui/itemviews/qabstractitemview.cpp
++++ b/src/gui/itemviews/qabstractitemview.cpp
@@ -2968,7 +2968,7 @@
#ifndef QT_NO_DRAGANDDROP
@@ -25,8 +25,8 @@ Allows drag and drop to work without pressing the shift key for itemviews that u
d->clearOrRemove();
}
}
---- qt4-x11-4.3.2.orig/src/gui/itemviews/qlistview.cpp
-+++ qt4-x11-4.3.2/src/gui/itemviews/qlistview.cpp
+--- a/src/gui/itemviews/qlistview.cpp
++++ b/src/gui/itemviews/qlistview.cpp
@@ -992,7 +992,7 @@
d->dynamicListView->draggedItems.push_back(*it);
QDrag *drag = new QDrag(this);
diff --git a/debian/patches/0195-compositing-properties.diff b/debian/patches/0195-compositing-properties.diff
index 7ae1102..98a1d6e 100644
--- a/debian/patches/0195-compositing-properties.diff
+++ b/debian/patches/0195-compositing-properties.diff
@@ -7,8 +7,8 @@ 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.
---- qt4-x11-4.3.2.orig/src/gui/kernel/qwidget_x11.cpp
-+++ qt4-x11-4.3.2/src/gui/kernel/qwidget_x11.cpp
+--- a/src/gui/kernel/qwidget_x11.cpp
++++ b/src/gui/kernel/qwidget_x11.cpp
@@ -616,7 +616,11 @@
wsa.save_under = True;
XChangeWindowAttributes(dpy, id, CWOverrideRedirect | CWSaveUnder,
diff --git a/debian/patches/01_qmake_for_debian.diff b/debian/patches/01_qmake_for_debian.diff
index 1eb4094..5cbb202 100644
--- a/debian/patches/01_qmake_for_debian.diff
+++ b/debian/patches/01_qmake_for_debian.diff
@@ -3,8 +3,8 @@ author: Brian Nelson <pyro@debian.org>
Ensures qmake generates Makefiles that use the -qt4 tools and that use
recursively link against all indirectly-used libraries.
---- qt4-x11-4.3.2.orig/mkspecs/common/linux.conf
-+++ qt4-x11-4.3.2/mkspecs/common/linux.conf
+--- a/mkspecs/common/linux.conf
++++ b/mkspecs/common/linux.conf
@@ -23,8 +23,8 @@
QMAKE_LIBS_OPENGL_QT = -lGL
QMAKE_LIBS_THREAD = -lpthread
@@ -16,8 +16,8 @@ recursively link against all indirectly-used libraries.
QMAKE_AR = ar cqs
QMAKE_RANLIB =
---- qt4-x11-4.3.2.orig/mkspecs/linux-g++/qmake.conf
-+++ qt4-x11-4.3.2/mkspecs/linux-g++/qmake.conf
+--- a/mkspecs/linux-g++/qmake.conf
++++ b/mkspecs/linux-g++/qmake.conf
@@ -4,8 +4,9 @@
MAKEFILE_GENERATOR = UNIX
diff --git a/debian/patches/02_launch_assistant-qt4.diff b/debian/patches/02_launch_assistant-qt4.diff
index 7c72060..16ca90a 100644
--- a/debian/patches/02_launch_assistant-qt4.diff
+++ b/debian/patches/02_launch_assistant-qt4.diff
@@ -1,7 +1,7 @@
author: Brian Nelson <pyro@debian.org>
---- qt4-x11-4.3.2.orig/tools/assistant/lib/qassistantclient.cpp
-+++ qt4-x11-4.3.2/tools/assistant/lib/qassistantclient.cpp
+--- a/tools/assistant/lib/qassistantclient.cpp
++++ b/tools/assistant/lib/qassistantclient.cpp
@@ -187,11 +187,11 @@
: QObject( parent ), host ( QLatin1String("localhost") )
{
diff --git a/debian/patches/03_launch_moc-qt4.diff b/debian/patches/03_launch_moc-qt4.diff
index 2b6b02c..31945eb 100644
--- a/debian/patches/03_launch_moc-qt4.diff
+++ b/debian/patches/03_launch_moc-qt4.diff
@@ -2,8 +2,8 @@ author: Brian Nelson <pyro@debian.org>
Ensure the Qt4 version of moc is launched.
---- qt4-x11-4.3.2.orig/tools/qdbus/tools/qdbuscpp2xml/qdbuscpp2xml.cpp
-+++ qt4-x11-4.3.2/tools/qdbus/tools/qdbuscpp2xml/qdbuscpp2xml.cpp
+--- a/tools/qdbus/tools/qdbuscpp2xml/qdbuscpp2xml.cpp
++++ b/tools/qdbus/tools/qdbuscpp2xml/qdbuscpp2xml.cpp
@@ -391,7 +391,7 @@
else {
// run moc on this file
diff --git a/debian/patches/04_launch_uic-qt4.diff b/debian/patches/04_launch_uic-qt4.diff
index ca446ba..8119a61 100644
--- a/debian/patches/04_launch_uic-qt4.diff
+++ b/debian/patches/04_launch_uic-qt4.diff
@@ -1,7 +1,7 @@
author: Fathi Boudra <fboudra@free.fr>
---- qt4-x11-4.3.2.orig/tools/designer/src/lib/shared/qdesigner_utils.cpp
-+++ qt4-x11-4.3.2/tools/designer/src/lib/shared/qdesigner_utils.cpp
+--- a/tools/designer/src/lib/shared/qdesigner_utils.cpp
++++ b/tools/designer/src/lib/shared/qdesigner_utils.cpp
@@ -133,7 +133,7 @@
binary += QDir::separator();
switch (mode) {
diff --git a/debian/patches/05_append_qt4_target.diff b/debian/patches/05_append_qt4_target.diff
index e2bf56b..5cadb0e 100644
--- a/debian/patches/05_append_qt4_target.diff
+++ b/debian/patches/05_append_qt4_target.diff
@@ -1,7 +1,7 @@
author: Fathi Boudra <fboudra@free.fr>
---- qt4-x11-4.3.2.orig/config.tests/unix/compile.test
-+++ qt4-x11-4.3.2/config.tests/unix/compile.test
+--- a/config.tests/unix/compile.test
++++ b/config.tests/unix/compile.test
@@ -51,7 +51,7 @@
cd "$OUTDIR/$TEST"
@@ -11,8 +11,8 @@ author: Fathi Boudra <fboudra@free.fr>
if [ "$VERBOSE" = "yes" ]; then
make
---- qt4-x11-4.3.2.orig/config.tests/unix/doubleformat.test
-+++ qt4-x11-4.3.2/config.tests/unix/doubleformat.test
+--- a/config.tests/unix/doubleformat.test
++++ b/config.tests/unix/doubleformat.test
@@ -10,7 +10,7 @@
# build and run a test program
@@ -22,8 +22,8 @@ author: Fathi Boudra <fboudra@free.fr>
cd "$OUTDIR/config.tests/unix/doubleformat"
DOUBLEFORMAT="UNKNOWN"
---- qt4-x11-4.3.2.orig/config.tests/unix/endian.test
-+++ qt4-x11-4.3.2/config.tests/unix/endian.test
+--- a/config.tests/unix/endian.test
++++ b/config.tests/unix/endian.test
@@ -10,7 +10,7 @@
# build and run a test program
@@ -33,8 +33,8 @@ author: Fathi Boudra <fboudra@free.fr>
cd "$OUTDIR/config.tests/unix/endian"
ENDIAN="UNKNOWN"
---- qt4-x11-4.3.2.orig/config.tests/unix/ptrsize.test
-+++ qt4-x11-4.3.2/config.tests/unix/ptrsize.test
+--- a/config.tests/unix/ptrsize.test
++++ b/config.tests/unix/ptrsize.test
@@ -10,7 +10,7 @@
# build and run a test program
@@ -44,8 +44,8 @@ author: Fathi Boudra <fboudra@free.fr>
cd "$OUTDIR/config.tests/unix/ptrsize"
if [ "$VERBOSE" = "yes" ]; then
---- qt4-x11-4.3.2.orig/config.tests/x11/notype.test
-+++ qt4-x11-4.3.2/config.tests/x11/notype.test
+--- a/config.tests/x11/notype.test
++++ b/config.tests/x11/notype.test
@@ -27,7 +27,7 @@
NOTYPE=yes
@@ -55,8 +55,8 @@ author: Fathi Boudra <fboudra@free.fr>
cd "$OUTDIR/config.tests/x11/notype"
if [ "$VERBOSE" = "yes" ]; then
---- qt4-x11-4.3.2.orig/configure
-+++ qt4-x11-4.3.2/configure
+--- a/configure
++++ b/configure
@@ -3517,7 +3517,7 @@
}
@@ -100,8 +100,8 @@ author: Fathi Boudra <fboudra@free.fr>
QMAKE_ARGS="$QMAKE_SWITCHES $QMAKE_SPEC_ARGS"
if [ "$file" = ".projects.3" ]; then
if echo '\c' | grep '\c' >/dev/null; then
---- qt4-x11-4.3.2.orig/projects.pro
-+++ qt4-x11-4.3.2/projects.pro
+--- a/projects.pro
++++ b/projects.pro
@@ -118,7 +118,7 @@
win32 {
qmake.files=$$QT_BUILD_TREE/bin/qmake.exe
@@ -111,8 +111,8 @@ author: Fathi Boudra <fboudra@free.fr>
}
INSTALLS += qmake
---- qt4-x11-4.3.2.orig/qmake/Makefile.unix
-+++ qt4-x11-4.3.2/qmake/Makefile.unix
+--- a/qmake/Makefile.unix
++++ b/qmake/Makefile.unix
@@ -90,17 +90,17 @@
CXXFLAGS = @QMAKE_CXXFLAGS@ $(CPPFLAGS)
@@ -135,8 +135,8 @@ author: Fathi Boudra <fboudra@free.fr>
depend:
makedepend -D__MAKEDEPEND__ $(CPPFLAGS) $(DEPEND_SRC)
---- qt4-x11-4.3.2.orig/src/tools/moc/moc.pro
-+++ qt4-x11-4.3.2/src/tools/moc/moc.pro
+--- a/src/tools/moc/moc.pro
++++ b/src/tools/moc/moc.pro
@@ -1,5 +1,5 @@
TEMPLATE = app
-TARGET = moc
@@ -144,8 +144,8 @@ author: Fathi Boudra <fboudra@free.fr>
CONFIG += console qtinc
CONFIG -= qt
---- qt4-x11-4.3.2.orig/src/tools/uic/uic.pro
-+++ qt4-x11-4.3.2/src/tools/uic/uic.pro
+--- a/src/tools/uic/uic.pro
++++ b/src/tools/uic/uic.pro
@@ -9,7 +9,7 @@
unix:!contains(QT_CONFIG, zlib):LIBS += -lz
@@ -155,8 +155,8 @@ author: Fathi Boudra <fboudra@free.fr>
DESTDIR = ../../../bin
DEFINES += QT_BOOTSTRAPPED QT_UIC QT_LITE_UNICODE QT_NO_DATASTREAM \
---- qt4-x11-4.3.2.orig/tools/assistant/assistant.pro
-+++ qt4-x11-4.3.2/tools/assistant/assistant.pro
+--- a/tools/assistant/assistant.pro
++++ b/tools/assistant/assistant.pro
@@ -2,7 +2,7 @@
TEMPLATE = app
@@ -166,8 +166,8 @@ author: Fathi Boudra <fboudra@free.fr>
CONFIG += qt warn_on
---- qt4-x11-4.3.2.orig/tools/designer/src/designer/designer.pro
-+++ qt4-x11-4.3.2/tools/designer/src/designer/designer.pro
+--- a/tools/designer/src/designer/designer.pro
++++ b/tools/designer/src/designer/designer.pro
@@ -25,7 +25,7 @@
DEFINES += QT_DESIGNER_STATIC
}
@@ -177,8 +177,8 @@ author: Fathi Boudra <fboudra@free.fr>
include($$QT_SOURCE_TREE/tools/shared/fontpanel/fontpanel.pri)
---- qt4-x11-4.3.2.orig/tools/linguist/linguist/linguist.pro
-+++ qt4-x11-4.3.2/tools/linguist/linguist/linguist.pro
+--- a/tools/linguist/linguist/linguist.pro
++++ b/tools/linguist/linguist/linguist.pro
@@ -50,7 +50,7 @@
DEFINES += QT_KEYWORDS
@@ -188,8 +188,8 @@ author: Fathi Boudra <fboudra@free.fr>
win32:RC_FILE = linguist.rc
---- qt4-x11-4.3.2.orig/tools/linguist/lrelease/lrelease.pro
-+++ qt4-x11-4.3.2/tools/linguist/lrelease/lrelease.pro
+--- a/tools/linguist/lrelease/lrelease.pro
++++ b/tools/linguist/lrelease/lrelease.pro
@@ -29,7 +29,7 @@
SOURCES += $$PROPARSERPATH/proitems.cpp \
$$PROPARSERPATH/proreader.cpp
@@ -199,8 +199,8 @@ author: Fathi Boudra <fboudra@free.fr>
INCLUDEPATH += ../shared
DESTDIR = ../../../bin
---- qt4-x11-4.3.2.orig/tools/linguist/lupdate/lupdate.pro
-+++ qt4-x11-4.3.2/tools/linguist/lupdate/lupdate.pro
+--- a/tools/linguist/lupdate/lupdate.pro
++++ b/tools/linguist/lupdate/lupdate.pro
@@ -39,7 +39,7 @@
$$PROPARSERPATH/proreader.cpp
@@ -210,8 +210,8 @@ author: Fathi Boudra <fboudra@free.fr>
INCLUDEPATH += ../shared
DESTDIR = ../../../bin
---- qt4-x11-4.3.2.orig/tools/qtconfig/qtconfig.pro
-+++ qt4-x11-4.3.2/tools/qtconfig/qtconfig.pro
+--- a/tools/qtconfig/qtconfig.pro
++++ b/tools/qtconfig/qtconfig.pro
@@ -16,7 +16,7 @@
RESOURCES = qtconfig.qrc
diff --git a/debian/patches/06_qtdemo_destdir.diff b/debian/patches/06_qtdemo_destdir.diff
index 19f9e35..98ddb76 100644
--- a/debian/patches/06_qtdemo_destdir.diff
+++ b/debian/patches/06_qtdemo_destdir.diff
@@ -2,8 +2,8 @@ author: Fathi Boudra <fboudra@free.fr>
Fix qtdemo destdir.
---- qt4-x11-4.3.2.orig/demos/arthurplugin/arthurplugin.pro
-+++ qt4-x11-4.3.2/demos/arthurplugin/arthurplugin.pro
+--- a/demos/arthurplugin/arthurplugin.pro
++++ b/demos/arthurplugin/arthurplugin.pro
@@ -3,7 +3,7 @@
CONFIG += designer plugin debug_and_release
@@ -13,8 +13,8 @@ Fix qtdemo destdir.
contains(QT_CONFIG, opengl) {
DEFINES += QT_OPENGL_SUPPORT
---- qt4-x11-4.3.2.orig/demos/qtdemo/qtdemo.pro
-+++ qt4-x11-4.3.2/demos/qtdemo/qtdemo.pro
+--- a/demos/qtdemo/qtdemo.pro
++++ b/demos/qtdemo/qtdemo.pro
@@ -1,6 +1,6 @@
CONFIG += assistant x11inc
TARGET = qtdemo
diff --git a/debian/patches/20_mips_atomic_ops.diff b/debian/patches/20_mips_atomic_ops.diff
index 0312020..3b22bba 100644
--- a/debian/patches/20_mips_atomic_ops.diff
+++ b/debian/patches/20_mips_atomic_ops.diff
@@ -2,8 +2,8 @@ author: Thiemo Seufer <ths@debian.org>
Fix compilation for Linux MIPS-I code.
---- qt4-x11-4.3.2.orig/src/corelib/arch/mips/qatomic32.s
-+++ qt4-x11-4.3.2/src/corelib/arch/mips/qatomic32.s
+--- a/src/corelib/arch/mips/qatomic32.s
++++ b/src/corelib/arch/mips/qatomic32.s
@@ -6,10 +6,12 @@
.globl q_atomic_test_and_set_int
.ent q_atomic_test_and_set_int
diff --git a/debian/patches/30_arm_ftbfs_fixes.diff b/debian/patches/30_arm_ftbfs_fixes.diff
index 1c01ec3..9f2648a 100644
--- a/debian/patches/30_arm_ftbfs_fixes.diff
+++ b/debian/patches/30_arm_ftbfs_fixes.diff
@@ -2,8 +2,8 @@ author: Fathi Boudra <fboudra@free.fr>
Fix arm FTBFS.
---- qt4-x11-4.3.2.orig/tools/qtestlib/src/qtestcase.h
-+++ qt4-x11-4.3.2/tools/qtestlib/src/qtestcase.h
+--- a/tools/qtestlib/src/qtestcase.h
++++ b/tools/qtestlib/src/qtestcase.h
@@ -210,7 +210,7 @@
template <typename T1, typename T2>
bool qCompare(T1 const &, T2 const &, const char *, const char *, const char *, int);
diff --git a/debian/patches/31_arm_eabi_fix.diff b/debian/patches/31_arm_eabi_fix.diff
index 241c8ca..c6557fe 100644
--- a/debian/patches/31_arm_eabi_fix.diff
+++ b/debian/patches/31_arm_eabi_fix.diff
@@ -2,8 +2,8 @@ author: Lennert Buytenhek <buytenh@wantstofly.org>
Add support for EABI ARM platforms to Qt.
---- qt4-x11-4.3.2.orig/src/corelib/global/qglobal.h
-+++ qt4-x11-4.3.2/src/corelib/global/qglobal.h
+--- a/src/corelib/global/qglobal.h
++++ b/src/corelib/global/qglobal.h
@@ -331,7 +331,7 @@
# if defined(Q_OS_DARWIN) && __GNUC__ == 3 && (__GNUC_MINOR__ >= 1 && __GNUC_MINOR__ < 3)
# define Q_BROKEN_DEBUG_STREAM
diff --git a/debian/patches/40_alpha_ice.diff b/debian/patches/40_alpha_ice.diff
index 460ba32..c55986e 100644
--- a/debian/patches/40_alpha_ice.diff
+++ b/debian/patches/40_alpha_ice.diff
@@ -1,5 +1,5 @@
---- qt4-x11-4.3.2.orig/src/corelib/global/qlibraryinfo.cpp
-+++ qt4-x11-4.3.2/src/corelib/global/qlibraryinfo.cpp
+--- a/src/corelib/global/qlibraryinfo.cpp
++++ b/src/corelib/global/qlibraryinfo.cpp
@@ -69,14 +69,7 @@
{
public:
@@ -32,8 +32,8 @@
QLibrarySettings::QLibrarySettings()
{
settings = QLibraryInfoPrivate::findConfiguration();
---- qt4-x11-4.3.2.orig/src/corelib/tools/qhash.h
-+++ qt4-x11-4.3.2/src/corelib/tools/qhash.h
+--- a/src/corelib/tools/qhash.h
++++ b/src/corelib/tools/qhash.h
@@ -479,7 +479,7 @@
}
diff --git a/debian/patches/41_disable_opengl_visibility.diff b/debian/patches/41_disable_opengl_visibility.diff
index 24b408c..e2c597a 100644
--- a/debian/patches/41_disable_opengl_visibility.diff
+++ b/debian/patches/41_disable_opengl_visibility.diff
@@ -1,7 +1,7 @@
temporary fix because of alpha, has to be dropped as soon as gcc's bug is fixed.
---- qt4-x11-4.3.2.orig/src/opengl/opengl.pro
-+++ qt4-x11-4.3.2/src/opengl/opengl.pro
+--- a/src/opengl/opengl.pro
++++ b/src/opengl/opengl.pro
@@ -5,6 +5,7 @@
win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x63000000
solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2
diff --git a/debian/patches/50_kfreebsd_build_fix.diff b/debian/patches/50_kfreebsd_build_fix.diff
index cf06ded..81601a0 100644
--- a/debian/patches/50_kfreebsd_build_fix.diff
+++ b/debian/patches/50_kfreebsd_build_fix.diff
@@ -2,8 +2,8 @@ author: Petr Salinger <Petr.Salinger@seznam.cz>
Fixes FTBFS on GNU/kFreeBSD by creating new Q_OS_GLIBC.
---- qt4-x11-4.3.2.orig/src/corelib/global/qglobal.h
-+++ qt4-x11-4.3.2/src/corelib/global/qglobal.h
+--- a/src/corelib/global/qglobal.h
++++ b/src/corelib/global/qglobal.h
@@ -125,6 +125,12 @@
# define Q_OS_RELIANT
#elif defined(__linux__) || defined(__linux)
@@ -26,8 +26,8 @@ Fixes FTBFS on GNU/kFreeBSD by creating new Q_OS_GLIBC.
#elif defined(__DGUX__)
# define Q_OS_DGUX
#elif defined(__QNXNTO__)
---- qt4-x11-4.3.2.orig/src/corelib/plugin/qlibrary.cpp
-+++ qt4-x11-4.3.2/src/corelib/plugin/qlibrary.cpp
+--- a/src/corelib/plugin/qlibrary.cpp
++++ b/src/corelib/plugin/qlibrary.cpp
@@ -293,11 +293,11 @@
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
@@ -42,8 +42,8 @@ Fixes FTBFS on GNU/kFreeBSD by creating new Q_OS_GLIBC.
static long qt_find_pattern(const char *s, ulong s_len,
const char *pattern, ulong p_len)
---- qt4-x11-4.3.2.orig/src/corelib/tools/qlocale.cpp
-+++ qt4-x11-4.3.2/src/corelib/tools/qlocale.cpp
+--- a/src/corelib/tools/qlocale.cpp
++++ b/src/corelib/tools/qlocale.cpp
@@ -63,7 +63,7 @@
#include <qdebug.h>
#include <time.h>
diff --git a/debian/patches/60_m68k_inotify_fix.diff b/debian/patches/60_m68k_inotify_fix.diff
index 89bc4e0..4e1c7c7 100644
--- a/debian/patches/60_m68k_inotify_fix.diff
+++ b/debian/patches/60_m68k_inotify_fix.diff
@@ -3,8 +3,8 @@ author: Brian Nelson <pyro@debian.org>
From Roman Zippel <zippel@linux-m68k.org>: These defines are taken from the
m68k tree, they should appear like this soon also in the upstream source.
---- qt4-x11-4.3.2.orig/src/corelib/io/qfilesystemwatcher_inotify.cpp
-+++ qt4-x11-4.3.2/src/corelib/io/qfilesystemwatcher_inotify.cpp
+--- a/src/corelib/io/qfilesystemwatcher_inotify.cpp
++++ b/src/corelib/io/qfilesystemwatcher_inotify.cpp
@@ -103,6 +103,10 @@
# define __NR_inotify_init 269
# define __NR_inotify_add_watch 270
diff --git a/debian/patches/70_hppa_ldcw_fix.diff b/debian/patches/70_hppa_ldcw_fix.diff
index 5cfe292..c5b2125 100644
--- a/debian/patches/70_hppa_ldcw_fix.diff
+++ b/debian/patches/70_hppa_ldcw_fix.diff
@@ -2,8 +2,8 @@ author: LaMont Jones <lamont@bld-4.mmjgroup.com>
patch from Ubuntu to properly support hppa.
---- qt4-x11-4.3.2.orig/src/corelib/arch/parisc/q_ldcw.s
-+++ qt4-x11-4.3.2/src/corelib/arch/parisc/q_ldcw.s
+--- a/src/corelib/arch/parisc/q_ldcw.s
++++ b/src/corelib/arch/parisc/q_ldcw.s
@@ -1,17 +1,7 @@
- .SPACE $PRIVATE$
- .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31
diff --git a/debian/patches/80_hurd_max_path.diff b/debian/patches/80_hurd_max_path.diff
index 1107997..9b3d274 100644
--- a/debian/patches/80_hurd_max_path.diff
+++ b/debian/patches/80_hurd_max_path.diff
@@ -1,7 +1,7 @@
author: Brian Nelson <pyro@debian.org>
---- qt4-x11-4.3.2.orig/src/corelib/io/qfsfileengine_unix.cpp
-+++ qt4-x11-4.3.2/src/corelib/io/qfsfileengine_unix.cpp
+--- a/src/corelib/io/qfsfileengine_unix.cpp
++++ b/src/corelib/io/qfsfileengine_unix.cpp
@@ -55,6 +55,10 @@
# include <private/qcore_mac_p.h>
#endif
diff --git a/debian/patches/90_qmake_cxxflags_fpermissive.diff b/debian/patches/90_qmake_cxxflags_fpermissive.diff
index 8d0fabd..2c030b7 100644
--- a/debian/patches/90_qmake_cxxflags_fpermissive.diff
+++ b/debian/patches/90_qmake_cxxflags_fpermissive.diff
@@ -1,7 +1,7 @@
author: Matthias Klose <doko@debian.org>
---- qt4-x11-4.3.2.orig/mkspecs/common/g++.conf
-+++ qt4-x11-4.3.2/mkspecs/common/g++.conf
+--- a/mkspecs/common/g++.conf
++++ b/mkspecs/common/g++.conf
@@ -17,7 +17,7 @@
QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE}
diff --git a/debian/patches/series b/debian/patches/series
index f821735..67346ac 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,4 @@
# qt-copy patches
-07_trust_dpkg-arch_over_uname-m.diff
0163-fix-gcc43-support.diff
0167-fix-group-reading.diff
0175-fix-s390-qatomic.diff
@@ -24,6 +23,7 @@
04_launch_uic-qt4.diff
05_append_qt4_target.diff
06_qtdemo_destdir.diff
+07_trust_dpkg-arch_over_uname-m.diff
20_mips_atomic_ops.diff
30_arm_ftbfs_fixes.diff
31_arm_eabi_fix.diff
diff --git a/debian/rules b/debian/rules
index 7a67ab5..a1a5c40 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,7 @@ export LD_LIBRARY_PATH := $(QTDIR)/lib:$(LD_LIBRARY_PATH)
export CXXFLAGS := -fpermissive
QTVERSION := $(shell ls changes-* | cut -f2 -d '-')
+CURRENTVERSION := $(shell head -1 debian/changelog | sed 's/[^(]*(\([^)]*\)).*/\1/')
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
@@ -28,8 +29,6 @@ DEB_DH_STRIP_ARGS_libqt4-debug := --exclude=.debug
DEB_INSTALL_CHANGELOGS_ALL := changes-$(QTVERSION)
-CURRENTVERSION := $(shell head -1 debian/changelog | sed 's/[^(]*(\([^)]*\)).*/\1/')
-
DEB_INSTALL_DOCS_ALL := GPL_EXCEPTION_ADDENDUM.TXT
ifeq ($(DEB_HOST_ARCH),arm)
@@ -117,7 +116,7 @@ clean::
rm -rf lib/ plugins/ mkspecs/glibc-g++
- # cleaning up after hppa tests
+ # clean up after hppa tests
rm -rf debian/hppa-tmp
find bin/ config.tests/ qmake/ -exec file {} \; | grep ELF | sed 's/:.*//' | xargs rm -f
@@ -127,7 +126,8 @@ clean::
-o -name Makefile.Debug -print0 \
-o -name Makefile.Release -print0 \
| xargs -0r rm -f
- #we generate this on build:
+
+ # generate on build
rm -f debian/shlibs.local
PKGCONFIGDIR := $(DEB_DESTDIR)/usr/lib/pkgconfig
@@ -183,7 +183,7 @@ $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
fi
-#generating shlibs local files
+# Generate shlibs local files
$(patsubst %,binary-fixup/%,$(DEB_ALL_PACKAGES)) :: binary-fixup/%: binary-strip/%
if test -e debian/$(cdbs_curpkg)/DEBIAN/shlibs ; then \
sed 's/>=[^)]*/= $(CURRENTVERSION)/' debian/$(cdbs_curpkg)/DEBIAN/shlibs >> debian/shlibs.local ;\