[tor-dev] tbb-build for Windows

Shondoit Walker shondoit at gmail.com
Sun May 6 18:31:14 UTC 2012

Hash: SHA1

Hey John,

>> If you have a clean VM, with a default install of Windows 7,
>> then please try it out and let me know. If you have a dirty
>> Windows XP in the back of your closet, try it out as well. I'd
>> love to hear how it breaks and then improving it.
> Would you be interested in the opposite? That is, a (slightly) 
> dirty default install of Windows 7 (x64), and a clean VM with a 
> default install of Windows XP SP3? Alternatively, I could install 
> XP into a new partition on HDD, if you'd prefer.

I'm interested in any testing. I would recommend VM's though so that
you can roll back to a snapshot if something goes wrong.

>> Don't forget to set-up Git (git config [...]), clone 
>> torbrowser.git, add my personal repo, checkout 'personal-build'
> Could you please expand on this? I haven't used Git via mingw and I
> don't much feel like taking the time to RTFM ;)

Git via mingw is pretty much the same as regular git. If you've never
used Git before, I highly recommend to get the basics: http://gitref.org

After you start mingw do the following.
Please try to understand what every command does.

# Setting up Git (Change name/email if needed)
$ git config --global user.name "John Crain"
$ git config --global user.email "johncrain at eml.cc"

# Set up TBB build folder
$ mkdir /c/Build
$ cd /c/Build
$ git clone git://git.torproject.org/torbrowser.git
$ cd torbrowser

# Add my personal repo and check out the 'personal-build' branch.
$ git remote add shondoit
$ git fetch shondoit
$ git checkout -t shondoit/personal-build

# Start building... This will take a couple of hours.
$ make -f build-scripts/windows.mk build-all-binaries bundle

> P.S. How would one go about using your work for profile build(s)
> to test benefits of something like [0,1]?
> [0] #3978: "Better TBB about:config settings(?); re: browsing and 
> loading speed, etc." 
> https://trac.torproject.org/projects/tor/ticket/3978 [1] 
> https://trac.torproject.org/projects/tor/attachment/ticket/3978/tbb-ff-pgo.patch

would recommend checking out a new branch and working from there.
$ git checkout -b bug3978
It seems that the torbrowser source has changed too much to
successfully apply that patch, so I think it might be best to start
from scratch and manually apply the changes. How to go from there, I'm
not sure.

It's best to start with a clean build first and verify that you can
succesfuly build a normal TBB. Only then start with changing settings.
If you have any questions about building or changing things you can
join #tor-dev on irc.oftc.net and ask your question there. There are
more people that can help you there, and I'll be on as well.

Good luck,


Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


More information about the tor-dev mailing list