Comment 2 for bug 304364

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 304364] Re: bzr-gtk install does not honour --home argument

On Fri, 2011-01-07 at 14:41 +0000, Pavlo Shchelokovskyy wrote:
> In continuation on this bug:
> I have installed latest bzr-gtk (0.99.1) in my home folder (Fedora 12 x86_64, python 2.6.2, bzrlib 2.2.2) with
>
> python setup.py install --home=~
>
> As an effect of non-default install location some of bzr-gtk dialogs are
> not working (merge, about) - they also can not find the icons.
>
> The solution, as David I pointed, is to change the data_basedirs()
> function. I do not know how to make it really honour the --home
> installation option, but I can imagine that installing to home folder as
> I did is next common case after default install.
Yeah, I really think we need to fix that function to use the actual path
that was used during installation time, rather than supporting the most
common locations.

> Attached is the patch to solve this icon issue when installing to home
> folder
>
> BTW, about icons - since Olive is separate from the bzr-gtk now, it's
> icons can be removed from bzr-gtk.
That's a good point I'll look into it.

Cheers,

Jelmer