ghostscript.cfg 1.4 KB
Newer Older
1
[buildout]
Łukasz Nowak's avatar
Łukasz Nowak committed
2 3 4
extends =
  ../software-profiles/fontconfig.cfg

5 6
parts = ghostscript

7 8
[ghostscript-hooks-download]
recipe = hexagonit.recipe.download
9
url = http://www.nexedi.org/static/buildout-hooks/ghostscript-hooks.py-r40044
10
filename = ghostscript-hooks.py
11
md5sum = 731475648c91507bd1dfe2a61ee84552
12 13
download-only = true

14
[ghostscript-common]
15
recipe = hexagonit.recipe.cmmi
16
pre-configure-hook = ${ghostscript-hooks-download:location}/${ghostscript-hooks-download:filename}:pre_configure_hook
17 18
# we don't include TIFF output driver because the linking might fail if
# libjbig-devel is installed, and it is not required for our purpose anyway.
19
configure-options =
20
  --disable-cups --without-x --with-drivers=BMP,PBM,PNG,PS
21 22
# it seems that parallel build sometimes fails for ghostscript.
make-options = -j1
Łukasz Nowak's avatar
Łukasz Nowak committed
23
environment =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
24 25
  PKG_CONFIG_PATH =${fontconfig:location}/lib/pkgconfig
  LDFLAGS=-Wl,-rpath -Wl,${fontconfig:location}/lib
26

27
[ghostscript]
28 29 30 31
# we prefer ghostscript-8 for now, because ghostscript-9.00 seems to have a
# problem with Japanese fonts if -dTextAlphaBits=4 is specified by
# imagemagick.
<= ghostscript-8
32 33

[ghostscript-9]
34
<= ghostscript-common
35 36 37 38
url = http://ghostscript.com/releases/ghostscript-9.00.tar.gz
md5sum = a402462478b4cdda3e1816899227b845

[ghostscript-8]
39
<= ghostscript-common
40 41
url = http://www.nexedi.org/static/tarballs/ghostscript/ghostscript-8.71-no-looping-symlink.tar.bz2
md5sum = 34639af3ffe8594f2c5ea944dfbe1d78