[buildout] parts = ghostscript [ghostscript-hooks-download] recipe = hexagonit.recipe.download url = http://www.nexedi.org/static/buildout-hooks/ghostscript-hooks.py-r38557 filename = ghostscript-hooks.py md5sum = e7b4a88db7000d3d3222dbe803791d8f download-only = true [ghostscript-common] pre-configure-hook = ${ghostscript-hooks-download:location}/${ghostscript-hooks-download:filename}:pre_configure_hook # 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. configure-options = --disable-cups --without-x --with-drivers=BMP,PBM,PNG,PS [ghostscript] # 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 [ghostscript-9] <= ghostscript-common recipe = hexagonit.recipe.cmmi url = http://ghostscript.com/releases/ghostscript-9.00.tar.gz md5sum = a402462478b4cdda3e1816899227b845 [ghostscript-8] <= ghostscript-common recipe = hexagonit.recipe.cmmi url = http://ghostscript.com/releases/ghostscript-8.71.tar.gz md5sum = 51a522a5b4818bd3dc7c1c0e9dd22bad