diff --git a/component/wkhtmltopdf/buildout.cfg b/component/wkhtmltopdf/buildout.cfg index 10d2a35e9be1e09f5359b6baa6c86665f12d2293..44d512888c23adbf2f414a6e2398e61215fbb134 100644 --- a/component/wkhtmltopdf/buildout.cfg +++ b/component/wkhtmltopdf/buildout.cfg @@ -1,10 +1,13 @@ [buildout] extends = + ../freetype/buildout.cfg ../fontconfig/buildout.cfg - ../xz-utils/buildout.cfg + ../libpng/buildout.cfg ../tar/buildout.cfg ../xorg/buildout.cfg + ../xz-utils/buildout.cfg + ../zlib/buildout.cfg parts = wkhtmltopdf @@ -44,7 +47,7 @@ script = wrapper_location = os.path.join("%(location)s", "wkhtmltopdf") wrapper = open(wrapper_location, 'w') wrapper.write("""#!${dash:location}/bin/dash - export LD_LIBRARY_PATH=%(location)s/lib/:${libXrender:location}/lib/:${fontconfig:location}/lib/:${libX11:location}/lib/:${libXext:location}/lib/ + export LD_LIBRARY_PATH=%(location)s/lib:${fontconfig:location}/lib:${freetype:location}/lib:${libX11:location}/lib:${libXext:location}/lib:${libXrender:location}/lib:${libpng12:location}/lib:${zlib:location}/lib export PATH=${fontconfig:location}/bin:$PATH exec %(location)s/bin/wkhtmltopdf "$@" """)