From 97dcc006330cb3d943158be3f814c7332a49b247 Mon Sep 17 00:00:00 2001 From: Gabriel Féron Date: Feb 03 2022 12:02:14 +0000 Subject: [PATCH 1/2] Update to 4.13.0 --- diff --git a/750.patch b/750.patch deleted file mode 100644 index e89fc17..0000000 --- a/750.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 970c94b8ce5008ca90a1cbfaeeef5470879a138f Mon Sep 17 00:00:00 2001 -From: Elia Devito -Date: Sat, 6 Nov 2021 23:22:28 +0100 -Subject: [PATCH] Round coordinates on getFaceIdAtPosition - -PyQt Pixel expects integer coordinates as parameters. - -This fixes the crash on cura when using the -"Select face to align to the build plate" tool ---- - UM/View/SelectionPass.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/UM/View/SelectionPass.py b/UM/View/SelectionPass.py -index f0344e3d22..945b789776 100644 ---- a/UM/View/SelectionPass.py -+++ b/UM/View/SelectionPass.py -@@ -158,8 +158,8 @@ def getFaceIdAtPosition(self, x, y): - - window_size = self._renderer.getWindowSize() - -- px = (0.5 + x / 2.0) * window_size[0] -- py = (0.5 + y / 2.0) * window_size[1] -+ px = round((0.5 + x / 2.0) * window_size[0]) -+ py = round((0.5 + y / 2.0) * window_size[1]) - - if px < 0 or px > (output.width() - 1) or py < 0 or py > (output.height() - 1): - return -1 diff --git a/python-uranium.spec b/python-uranium.spec index ae0ca25..5069c3f 100644 --- a/python-uranium.spec +++ b/python-uranium.spec @@ -1,16 +1,11 @@ Name: python-uranium -Version: 4.12.1 -Release: 2%{?dist} +Version: 4.13.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 on getFaceIdAtPosition, to fix crash with Python 3.10+ -# Merged upstream -# Fixes https://bugzilla.redhat.com/2021157 -Patch1: %{url}/pull/750.patch - BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: /usr/bin/doxygen @@ -114,6 +109,9 @@ popd %changelog +* Fri Jan 21 2022 Gabriel Féron - 4.13.0-1 +- Update to 4.13.0 + * Fri Jan 21 2022 Fedora Release Engineering - 4.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 49f2996..d99a607 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Uranium-4.12.1.tar.gz) = bdf118341a52ac957ae8cc0acf2fb2c7381f9082e82c190a038333845ffc0fefa8c92702438898a63ccca9f0add69312b43168b993fcd38fe4f3ee3856b36eb9 +SHA512 (Uranium-4.13.0.tar.gz) = bba41754670b42eb92826fe1c2380b76afb62d16158c07f960315dbd77c55932d29dff594d71aff8eafc2f58d1aac4a14b0f6fc36a0a352872077b97c0d7f555 From fe3e4c5aef8d3a9bee8c9a27e5f5d98a6664bf9b Mon Sep 17 00:00:00 2001 From: Gabriel Féron Date: Feb 03 2022 12:02:30 +0000 Subject: [PATCH 2/2] Update to 4.13.1 --- diff --git a/python-uranium.spec b/python-uranium.spec index 5069c3f..ff990ab 100644 --- a/python-uranium.spec +++ b/python-uranium.spec @@ -1,5 +1,5 @@ Name: python-uranium -Version: 4.13.0 +Version: 4.13.1 Release: 1%{?dist} Summary: A Python framework for building desktop applications License: LGPLv3+ @@ -109,6 +109,9 @@ popd %changelog +* Tue Feb 01 2022 Gabriel Féron - 4.13.1-1 +- Update to 4.13.1 + * Fri Jan 21 2022 Gabriel Féron - 4.13.0-1 - Update to 4.13.0 diff --git a/sources b/sources index d99a607..53c23c1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Uranium-4.13.0.tar.gz) = bba41754670b42eb92826fe1c2380b76afb62d16158c07f960315dbd77c55932d29dff594d71aff8eafc2f58d1aac4a14b0f6fc36a0a352872077b97c0d7f555 +SHA512 (Uranium-4.13.1.tar.gz) = ff9573104c9cdf0a1ba3ff304c17dbbcdab561a7158138067067ea3c2d063c139545effb1b1c944da986053cb3ea68dc5b947c30c5578ef29f6858e3f9e461c3