0 pre-buildthe essential tools and libs
Code:
pkcon install git autoconf automake gcc-c++ ccache libtool libtool-ltdl-devel gettext-devel libxml++-devel gtkmm24-devel
optional packs for rendering targets
with rpmfusion enabledCode:
pkcon install ImageMagick-devel ffmpeg
1 clone the sourceCode:
mkdir ~/Source && cd ~/Source/ && git clone git://synfig.git.sourceforge.net/gitroot/synfig/synfig
2 build download the build script from
http://synfig.org/wiki/Dev:Build_Instru ... ild_script and modify it if needed (I changed install path to "~/Apps/Synfig/"), save as synfig-build.sh:
Code:
#!/bin/sh
CPUS=1
prefix=~/Apps/Synfig
export PKG_CONFIG_PATH="$prefix/lib/pkgconfig"
export PATH=$(pwd)/synfig-core/src/tool/.libs:$PATH
export CXX="/usr/bin/ccache /usr/bin/g++"
cd synfig/ETL &&
autoreconf --install --force &&
./configure --prefix $prefix &&
make --debug=b install &&
\
cd ../synfig-core &&
libtoolize --copy --force &&
autoreconf --install --force &&
./configure --prefix $prefix --enable-optimization=0 --enable-debug &&
make --debug=b -j $CPUS install &&
\
cd ../synfig-studio &&
autoreconf --install --force &&
./configure --prefix $prefix --enable-optimization=0 --enable-debug &&
make --debug=b -j $CPUS install
and then start to build
Code:
sh synfig-build.sh
3 test your buildCode:
~/Apps/Synfig/bin/synfigstudio
4 to get updated with the latest changesmoving code base you regularly do
Code:
cd ~/Source/synfig && git pull --rebase
rebuild
Code:
cd ~/Soruce/ && sh synfig-build.sh