First find out what software packages you want. Fetch all the software packages you require with the packages they depend on, according to Figure 5.1, “Software dependencies”.
You can get these programs via SVN or CVS (detailed instructions are available from the project pages for libusb, libexif, gphoto):
alice@host:~$svncheckouthttps://gphoto.svn.sourceforge.net/svnroot/gphoto/trunk/gphoto-suitealice@host:~$vi# comment out unwanted softwarecheckout-config.txtalice@host:~$./checkout-config.sh# only if you want/need software described in checkout-config.txtalice@host:~$rm -rf src/{what,you,do,not,want}# optional or select your desired software from these:alice@host:~$svncheckouthttps://libusb.svn.sourceforge.net/svnroot/libusb/trunk/libusbalice@host:~$cvs-z3-d:pserver:anonymous@libexif.cvs.sourceforge.net:/cvsroot/libexifcheckout-Plibexifalice@host:~$cvs-z3-d:pserver:anonymous@libexif.cvs.sourceforge.net:/cvsroot/libexifcheckout-Pexifalice@host:~$cvs-z3-d:pserver:anonymous@libexif.cvs.sourceforge.net:/cvsroot/libexifcheckout-Plibexif-gtkalice@host:~$svncheckouthttps://gphoto.svn.sourceforge.net/svnroot/gphoto/trunk/libgphoto2alice@host:~$svncheckouthttps://gphoto.svn.sourceforge.net/svnroot/gphoto/trunk/gphoto2alice@host:~$svncheckouthttps://gphoto.svn.sourceforge.net/svnroot/gphoto/trunk/gphotofsalice@host:~$svncheckouthttps://gphoto.svn.sourceforge.net/svnroot/gphoto/trunk/gtkam
All the software modules libusb, libexif, libexif-gtk, exif, gexif, libgphoto2, gphoto2, and gtkam use an automake-based build system. This build system has to be initialized before you can use it in the well known ./configure && make && make install manner:
alice@host:~$(cd gphoto-suite && autoreconf --install --symlinkoralice@host:~$(cd libusb && autoreconf --install --symlink)alice@host:~$(cd libexif && autoreconf --install --symlink)alice@host:~$(cd exif && autoreconf --install --symlink)alice@host:~$(cd libexif-gtk && autoreconf --install --symlink)alice@host:~$(cd libgphoto2 && autoreconf --install --symlink)alice@host:~$(cd gphoto2 && autoreconf --install --symlink)alice@host:~$(cd gphotofs && autoreconf --install --symlink)alice@host:~$(cd gtkam && autoreconf --install --symlink)
Before the libgphoto2 2.4.0 release, we shipped our own autogen.sh script which had to do a little more than autoreconf can. It was just called as autogen.sh instead of autoreconf --install --symlink.
This initialization requires a few specialized build tools like automake, autoreconf (from autoconf), libtoolize (from libtool), autopoint (from gettext) and pkg-config (pkg-config). Make sure you have these installed. Then run the autoreconf --install --symlink command in each of the modules which does the build system initialization for you.
When the build system of all modules is initialized, you can start configuring and building the source, as described in Section 5.3, “Configuring, building, and installing”