unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 336115b33a90cc208414ceab354933fbe03aba45 1109 bytes (raw)
name: gnu/packages/patches/torbrowser-start-tor-browser.desktop.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
Change TorBrowser desktop file in order for it to be agnostic to the
path when invoked.

--- torbrowser-68.10.0esr-9.5-1/tbb-scripts/RelativeLink/start-tor-browser.desktop.orign	2020-07-05 18:47:40.689484877 -0300
+++ torbrowser-68.10.0esr-9.5-1/tbb-scripts/RelativeLink/start-tor-browser.desktop	2020-07-25 02:54:44.603431160 -0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env ./Browser/execdesktop
+#!/usr/bin/env bash
 #
 # This file is a self-modifying .desktop file that can be run from the shell.
 # It preserves arguments and environment for the start-tor-browser script.
@@ -28,7 +28,7 @@
 GenericName=Web Browser
 Comment=Tor Browser is +1 for privacy and −1 for mass surveillance
 Categories=Network;WebBrowser;Security;
-Exec=sh -c '"$(dirname "$*")"/Browser/start-tor-browser --detach || ([ ! -x "$(dirname "$*")"/Browser/start-tor-browser ] && "$(dirname "$*")"/start-tor-browser --detach)' dummy %k
-X-TorBrowser-ExecShell=./Browser/start-tor-browser --detach
-Icon=web-browser
+Exec=bash -c start-tor-browser
+X-TorBrowser-ExecShell=start-tor-browser --detach
+Icon=torbrowser
 StartupWMClass=Tor Browser

debug log:

solving 336115b33a ...
found 336115b33a in https://yhetil.org/guix-patches/20200915151614.GI13296@andel/ ||
	https://yhetil.org/guix-patches/20200924231814.GA29727@andel/ ||
	https://yhetil.org/guix-patches/20200803125556.GA18868@andel/

applying [1/1] https://yhetil.org/guix-patches/20200915151614.GI13296@andel/
diff --git a/gnu/packages/patches/torbrowser-start-tor-browser.desktop.patch b/gnu/packages/patches/torbrowser-start-tor-browser.desktop.patch
new file mode 100644
index 0000000000..336115b33a

Checking patch gnu/packages/patches/torbrowser-start-tor-browser.desktop.patch...
Applied patch gnu/packages/patches/torbrowser-start-tor-browser.desktop.patch cleanly.

skipping https://yhetil.org/guix-patches/20200924231814.GA29727@andel/ for 336115b33a
skipping https://yhetil.org/guix-patches/20200803125556.GA18868@andel/ for 336115b33a
index at:
100644 336115b33a90cc208414ceab354933fbe03aba45	gnu/packages/patches/torbrowser-start-tor-browser.desktop.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).