From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Tor Browser Date: Thu, 30 Jun 2016 12:29:52 +0200 Message-ID: <87mvm355r3.fsf@gnu.org> References: <20160623104107.GA2505@shadowwalker> <20160623132347.GA9193@shadowwalker> <87a8ia7pq4.fsf@gnu.org> <20160624134357.GA30727@shadowwalker> <87por637vi.fsf_-_@gnu.org> <20160624174913.GA19633@shadowwalker> <87r3bkmfja.fsf@gnu.org> <87bn2kxirt.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIZEQ-0007gZ-LY for guix-devel@gnu.org; Thu, 30 Jun 2016 06:30:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIZEM-0003qW-Cb for guix-devel@gnu.org; Thu, 30 Jun 2016 06:30:01 -0400 In-Reply-To: <87bn2kxirt.fsf@we.make.ritual.n0.is> (ng0@we.make.ritual.n0.is's message of "Wed, 29 Jun 2016 12:48:54 +0000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: ng0@we.make.ritual.n0.is Cc: guix-devel@gnu.org ng0@we.make.ritual.n0.is skribis: > Ludovic Court=C3=A8s writes: [...] >> I suppose TB contains a script that does all that, right? Would it work >> to simply run it? If it invokes wget/curl, then this needs to be >> replaced, but the rest should be fine. > > It's not that easy I'm afraid. > Currently they use a gitian build, as described in this README[0], > which the person maintaining the torbrowser ebuild for Gentoo out > of portage replicates and follows in parts. > It can't be followed completely, as `builders/tor-browser-bundle' > requires a checkout of gitian of the torproject.org > > So we have to look at what they do and recreate this build > procedure, there's no individual Makefile, the releases are > created in VMs. > > Dependencies are kept up to date here[1]. > > This[2] is the script connecting/using gitian for gnu-linux releases. > > The Makefile just runs the corresponding scripts. Gitian is about building binaries. There must be some script somewhere to apply the relevant patches to the source first, before one builds it, no? >> It=E2=80=99s unfortunate that there=E2=80=99s no ready-to-build TB tarba= ll, that would >> simplify things for us. > > Yes.. But I think icecat suffers from the same problem, only that > icecat tarballs/binaries are built using a bash script applying > all that's needed to the firefox sources again. IceCat publishes source tarballs that, AIUI, are produced essentially by running a script that patches Firefox=E2=80=99s code base (same approach for Linux-libre.) Thanks, Ludo=E2=80=99.