[tor-bugs] #2176 [Tor bundles/installation]: Branding of TBB

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Oct 21 06:12:43 UTC 2011


#2176: Branding of TBB
--------------------------------------+-------------------------------------
 Reporter:  ioerror                   |          Owner:  erinn
     Type:  enhancement               |         Status:  new  
 Priority:  normal                    |      Milestone:       
Component:  Tor bundles/installation  |        Version:       
 Keywords:  Bounty                    |         Parent:       
   Points:                            |   Actualpoints:       
--------------------------------------+-------------------------------------

Comment(by ioerror):

 Ok, after a few missteps, I made the simplest patch possible:
 {{{
 git diff
 diff --git a/build-scripts/linux.mk b/build-scripts/linux.mk
 index 76949f5..ea76434 100644
 --- a/build-scripts/linux.mk
 +++ b/build-scripts/linux.mk
 @@ -40,7 +40,7 @@ BUILD_NUM=3
  PLATFORM=Linux

  ## Location of directory for source unpacking
 -FETCH_DIR=/srv/build-trees/build-alpha-$(ARCH_TYPE)
 +FETCH_DIR=/tmp/srv/build-trees/build-alpha-$(ARCH_TYPE)
  ## Location of directory for prefix/destdir/compiles/etc
  BUILT_DIR=$(FETCH_DIR)/built
  TBB_FINAL=$(BUILT_DIR)/TBBL
 @@ -116,6 +116,9 @@ build-firefox:
         cp patch-firefox-src.sh $(FIREFOX_DIR)
         cp $(CONFIG_SRC)/dot_mozconfig $(FIREFOX_DIR)/mozconfig
         cd $(FIREFOX_DIR) && ./patch-firefox-src.sh
 +## Rebrand by passing in a totally different aurora directory
 +       rm -r $(FIREFOX_DIR)/browser/branding/aurora/
 +       cp -arv branding/aurora $(FIREFOX_DIR)/browser/branding
         cd $(FIREFOX_DIR) && make -f client.mk build

  copy-firefox:
 }}}

 This requires that you add branding/aurora to our branding directory. I've
 made an aurora.tar.gz - if you unpack it into torbrowser/branding/aurora
 and apply the patch above, you'll have a re-branded Firefox, I believe.
 It's pretty ghetto but it's a good start.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2176#comment:25>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list