1Instructions to build from scratch (from the repository sources). 2 3If you downloaded a release you can skip the "Bootstrap" instructions 4and go to "Dependencies" directly. 5 6These instructions may sound redundant with the packaging specs (.deb, 7.rpm, .ebuild, etc.) but they are necessary for people who want to 8compile the latest, not-yet-packaged sources :) 9 10 11Quick version 12============= 13 14Requires wxWidgets and bzip2 to compile... Just type 15 16 ./configure && make && make install 17 18to get it working. 19 20 21Issues with wxGlade 22================== 23 24If you're recompiling from Git or modifying the .wxg files, there's an 25issue with wxGlade [0.6.6, 0.6.9[. 26See https://sourceforge.net/p/wxglade/bugs/161/ for details and a fix. 27 28There is also an issue with IDs generation in .cpp files with 0.7.2. 29http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853009 30Upgrading to 2017-01-28's default branch worked for me... 31https://bitbucket.org/wxglade/wxglade/get/f172c83ff51d.zip 32Then: 33WXGLADE=/usr/src/wxglade/wxglade ./configure ... 34 35Last, earlier versions of wxGlade are not officially compatible with 36wxWidgets 3. 37https://bitbucket.org/wxglade/wxglade/commits/acbfabfba67bc795a6ccecaabda933ecb0d0f63d#chg-wxglade.py 38There's a work-around in 'src/Makefile.am', we can remove it when recent wxglade is ubiquitous. 39 40 41On a minimal Debian system 42========================== 43 44## Bootstrap 45# Source code: 46apt-get install git-core 47git clone git://git.sv.gnu.org/freedink/dfarc 48cd dfarc 49 50# autotools 51apt-get install autoconf automake 52 53apt-get install wx-common # for wxwin.m4 54apt-get install intltool # for intltool.m4 55sh bootstrap 56apt-get install python-wxglade 57 58 59## Dependencies 60# Base: GCC, make & al. 61apt-get install build-essential 62# DFArc uses bzip2, wxwidgets 63apt-get install libbz2-dev libwxgtk3.0-dev intltool 64# Optional: 65# - upx compresses binary 66# - xdg-utils to detect file browser 67apt-get install upx-ucl xdg-utils 68 69## Compilation 70./configure 71make 72make install 73 74## Release tests 75make dist 76make distcheck 77 78# :) 79 80 81On a minimal Fedora system 82========================== 83 84## Bootstrap 85# Source code: 86yum install git-core 87git clone git://git.sv.gnu.org/freedink/dfarc 88cd dfarc 89 90# autotools 91yum install autoconf automake 92 93yum install wxGTK3-devel # for wxwin.m4 94yum install intltool # for intltool.m4 95# beware: you need intltool >= 0.40 to bootstrap a proper 96# configure.ac, otherwise you'll get old-style included intltool tools 97# in your archive (instead of depending on the user system one), and 98# which don't work well with AC_CONFIG_AUX_DIR 99sh bootstrap 100 101 102## Dependencies 103# Base: GCC, make & al. 104# Note: 'groupinstall' not working with pkcon yet 105yum groupinstall 'Development Tools' 106# or just: 107#yum install make gcc-c++ 108# DFArc uses bzip2, wxwidgets 109yum install wxGTK3-devel bzip2-devel intltool 110# Optional: 111# - upx compresses binary 112# - xdg-utils to detect file browser 113yum install upx xdg-utils 114 115## Compilation 116./configure --with-wx-config=/usr/libexec/wxGTK3/wx-config 117make 118make install 119 120## Release tests 121make dist 122make distcheck 123 124# :) 125 126 127On a minimal Gentoo system 128========================== 129 130## Bootstrap 131# Source code: 132emerge dev-util/git 133git clone git://git.sv.gnu.org/freedink/dfarc 134cd dfarc 135 136# I assume you already have autoconf & al. ;) 137 138# Make sure you have the 'X' USE in /etc/make.conf or 139# echo "x11-libs/wxGTK X" >> /etc/portage/package.use 140# echo "x11-libs/cairo X" >> /etc/portage/package.use 141emerge wxGTK # for wxwin.m4 142emerge intltool # for intltool.m4 143# beware: you need intltool >= 0.40 to bootstrap a proper 144# configure.ac, otherwise you'll get old-style included intltool tools 145# in your archive (instead of depending on the user system one), and 146# which don't work well with AC_CONFIG_AUX_DIR 147sh bootstrap 148 149 150## Dependencies 151# I also assume you already have GCC, Make and gettext ;) 152# DFArc uses bzip2, wxwidgets and intltool 153emerge wxGTK 154eselect wxwidgets list 155eselect wxwidgets set 1 # or any option from the list above 156emerge bzip2 intltool 157# Optional: 158# - upx compresses binary 159# - xdg-utils to detect file browser 160emerge upx xdg-utils 161 162 163## Compilation 164./configure 165make 166make install 167 168## Release tests 169make dist 170make distcheck 171 172# :) 173 174 175On a minimal FreeBSD 6.3 system 176=============================== 177 178## Bootstrap 179# Source code: 180pkg_add -r git 181git clone git://git.sv.gnu.org/freedink 182cd freedink 183 184# autotools 185# Note: you need to specify explicit versions 186pkg_add -r autoconf261 automake19 187 188pkg_add -r wxgtk2-common # for wxwin.m4 189#pkg_add -r intltool # for intltool.m4 190# beware: you need intltool >= 0.40 to bootstrap a proper 191# configure.ac, otherwise you'll get old-style included intltool tools 192# in your archive (instead of depending on the user system one), and 193# which don't work well with AC_CONFIG_AUX_DIR 194set VERSION=0.40.0 195wget http://ftp.acc.umu.se/pub/GNOME/sources/intltool/0.40/intltool-$VERSION.tar.bz2 196tar xjf intltool-$VERSION.tar.bz2 197pkg_add -r gmake 198./configure && gmake && gmake install 199cd intltool-$VERSION 200 201sh bootstrap 202 203 204## Dependencies 205# I assume you already have GCC and Make ;) 206# Required: wxWidgets, libbz2 207pkg_add -r wxgtk2-unicode 208pkg_add -r bzip2 # also installs libbz2 209pkg_add -r intltool 210./configure && make && make install 211# Optional: 212# - upx compresses binary 213# - xdg-utils to detect file browser 214pkg_add -r upx xdg-utils 215 216# gmake is necessary for Makefile.in.in from intltool 217pkg_add -r gmake 218 219## Compilation 220./configure --with-wx-config=wxgtk2u-2.8-config 221gmake 222gmake install 223 224## Bug: intltool installs .mo files in $prefix/lib, check: 225# http://bugzilla.gnome.org/show_bug.cgi?id=563034 226 227## Release tests 228make dist 229make distcheck 230 231# :) 232 233 234On a minimal Woe system 235======================= 236 237Check doc/cross.txt (for cross compiling from GNU/Linux + MinGW32). 238