From 57fc98d4ca5d3aaa22e69f900246e41e78fda812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20F=C3=A9ron?= Date: Mon, 26 Apr 2021 11:26:24 +0200 Subject: [PATCH] Update to 4.9.0 --- 095a7a6848.patch | 25 ------------------------- python-uranium.spec | 11 +++++------ sources | 2 +- 3 files changed, 6 insertions(+), 32 deletions(-) delete mode 100644 095a7a6848.patch diff --git a/095a7a6848.patch b/095a7a6848.patch deleted file mode 100644 index 75c85ea..0000000 --- a/095a7a6848.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 095a7a68482d2fc984f7f8dae1ce67d429e8aff6 Mon Sep 17 00:00:00 2001 -From: Ghostkeeper -Date: Fri, 30 Oct 2020 17:52:39 +0100 -Subject: [PATCH] Round coordinates before creating QPoint - -QPoint only accepts integers. Maybe we'd need QPointF but honestly we probably want to render this just pixel-aligned anyway. - -Contributes to issue CURA-7501. ---- - UM/Qt/Bindings/PointingRectangle.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/UM/Qt/Bindings/PointingRectangle.py b/UM/Qt/Bindings/PointingRectangle.py -index a0a79c6a1..64430a632 100644 ---- a/UM/Qt/Bindings/PointingRectangle.py -+++ b/UM/Qt/Bindings/PointingRectangle.py -@@ -103,7 +103,7 @@ def updatePaintNode(self, paint_node, update_data): - vertex_data[5].set(0, 0) - vertex_data[6].set(0, 0) - -- target_offset = self._target - QPoint(self.x(), self.y()) -+ target_offset = self._target - QPoint(round(self.x()), round(self.y())) - - arrow_on_side = -1 # no arrow - arrow_size = 0 diff --git a/python-uranium.spec b/python-uranium.spec index 7e34a2b..cf0a71c 100644 --- a/python-uranium.spec +++ b/python-uranium.spec @@ -1,15 +1,11 @@ Name: python-uranium -Version: 4.8.0 -Release: 2%{?dist} +Version: 4.9.0 +Release: 1%{?dist} Summary: A Python framework for building desktop applications License: LGPLv3+ URL: https://github.com/Ultimaker/Uranium Source0: %{url}/archive/%{version}.tar.gz#/Uranium-%{version}.tar.gz -# Round coordinates before creating QPoint -# QPoint(self.x(), self.y()): argument 1 has unexpected type 'float' -Patch1: %{url}/commit/095a7a6848.patch - BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: /usr/bin/doxygen @@ -113,6 +109,9 @@ popd %changelog +* Mon Apr 26 2021 Gabriel Féron - 4.9.0-1 +- Update to 4.9.0 + * Wed Jan 27 2021 Fedora Release Engineering - 4.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index bd295f0..ba7da94 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Uranium-4.8.0.tar.gz) = a2cb923d703e626760c885ceb657566abfa5662f63729fef0b5cdf408da2ed3c23fefcd173b8af529ee79c2384505b2558379b82ba2cfd7a2d2291fe723ddbbd +SHA512 (Uranium-4.9.0.tar.gz) = 2ae202ae79559c7d19a0afebf7e5739ee229264d3811ae611743a71ab4ec1433ec9b7b9b4f5529d71137d30b72c62271eb0f2aebb3ac49b2d5ce7029b3c53ee7