Instructions to build from scratch (from the repository sources).

If you downloaded a release you can skip the "Bootstrap" instructions
and go to "Dependencies" directly.

These instructions may sound redundant with the packaging specs (.deb,
.rpm, .ebuild, etc.) but they are necessary for people who want to
compile the latest, not-yet-packaged sources :)


Quick version
=============

Requires wxWidgets and bzip2 to compile... Just type

  ./configure && make && make install

to get it working.


On a minimal Debian system
==========================

## Bootstrap
# Source code:
aptitude install git-core
git clone git://git.sv.gnu.org/freedink/dfarc
cd dfarc

# autotools
aptitude install autoconf automake

aptitude install wx-common # for wxwin.m4
aptitude install intltool  # for intltool.m4
sh bootstrap
aptitude install python-wxglade


## Dependencies
# Base: GCC, make & al.
aptitude install build-essential
# Dfarc uses bzip2, wxwidgets
aptitude install libbz2-dev libwxgtk2.6-dev
# Optional:
# - upx compresses binary
# - bzip is for .tar.bz2 release tarballs
aptitude install upx-ucl bzip2

## Compilation
./configure
make
make install

## Release tests
make dist
make distcheck

# :)


On a minimal Fedora system
==========================

## Bootstrap
# Source code:
yum install git-core
git clone git://git.sv.gnu.org/freedink/dfarc
cd dfarc

# autotools
yum install autoconf automake

yum install wxGTK-devel # for wxwin.m4
yum install intltool    # for intltool.m4
# beware: you need intltool >= 0.40 to bootstrap a proper
# configure.ac, otherwise you'll get old-style included intltool tools
# in your archive (instead of depending on the user system one), and
# which don't work well with AC_CONFIG_AUX_DIR
sh bootstrap


## Dependencies
# Base: GCC, make & al.
# Note: 'groupinstall' not working with pkcon yet
yum groupinstall 'Development Tools'
# or just:
#pkcon install make gcc
# Dfarc uses bzip2, wxwidgets
yum install wxGTK-devel bzip2-devel intltool
# Optional:
# - upx compresses binary
# - bzip is for .tar.bz2 release tarballs
pkcon install upx bzip2

## Compilation
./configure
make
make install

## Release tests
make dist
make distcheck

# :)
