Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=2913e64af9d9302120e7f5d78aec94418d264137
commit 2913e64af9d9302120e7f5d78aec94418d264137 Author: kikadf <kikadf...@gmail.com> Date: Sun Dec 4 20:02:35 2011 +0100 pdftk-1.44-1-i686 * Version bump diff --git a/source/apps-extra/pdftk/FrugalBuild b/source/apps-extra/pdftk/FrugalBuild index 7203f98..03bc3b7 100644 --- a/source/apps-extra/pdftk/FrugalBuild +++ b/source/apps-extra/pdftk/FrugalBuild @@ -1,31 +1,33 @@ -# Compiling time: 3.95 SBU -# Maintainer: Bence Nagy <nagybe...@tipogral.hu> +# Compiling time: 2.51 SBU +# Maintainer: kikadf <kikadf...@gmail.com> +# Contributor: Bence Nagy <nagybe...@tipogral.hu> pkgname=pdftk -pkgver=1.41 -pkgrel=5 +pkgver=1.44 +pkgrel=1 pkgdesc="A tool for manipulating PDF documents" -url="http://www.accesspdf.com/pdftk" -depends=('libstdc++' 'libgcj>=4.4.0') -makedepends=('gcc-gcj>=4.4.0') +url="http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit" +depends=('libstdc++' 'libgcj>=4.6.2' 'ecj') +makedepends=('gcc-gcj>=4.6.2') +_F_cd_path="$pkgname-$pkgver-dist" groups=('apps-extra') archs=('i686' 'x86_64') -up2date='lynx -dump "http://www.pdfhacks.com/pdftk/" | grep "pdftk-.*.tar.bz2" | head -n 1 | sed "s/.*pdftk-\(.*\).tar.bz2.*/\1/"' -source=(http://www.pdfhacks.com/pdftk/$pkgname-$pkgver.tar.bz2 gcj4{3,4}.diff nolocal.diff) -sha1sums=('e5eb83dd96dbda68072efe8f2637aad59f50dffc' \ - '505f35a9637298433ebbe63ed80af377d0cbd3bd' \ - '702b0edb61c9f3c6441bb418a56a542185fcd3b9' \ - '1ba64dbe5f7d75389b81e3b14ed7233399f196cb') +up2date='Flastarchive http://www.pdflabs.com/docs/pdftk-version-history -src.zip' +source=($url/$pkgname-$pkgver-src.zip) +sha1sums=('7cb137dcba885caff32ff96b7e11c9dc4ce2cba7') -build() { +build() +{ unset MAKEFLAGS - Fsed "-O2" "\$(CFLAGS)" pdftk/Makefile.Generic - Fpatchall - cd pdftk - make -f Makefile.Generic || Fdie + Fsed "-02" "\$(CFLAGS)" pdftk/Makefile.Debian + Fsed "-4.4" "" pdftk/Makefile.Debian + cd pdftk || Fdie + make -f Makefile.Debian || Fdie Fexerel /usr/bin/pdftk - cd .. + cd .. || Fdie Fdocrel pdftk.1.* + Fmanrel $pkgname.1 } + # optimization OK diff --git a/source/apps-extra/pdftk/gcj43.diff b/source/apps-extra/pdftk/gcj43.diff deleted file mode 100644 index feec649..0000000 --- a/source/apps-extra/pdftk/gcj43.diff +++ /dev/null @@ -1,163 +0,0 @@ -Index: pdftk-1.41/java_libs/com/lowagie/text/Makefile -=================================================================== ---- pdftk-1.41.orig/java_libs/com/lowagie/text/Makefile 2007-11-08 14:03:26.800010177 +0100 -+++ pdftk-1.41/java_libs/com/lowagie/text/Makefile 2007-11-08 14:03:29.072639728 +0100 -@@ -25,14 +25,15 @@ - # the "$*" automatic variable, here - # - %.h : %.class -- $(GCJH) --classpath="." $*; -- $(RM) $< -+ $(GCJH) --classpath="/usr/share/java/libgcj-4.3.jar:$(PWD):." $* - - ## - # targets - - all : $(library) $(headers) - -+$(classes): $(sources) -+ - $(library) : $(objects) - $(AR) $(ARFLAGS) $(library) $(objects); - -Index: pdftk-1.41/java_libs/com/lowagie/text/xml/xmp/Makefile -=================================================================== ---- pdftk-1.41.orig/java_libs/com/lowagie/text/xml/xmp/Makefile 2007-11-08 14:03:26.820015719 +0100 -+++ pdftk-1.41/java_libs/com/lowagie/text/xml/xmp/Makefile 2007-11-08 14:03:29.09264.370 +0100 -@@ -25,8 +25,7 @@ - # the "$*" automatic variable, here - # - %.h : %.class -- $(GCJH) --classpath="." $*; -- $(RM) $< -+ $(GCJH) --classpath="/usr/share/java/libgcj-4.3.jar:$(PWD):." $* - - ## - # targets -Index: pdftk-1.41/java_libs/com/lowagie/text/pdf/Makefile -=================================================================== ---- pdftk-1.41.orig/java_libs/com/lowagie/text/pdf/Makefile 2007-11-08 14:03:26.832019044 +0100 -+++ pdftk-1.41/java_libs/com/lowagie/text/pdf/Makefile 2007-11-08 14:03:29.09264.370 +0100 -@@ -25,8 +25,7 @@ - # the "$*" automatic variable, here - # - %.h : %.class -- $(GCJH) --classpath="." $*; -- $(RM) $< -+ $(GCJH) --classpath="/usr/share/java/libgcj-4.3.jar:$(PWD):." $* - - ## - # targets -@@ -37,4 +36,4 @@ - $(AR) $(ARFLAGS) $(library) $(objects); - - clean : -- $(RM) $(RMFLAGS) *.o *.h *.class *.a -+ $(RM) $(RMFLAGS) *.o *.h *.class *.a hyphenation/*.class -Index: pdftk-1.41/java_libs/com/lowagie/text/pdf/fonts/Makefile -=================================================================== ---- pdftk-1.41.orig/java_libs/com/lowagie/text/pdf/fonts/Makefile 2007-11-08 14:03:26.852024586 +0100 -+++ pdftk-1.41/java_libs/com/lowagie/text/pdf/fonts/Makefile 2007-11-08 14:03:29.09264.370 +0100 -@@ -34,8 +34,7 @@ - # the "$*" automatic variable, here - # - %.h : %.class -- $(GCJH) --classpath="." $*; -- $(RM) $< -+ $(GCJH) --classpath="/usr/share/java/libgcj-4.3.jar:$(PWD):." $* - - ## - # targets -Index: pdftk-1.41/java_libs/com/lowagie/text/pdf/codec/postscript/Makefile -=================================================================== ---- pdftk-1.41.orig/java_libs/com/lowagie/text/pdf/codec/postscript/Makefile 2007-11-08 14:03:26.868029019 +0100 -+++ pdftk-1.41/java_libs/com/lowagie/text/pdf/codec/postscript/Makefile 2007-11-08 14:03:29.09264.370 +0100 -@@ -25,8 +25,7 @@ - # the "$*" automatic variable, here - # - %.h : %.class -- $(GCJH) --classpath="." $*; -- $(RM) $< -+ $(GCJH) --classpath="/usr/share/java/libgcj-4.3.jar:$(PWD):." $* - - ## - # targets -Index: pdftk-1.41/java_libs/com/lowagie/text/pdf/codec/wmf/Makefile -=================================================================== ---- pdftk-1.41.orig/java_libs/com/lowagie/text/pdf/codec/wmf/Makefile 2007-11-08 14:03:26.908040103 +0100 -+++ pdftk-1.41/java_libs/com/lowagie/text/pdf/codec/wmf/Makefile 2007-11-08 14:03:29.09264.370 +0100 -@@ -25,8 +25,7 @@ - # the "$*" automatic variable, here - # - %.h : %.class -- $(GCJH) --classpath="." $*; -- $(RM) $< -+ $(GCJH) --classpath="/usr/share/java/libgcj-4.3.jar:$(PWD):." $* - - ## - # targets -Index: pdftk-1.41/java_libs/com/lowagie/text/pdf/codec/Makefile -=================================================================== ---- pdftk-1.41.orig/java_libs/com/lowagie/text/pdf/codec/Makefile 2007-11-08 14:03:26.928045645 +0100 -+++ pdftk-1.41/java_libs/com/lowagie/text/pdf/codec/Makefile 2007-11-08 14:03:29.100647487 +0100 -@@ -25,8 +25,7 @@ - # the "$*" automatic variable, here - # - %.h : %.class -- $(GCJH) --classpath="." $*; -- $(RM) $< -+ $(GCJH) --classpath="/usr/share/java/libgcj-4.3.jar:$(PWD):." $* - - ## - # targets -Index: pdftk-1.41/java_libs/com/lowagie/text/markup/Makefile -=================================================================== ---- pdftk-1.41.orig/java_libs/com/lowagie/text/markup/Makefile 2007-11-08 14:03:26.948051187 +0100 -+++ pdftk-1.41/java_libs/com/lowagie/text/markup/Makefile 2007-11-08 14:03:29.100647487 +0100 -@@ -25,8 +25,7 @@ - # the "$*" automatic variable, here - # - %.h : %.class -- $(GCJH) --classpath="." $*; -- $(RM) $< -+ $(GCJH) --classpath="/usr/share/java/libgcj-4.3.jar:$(PWD):." $* - - ## - # targets -Index: pdftk-1.41/java_libs/com/lowagie/bc/asn1/Makefile -=================================================================== ---- pdftk-1.41.orig/java_libs/com/lowagie/bc/asn1/Makefile 2007-11-08 14:03:26.972057837 +0100 -+++ pdftk-1.41/java_libs/com/lowagie/bc/asn1/Makefile 2007-11-08 14:03:29.100647487 +0100 -@@ -25,8 +25,7 @@ - # the "$*" automatic variable, here - # - %.h : %.class -- $(GCJH) --classpath="." $*; -- $(RM) $< -+ $(GCJH) --classpath="/usr/share/java/libgcj-4.3.jar:$(PWD):." $* - - ## - # targets -Index: pdftk-1.41/java_libs/Makefile -=================================================================== ---- pdftk-1.41.orig/java_libs/Makefile 2007-11-08 14:03:26.992063379 +0100 -+++ pdftk-1.41/java_libs/Makefile 2007-11-08 14:03:29.100647487 +0100 -@@ -11,7 +11,7 @@ - java_libs_root= $(CURDIR) - - # append gcj flags --export GCJFLAGS+= --encoding=UTF-8 --classpath="$(java_libs_root)" -+export GCJFLAGS+= -w --encoding=UTF-8 --classpath="$(java_libs_root)" - - all : libgcj_local itext - -Index: pdftk-1.41/pdftk/Makefile.Base -=================================================================== ---- pdftk-1.41.orig/pdftk/Makefile.Base 2007-11-08 14:03:42.008223078 +0100 -+++ pdftk-1.41/pdftk/Makefile.Base 2007-11-08 14:03:50.490572824 +0100 -@@ -73,4 +73,4 @@ - - clean: - $(MAKE) -C $(java_libs_root) clean -- rm -vf *.o -+ rm -vf *.o pdftk diff --git a/source/apps-extra/pdftk/gcj44.diff b/source/apps-extra/pdftk/gcj44.diff deleted file mode 100644 index d2b5f55..0000000 --- a/source/apps-extra/pdftk/gcj44.diff +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/java_libs/com/lowagie/text/pdf/PdfDate.java b/java_libs/com/lowagie/text/pdf/PdfDate.java -index 8a74b80..5ba92cf 100644 ---- a/java_libs/com/lowagie/text/pdf/PdfDate.java -+++ b/java_libs/com/lowagie/text/pdf/PdfDate.java -@@ -76,7 +76,7 @@ public class PdfDate extends PdfString { - // ssteward; static builds of pdftk (Windows, gcc 3.3.1) would - // omit this class because of its reference by reflection; - // this treatment ensures that ld will include it -- private static Class c1= gnu.java.locale.Calendar.class; -+ private static Class c1= java.util.Calendar.class; - - private static final int dateSpace[] = {Calendar.YEAR, 4, 0, Calendar.MONTH, 2, -1, Calendar.DAY_OF_MONTH, 2, 0, - Calendar.HOUR_OF_DAY, 2, 0, Calendar.MINUTE, 2, 0, Calendar.SECOND, 2, 0}; diff --git a/source/apps-extra/pdftk/nolocal.diff b/source/apps-extra/pdftk/nolocal.diff deleted file mode 100644 index b0fa3ad..0000000 --- a/source/apps-extra/pdftk/nolocal.diff +++ /dev/null @@ -1,73 +0,0 @@ -Index: pdftk/pdftk/Makefile.Base -=================================================================== ---- pdftk.orig/pdftk/Makefile.Base 2007-11-14 13:26:12.343555702 +0100 -+++ pdftk/pdftk/Makefile.Base 2007-11-14 13:26:12.363561247 +0100 -@@ -31,18 +31,6 @@ - afms= $(wildcard $(java_libs_root)/com/lowagie/text/pdf/fonts/*.afm) - afm_objects= $(patsubst %.afm, %.o, $(afms)) - --# older versions of libgcj might not have the MD5 algorithm, --# so I added it here; these *_local java files were grabbed from --# libgcj CVS on March 7, 2004; diffed September 5, 2006 w/ gcc 4.1.1 --# --# gnu/gcj/convert/Input_UnicodeBig.java was grabbed March 26, 2004; diffed September 5, 2006 w/ gcc 4.1.1 --# --libgcj_local_libs = \ --$(java_libs_root)/java_local/security/security.a \ --$(java_libs_root)/gnu_local/java/security/provider/provider.a \ --$(java_libs_root)/gnu_local/java/security/security.a \ --$(java_libs_root)/gnu/gcj/convert/convert.a -- - # this must already be set according to your platform Makefile; - # we're just appending to it, here - # -Index: pdftk/java_libs/com/lowagie/text/pdf/PdfEncryption.java -=================================================================== ---- pdftk.orig/java_libs/com/lowagie/text/pdf/PdfEncryption.java 2007-11-14 13:24:35.736779184 +0100 -+++ pdftk/java_libs/com/lowagie/text/pdf/PdfEncryption.java 2007-11-14 13:26:12.363561247 +0100 -@@ -50,7 +50,7 @@ - - package com.lowagie.text.pdf; - --import java_local.security.MessageDigest; // ssteward -+import java.security.MessageDigest; - import com.lowagie.text.ExceptionConverter; - - /** -Index: pdftk/java_libs/Makefile -=================================================================== ---- pdftk.orig/java_libs/Makefile 2007-11-14 13:26:12.343555702 +0100 -+++ pdftk/java_libs/Makefile 2007-11-14 13:26:56.971925474 +0100 -@@ -11,15 +11,9 @@ - java_libs_root= $(CURDIR) - - # append gcj flags --export GCJFLAGS+= -w --encoding=UTF-8 --classpath="$(java_libs_root)" -+export GCJFLAGS+= -w --encoding=UTF-8 --classpath="/usr/share/java/libgcj-4.3.jar:$(java_libs_root)" - --all : libgcj_local itext -- --libgcj_local : -- $(MAKE) -C "$(java_libs_root)/gnu_local/java/security"; -- $(MAKE) -C "$(java_libs_root)/gnu_local/java/security/provider"; -- $(MAKE) -C "$(java_libs_root)/gnu/gcj/convert"; -- $(MAKE) -C "$(java_libs_root)/java_local/security"; -+all : itext - - itext : - $(MAKE) -C "$(java_libs_root)/com/lowagie/text"; -@@ -35,13 +29,7 @@ - $(MAKE) -C "$(java_libs_root)/com/lowagie/bc/asn1"; - $(MAKE) -C "$(java_libs_root)/com/lowagie/text/pdf/codec/postscript"; - --clean : libgcj_local_clean itext_clean -- --libgcj_local_clean : -- $(MAKE) -iC "$(java_libs_root)/gnu_local/java/security" clean; -- $(MAKE) -iC "$(java_libs_root)/gnu_local/java/security/provider" clean; -- $(MAKE) -iC "$(java_libs_root)/gnu/gcj/convert" clean; -- $(MAKE) -iC "$(java_libs_root)/java_local/security" clean; -+clean : itext_clean - - itext_clean : - $(MAKE) -iC "$(java_libs_root)/com/lowagie/text" clean; _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git