Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package torbrowser-launcher for 
openSUSE:Factory checked in at 2022-08-25 15:08:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/torbrowser-launcher (Old)
 and      /work/SRC/openSUSE:Factory/.torbrowser-launcher.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "torbrowser-launcher"

Thu Aug 25 15:08:57 2022 rev:22 rq:999079 version:0.3.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/torbrowser-launcher/torbrowser-launcher.changes  
2022-05-24 20:32:23.550974323 +0200
+++ 
/work/SRC/openSUSE:Factory/.torbrowser-launcher.new.2083/torbrowser-launcher.changes
        2022-08-25 15:09:05.057213854 +0200
@@ -1,0 +2,7 @@
+Wed Aug 24 12:30:14 UTC 2022 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Add torbrowser-launcher-gui-move-argtype.patch: Ensure arguments
+  to gui-move are integers, not floats (boo#1202693,
+  gh#micahflee/torbrowser-launcher#599).
+
+-------------------------------------------------------------------

New:
----
  torbrowser-launcher-gui-move-argtype.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ torbrowser-launcher.spec ++++++
--- /var/tmp/diff_new_pack.WIp18Y/_old  2022-08-25 15:09:05.613215028 +0200
+++ /var/tmp/diff_new_pack.WIp18Y/_new  2022-08-25 15:09:05.617215037 +0200
@@ -24,6 +24,8 @@
 Group:          Productivity/Networking/Web/Utilities
 URL:            https://github.com/micahflee/torbrowser-launcher
 Source0:        
https://github.com/micahflee/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM torbrowser-launcher-gui-move-argtype.patch 
badshah...@gmail.com -- Ensure arguments to gui-move are integers, not floats
+Patch0:         
https://patch-diff.githubusercontent.com/raw/micahflee/torbrowser-launcher/pull/646.patch#/torbrowser-launcher-gui-move-argtype.patch
 BuildRequires:  apparmor-abstractions
 BuildRequires:  gpg2
 BuildRequires:  hicolor-icon-theme

++++++ torbrowser-launcher-gui-move-argtype.patch ++++++
>From 5fcf8f8b67d298a8379c9039ea75d0f98b915422 Mon Sep 17 00:00:00 2001
From: Thomas Ward <tew...@thomas-ward.net>
Date: Sun, 7 Aug 2022 17:14:36 -0400
Subject: [PATCH] Fix python strict type checking in Python 3.9+

Python 3.9+ started doing strict enforcement of types.  This results in the GUI 
function methods not functioning properly in modern Python environments.

Fixes #628

Thanks to @icceland in bug 628 for the fix stated in the bug.
---
 torbrowser_launcher/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/torbrowser_launcher/__init__.py b/torbrowser_launcher/__init__.py
index bff3e8e..115fd4f 100644
--- a/torbrowser_launcher/__init__.py
+++ b/torbrowser_launcher/__init__.py
@@ -90,8 +90,8 @@ def main():
     desktop = app.desktop()
     window_size = gui.size()
     gui.move(
-        (desktop.width() - window_size.width()) / 2,
-        (desktop.height() - window_size.height()) / 2,
+        (desktop.width() - window_size.width()) // 2,
+        (desktop.height() - window_size.height()) // 2,
     )
     gui.show()
 

Reply via email to