This tutorial will show you how to get Gephi source code and explain the basic bazaar command. The way to build Gephi is detailed elsewhere. To understand the source code directories and files, see Gephi source code directory manual. This tutorial describes how to get the current source code from the official repository, but releases source code should also be available as packed (zip/tar) files.
Step1: Get Bazaar
Bazaar is versioning software, as CVS or SVN. It has to be installed on the computer. Get Bazaar here.
Documentation about Bazaar :
* Official site
* Mini-tutorial
* Bazaar documentation
* Bazaar user guide
* Bazaar manual
* A Contributor’s Guide to Launchpad and Bazaar
Bazaar is now installed and available as command lines. The next step will show how to create a repository.
Step2: Create repository
A Bazaar repository works as other versioning software. The directory you choose to become the repository is initiated by Bazaar and can be synchronized with the official Gephi repository. Note that Bazaar creates a hidden .bzr directory at the root of your repository. If this directory is deleted the Bazaar repository disappears and the directory becomes again a normal directory.
Execute this command to create a repository on a gephibzr directory. The directory should be empty.
$ bzr init-repo gephibzr
$ cd gephibzr
Step3: Download source code
The official Gephi repository is hosted on Launchpad. This website is a code managing platform, initiated for the Ubuntu project. It provides much functionality and is easy to use. See Launchpad help here.
Execute this command to get the complete gephi project source code in the initiated repository gephibzr:
bzr branch lp:gephi
This will create a gephi directory and download the latest development sources. Note that you don’t need to be a launchpad member to do this.
Update repository
To update to the last version simply execute this command in your gephibzr directory:
bzr update
