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 intltool
# Optional:
# - upx compresses binary
# - bzip is for .tar.bz2 release tarballs
# - xdg-utils to detect file browser
aptitude install upx-ucl bzip2 xdg-utils

## 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
# - xdg-utils to detect file browser
pkcon install upx bzip2 xdg-utils

## Compilation
./configure
make
make install

## Release tests
make dist
make distcheck

# :)


On a minimal Gentoo system
==========================

## Bootstrap
# Source code:
emerge dev-util/git
git clone git://git.sv.gnu.org/freedink/dfarc
cd dfarc

# I assume you already have autoconf & al. ;)

# Make sure you have the 'X' USE in /etc/make.conf or
# echo "x11-libs/wxGTK X" >> /etc/portage/package.use 
# echo "x11-libs/cairo X" >> /etc/portage/package.use 
emerge wxGTK    # for wxwin
emerge 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
# I also assume you already have GCC, Make and gettext ;)
# DFArc uses bzip2, wxwidgets and intltool
emerge wxGTK
eselect wxwidgets list
eselect wxwidgets set 1 # or any option from the list above
emerge bzip2 intltool
# Optional:
# - upx compresses binary
# - xdg-utils to detect file browser
emerge upx xdg-utils


## Compilation
./configure
make
make install

## Release tests
make dist
make distcheck

# :)
