[SCM] qtlocation packaging branch, master, updated. debian/5.3.0-2-4-g0558862
Dmitry Shachnev
mitya57-guest at moszumanska.debian.org
Sun Jun 8 13:39:55 UTC 2014
Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qtlocation.git;a=commitdiff;h=d9d9e04
The following commit has been merged in the master branch:
commit d9d9e043a8f7cabceec67a23c3d4a40bb3880e92
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date: Sun Jun 8 17:38:45 2014 +0400
Add remove_qreal_check.patch to fix build failure on ARM.
---
debian/changelog | 2 +
debian/patches/remove_qreal_check.patch | 88 +++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 91 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 1a98827..516143e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
qtlocation-opensource-src (5.3.0-3) UNRELEASED; urgency=medium
+ [ Dmitry Shachnev ]
+ * Add remove_qreal_check.patch to fix build failure on ARM.
-- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org> Sun, 08 Jun 2014 17:37:42 +0400
diff --git a/debian/patches/remove_qreal_check.patch b/debian/patches/remove_qreal_check.patch
new file mode 100644
index 0000000..49d9ca2
--- /dev/null
+++ b/debian/patches/remove_qreal_check.patch
@@ -0,0 +1,88 @@
+Description: remove wrong qreal check, not needed since Qt 5.2
+Author: Dmitry Shachnev <mitya57 at gmail.com>
+Forwarded: yes, https://codereview.qt-project.org/87066
+Last-Update: 2014-06-08
+
+--- a/tests/auto/qgeocoordinate/tst_qgeocoordinate.cpp
++++ b/tests/auto/qgeocoordinate/tst_qgeocoordinate.cpp
+@@ -520,32 +520,17 @@ private slots:
+ << BRISBANE
+ << qreal(1374820.1618767744)
+ << qreal(211.1717286649)
+-// the following platforms use float for qreal
+-#if !defined(QT_NO_FPU) && !defined(Q_PROCESSOR_ARM) && !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN)
+ << MELBOURNE;
+-#else
+- << QGeoCoordinate(-37.8142515084775, 144.963170622944);
+-#endif
+ QTest::newRow("london -> new york")
+ << LONDON
+ << qreal(5570538.4987236429)
+ << qreal(288.3388804508)
+-// the following platforms use float for qreal
+-#if !defined(QT_NO_FPU) && !defined(Q_PROCESSOR_ARM) && !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN)
+ << NEW_YORK;
+-#else
+- << QGeoCoordinate(40.7145220608416, -74.0071216045375);
+-#endif
+ QTest::newRow("north pole -> south pole")
+ << NORTH_POLE
+ << qreal(20015109.4154876769)
+ << qreal(180.0)
+-// the following platforms use float for qreal
+-#if !defined(QT_NO_FPU) && !defined(Q_PROCESSOR_ARM) && !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN)
+ << SOUTH_POLE;
+-#else
+- << QGeoCoordinate(-89.9999947369857, -90.0);
+-#endif
+ }
+
+ void degreesToString()
+--- a/tests/auto/qgeopositioninfo/tst_qgeopositioninfo.cpp
++++ b/tests/auto/qgeopositioninfo/tst_qgeopositioninfo.cpp
+@@ -73,21 +73,15 @@ QList<qreal> tst_qgeopositioninfo_qrealTestValues()
+ {
+ QList<qreal> values;
+
+-// the following platforms use float for qreal
+-#if !defined(QT_NO_FPU) && !defined(Q_PROCESSOR_ARM) && !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN)
+ if (qreal(DBL_MIN) == DBL_MIN)
+ values << DBL_MIN;
+-#endif
+
+ values << FLT_MIN;
+ values << -1.0 << 0.0 << 1.0;
+ values << FLT_MAX;
+
+-// the following platforms use float for qreal
+-#if !defined(QT_NO_FPU) && !defined(Q_PROCESSOR_ARM) && !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN)
+ if (qreal(DBL_MAX) == DBL_MAX)
+ values << DBL_MAX;
+-#endif
+
+ return values;
+ }
+--- a/tests/auto/qgeosatelliteinfo/tst_qgeosatelliteinfo.cpp
++++ b/tests/auto/qgeosatelliteinfo/tst_qgeosatelliteinfo.cpp
+@@ -73,21 +73,15 @@ QList<qreal> tst_qgeosatelliteinfo_qrealTestValues()
+ {
+ QList<qreal> values;
+
+-// the following platforms use float for qreal
+-#if !defined(QT_NO_FPU) && !defined(Q_PROCESSOR_ARM) && !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN)
+ if (qreal(DBL_MIN) == DBL_MIN)
+ values << DBL_MIN;
+-#endif
+
+ values << FLT_MIN;
+ values << -1.0 << 0.0 << 1.0;
+ values << FLT_MAX;
+
+-// the following platforms use float for qreal
+-#if !defined(QT_NO_FPU) && !defined(Q_PROCESSOR_ARM) && !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN)
+ if (qreal(DBL_MAX) == DBL_MAX)
+ values << DBL_MAX;
+-#endif
+
+ return values;
+ }
diff --git a/debian/patches/series b/debian/patches/series
index 726d5ba..c620f28 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
disable_failing_tests.patch
+remove_qreal_check.patch
--
qtlocation packaging
More information about the pkg-kde-commits
mailing list