Compiling plugins

Russel Winder russel.winder at concertant.com
Thu Aug 21 16:40:27 BST 2008


On Thu, 2008-08-21 at 10:22 -0500, John Arbash Meinel wrote:
> Russel Winder wrote:
[ . . . ]
> > The plugins have to be installed in ~/.bazaar/plugins and there is no
> > naming strategy to deal with platform specific variants.  What I need is
> > to have a single svn plugin directory -- so I only have to pull from
> > Jelmer's branch on one machine and then to be able to compile for
> > Ubuntu, Solaris and Mac OS X in the same source tree.
[ . . . ]
> You can always set BZR_PLUGIN_PATH on each machine to give a custom location
> from which to import plugins. Something like:
> 
> export BZR_PLUGIN_PATH="$HOME/.bazaar/plugins:$HOME/.bazaar/$HOSTNAME/plugins"
> 
> or something along those lines should work fine.

Aha, I didn't know about BZR_PLUGIN_PATH -- even though perhaps I should
have done.

This is certainly a part solution to the overall problem, it allows for
platform specific plugin directories.

It does mean though that I will have three copies of the plugin branch
-- I agree not a huge problem, but irritating nonetheless.  I guess what
I need to do is have the bzr-svn branch somewhere and then compile it to
an installation directory different from the source directory.  This
means setting DESTDIR sensibly.

Thanks.
 
-- 
Russel.
====================================================
Dr Russel Winder                 Partner

Concertant LLP                   t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,              f: +44 8700 516 084
London SW11 1EN, UK.             m: +44 7770 465 077
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080821/c268a949/attachment.pgp 


More information about the bazaar mailing list