<div dir="ltr"><div>Hello Georg,</div><div><br></div><div>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 <a href="https://hg.mozilla.org/integration/autoland/rev/36f4ba2fb6f5">website</a>. 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).</div><div><br></div><div>But now that it has built, I did |./mach stage-package| and then copied the contents of the folder "<span style="font-family:arial,sans-serif">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.<br></span></div><div><span style="font-family:arial,sans-serif"><br></span></div><div><span style="font-family:arial,sans-serif">For the record, I would be modifying Firefox's webgl code (as in the code which handles the various animation programs which using webgl)</span></div><div><span style="font-family:arial,sans-serif"><br></span></div><div><span style="font-family:arial,sans-serif">Warm Regards,</span></div><div><span style="font-family:arial,sans-serif">Rishabh Raj<br></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 28, 2019 at 7:39 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,<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 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 did<br>
> a |make nightly-linux-x86_64|, which took almost half a day to complete 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*' and<br>
> I am trying that. Coming to the updated wiki, I think there might still 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 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-...| 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>
</blockquote></div>