rpms/itext/F-11 itext-2.1.5-pdftk.patch, NONE, 1.1 itext.spec, 1.17, 1.18
Jochen Schmitt
s4504kr at fedoraproject.org
Wed Apr 22 16:27:32 UTC 2009
- Previous message (by thread): rpms/fedora-logos/devel fedora-logos.spec, 1.126, 1.127 sources, 1.97, 1.98
- Next message (by thread): rpms/fedora-logos/F-11 .cvsignore, 1.83, 1.84 fedora-logos.spec, 1.126, 1.127 sources, 1.97, 1.98
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: s4504kr
Update of /cvs/extras/rpms/itext/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31679
Modified Files:
itext.spec
Added Files:
itext-2.1.5-pdftk.patch
Log Message:
Add patch to fix pdftk stdin issue
itext-2.1.5-pdftk.patch:
--- NEW FILE itext-2.1.5-pdftk.patch ---
diff -up itext-2.1.5/src/core/com/lowagie/text/pdf/RandomAccessFileOrArray.java.pdftk itext-2.1.5/src/core/com/lowagie/text/pdf/RandomAccessFileOrArray.java
--- itext-2.1.5/src/core/com/lowagie/text/pdf/RandomAccessFileOrArray.java.pdftk 2009-04-21 18:12:02.000000000 +0200
+++ itext-2.1.5/src/core/com/lowagie/text/pdf/RandomAccessFileOrArray.java 2009-04-21 18:17:08.000000000 +0200
@@ -99,7 +99,11 @@ public class RandomAccessFileOrArray imp
}
}
else {
- InputStream is = BaseFont.getResourceStream(filename);
+ InputStream is;
+ if( filename.equals("-"))
+ is = System.in;
+ else
+ is = BaseFont.getResourceStream(filename);
if (is == null)
throw new IOException(filename + " not found as file or resource.");
try {
Index: itext.spec
===================================================================
RCS file: /cvs/extras/rpms/itext/F-11/itext.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- itext.spec 10 Mar 2009 16:24:47 -0000 1.17
+++ itext.spec 22 Apr 2009 16:27:28 -0000 1.18
@@ -4,11 +4,12 @@
Summary: A Free Java-PDF library
Name: itext
Version: 2.1.5
-Release: 1%{?dist}
+Release: 2%{?dist}
License: (LGPLv2+ or MPLv1.1) and ASL 2.0 and BSD and MIT and LGPLv2+ and CC-BY
URL: http://www.lowagie.com/iText/
Group: Development/Libraries
Source0: http://downloads.sourceforge.net/itext/iText-src-%{version}.tar.gz
+Patch1: itext-2.1.5-pdftk.patch
BuildRequires: ant
BuildRequires: bouncycastle-mail
BuildRequires: dom4j
@@ -53,6 +54,7 @@
%prep
%setup -q -c -T -a 0
+%patch1 -p1 -b .pdftk
# Remove preshipped binaries
find . -name "*.jar" -exec rm {} \;
@@ -141,6 +143,9 @@
# -----------------------------------------------------------------------------
%changelog
+* Tue Apr 21 2009 Jochen Schmitt <Jochen herr-schmitt de> 2.1.5-2
+- Patch to allow reading of pdf files from stdin for pdftk (BZ #495574)
+
* Tue Mar 10 2009 Jochen Schmitt <Jochen herr-schmitt de> 2.1.5-1
- New upstream release
- Previous message (by thread): rpms/fedora-logos/devel fedora-logos.spec, 1.126, 1.127 sources, 1.97, 1.98
- Next message (by thread): rpms/fedora-logos/F-11 .cvsignore, 1.83, 1.84 fedora-logos.spec, 1.126, 1.127 sources, 1.97, 1.98
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list