cross platform building TB's Firefox

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, Tor Browser hacking document has this section on building *just* Firefox - instead of the whole bundle: https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/Hacking#Buildin... I want to do that, but in a cross-platform manner; i.e. I want to build Mac & Win versions of TB's Firefox on Linux. And I'd like to avoid running the whole build system to make things faster. Mike pointed the scripts in the build system's Gitian descriptors: https://gitweb.torproject.org/builders/tor-browser-bundle.git/tree/gitian/de... https://gitweb.torproject.org/builders/tor-browser-bundle.git/tree/gitian/de... Would anyone have other suggestions or pointers? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJU5z5MAAoJEPb7JcMmVt4g9UYH/jkNuxhNOgDGTCfpAN79faqU iMoJ/nuTfOYvw6pZJmCqCpDU31xCRWH0GLz/Fy5efAEYHtNVeWNfSOY57vS4Og9a KpiNHNNNdD7vuqxbzi1Sp0EPD+Pynw86R8X9NrKup4hHj/dXYJHOI/WXhfss7sGz Px2/91xAUhYEflgSTgNBKix3F9gT6Od7Si7x4kaC/KuTF0Lo91kk8NUuOv+fYjya Sy2a00ZMP+7fcQUxjS0QZKir+LxGVA3TeF3agPlUGMV7m//tzc3k2JJbemN07bHB PKir6TH3Q5/JPuAD4qtbbYE9qOL/QDuJmN40yZ4Xk/lLTBoB42JGffuVlZjyp2k= =o76z -----END PGP SIGNATURE-----

You should be able to coerce mkbundle-windows [0] and mkbundle-mac into doing just step 3 by 'touch'-ing the correct files so it thinks it's already done steps 1 and 2. You can run them independently by doing ./mkbundle-windows.sh versions[.alpha/.beta] -tom [0] https://gitweb.torproject.org/builders/tor-browser-bundle.git/tree/gitian/mk... On 20 February 2015 at 08:01, gunes acar <gunes.acar@esat.kuleuven.be> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi all,
Tor Browser hacking document has this section on building *just* Firefox - instead of the whole bundle: https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/Hacking#Buildin...
I want to do that, but in a cross-platform manner; i.e. I want to build Mac & Win versions of TB's Firefox on Linux. And I'd like to avoid running the whole build system to make things faster.
Mike pointed the scripts in the build system's Gitian descriptors: https://gitweb.torproject.org/builders/tor-browser-bundle.git/tree/gitian/de... https://gitweb.torproject.org/builders/tor-browser-bundle.git/tree/gitian/de...
Would anyone have other suggestions or pointers? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEcBAEBAgAGBQJU5z5MAAoJEPb7JcMmVt4g9UYH/jkNuxhNOgDGTCfpAN79faqU iMoJ/nuTfOYvw6pZJmCqCpDU31xCRWH0GLz/Fy5efAEYHtNVeWNfSOY57vS4Og9a KpiNHNNNdD7vuqxbzi1Sp0EPD+Pynw86R8X9NrKup4hHj/dXYJHOI/WXhfss7sGz Px2/91xAUhYEflgSTgNBKix3F9gT6Od7Si7x4kaC/KuTF0Lo91kk8NUuOv+fYjya Sy2a00ZMP+7fcQUxjS0QZKir+LxGVA3TeF3agPlUGMV7m//tzc3k2JJbemN07bHB PKir6TH3Q5/JPuAD4qtbbYE9qOL/QDuJmN40yZ4Xk/lLTBoB42JGffuVlZjyp2k= =o76z -----END PGP SIGNATURE----- _______________________________________________ tbb-dev mailing list tbb-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tbb-dev

Hello Gunes, On Fri., févr. 20, 2015, gunes acar wrote:
Tor Browser hacking document has this section on building *just* Firefox - instead of the whole bundle: https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/Hacking#Buildin...
I want to do that, but in a cross-platform manner; i.e. I want to build Mac & Win versions of TB's Firefox on Linux. And I'd like to avoid running the whole build system to make things faster.
Mike pointed the scripts in the build system's Gitian descriptors: https://gitweb.torproject.org/builders/tor-browser-bundle.git/tree/gitian/de... https://gitweb.torproject.org/builders/tor-browser-bundle.git/tree/gitian/de...
Would anyone have other suggestions or pointers?
Can't remember if it made a difference but when I had similar problems (avoiding full builds cross platform) I switched to the Mozilla 'mach' build script. It's documented everywhere and might do a few things that the yaml scripts using plain old make(1) don't pay attention to. $HOME/devel/tor-browser.git$ ./mach build ...might need to set CONFIGURE_ARGS too. Good luck. Cheers, Michael

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thank you Tom & Michael for the tips, these are pretty useful. On 02/20/2015 04:20 PM, Michael Schloh von Bennewitz wrote:
Hello Gunes,
On Fri., févr. 20, 2015, gunes acar wrote:
Tor Browser hacking document has this section on building *just* Firefox - instead of the whole bundle: https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/Hacking#Buildin...
I want to do that, but in a cross-platform manner; i.e. I want to
build Mac & Win versions of TB's Firefox on Linux. And I'd like to avoid running the whole build system to make things faster.
Mike pointed the scripts in the build system's Gitian descriptors: https://gitweb.torproject.org/builders/tor-browser-bundle.git/tree/gitian/de...
https://gitweb.torproject.org/builders/tor-browser-bundle.git/tree/gitian/de...
Would anyone have other suggestions or pointers?
Can't remember if it made a difference but when I had similar problems (avoiding full builds cross platform) I switched to the Mozilla 'mach' build script. It's documented everywhere and might do a few things that the yaml scripts using plain old make(1) don't pay attention to.
$HOME/devel/tor-browser.git$ ./mach build
...might need to set CONFIGURE_ARGS too. Good luck.
Cheers, Michael
_______________________________________________ tbb-dev mailing list tbb-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tbb-dev
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJU53mdAAoJEPb7JcMmVt4gyuMIAKEsKiZXPJ2aBp5pLw24fcva zqt1AGz62fXl9WNS+carhJobMjSqfwq0ky0Qa0fuZHGtw7CQ90VeOuw6kJ84ZQHC V9ECDl5KeQ1TcLJvJWHaDLOWIYDO/f21HS5DO4Rxg+1p3ZQZEkJHo5Ky+dc1IfUj 7gfOi6E44e/PdfgadE149wS3ND1kUcv0U3/7a5aURWf11o3rfVCFfpXN6RzFAims Tw+py+bftsvGq6Zn2/UBUMzS4nvFttP7jaRUdvY+jMqVDzv4+NDCk3PepukZjfdZ 2IXjhmTR2NNG1+EZ4A/8nOhHdicdO2gHaJigbjPH2T8o97b0I/bzPKCscrwpzDU= =vM6K -----END PGP SIGNATURE-----
participants (3)
-
gunes acar
-
Michael Schloh von Bennewitz
-
Tom Ritter