# ChangeLog for app-text/pdftk
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/ChangeLog,v 1.17 2006/03/19 23:11:42 ehmsen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/ChangeLog,v 1.18 2006/06/05 22:16:06 genstef Exp $
+
+ 05 Jun 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/pdftk-1.12-user-pw.patch, -pdftk-0.94.1.ebuild, -pdftk-1.00.ebuild,
+ pdftk-1.12.ebuild:
+ Add user_pw only support, thanks to Georg Sauthoff <g_sauthoff@web.de> in
+ bug 127891 and remove old ebuilds
19 Mar 2006; Martin Ehmsen <ehmsen@gentoo.org>
+files/pdftk-1.12-gcc-4-compilation.patch, pdftk-1.12.ebuild:
--- /dev/null
+diff -ur -x '*.o' -x '*.a' -x '*.class' -x tags -x '*.h' -x pdftk pdftk-1.12.orig/java_libs/com/lowagie/text/pdf/PdfReader.java pdftk-1.12/java_libs/com/lowagie/text/pdf/PdfReader.java
+--- pdftk-1.12.orig/java_libs/com/lowagie/text/pdf/PdfReader.java 2004-10-23 02:22:44.000000000 +0200
++++ pdftk-1.12/java_libs/com/lowagie/text/pdf/PdfReader.java 2006-03-28 21:15:37.000000000 +0200
+@@ -107,7 +107,7 @@
+ protected char pdfVersion;\r
+ protected PdfEncryption decrypt;\r
+ protected byte password[] = null; //added by ujihara for decryption\r
+- protected boolean passwordIsOwner= false; // added by ssteward\r
++ protected boolean passwordIsOwner= true;\r
+ protected ArrayList strings = new ArrayList();\r
+ protected boolean sharedStreams = true;\r
+ protected boolean consolidateNamedDestinations = false;\r
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/pdftk-1.12.ebuild,v 1.8 2006/03/19 23:11:42 ehmsen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/pdftk-1.12.ebuild,v 1.9 2006/06/05 22:16:06 genstef Exp $
inherit eutils
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 amd64 ppc"
-IUSE=""
+IUSE="nodrm"
DEPEND="virtual/libc
>=sys-devel/gcc-3.3"
S=${WORKDIR}/${P}/${PN}
< ${T}/Makefile.Generic.orig > ${S}/Makefile.Generic
# Fix gcc-4 compilation, bug #126735.
epatch "${FILESDIR}/${P}-gcc-4-compilation.patch" || die
+ use nodrm && epatch "${FILESDIR}"/${P}-user-pw.patch
}
src_compile() {