Those instructions would allow you install Synfig Studio in your system using the latest development version.
The default installation path is in your home directory but it can be changed to any place just modifying the script.
As development version it is not recommended to install using sudo unless you know what you’re doing.
The following instructions would allow you install it in a folder in your home directory and can be easily deleted.
- Prepare to dowload the source code.
Install git
$ sudo apt-get install git
Clone the source code. This will create a folder called ‘synfig’.
$ git clone git://synfig.git.sourceforge.net/gitroot/synfig/synfig
- Create the building script:
$ nano build.sh
Then copy and paste this text into the editor:
[code]#!/bin/sh
cd synfig
CPUS=4
prefix=$(pwd)/install
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 ETL &&
autoreconf --install --force &&
./configure --prefix $prefix &&
make install &&
cd …/synfig-core &&
libtoolize --ltdl --copy --force &&
autoreconf --install --force &&
./configure --prefix $prefix &&
make -j $CPUS install &&
cd …/synfig-studio &&
autoreconf --install --force &&
./configure --prefix $prefix &&
make -j $CPUS install[/code]
Then press CTRL+O (ENTER) and CTRL+X. This will save the script in the folder where you created the cloned repository. Alernatively download this file build.txt (635 Bytes) and save it as build.sh.
- Install the needed libraries. Copy the entire line and hit ENTER. Accept all the suggestions.
$ sudo apt-get install build-essential autoconf automake libtool
$ sudo apt-get install libxml++2.6-dev libsigc++-2.0-dev libltdl3-dev libtool gettext cvs libpng12-dev libmng-dev libjpeg62-dev libfreetype6-dev libfontconfig1-dev libopenexr-dev libavcodec-dev libavformat-dev libmagick++9-dev libdv-bin ffmpeg imagemagick
$ sudo apt-get install libgtkmm-2.4-dev libgtk2.0-dev libglibmm-2.4-dev libsigc++-2.0-dev libltdl3-dev libtool gettext cvs ttf-freefont ttf-dejavu ttf-dustin
$ sudo apt-get install ccache
- Run the script to build the binaries:
$ sh build.sh
Depending on your computer speed you may want to go to prepare some cofee . Verify that there are not error messages when the script ends.
- Run synfigstudio and enjoy:
$ cd synfig/install/bin
&./synfigstudio
KNOWN ISSUES:
a) For some reason the default configuration of the input devices produces bad coordinates when input with the mouse. To solve this go to ToolBox->Device Settings and disable all the devices (for a non tablet computer they are usually USB Optical Mouse and Macintosh mouse button emulation). <<< SOLVED IN THE CURRENT GIT VERSION
b) To properly use the new Transform Tool (Rotate, Translate and Scale all in one) you have to modify the default window settings in Gnome. In Ubuntu, go to System>Preferences>Windows and change the “ALT” key by “Super (or Windows Logo)” for the key to move a window. This would allow to use the ALT key to Scale the ducks in Synfig Studio.
Enjoy!