1
0
forked from pool/apache-pdfbox

Accepting request 1102898 from Java:packages

2.0.29

OBS-URL: https://build.opensuse.org/request/show/1102898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-pdfbox?expand=0&rev=17
This commit is contained in:
Dominique Leuenberger 2023-08-09 15:24:09 +00:00 committed by Git OBS Bridge
commit 1db8ee97cd
8 changed files with 54 additions and 21 deletions

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Mon Aug 7 07:12:31 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to 2.0.29
* Bug
- A (rotated) barcode is missing from a pdf when printed
- NullPointerException in PDTrueTypeFont.java getPath( )
- Parsing of XMP metadata without optional xmpmeta element
- Avoid division by 0 in shading function interpolation
- MyPageDrawer#getPaint may produce
UnsupportedOperationException
- Barcode corrupted when printing document
- The text in some fonts is lost when converting pdf to image
- PDFTextStripper runs out of memory in 2.0.28 but not in
2.0.27 same code
- all values in the signature dictionary shall be direct
objects
- Glyphs not rendered
- PDF with mangled font rendering in some environments
- RadioButtons disappear when printing PDF
- BitsPerComponent 16 not allowed in PDF/A-1b
- NullPointerException in PDFStreamEngine.showText
- Infinte loop when parsing Type1 font
* Improvement
- Add duplex and tray parameters to PrintPDF
- Create command line utility to extract XMP data
- Improve Opaque PDFRenderer example
* Task
- Implement /RunLengthDecode encoder
- Slight regression on corrupt bug tracker file
- move and update bc from jdk15on to jdk15to18
- Build and package forgotten artifact org.apache.pdfbox:xmpbox
- Add build dependency on mvn(javax.xml.bind:jaxb-api), needed for
xmpbox.
-------------------------------------------------------------------
Fri Apr 14 08:10:09 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>

View File

@ -18,7 +18,7 @@
# Only fontbox and jempbox are built as pdfbox itself depends on Adobe's pcif.
Name: apache-pdfbox
Version: 2.0.28
Version: 2.0.29
Release: 0
Summary: Java PDF Library
License: Apache-2.0 AND OFL-1.1
@ -35,9 +35,9 @@ BuildRequires: bouncycastle-mail
BuildRequires: bouncycastle-pkix
BuildRequires: bouncycastle-util
BuildRequires: fdupes
BuildRequires: glassfish-jaxb-api
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
BuildRequires: javapackages-local >= 6
BuildRequires: unzip
Requires: apache-commons-logging
BuildArch: noarch
@ -67,19 +67,17 @@ find -name '*.jar' -delete
%build
mkdir -p lib
build-jar-repository -s lib bcmail bcpkix bcprov bcutil commons-logging
%ant -Dproject.version=%{version} -Dtest.skip=true package javadoc
build-jar-repository -s lib bcmail bcpkix bcprov bcutil commons-logging glassfish-jaxb-api
%{ant} -Dproject.version=%{version} -Dtest.skip=true package javadoc
%install
# Code
install -d -m 0755 %{buildroot}%{_javadir}/pdfbox
install -d -m 0755 %{buildroot}%{_mavenpomdir}/pdfbox
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
for jar in fontbox pdfbox debugger tools; do
for jar in fontbox pdfbox xmpbox debugger tools; do
install -p -m 0644 ${jar}/target/*-%{version}.jar %{buildroot}%{_javadir}/pdfbox/${jar}.jar
%pom_remove_parent ${jar}
%pom_xpath_inject pom:project "<groupId>org.apache.pdfbox</groupId><version>%{version}</version>" ${jar}
install -p -m 0644 ${jar}/pom.xml %{buildroot}%{_mavenpomdir}/pdfbox/${jar}.pom
%mvn_install_pom ${jar}/pom.xml %{buildroot}%{_mavenpomdir}/pdfbox/${jar}.pom
%add_maven_depmap pdfbox/${jar}.pom pdfbox/${jar}.jar
cp -pr ${jar}/target/site/apidocs %{buildroot}%{_javadocdir}/%{name}/${jar}
done

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:356a4de85e2c1cbdec7ddb28b875590c543325298f04161fbf21d323bedde178
size 6952

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43aa4f8f032fece7421c8884953ae44d9cbf8f803cf431aaef257e21f5761caf
size 15815732

View File

@ -1,6 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iF0EABEKAB0WIQSmApcP4b9cnIqUkbl6PJ/iHf2/RAUCZDPgBAAKCRB6PJ/iHf2/
RBXBAJwLmHKpyC4qj1palulY+GsrRQRV5QCghFwExM5nq2ghabXZo9S8D/UfVec=
=5uxc
-----END PGP SIGNATURE-----

BIN
pdfbox-2.0.29-build.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
pdfbox-2.0.29-src.zip (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABEKAB0WIQSmApcP4b9cnIqUkbl6PJ/iHf2/RAUCZJxkrwAKCRB6PJ/iHf2/
RGg9AKDOW5wgUKAmAu1wQnVgk6NG2pWdKQCfeaufbiN5IQJh5gQKbKcMh4Gjlf4=
=TYs9
-----END PGP SIGNATURE-----