[SCM] qtstyleplugins packaging branch, master, updated. debian/5.0.0-1-5-gbd3fc2d

Dmitry Shachnev mitya57 at moszumanska.debian.org
Sat Dec 10 12:57:28 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qtstyleplugins.git;a=commitdiff;h=fc5b4ed

The following commit has been merged in the master branch:
commit fc5b4edc4ed16ac55a181dc262617da66fe40f4e
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Sat Dec 10 15:35:25 2016 +0300

    Drop upstream_Cleanlooks-style-Fix-floating-point-exception.patch.
---
 debian/changelog                                   |  1 +
 debian/patches/series                              |  1 -
 ...nlooks-style-Fix-floating-point-exception.patch | 38 ----------------------
 3 files changed, 1 insertion(+), 39 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f347aac..3008d6d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ qtstyleplugins-src (5.0.0+git16.g7aa4764-1) UNRELEASED; urgency=medium
 
   [ Dmitry Shachnev ]
   * New upstream snapshot.
+    - Drop upstream_Cleanlooks-style-Fix-floating-point-exception.patch.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sat, 10 Dec 2016 15:34:18 +0300
 
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 768a188..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-upstream_Cleanlooks-style-Fix-floating-point-exception.patch
diff --git a/debian/patches/upstream_Cleanlooks-style-Fix-floating-point-exception.patch b/debian/patches/upstream_Cleanlooks-style-Fix-floating-point-exception.patch
deleted file mode 100644
index 0363235..0000000
--- a/debian/patches/upstream_Cleanlooks-style-Fix-floating-point-exception.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 8ff2ac6035fb1d01f5c0054ba14afb949410e3a7 Mon Sep 17 00:00:00 2001
-From: Alexandre Rostovtsev <tetromino at gentoo.org>
-Date: Wed, 4 Jun 2014 20:27:53 -0400
-Subject: [PATCH] Cleanlooks style: Fix floating point exception
-
-In QCleanlooksStyle::drawControl, if indeterminate == true and
-rect.width() == 4, we will end up with slideWidth of zero, and
-take a mod by zero when calculating the value of step.
-
-Identical code in Qt4 Cleanlooks causes a crash in Quassel 0.10;
-see https://bugs.gentoo.org/show_bug.cgi?id=507124
-
-Instead, calculate slideWidth based on max(width, minWidth) where
-minWidth was already set as 4, ensuring that slideWidth >= 2.
-
-Change-Id: Id3e39437665be326358f68c48eaf1249b6880c4a
-Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo at kdab.com>
-Reviewed-by: J-P Nurmi <jpnurmi at digia.com>
----
- src/plugins/styles/cleanlooks/qcleanlooksstyle.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/plugins/styles/cleanlooks/qcleanlooksstyle.cpp b/src/plugins/styles/cleanlooks/qcleanlooksstyle.cpp
-index 8d89e39..1e82ed7 100644
---- a/src/plugins/styles/cleanlooks/qcleanlooksstyle.cpp
-+++ b/src/plugins/styles/cleanlooks/qcleanlooksstyle.cpp
-@@ -1749,7 +1749,7 @@ void QCleanlooksStyle::drawControl(ControlElement element, const QStyleOption *o
-                     progressBar.setRect(rect.right() - 1 - width, rect.top() + 1, width + 1, rect.height() - 3);
-                 }
-             } else {
--                int slideWidth = ((rect.width() - 4) * 2) / 3;
-+                int slideWidth = (qMax(rect.width() - 4, minWidth) * 2) / 3;
-                 int step = ((animateStep * slideWidth) / progressAnimationFps) % slideWidth;
-                 if ((((animateStep * slideWidth) / progressAnimationFps) % (2 * slideWidth)) >= slideWidth)
-                     step = slideWidth - step;
--- 
-2.1.4
-

-- 
qtstyleplugins packaging



More information about the pkg-kde-commits mailing list