Changes between Initial Version and Version 1 of Ticket #12631, comment 6


Ignore:
Timestamp:
Mar 26, 2015, 10:06:48 AM (4 years ago)
Author:
dawuud
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12631, comment 6

    initial v1  
    11
    2 I have successfully built Tor Browser in arch linux running on a Raspberry Pi 2.
    3 I'd like to make many further refinements to my archlinux build procedure for TBB such as using distcc with cross compiling slaves etc. However I'm sure I could improve on the .mozconfig being used as well... and in particular I'd like to try out various configuration changes such as:
     2I built Tor Browser in arch linux running on a Raspberry Pi 2.
     3I followed this procedure:
     4https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/Hacking#BuildingJustFirefox
    45
    5 ac_add_options --with-arm-kuser
    6 ac_add_options --with-arch=armv7
     6I'd like to make many further refinements to my archlinux build procedure for TBB such as using distcc with cross compiling slaves etc.
    77
     8Here's a brief explanation of how to build tor-browser in arm arch linux:
    89
    9 Here's a breif explanation of how to build tor-browser in arm arch linux:
    10 
    11 First, checked out the official Tor Browser git repo via the official https git link.
    12 I checked out the "tor-browser-31.5.3esr-4.0-1" branch to build.
     10First, I git cloned https://git.torproject.org/tor-browser.git
     11and I checked out the "tor-browser-31.5.3esr-4.5-1-build1" branch.
    1312
    1413Then I followed the instructions and performed prerequisite changes as described here:
     
    2928[human@builder tor-browser]$ git diff .mozconfig
    3029diff --git a/.mozconfig b/.mozconfig
    31 index f0c5510..13ce905 100755
     30index f2874e8..73fd025 100755
    3231--- a/.mozconfig
    3332+++ b/.mozconfig
    34 @@ -2,14 +2,19 @@
     33@@ -2,14 +2,22 @@
    3534 
    3635 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
     
    4140 mk_add_options BUILD_OFFICIAL=1
    4241 
     42+
    4343+mk_add_options PYTHON=/usr/bin/python2
    4444+mk_add_options AUTOCONF=autoconf-2.13
    4545+
    4646+ac_add_options --with-ccache=/usr/bin/ccache
     47+ac_add_options --with-arm-kuser
     48+ac_add_options --with-arch=armv7-a
    4749+
    4850 ac_add_options --enable-optimize
     
    5254+#ac_add_options --enable-tor-browser-update
    5355 ac_add_options --enable-update-packaging
    54  # We do not use signed MAR files yet (Mozilla uses them on Windows only).
    55  ac_add_options --disable-verify-mar
     56 ac_add_options --enable-signmar
     57 ac_add_options --enable-verify-mar
     58@@ -21,3 +29,4 @@ ac_add_options --disable-maintenance-service
     59 ac_add_options --disable-crashreporter
     60 ac_add_options --disable-webrtc
     61 #ac_add_options --disable-ctypes
     62+
    5663[human@builder tor-browser]$
    5764
     
    6471Additionally I enabled 1G of swap on this build system so that it wouldn't crash with out-of-memory failures.
    6572
    66 3. run the "configure"
     733. building archlinux Tor Browser Bundle
    6774
    68 make -f client.mk configure
     75I followed the procedure documented here:
     76https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/Hacking#BuildingJustFirefox
    6977
    70 4. run the "build"
     78I used the most recent amd64 build of TBB for the skeleton... and replaced it's browser with the new as mentioned in the link.
    7179
    72 make -f client.mk build
    73