Commit 3ba6bebd authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

use our own libtiff (and libjpeg that is its dependency).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40744 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 80335b19
[buildout] [buildout]
extends = extends =
../software-profiles/fontconfig.cfg ../software-profiles/fontconfig.cfg
../software-profiles/libjpeg.cfg
../software-profiles/libtiff.cfg
parts = ghostscript parts = ghostscript
...@@ -14,15 +16,17 @@ download-only = true ...@@ -14,15 +16,17 @@ download-only = true
[ghostscript-common] [ghostscript-common]
recipe = hexagonit.recipe.cmmi recipe = hexagonit.recipe.cmmi
pre-configure-hook = ${ghostscript-hooks-download:location}/${ghostscript-hooks-download:filename}:pre_configure_hook 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 = configure-options =
--disable-cups --without-x --with-drivers=BMP,PBM,PNG,PS --disable-cups
--disable-cairo
--without-x
--with-drivers=FILES
# it seems that parallel build sometimes fails for ghostscript. # it seems that parallel build sometimes fails for ghostscript.
make-options = -j1 make-options = -j1
environment = environment =
PKG_CONFIG_PATH =${fontconfig:location}/lib/pkgconfig PKG_CONFIG_PATH =${fontconfig:location}/lib/pkgconfig
LDFLAGS=-Wl,-rpath -Wl,${fontconfig:location}/lib CPPFLAGS=-I${libtiff:location}/include
LDFLAGS=-Wl,-rpath -Wl,${fontconfig:location}/lib -L${libjpeg:location}/lib -Wl,-rpath -Wl,${libjpeg:location}/lib -L${libtiff:location}/lib -Wl,-rpath -Wl,${libtiff:location}/lib
[ghostscript] [ghostscript]
# we prefer ghostscript-8 for now, because ghostscript-9.00 seems to have a # we prefer ghostscript-8 for now, because ghostscript-9.00 seems to have a
......
...@@ -1784,8 +1784,11 @@ class AssertGhostscript(AssertSoftwareMixin): ...@@ -1784,8 +1784,11 @@ class AssertGhostscript(AssertSoftwareMixin):
'libm', 'libm',
'libpthread', 'libpthread',
'libstdc++', 'libstdc++',
'libtiff',
], [ ], [
'fontconfig', 'fontconfig',
'libjpeg',
'libtiff',
]) ])
class AssertFontconfig(AssertSoftwareMixin): class AssertFontconfig(AssertSoftwareMixin):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment