[arch-commits] Commit in qt5/trunk (PKGBUILD QTBUG-39047.patch)
Andrea Scarpino
andrea at nymeria.archlinux.org
Wed Jun 25 21:22:27 UTC 2014
Date: Wednesday, June 25, 2014 @ 23:22:27
Author: andrea
Revision: 215455
upgpkg: qt5 5.3.1-1
Upstream release
Modified:
qt5/trunk/PKGBUILD
Deleted:
qt5/trunk/QTBUG-39047.patch
-------------------+
PKGBUILD | 15 ++++---------
QTBUG-39047.patch | 57 ----------------------------------------------------
2 files changed, 5 insertions(+), 67 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-06-25 21:05:54 UTC (rev 215454)
+++ PKGBUILD 2014-06-25 21:22:27 UTC (rev 215455)
@@ -23,8 +23,8 @@
'qt5-websockets'
'qt5-x11extras'
'qt5-xmlpatterns')
-pkgver=5.3.0
-pkgrel=3
+pkgver=5.3.1
+pkgrel=1
arch=('i686' 'x86_64')
url='http://qt-project.org/'
license=('GPL3' 'LGPL' 'FDL' 'custom')
@@ -38,15 +38,13 @@
_pkgfqn="qt-everywhere-opensource-src-${pkgver}"
source=("http://download.qt-project.org/official_releases/qt/5.3/${pkgver}/single/${_pkgfqn}.tar.xz"
'assistant.desktop' 'designer.desktop' 'linguist.desktop' 'qdbusviewer.desktop'
- 'use-python2.patch'
- 'QTBUG-39047.patch')
-md5sums=('f00ac7930e3b1b2b364dedcd15acc142'
+ 'use-python2.patch')
+md5sums=('f9a24a0d5645efa0715b6ff0fa13d60f'
'b2897dd6a2967bccf8f10e397aafee55'
'9638a78e502719ef8fe5f8d10d0361a9'
'188da8f4c87316e730ebf1c6217bf5a0'
'322b419b16c75d4de0ee7ad0a246caa1'
- 'a378deccf363bd6079da459c89aff7b9'
- '819813c53ab11b2341baf54afbc37e37')
+ 'a378deccf363bd6079da459c89aff7b9')
prepare() {
cd ${_pkgfqn}
@@ -60,9 +58,6 @@
sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
-e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
$(find . -name '*.py')
-
- cd qtdeclarative
- patch -p1 -i "${srcdir}"/QTBUG-39047.patch
}
build() {
Deleted: QTBUG-39047.patch
===================================================================
--- QTBUG-39047.patch 2014-06-25 21:05:54 UTC (rev 215454)
+++ QTBUG-39047.patch 2014-06-25 21:22:27 UTC (rev 215455)
@@ -1,57 +0,0 @@
-From 009ad875f89d7d7bc4447e18c2fbbd485a75e0b5 Mon Sep 17 00:00:00 2001
-From: Oleg Shparber <trollixx at gmail.com>
-Date: Mon, 19 May 2014 00:53:39 -0700
-Subject: [PATCH] Fix improper antialiasing property behavior
-
-For components antialiased by default the property was returned
-as false if default true value was set to true again.
-
-Task-number: QTBUG-39047
-Change-Id: I16960a12b6d38a0d9e487fc6612610c39c4949d4
-Reviewed-by: Gunnar Sletta <gunnar.sletta at jollamobile.com>
----
- src/quick/items/qquickitem.cpp | 8 +++++---
- tests/auto/quick/qquicktext/tst_qquicktext.cpp | 7 +++++++
- 2 files changed, 12 insertions(+), 3 deletions(-)
-
-diff --git a/src/quick/items/qquickitem.cpp b/src/quick/items/qquickitem.cpp
-index 3f0dae8..ef2eac4 100644
---- a/src/quick/items/qquickitem.cpp
-+++ b/src/quick/items/qquickitem.cpp
-@@ -5691,10 +5691,12 @@ void QQuickItem::setAntialiasing(bool aa)
- {
- Q_D(QQuickItem);
-
-- bool changed = (aa != antialiasing());
-- d->antialiasingValid = true;
-+ if (!d->antialiasingValid) {
-+ d->antialiasingValid = true;
-+ d->antialiasing = d->implicitAntialiasing;
-+ }
-
-- if (!changed)
-+ if (aa == d->antialiasing)
- return;
-
- d->antialiasing = aa;
-diff --git a/tests/auto/quick/qquicktext/tst_qquicktext.cpp b/tests/auto/quick/qquicktext/tst_qquicktext.cpp
-index 0b69981..d36c55d 100644
---- a/tests/auto/quick/qquicktext/tst_qquicktext.cpp
-+++ b/tests/auto/quick/qquicktext/tst_qquicktext.cpp
-@@ -1334,6 +1334,13 @@ void tst_qquicktext::antialiasing()
- text->resetAntialiasing();
- QCOMPARE(text->antialiasing(), true);
- QCOMPARE(spy.count(), 2);
-+
-+ // QTBUG-39047
-+ component.setData("import QtQuick 2.0\n Text { antialiasing: true }", QUrl());
-+ object.reset(component.create());
-+ text = qobject_cast<QQuickText *>(object.data());
-+ QVERIFY(text);
-+ QCOMPARE(text->antialiasing(), true);
- }
-
- void tst_qquicktext::weight()
---
-1.7.1
-
More information about the arch-commits
mailing list