Synfig Project Forum

Forums for Synfig Project
It is currently Tue Oct 21, 2014 5:42 am

All times are UTC - 4 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sat Jun 04, 2011 12:24 pm 
Offline
User avatar

Joined: Tue Feb 26, 2008 3:33 am
Posts: 917
Location: Foshan City, China
0 pre-build

the 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 enabled
Code:
pkcon install ImageMagick-devel ffmpeg



1 clone the source


Code:
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 build
Code:
~/Apps/Synfig/bin/synfigstudio


4 to get updated with the latest changes
moving code base you regularly do
Code:
cd ~/Source/synfig && git pull --rebase 

rebuild
Code:
 cd ~/Soruce/ && sh synfig-build.sh

_________________
time flies...


Last edited by jcome on Mon Oct 08, 2012 6:13 am, edited 10 times in total.

Top
 Profile  
 
PostPosted: Sat Jun 04, 2011 12:40 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4806
Location: Spain
Very straightforward! I'll make this post sticky.
Thanks jcome!
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
PostPosted: Tue Jul 31, 2012 6:20 am 
Offline
User avatar

Joined: Fri Jul 01, 2011 6:14 am
Posts: 312
Location: Hungary
I just tried this on a Fedora 17 Virtual Machine and it works perfectly. The only thing I found is you have to install Synfig from a binary (RPM) first because otherwise the install fails at the end when it tries to use synfig to create the Synfig icon as it doesn't try to use the synfig you just compiled to do this.

Many thanks for these instructions - I found them really, really helpful. It would have taken me weeks to work out how to compile Synfig without them!

_________________
http://kecskebak.blogspot.com


Top
 Profile  
 
PostPosted: Tue Jul 31, 2012 10:20 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4806
Location: Spain
Quote:
The only thing I found is you have to install Synfig from a binary (RPM) first because otherwise the install fails at the end when it tries to use synfig to create the Synfig icon as it doesn't try to use the synfig you just compiled to do this.


It means that something went wrong in the build process because the build script should add to your PATH the location of the just build synfig CLI (that is used to render the icons at synfigstudio build phase)
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 4 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group