Next: , Previous: Introduction, Up: Top   [Contents]


2 Getting started

GSRC is distributed directly using the Bazaar version control system or via a a compressed archive. You can check out the latest version from the Bazaar repository using

$ bzr checkout bzr://bzr.savannah.gnu.org/gsrc/trunk/ gsrc

This will create a directory gsrc. The build definitions for GNU packages are in the gnu subdirectory. Large sub-projects, such as GNOME, have their own subdirectory containing packages (i.e. gnome). Each package has its own subdirectory within its parent, for example gnu/emacs or gnome/evince, containing a config.mk file for configuring the package and a Makefile for building it. This Makefile will execute the usual ./configure and make commands needed to build a GNU package.

The deps/ subdirectory contains build recipes for some non-GNU packages on which GNU packages depend. The external subdirectory contains references to other dependencies which you may have to install outside of GSRC, such as via your GNU/Linux distribution’s package manager (APT, Pacman, Yum, etc.).

To stay up-to-date with the latest releases of GNU software, you can pull in recent changes to your local copy of GSRC:

$ bzr update

Next: , Previous: Introduction, Up: Top   [Contents]