Difference between revisions of "Running a development version of Gramps"

From Gramps
Jump to: navigation, search
(tested on ubuntu 10.10)
(add some links and add a note)
Line 2: Line 2:
  
 
* Install a recent version of Ubuntu.  The steps in this document have been tested with Ubuntu 7.04, 7.10, 8.04, 10.04 and 10.10.
 
* Install a recent version of Ubuntu.  The steps in this document have been tested with Ubuntu 7.04, 7.10, 8.04, 10.04 and 10.10.
*: ''(It is beyond the scope of this document, but VirtualBox and VMWare provide a great and relatively easy solution to getting a clean build environment up and running within 30 minutes.)''
+
 
 +
{{man warn|1=Note|2=It is beyond the scope of this document, but [http://en.wikipedia.org/wiki/VirtualBox VirtualBox] and [http://en.wikipedia.org/wiki/VMware VMWare] provide a great and relatively easy solution to getting a clean build environment up and running within 30 minutes.}}
 +
 
 
* Install a text editor if you plan on modifying the GRAMPS source.  You can use any text editor such as gedit, kate, or sourcenav (<tt>sudo apt-get install sourcenav</tt>), erik4, SPE, or [http://www.eclipse.org Eclipse] with the python plugin. Instructions on [[Development using Eclipse and Pydev|installing and configuring Eclipse for GRAMPS development]].  Note the [[Programming Guidelines|programming guidelines for GRAMPS]].
 
* Install a text editor if you plan on modifying the GRAMPS source.  You can use any text editor such as gedit, kate, or sourcenav (<tt>sudo apt-get install sourcenav</tt>), erik4, SPE, or [http://www.eclipse.org Eclipse] with the python plugin. Instructions on [[Development using Eclipse and Pydev|installing and configuring Eclipse for GRAMPS development]].  Note the [[Programming Guidelines|programming guidelines for GRAMPS]].
 
* Install the tools we'll need:
 
* Install the tools we'll need:

Revision as of 05:34, 31 October 2010

The following describes one possible scenario for building and running the latest development version of GRAMPS on Ubuntu:

  • Install a recent version of Ubuntu. The steps in this document have been tested with Ubuntu 7.04, 7.10, 8.04, 10.04 and 10.10.
Gnome-important.png
Note

It is beyond the scope of this document, but VirtualBox and VMWare provide a great and relatively easy solution to getting a clean build environment up and running within 30 minutes.

sudo apt-get install build-essential gnome-common libglib2.0-dev subversion
  • Create a directory for the Gramps source:
cd ~
mkdir gramps
cd gramps
  • Get the latest version of GRAMPS:
svn co https://gramps.svn.sourceforge.net/svnroot/gramps/trunk
  • Get ready to build GRAMPS:
cd trunk
./autogen.sh
  • Build GRAMPS:
make
  • Run Gramps:
python src/gramps.py

At this point, any time you want to update to the latest version of Gramps, simply run:

cd ~/gramps/trunk
svn update
python src/gramps.py

If some of the GRAMPS constants have changed and you obtain an error in const.py, rerun the commands autogen.sh and make.