Welcome to Aptitude-gtk

This is a Mercurial repository for the Aptitude-gtk Debian Google Summer of Code 2008 project.

The student (me) is Obey Arthur Liu and the mentor is Daniel Burrows.

NOTICE: The present code is now frozen and merged into the main codebase.

Main codebase : http://algebraicthunk.net/~dburrows/projects/aptitude/

For history (obsolete)

Read access is available at : http://dev.graffit.net/aptitude/hg

A blog should be updated at : http://www.milliways.fr

See also : http://algebraicthunk.net/~dburrows/projects/aptitude/

How to compile

Currently, aptitude-gtk compiles the same way as the regular Aptitude plus some more dependencies. To get the packages for the build-time dependencies on Debian, do as root :

aptitude install \
   libapt-pkg-dev libsigc++-2.0-dev libcppunit-dev libcwidget-dev gettext g++ make \ # main program
   libgtkmm-2.4-dev libglibmm-2.4-dev libglademm-2.4-dev \ # gtk version
   docbook-xsl docbook-xml xsltproc html2text po4a # documentation

To clone the repository, do :

hg clone http://dev.graffit.net/aptitude/hg aptitude-gtk #may take a while
cd aptitude-gtk
hg update gtk # switch to the gtk branch
hg update # update to the tip

To update to the newest changes when you already have the codebase, assuming the branch has not changed :

hg pull
hg update

To compile :

./autogen.sh
./configure
cd src/ # you don't need to compile the documentation do you ?
make -j # you can start from here for the following times
sudo ./aptitude # aptitude needs root rights to do stuff

The regular compilation procedure is described here : http://algebraicthunk.net/~dburrows/projects/aptitude/contributing/