[tbb-dev] Building Tor Browser (Firefox)
gk at torproject.org
Wed May 29 08:13:00 UTC 2019
> Hello Georg,
> I was finally able to build it, but here is what I had to do. |./mach
> configure| will not run unless I do not patch the
> "build/moz.configure/init.configure" file using this website
> <https://hg.mozilla.org/integration/autoland/rev/36f4ba2fb6f5>. After this,
> I figured out that |./mach build| was giving me errors because my rust
> version was 1.34. I downgraded it to 1.29 and it worked (I have no clue as
> to why this is required).
I wonder what branch you are actually using for building because that
the patch for bug 1479540, which you need, got backported to esr60
months ago and is available on all recent tor-browser branches. That
might be the underlying problem for your rust issues as well.
Please check out `tor-browser-60.7.0esr-9.0-1` which is the current
development branch (but `tor-browser-60.7.0esr-8.5-1` should work as well.
> But now that it has built, I did |./mach stage-package| and then copied the
> contents of the folder "obj-*/dist/firefox/" to the "Browser/" folder of
> tor-browser-linux64-8.5_en-US which I downloaded from Tor Browser's
> website. But now, when I run |./start-tor-browser.desktop|, it launches
> Firefox browser with my current profile. I thought that it would launch Tor
> Browser, but it didn't. Is this how it's supposed to work? I feel that I am
> close and I might be missing something here. I would be really grateful if
> you could tell me what I am missing here.
I think you are not checking out the proper tor-browser branch (see
above), which explains why you need to provide an own .mozconfig file
etc. even though that file with the Tor Browser settings is already there.
> For the record, I would be modifying Firefox's webgl code (as in the code
> which handles the various animation programs which using webgl)
> Warm Regards,
> Rishabh Raj
> On Tue, May 28, 2019 at 7:39 AM Georg Koppen <gk at torproject.org> wrote:
>> Rishabh Raj:
>>> I had previously sent a similar mail on tbb-community-team. But Georg
>>> advised me to send it on tbb-dev. So here I am.
>>> I am actually working on modifying some parts of Tor Browser for my
>>> and for that I will need to build Tor Browser's source code. I was
>>> following this website
>>> (Georg has updated it now) and after cloning tor-browser-build repo, I
>>> a |make nightly-linux-x86_64|, which took almost half a day to complete
>>> my Ubuntu 18.04 system. But, since I would be making some changes to the
>>> browser (mostly Firefox code), I need to alter code and build again and
>>> In the above website, there is an option for '*Building Just Firefox*'
>>> I am trying that. Coming to the updated wiki, I think there might still
>>> some issues there. Allow me to make myself clearer:
>>> Installation of packages. Some of them may be deprecated. For example I
>>> this after running the command :
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>> Package hardening-wrapper is not available, but is referred to by another
>>> This may mean that the package is missing, has been obsoleted, or
>>> is only available from another source
>>> E: Package 'hardening-wrapper' has no installation candidate
>>> E: Unable to locate package libgstreamer-plugins-base0.10-dev
>>> E: Couldn't find any package by glob 'libgstreamer-plugins-base0.10-dev'
>>> E: Couldn't find any package by regex 'libgstreamer-plugins-base0.10-dev'
>>> Assuming this is not the issue, I proceeded and made the new file
>>> |.mozconfig| and copied the given two lines into it, cloned and moved the
>>> tor-launcher as well and ran the |./mach configure --with-tor-...|
>>> which gives:
>> What happens if you try my last advice:
>> No need for a new .mozconfig. If you check out the latest tor-browser
>> branch (tor-browser-60.7.0esr-9.0-1) there is already a .mozconfig file
>> that works for Linux.
>> Then just using the mach commands on the wiki should work (I tested that
>> at least the configure command worked on my system) provided you have
>> the right packages installed.
>> tbb-dev mailing list
>> tbb-dev at lists.torproject.org
> tbb-dev mailing list
> tbb-dev at lists.torproject.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the tbb-dev