<div dir="ltr"><div>I am so thankful to you for helping me out. But there is one thing that I would like to point out. I cloned both the esr8.5-1 and esr9.0-1 branches and tried building them. Both of them failed with the latest rust version (which now is 1.35) (got similar macro errors of which I had sent you a screenshot before). I needed to fall back to rust v1.29.1 to build them without any errors. <br></div><div><br></div><div>I am really really grateful to you for helping me out. I can now start working on my project. Thank you so much!</div><div><br></div><div>Warm Regards,</div><div>Rishabh Raj<br> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 29, 2019 at 4:14 AM Georg Koppen <<a href="mailto:gk@torproject.org">gk@torproject.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Rishabh Raj:<br>
> Hello Georg,<br>
> <br>
> I was finally able to build it, but here is what I had to do. |./mach<br>
> configure| will not run unless I do not patch the<br>
> "build/moz.configure/init.configure" file using this website<br>
> <<a href="https://hg.mozilla.org/integration/autoland/rev/36f4ba2fb6f5" rel="noreferrer" target="_blank">https://hg.mozilla.org/integration/autoland/rev/36f4ba2fb6f5</a>>. After this,<br>
> I figured out that |./mach build| was giving me errors because my rust<br>
> version was 1.34. I downgraded it to 1.29 and it worked (I have no clue as<br>
> to why this is required).<br>
<br>
I wonder what branch you are actually using for building because that<br>
the patch for bug 1479540, which you need, got backported to esr60<br>
months ago and is available on all recent tor-browser branches. That<br>
might be the underlying problem for your rust issues as well.<br>
<br>
Please check out `tor-browser-60.7.0esr-9.0-1` which is the current<br>
development branch (but `tor-browser-60.7.0esr-8.5-1` should work as well.<br>
<br>
> But now that it has built, I did |./mach stage-package| and then copied the<br>
> contents of the folder "obj-*/dist/firefox/" to the "Browser/" folder of<br>
> tor-browser-linux64-8.5_en-US which I downloaded from Tor Browser's<br>
> website. But now, when I run |./start-tor-browser.desktop|, it launches<br>
> Firefox browser with my current profile. I thought that it would launch Tor<br>
> Browser, but it didn't. Is this how it's supposed to work? I feel that I am<br>
> close and I might be missing something here. I would be really grateful if<br>
> you could tell me what I am missing here.<br>
<br>
I think you are not checking out the proper tor-browser branch (see<br>
above), which explains why you need to provide an own .mozconfig file<br>
etc. even though that file with the Tor Browser settings is already there.<br>
<br>
Georg<br>
<br>
> For the record, I would be modifying Firefox's webgl code (as in the code<br>
> which handles the various animation programs which using webgl)<br>
> <br>
> Warm Regards,<br>
> Rishabh Raj<br>
> <br>
> On Tue, May 28, 2019 at 7:39 AM Georg Koppen <<a href="mailto:gk@torproject.org" target="_blank">gk@torproject.org</a>> wrote:<br>
> <br>
>> Rishabh Raj:<br>
>>> Hello,<br>
>>> I had previously sent a similar mail on tbb-community-team. But Georg<br>
>>> advised me to send it on tbb-dev. So here I am.<br>
>>><br>
>>> I am actually working on modifying some parts of Tor Browser for my<br>
>> project<br>
>>> and for that I will need to build Tor Browser's source code. I was<br>
>>> following this website<br>
>>> <<a href="https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/Hacking" rel="noreferrer" target="_blank">https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/Hacking</a>><br>
>>> (Georg has updated it now) and after cloning tor-browser-build repo, I<br>
>> did<br>
>>> a |make nightly-linux-x86_64|, which took almost half a day to complete<br>
>> on<br>
>>> my Ubuntu 18.04 system. But, since I would be making some changes to the<br>
>>> browser (mostly Firefox code), I need to alter code and build again and<br>
>>> again.<br>
>>><br>
>>> In the above website, there is an option for '*Building Just Firefox*'<br>
>> and<br>
>>> I am trying that. Coming to the updated wiki, I think there might still<br>
>> be<br>
>>> some issues there. Allow me to make myself clearer:<br>
>>><br>
>>> (1)<br>
>>> Installation of packages. Some of them may be deprecated. For example I<br>
>> get<br>
>>> this after running the command :<br>
>>> |||<br>
>>> Reading package lists... Done<br>
>>> Building dependency tree<br>
>>> Reading state information... Done<br>
>>> Package hardening-wrapper is not available, but is referred to by another<br>
>>> package.<br>
>>> This may mean that the package is missing, has been obsoleted, or<br>
>>> is only available from another source<br>
>>><br>
>>> E: Package 'hardening-wrapper' has no installation candidate<br>
>>> E: Unable to locate package libgstreamer-plugins-base0.10-dev<br>
>>> E: Couldn't find any package by glob 'libgstreamer-plugins-base0.10-dev'<br>
>>> E: Couldn't find any package by regex 'libgstreamer-plugins-base0.10-dev'<br>
>>> |||<br>
>>><br>
>>> (2)<br>
>>> Assuming this is not the issue, I proceeded and made the new file<br>
>>> |.mozconfig| and copied the given two lines into it, cloned and moved the<br>
>>> tor-launcher as well and ran the |./mach configure --with-tor-...|<br>
>> command,<br>
>>> which gives:<br>
>><br>
>> What happens if you try my last advice:<br>
>><br>
>> """<br>
>> No need for a new .mozconfig. If you check out the latest tor-browser<br>
>> branch (tor-browser-60.7.0esr-9.0-1) there is already a .mozconfig file<br>
>> that works for Linux.<br>
>><br>
>> Then just using the mach commands on the wiki should work (I tested that<br>
>> at least the configure command worked on my system) provided you have<br>
>> the right packages installed.<br>
>> """<br>
>> ?<br>
>><br>
>> Georg<br>
>><br>
>> _______________________________________________<br>
>> tbb-dev mailing list<br>
>> <a href="mailto:tbb-dev@lists.torproject.org" target="_blank">tbb-dev@lists.torproject.org</a><br>
>> <a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tbb-dev" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tbb-dev</a><br>
>><br>
> <br>
> <br>
> _______________________________________________<br>
> tbb-dev mailing list<br>
> <a href="mailto:tbb-dev@lists.torproject.org" target="_blank">tbb-dev@lists.torproject.org</a><br>
> <a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tbb-dev" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tbb-dev</a><br>
> <br>
<br>
<br>
_______________________________________________<br>
tbb-dev mailing list<br>
<a href="mailto:tbb-dev@lists.torproject.org" target="_blank">tbb-dev@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tbb-dev" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tbb-dev</a><br>
</blockquote></div>