GraphicsMagick: Difference between revisions

Jump to navigation Jump to search
2,161 bytes added ,  18 August 2012
→‎Dependencies: more dependencies
m (prettier table)
(→‎Dependencies: more dependencies)
Line 16: Line 16:


== Dependencies ==
== Dependencies ==
Compiling from source means tracking the dependencies yourself which may be a kind of painful. There's no wiki for GraphicsMagick so the following table hopes to makes things easier:
Compiling from source means tracking the dependencies yourself which may be a kind of painful. There's no wiki for GraphicsMagick so the following table hopes to makes things easier. Note however that this is the list of all dependencies and suggestions. For Octave purposes only, you definetely will not need all of these.


{| class="wikitable"
{| class="wikitable"
|-
|-
! Dependency !! Debian       !! Ubuntu
! Dependency       !! Debian Wheezy                    !! Ubuntu Precise
|-
|-
| liblzma    || liblzma-dev || liblzma-dev
| BZLIB            || libbz2-dev                       || libbz2-dev
|-
|-
| libtiff    || libtiff5-dev || libtiff5-dev
| dcraw            || dcraw                            || dcraw
|-
|-
| libwmf      || libwmf-dev  || libwmf-dev
| dot              || graphviz                        || graphviz
|-
|-
| libxml2     || libxml2-dev || libxml2-dev
| fig2dev          || transfig                        || transfig
|-
| FlashPIX          ||                                  ||
|-
| FreeType 2.0      || libfreetype6-dev                || libfreetype6-dev
|-
| Ghostscript      || ghostscript                      || ghostscript
|-
| Ghostscript-fonts || gsfonts                          || gsfonts
|-
| gnuplot          || gnuplot                          || gnuplot
|-
| hp2xx            || hp2xx                            || hp2xx
|-
| html2ps          || html2ps                          || html2ps
|-
| JBIG              || libjbig-dev                      ||
|-
| JPEG v1          || libjpeg8-dev                    || libjpeg-dev
|-
| JPEG-2000        || libjasper-dev                    || libjasper-dev
|-
| LCMS v2          || liblcms2-dev                    || liblcms2-dev
|-
| ltdl              || libltdl-dev                      || libltdl-dev
|-
| LZMA              || liblzma-dev                      || liblzma-dev
|-
| PNG              || libpng12-dev                    || libpng12-dev
|-
| ra_ppm            || radiance                        || radiance
|-
| scanimage        || sane-utils                      || sane-utils
|-
| TIFF              || libtiff5-dev                    || libtiff5-dev
|-
| TRIO              ||                                  ||
|-
| WMF              || libwmf-dev                      || libwmf-dev
|-
| X11              || libx11-dev libxext-dev libsm-dev ||
|-
| XML              || libxml2-dev                      || libxml2-dev
|-
| ZLIB              || zlib1g-dev                      || zlib1g-dev
|-
|-
| zlib    || zlib1g-dev  || zlib1g-dev
|}
|}
You will also need to install g++ and gcc (or alternatives).
{{Note|DPS has been [http://dps.sourceforge.net/ deprecated] and should not be used hence why is not on the list.}}
{{Note|Ghostscript library support is not recommended by GraphicsMagick hence why is not on the list.}}
{{Note|there are both LCMS v2 and v1 but GraphicsMagick only needs one of them.}}

Navigation menu