GraphicsMagick: Difference between revisions

1,127 bytes added ,  26 August 2012
→‎Dependencies: split the list and add new items
(→‎Building: run ldconfig in the end)
(→‎Dependencies: split the list and add new items)
Line 28: Line 28:
== 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. Note however that this is the list of all dependencies and suggestions. For Octave purposes only, you definetely will not need all of these.
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.
To start with you will obviously need the following
* a C compiler such as gcc
* a C++ compiler such as g++
* make
== Main dependencies ==
These are the ones which support being enabled or disabled via the configure script options and are shown in the summary status at the end of the configure script run. You will need them at compile time.


{| class="wikitable"
{| class="wikitable"
Line 34: Line 42:
|-
|-
| BZLIB            || libbz2-dev                      || libbz2-dev
| BZLIB            || libbz2-dev                      || libbz2-dev
|-
| dcraw            || dcraw                            || dcraw
|-
| dot              || graphviz                        || graphviz
|-
| fig2dev          || transfig                        || transfig
|-
|-
| FlashPIX          ||                                  ||
| FlashPIX          ||                                  ||
Line 48: Line 50:
|-
|-
| Ghostscript-fonts || gsfonts                          || gsfonts
| Ghostscript-fonts || gsfonts                          || gsfonts
|-
| gnuplot          || gnuplot                          || gnuplot
|-
| hp2xx            || hp2xx                            || hp2xx
|-
| html2ps          || html2ps                          || html2ps
|-
|-
| JBIG              || libjbig-dev                      ||
| JBIG              || libjbig-dev                      ||
Line 68: Line 64:
|-
|-
| PNG              || libpng12-dev                    || libpng12-dev
| PNG              || libpng12-dev                    || libpng12-dev
|-
| ra_ppm            || radiance                        || radiance
|-
| scanimage        || sane-utils                      || sane-utils
|-
|-
| TIFF              || libtiff5-dev                    || libtiff5-dev
| TIFF              || libtiff5-dev                    || libtiff5-dev
Line 87: Line 79:
|}
|}


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|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|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.}}
{{Note|there are both LCMS v2 and v1 but GraphicsMagick only needs one of them.}}
== Other dependencies ==
These other dependendies are easily added via a user-editable text file after building and installation. They are much more specific and most users will have no need for them.
{| class="wikitable"
|-
! Dependency        !! Debian Wheezy                    !! Ubuntu Precise
|-
| dcraw            || dcraw                            || dcraw
|-
| dvips            || texlive-base                    || texlive-base
|-
| dot              || graphviz                        || graphviz
|-
| fig2dev          || transfig                        || transfig
|-
| gnuplot          || gnuplot                          || gnuplot
|-
| hp2xx            || hp2xx                            || hp2xx
|-
| html2ps          || html2ps                          || html2ps
|-
| lp                || cups-client                      || cups-client
|-
| lpr              || cups-bsd                        || cups-bsd
|-
| mpeg2decode      ||                                  ||
|-
| mpeg2encode      ||                                  ||
|-
| pgpv              || pgpgpg                          || pgpgpg
|-
| povray            ||                                  ||
|-
| ra_ppm            || radiance                        || radiance
|-
| rawtorle          ||                                  ||
|-
| scanimage        || sane-utils                      || sane-utils
|-
|}