On Wed, Feb 17, 2016 at 11:51:38AM -0600, attila wrote:
> 
> Landry Breuil <lan...@rhaalovely.net> writes:
> 
> > On Mon, Feb 15, 2016 at 10:54:26AM -0600, attila wrote:
> >> 
> >> Landry Breuil <lan...@rhaalovely.net> writes:
> >> <snip>
> >
> > You shouldnt need to copy the xpi's to the user profile, there are ways
> > via tweaks to make it work.
> >
> > <snip>
> >
> > Of course, all this is documented in
> > https://developer.mozilla.org/en-US/Add-ons/Installing_extensions and
> > explained in
> > https://mike.kaply.com/2012/02/21/understanding-add-on-scopes/
> 
> How right you are.  After doing some more digging I've come up with a
> solution that ditches the start-tor-browser script and uses a mozilla
> autoconfig file instead, along with some other tweaks to make it go as
> per Mike Kaply and MDN.  Attached are the new ports, although still at
> TBB 5.5 (still need to update to 5.5.2).
> 
> Thanks for the cluebat.  I learned a lot.

Great, that looks *much* nicer now without the profile hackery that was
done before :) I suppose with that, the xpis are directly opened from
the systemwide install, and not copied to the running profile anymore ?
Have you tried various settings for the scopes ? (honestly, for
thunderbird it was a try-and-see, and i ended up with 3, i see you use
5, just wondering about the reasoning)
Lots of things are 'hardcoded' in tor-browser.cfg, where are those
values coming from, can you maybe document them ?

I noticed that www/tbb/tbb/Makefile still mentions gxmessage for
start-tor-browser, i suppose that's not needed anymore ?

One thing more packaging-related: i see that tor-browser RUN_DEPENDS on
the extensions, but 'conceptually' it'd be better the other way for two
reasons:
- the extensions are useless without tor-browser installed
- tor-browser *could* run without the extensions (but wouldnt provide
  the expected user-experience, agreed)

Making it the other way could also allow you to get rid of the
directories from each extension PLIST, which would only contain the xpi
file, since the directory hierarchy is in tor-browser PLIST.

I dont remember it being discussed before, but was a meta/tbb port
considered, run-depending on the 4 extensions & tor-browser 'main'
package ? Users would just have to install this one to get the whole
thing.

I'll try to find some time to look better into all this.

Landry

Reply via email to