[Pkg-privacy-commits] [Git][pkg-privacy-team/torbrowser-launcher][debian/sid] Prepare to release 0.3.5-3

Roger Shimizu (@rosh) rosh at debian.org
Sat May 21 12:56:31 BST 2022



Roger Shimizu pushed to branch debian/sid at Privacy Maintainers / torbrowser-launcher


Commits:
b77c30ba by Roger Shimizu at 2022-05-21T20:41:30+09:00
Prepare to release 0.3.5-3

* debian/patches:
  - Cherry pick patch 12 from upstream to fix runtime issue under
    Python 3.10

Closes: #1010441

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/12-Fix-strict-parameters-for-gui.move.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+torbrowser-launcher (0.3.5-3) unstable; urgency=medium
+
+  * debian/patches:
+    - Cherry pick patch 12 from upstream to fix runtime issue under
+      Python 3.10 (Closes: #1010441).
+
+ -- Roger Shimizu <rosh at debian.org>  Sat, 21 May 2022 20:41:30 +0900
+
 torbrowser-launcher (0.3.5-2) unstable; urgency=medium
 
   * debian/patches:


=====================================
debian/patches/12-Fix-strict-parameters-for-gui.move.patch
=====================================
@@ -0,0 +1,24 @@
+From: Erik Johnson <github at ekriirke.net>
+Date: Sat, 4 Sep 2021 00:34:50 +0200
+Subject: Fix strict parameters for gui.move
+
+(cherry picked from commit bcd65bdd45cb45efd568ed911b009665b061ac9e)
+---
+ 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 2e3743f..355743b 100644
+--- a/torbrowser_launcher/__init__.py
++++ b/torbrowser_launcher/__init__.py
+@@ -96,8 +96,8 @@ def main():
+             desktop = app.desktop()
+             window_size = gui.size()
+             gui.move(
+-                (desktop.width() - window_size.width()) / 2,
+-                (desktop.height() - window_size.height()) / 2
++                int((desktop.width() - window_size.width()) / 2),
++                int((desktop.height() - window_size.height()) / 2)
+             )
+             gui.show()
+             sys.exit(app.exec_())


=====================================
debian/patches/series
=====================================
@@ -12,3 +12,4 @@ po/03-Add-Chinese-Traditional-translation.patch
 09-Remove-extra-override-for-X11-sockets.patch
 10-AppArmor-allow-Firefox-to-enumerate-GPUs-and-use-graph.patch
 11-AppArmor-silence-a-denial-for-access-we-don-t-need.patch
+12-Fix-strict-parameters-for-gui.move.patch



View it on GitLab: https://salsa.debian.org/pkg-privacy-team/torbrowser-launcher/-/commit/b77c30baff0db88be21f4c719a10d590be270ae8

-- 
View it on GitLab: https://salsa.debian.org/pkg-privacy-team/torbrowser-launcher/-/commit/b77c30baff0db88be21f4c719a10d590be270ae8
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-privacy-commits/attachments/20220521/13cb7921/attachment-0001.htm>


More information about the Pkg-privacy-commits mailing list