[Erp5-report] r44722 luke - /erp5/trunk/buildout/software-profiles/pdftk.cfg
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Mar 29 14:08:02 CEST 2011
Author: luke
Date: Tue Mar 29 14:08:02 2011
New Revision: 44722
URL: http://svn.erp5.org?rev=44722&view=rev
Log:
- 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
Modified:
erp5/trunk/buildout/software-profiles/pdftk.cfg
Modified: erp5/trunk/buildout/software-profiles/pdftk.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/software-profiles/pdftk.cfg?rev=44722&r1=44721&r2=44722&view=diff
==============================================================================
--- erp5/trunk/buildout/software-profiles/pdftk.cfg [utf8] (original)
+++ erp5/trunk/buildout/software-profiles/pdftk.cfg [utf8] Tue Mar 29 14:08:02 2011
@@ -1,4 +1,9 @@
[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
More information about the Erp5-report
mailing list