Github messages for voidlinux
 help / color / mirror / Atom feed
From: travankor <travankor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] torbrowser-launcher: update to 0.3.5.
Date: Sat, 10 Jul 2021 15:31:52 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31887@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

There is a new pull request by travankor against master on the void-packages repository

https://github.com/travankor/void-packages torbrowser-launcher
https://github.com/void-linux/void-packages/pull/31887

torbrowser-launcher: update to 0.3.5.
None

A patch file from https://github.com/void-linux/void-packages/pull/31887.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-torbrowser-launcher-31887.patch --]
[-- Type: text/x-diff, Size: 3169 bytes --]

From 0925f178f22fe221402cc229d6121095c56aaf92 Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Sat, 10 Jul 2021 06:31:27 -0700
Subject: [PATCH] torbrowser-launcher: update to 0.3.5.

---
 .../torbrowser-launcher/patches/python-3.8.patch   | 11 -----------
 srcpkgs/torbrowser-launcher/patches/wayland.diff   | 14 ++++++++++++++
 srcpkgs/torbrowser-launcher/template               |  8 ++++----
 3 files changed, 18 insertions(+), 15 deletions(-)
 delete mode 100644 srcpkgs/torbrowser-launcher/patches/python-3.8.patch
 create mode 100644 srcpkgs/torbrowser-launcher/patches/wayland.diff

diff --git a/srcpkgs/torbrowser-launcher/patches/python-3.8.patch b/srcpkgs/torbrowser-launcher/patches/python-3.8.patch
deleted file mode 100644
index 6462b81dd21c..000000000000
--- a/srcpkgs/torbrowser-launcher/patches/python-3.8.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/setup.py
-+++ b/setup.py
-@@ -35,7 +35,7 @@
- SHARE = 'share'
- 
- # detect linux distribution
--distro = platform.dist()[0]
-+distro = 'Void'
- 
- 
- def file_list(path):
diff --git a/srcpkgs/torbrowser-launcher/patches/wayland.diff b/srcpkgs/torbrowser-launcher/patches/wayland.diff
new file mode 100644
index 000000000000..3553d5d53017
--- /dev/null
+++ b/srcpkgs/torbrowser-launcher/patches/wayland.diff
@@ -0,0 +1,14 @@
+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,
diff --git a/srcpkgs/torbrowser-launcher/template b/srcpkgs/torbrowser-launcher/template
index 2d8ce5bf282e..dbc5a5ca66ad 100644
--- a/srcpkgs/torbrowser-launcher/template
+++ b/srcpkgs/torbrowser-launcher/template
@@ -1,10 +1,10 @@
 # Template file for 'torbrowser-launcher'
 pkgname=torbrowser-launcher
-version=0.3.3
-revision=2
+version=0.3.5
+revision=1
 archs="i686 x86_64" # limited by Tor Browser itself
 build_style=python3-module
-hostmakedepends="gettext python3-setuptools"
+hostmakedepends="gettext python3-distro python3-setuptools"
 depends="python3-PyQt5 python3-gpg python3-requests python3-pysocks gnupg2 tor dbus-glib
  python3-packaging"
 short_desc="Securely download, verify and run Tor Browser"
@@ -13,7 +13,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=58b17bd5a9a6f35fe78d83e69fdf77919ffa8c2492b1add1d47aed6237794f93
+checksum=623cd77c6095711f371fee5b5cc521ecd8dd89d964b75fad6449633d10925089
 
 post_install() {
 	vlicense LICENSE

             reply	other threads:[~2021-07-10 13:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-10 13:31 travankor [this message]
2021-07-12  5:48 ` [PR REVIEW] " ericonr
2021-07-12 12:45 ` travankor
2021-07-12 13:38 ` ericonr
2021-07-12 13:39 ` [PR PATCH] [Merged]: " ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31887@inbox.vuxu.org \
    --to=travankor@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).