Difference between revisions of "Dev:Build Instructions"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (expand on the gentoo ebuilds note)
Line 20: Line 20:
 
* Unix (Linux/MacOS X/BSD)
 
* Unix (Linux/MacOS X/BSD)
 
** General: some distros have a pkg-config that doesn't look in /usr/local/lib/pkgconfig by default. So if you are installing in anywhere other than the system pkg-config path, please run "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig" or similar before building or installing anything.
 
** General: some distros have a pkg-config that doesn't look in /usr/local/lib/pkgconfig by default. So if you are installing in anywhere other than the system pkg-config path, please run "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig" or similar before building or installing anything.
** [[Gentoo Ebuilds|Gentoo]]
+
** Gentoo: SVN [[Gentoo Ebuilds|ebuilds]] are available
 
* Windows: Using the cygwin environment for your build, and just having it build mingw binaries seems to make things a little easier.
 
* Windows: Using the cygwin environment for your build, and just having it build mingw binaries seems to make things a little easier.
  

Revision as of 10:43, 22 March 2007

Notes

If you are using the released versions instead of SVN, the first 3 steps for each component are not necessary. For released versions, "./configure && make && sudo make install" should be enough.

If you are using packages for synfig's dependencies, you want the development packages not the main packages. Check below for your distribution's packages.

SVN

Anonymous access to the Synfig subversion repository for Synfig is enabled! Here are the URLs to the respective repositories:

System-Specific

The later sections of this page can be used for any system, but the following links and wiki pages offer some system-specific help:

  • Unix (Linux/MacOS X/BSD)
    • General: some distros have a pkg-config that doesn't look in /usr/local/lib/pkgconfig by default. So if you are installing in anywhere other than the system pkg-config path, please run "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig" or similar before building or installing anything.
    • Gentoo: SVN ebuilds are available
  • Windows: Using the cygwin environment for your build, and just having it build mingw binaries seems to make things a little easier.

ETL

ETL is a template library, there is nothing to build really, it just needed to be installed.

  1. svn co http://svn.voria.com/code/ETL/trunk/ etl
  2. cd etl
  3. ./bootstrap
  4. ./configure
  5. sudo make install

synfig

Requires: ETL, libxml++, libsigc++

  • Debian: etl-dev libxml++2.6-dev libsigc++-2.0-dev
  • Gentoo: virtual/ETL dev-cpp/libxmlpp dev-libs/libsigc++

Optional: libltdl, libpng, libtiff, libjpeg, libfreetype, libfontconfig, libopenexr, libavcodec, vimage (MacOS only, proprietary)

  • Debian: libltdl3-dev libpng12-dev libtiff4-dev libjpeg62-dev libfreetype6-dev libfontconfig1-dev libopenexr-dev libavcodec-dev
  • Gentoo: sys-devel/libtool media-libs/libpng media-libs/tiff media-libs/jpeg media-libs/freetype media-libs/fontconfig media-libs/openexr media-libs/libavcodec

Runtime: encodedv (from libdv), ffmpeg, convert (from imagemagick)

  • Debian: libdv-bin ffmpeg imagemagick
  • Gentoo: media-libs/libdv media-video/ffmpeg media-gfx/imagemagick
  1. svn co http://svn.voria.com/code/synfig-core/trunk/ synfig
  2. cd synfig
  3. ./bootstrap
  4. ./configure
  5. make
  6. sudo make install

Notes:

  • Don't use --enable-half, it is slow.

synfigstudio

Requires: ETL, synfig, gtkmm >= 2.4, gtk >= 2.0, glibmm, libsigc++

  • Debian: etl-dev libsynfig-dev libgtkmm-2.4-dev libgtk2.0-dev libglibmm-2.4-dev libsigc++-2.0-dev
  • Gentoo: virtual/ETL virtual/synfig dev-cpp/gtkmm-2.4 dev-libs/libsigc++

Optional: libltdl, fonts (for the images), FMOD (proprietary)

  • Debian: libltdl3-dev ttf-freefont ttf-dejavu ttf-dustin
  • Gentoo: sys-devel/libtool freefonts dejavu
  1. svn co http://svn.voria.com/code/synfig-studio/trunk/ synfigstudio
  2. cd synfigstudio
  3. ./bootstrap
  4. ./configure
  5. make
  6. sudo make install

synfig-docs

Requires: sgml processor, ldp docbook stylesheets, db2ps, db2pdf

  • Debian: openjade ldp-docbook-dsssl docbook-utils
  1. svn co http://svn.voria.com/code/synfig-docs/trunk/ synfig-docs
  2. cd synfig-docs
  3. make multiple-html
  4. make ps
  5. make pdf