torbrowser-launcher: update to 0.3.6.

This commit is contained in:
Daniel Eyßer 2022-12-18 12:30:55 +01:00 committed by Michal Vasilek
parent 8dfbd7ca7a
commit 3934298cf8
3 changed files with 3 additions and 29 deletions

View File

@ -1,12 +0,0 @@
--- 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()

View File

@ -1,14 +0,0 @@
diff --git a/apparmor/torbrowser.Browser.firefox b/apparmor/torbrowser.Browser.firefox
index 6882f9d..365b073 100644
--- a/apparmor/torbrowser.Browser.firefox
+++ b/apparmor/torbrowser.Browser.firefox
@@ -115,6 +115,9 @@ profile torbrowser_firefox @{torbrowser_firefox_executable} {
owner /{dev,run}/shm/org.chromium.* rw,
owner /dev/shm/org.mozilla.ipc.[0-9]*.[0-9]* rw, # for Chromium IPC
+ # Required for Wayland display protocol support
+ owner /dev/shm/wayland.mozilla.ipc.[0-9]* rw,
+
# Deny access to DRM nodes, that's granted by the X abstraction, which is
# sourced by the gnome abstraction, that we include.
deny /dev/dri/** rwklx,

View File

@ -1,7 +1,7 @@
# Template file for 'torbrowser-launcher'
pkgname=torbrowser-launcher
version=0.3.5
revision=5
version=0.3.6
revision=1
archs="i686 x86_64" # limited by Tor Browser itself
build_style=python3-module
hostmakedepends="gettext python3-distro python3-setuptools"
@ -15,7 +15,7 @@ license="MIT"
homepage="https://github.com/micahflee/torbrowser-launcher"
changelog="https://raw.githubusercontent.com/micahflee/torbrowser-launcher/master/CHANGELOG.md"
distfiles="https://github.com/micahflee/torbrowser-launcher/archive/v${version}.tar.gz"
checksum=623cd77c6095711f371fee5b5cc521ecd8dd89d964b75fad6449633d10925089
checksum=39db8bd936502bc6d9adf3a628fba13a728c7b1aa2b5bac148454c8718863654
post_install() {
vlicense LICENSE