Installing the latest version of Bazaar and tools on Gentoo
December 1, 2007
Currently, the bzr-svn and bzr-gtk plugins are not available in Gentoo's package directory. Fortunately, there is exists a bzr Gentoo overlay. If you've never used an overlay before, it's a way to override or add packages to Gentoo's standard package directory. In this overlay there are a couple common plugins, as well as a patched version of Subversion that is needed for the bzr-svn plugin.
Current packages in the overlay:
- bzr
- bzrtools
- bzr-config
- bzr-dbus
- bzr-gtk
- bzr-rebase
- bzr-svn
- bzr-vimdiff
- paramiko
- subversion (patched version needed for bzr-svn)
Steps for using the overlay:
As usual, update your portage tree:
emerge --sync
Make sure you have the following line in your /etc/make.conf:
source /usr/portage/local/layman/make.conf
Get a copy of the overlay from launchpad:
bzr branch lp:///bzr-gentoo-overlay
Make sure you have the path to the overlay set in /usr/portage/local/layman/make.conf:
PORTDIR_OVERLAY="/path/to/bzr-gentoo-overlay"
Now you should be able to update your system, pulling in updates to any currently installed packages from the new overlay:
emerge -uav world
emerge any of the new packages you want that are now available from the overlay. Note: If you install bzr-svn, make sure to re-install Subversion so that the patched version is used from the overlay:
emerge -av bzr-gtk bzr-svn subversion