From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oO3HLByUaWO4UwEAbAwnHQ (envelope-from ) for ; Tue, 08 Nov 2022 00:26:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GFizLByUaWMzGwAA9RJhRA (envelope-from ) for ; Tue, 08 Nov 2022 00:26:20 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7B4C59309 for ; Tue, 8 Nov 2022 00:26:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1osBPh-0003v6-Op; Mon, 07 Nov 2022 18:20:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osBPJ-0003oo-6v for help-guix@gnu.org; Mon, 07 Nov 2022 18:19:57 -0500 Received: from cyberdimension.org ([80.67.179.20] helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1osBPC-00059w-TE for help-guix@gnu.org; Mon, 07 Nov 2022 18:19:55 -0500 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 133cb8d6; Mon, 7 Nov 2022 23:14:17 +0000 (UTC) Received: from primary_laptop (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 4aa6daaf; Mon, 7 Nov 2022 23:14:17 +0000 (UTC) Date: Tue, 8 Nov 2022 00:19:13 +0100 From: Denis 'GNUtoo' Carikli To: Wojtek Kosior Cc: Gottfried , help-guix@gnu.org Subject: Re: tor Message-ID: <20221108001913.3875f6cc@primary_laptop> In-Reply-To: <20221107211430.4145e9bc@koszkonutek-tmp.pl.eu.org> References: <5f9b2c8a-ee45-451e-da86-c6944a7a910a@posteo.de> <87a67or2g7.fsf@riseup.net> <09e45c31-cce5-da97-dbc0-23975f742279@posteo.de> <87h71u9ez1.fsf@riseup.net> <92a94bf3-12a8-8743-e338-7906835c9697@posteo.de> <20220901162735.785a14c9@primary_laptop> <20221105012942.2be20962@primary_laptop> <1f999794-32e4-718a-2e6b-1395e1d116aa@posteo.de> <20221107211430.4145e9bc@koszkonutek-tmp.pl.eu.org> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.30; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/4vQcovwjkk0i+foQ.KRRfjB"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=80.67.179.20; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667863580; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=s+Zu0QFwMwgnxEkVJma3kTapDPxKM/Hzo0VfOStkkhM=; b=bdswFLbdoUH+ZrnzZzoXy67MUF3qBamRTZgKtev8DxFLZBuHMEbewjc2ZR1mdDXREvwN2z MpK1zwNUjCRh4xYrFhQ/uEAtPE66fIeLlrDka9DIG3Mhk4JoYcJZDppxCUloQnBQeDDWmr O+Bda1g/sUpGCt5K7OpIJW2O1s5729J7tiMHN1FAmqzVLyjHSwj7528aP5Kse06i+7u9FQ kUH+WTKmMtaJDpEskRv/o/PqsmF8qgr08C9bAfF4oU7Dn3cCBqn/bRDFMKXQk7J2j0oUiA vWuQHWRM2Z90i3etZs+ysH7NJ3HFBMwPQgAUDqJcGL2eKefl1sKm/Dr9ftQu7A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667863580; a=rsa-sha256; cv=none; b=kcU5T1QZbo+k8vm6guRDqExa3DF4TWDHRSvIyD90r70gSKohqFc4DIfG6CRRMAobcejyDu Fw4DSTtCt2tztje5EB1tt5B6RcSaE5sOIoIS27c7jIgGuT8g2D8te+skThhT5/Ty86KBxa XEw0GEJOFXDZnPCTC4jQndaPXlbii3A8rQ9QwDxGNdwzf3SehR3q3tRI4HFW5AyfOSt9UU bUds9ARiuazM3QmfnXdOxJo4ky+Tr9yjJ0VZ1MlFk6S9K7oMGoaIrnCvohn0jcs39i6vVB 3NmV1XjmCYgjYotEVnmSsCimRZM5GLg9afEOyOoZOLcyNo5Ceyc2iz2aso2kqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.91 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7B4C59309 X-Spam-Score: -4.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: /uAwttrHXhFQ --Sig_/4vQcovwjkk0i+foQ.KRRfjB Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 7 Nov 2022 21:14:30 +0100 Wojtek Kosior wrote: > > Will this be also at some stage a Guix package or everybody has to=20 > > install it as a script? =20 >=20 > I understand Denis' intention is to ultimately make *the script* into > a Guix package. But it is possible to have the script look like an > application and appear in user's applications menu. So in the end > launching the Tor Browser through it wouldn't be noticeably different > from running a normal browser. In my case I've packaged it in my system.scm, so I can run it like any other program. I've not added the information (yet) about that as I though that just making the script work for another setup than mine would require some work / adjustment. As for packaging the script in Guix, the main blocker is to find a way to make sure it is FSDG compliant. I guess that if it software that is already there, it should be ok to package the current script, but I'm more interested in having something that would download, verify, install and run the tor-browser to make it easy for users to use. And that for sure requires to make sure that what we download is OK FSDG wise. I've found that bug: https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/14924 So maybe I could drop a line there to explain our issue and why removing that text would make it ok for any FSDG distributions to package the tor-browser launcher or similar software (like this script). > export > PATH=3D"$HOME"/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Brows= er/:"$PATH" >=20 > If you instead choose to place the script inside `~/.local/bin`, that > directory is (probably) going to be included in the `PATH` by default > (by the means of your default, auto-created shell initialization > scripts). I used that path to make it compatible with the tor-browser launcher. > Although this is not related, I believe the > `export DISPLAY=3D${DISPLAY};` trick in the script can be replaced with > the `--preserve` option of `guix shell`. At this very moment I > realized I can also improve some code of mine this way :o Thanks a lot, that could indeed make my code way cleaner. Denis. --Sig_/4vQcovwjkk0i+foQ.KRRfjB Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmNpknEACgkQX138wUF3 4mPmHhAAj/i5S5Yewc9+jiAf24fRMn+wRd4g/QRkzRXBtKCOdhjgciudL7qPqd9i ev6Lsm8BhHkZuXsLMMn4x4TINE+d2Hi66ancj0QPl6/eakLbRUqUbz9uMmT6raTr +OcODrxELaiIhfvA4iewBi5Jb+yDug5cz1TMKTqk6jZBsVQ4gE6qKX4/Y8C48JNR ZH3edWfpj7rltk0AgimHJleINZMu10jtQO4j8BS1WosjNqIOA+ObCNVHkd4ZZVK7 o2HPJ1ZQRPcl35pwlontLuTVPfsiX+5l1giq6k+QvbiHATAJlZTlpbfEmi3ma6bX x+v1K6gel/AsyDhViSCLfy8TFVLwEXmf4OblNWlGE4EAKt0KAnrP8fb4EEMCwFSM /sNgyCnAStZd+JI7Nm4C6ijVXUqXD2R3wIohnEzD8+oHBzaOBUs6BM0i0WHGXCBj 3byjlsWZoswSEgD5In5pL1plUnuvHOkRrpOXyp+QwjjYYO3z5zk7Mn5cKDQCzJfy leDnIeIqP9HmKGBkmWVr/jCIlSMaVIcX0taHAtuVRmF6HcJTVUQxWJ2jdrJWFvue wJRVRMdN86NNIW3/7dXmNl7BihdFo52LQk7Bsldgc+0HtQT0wlRLBPuKo2nhbCWt RFQm/meIx58rshlxSdGr7VUsPcQCMhd/mQAImvCgUShWhjtBVCs= =S3pj -----END PGP SIGNATURE----- --Sig_/4vQcovwjkk0i+foQ.KRRfjB--