Commit 05ba580f authored by Łukasz Nowak's avatar Łukasz Nowak

- version up to 1.44, as it works with quite recent version of gcj

 - use locally provided gcj, as otherwise there is no way to have "portable" pdftk
 - use locally provided fastjar, as requirement for building jars


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44722 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5ee584f3
[buildout]
# Note: Locally provided gcc with gcj is used, as there is high unstability
# in how gcj is functional on many operating systems.
# Because of this the only way to have portable pdftk profile it is required
# to provide working gcj and then have it used for pdftk compilation.
extends = gcc.cfg
parts = pdftk
[pdftk-patch-download]
......@@ -6,40 +11,10 @@ recipe = hexagonit.recipe.download
url = http://www.nexedi.org/static/patches/${:filename}
download-only = true
[pdftk-Makefiles.patch]
[pdftk-1.44-Makefile.Base-DEST-LDFLAGS.patch]
<= pdftk-patch-download
md5sum = 1e8cf2219af76f36991ad0dac664405d
filename = pdftk-Makefiles.patch
[pdftk-remove-postscript.patch]
<= pdftk-patch-download
md5sum = 3ee4916c7456b4b35a4c52c68e5804db
filename = pdftk-remove-postscript.patch
[pdftk-no_gnu_local.patch]
<= pdftk-patch-download
md5sum = a650d8462cb9ac94b5705c15da0ad516
filename = pdftk-no_gnu_local.patch
[pdftk-bug-427046_pdftk.cc.patch]
<= pdftk-patch-download
md5sum = 3b62f2597f293bc02d542bf14466be22
filename = pdftk-bug-427046_pdftk.cc.patch
[pdftk-Makefile.Base.DEST.patch]
<= pdftk-patch-download
md5sum = 9bdc41440f6a0c7c17bd555c22152ce2
filename = pdftk-Makefile.Base.DEST.patch
[pdftk-1.41-gcc-4.4.patch]
<= pdftk-patch-download
md5sum = e40c95972a6c2851e299735c0d60783b
filename = pdftk-1.41-gcc-4.4.patch
[pdftk-Makefile.RedHat.additional.includes.patch]
<= pdftk-patch-download
md5sum = 563f6fdfcf4fdd188bc59ab5fce0dd62
filename = pdftk-Makefile.RedHat.additional.includes.patch
md5sum = 7b8268061f011c9b63613a078ac941ae
filename = pdftk-1.44-Makefile.Base-DEST-LDFLAGS.patch
[pdftk-hooks-download]
recipe = hexagonit.recipe.download
......@@ -48,21 +23,24 @@ filename = pdftk-hooks.py
md5sum = b4b4a31ded6b59888e2a56d1b5726c99
download-only = true
[pdftk]
[fastjar]
recipe = hexagonit.recipe.cmmi
url = http://www.pdfhacks.com/pdftk/pdftk-1.41.tar.gz
patches =
${pdftk-Makefiles.patch:location}/${pdftk-Makefiles.patch:filename}
${pdftk-remove-postscript.patch:location}/${pdftk-remove-postscript.patch:filename}
${pdftk-no_gnu_local.patch:location}/${pdftk-no_gnu_local.patch:filename}
${pdftk-Makefile.Base.DEST.patch:location}/${pdftk-Makefile.Base.DEST.patch:filename}
${pdftk-1.41-gcc-4.4.patch:location}/${pdftk-1.41-gcc-4.4.patch:filename}
${pdftk-Makefile.RedHat.additional.includes.patch:location}/${pdftk-Makefile.RedHat.additional.includes.patch:filename}
# ${pdftk-bug-427046_pdftk.cc.patch:location}/${pdftk-bug-427046_pdftk.cc.patch:filename}
url = http://sourceforge.net/projects/fastjar/files/fastjar/0.94/fastjar-0.94.tar.gz/download
md5sum = 14d4bdfac236e347d806c6743dba48c6
[pdftk]
recipe = hexagonit.recipe.cmmi
url = http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk-1.44-src.zip
md5sum = 9eb50fffcd621a627d387750c60982b4
configure-command = true
patches =
${pdftk-1.44-Makefile.Base-DEST-LDFLAGS.patch:location}/${pdftk-1.44-Makefile.Base-DEST-LDFLAGS.patch:filename}
patch-options = -p1
make-options =
-f Makefile.RedHat
-f Makefile.Redhat
DEST=${buildout:parts-directory}/${:_buildout_section_name_}
pre-make-hook = ${pdftk-hooks-download:location}/${pdftk-hooks-download:filename}:pre_make_hook
environment =
PATH=${gcc-java:location}/bin:${fastjar:location}/bin:%(PATH)s
LDFLAGS=-L${gcc-java:location}/lib -Wl,-rpath -Wl,${gcc-java:location}/lib -L${gcc-java:location}/lib64 -Wl,-rpath -Wl,${gcc-java:location}/lib64
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