Compare commits
9 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
32d2dd06fa | ||
| 20982c869b | |||
| 43891e4384 | |||
| 17220e1e70 | |||
| 802c68e9ec | |||
| 64ba32f394 | |||
| cfe11f4319 | |||
| 658359b505 | |||
| e109bbaf19 |
14
ioexception.patch
Normal file
14
ioexception.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- xmlgraphics-commons-2.10/src/main/java/org/apache/xmlgraphics/image/loader/impl/ImageLoaderRawJPEG.java 2026-02-06 14:46:33.830690789 +0100
|
||||
+++ xmlgraphics-commons-2.10/src/main/java/org/apache/xmlgraphics/image/loader/impl/ImageLoaderRawJPEG.java 2026-02-06 14:52:44.657115723 +0100
|
||||
@@ -226,11 +226,7 @@
|
||||
final int alignment = 4;
|
||||
int padding = (alignment - (iccStream.size() % alignment)) % alignment;
|
||||
if (padding != 0) {
|
||||
- try {
|
||||
iccStream.write(new byte[padding]);
|
||||
- } catch (IOException ioe) {
|
||||
- throw new IOException("Error while aligning ICC stream: " + ioe.getMessage());
|
||||
- }
|
||||
}
|
||||
|
||||
ICC_Profile iccProfile = null;
|
||||
BIN
xmlgraphics-commons-2.10-src.tar.gz
LFS
Normal file
BIN
xmlgraphics-commons-2.10-src.tar.gz
LFS
Normal file
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 6 13:57:35 UTC 2026 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Added patch:
|
||||
* ioexception.patch
|
||||
+ do not forward IOException that is not thrown with newer
|
||||
commons-io versions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 12 16:14:58 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Update to 2.8
|
||||
* Minor changes to support FOP 2.10 release
|
||||
* Changes:
|
||||
+ XGC-133: Fix test for Java 11
|
||||
+ FOP-3127: Allow XMP at PDF page level
|
||||
+ FOP-3135: Allow source resolution configuration
|
||||
+ FOP-3144: Add new schema to handle pdf/a and pdfa/ua
|
||||
+ XGC-127: Set an automatic module name
|
||||
+ XGC-139: Switch to spotbugs
|
||||
+ XGC-141: Do not use a singleton for ImageImplRegistry
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 20 14:31:28 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
@@ -7,7 +29,17 @@ Tue Feb 20 14:31:28 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
Wed Dec 28 12:37:08 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.8:
|
||||
* Minor changes to support FOP 2.8 release
|
||||
* Minor changes to support FOP 2.8 release
|
||||
* Changes:
|
||||
+ XGC-128: Remove image transparency for PS
|
||||
+ FOP-3038: Allow sections which need security permissions
|
||||
to be run when AllPermission denied in caller code
|
||||
+ FOP-3032: Embed pdf into afp using unique type
|
||||
+ FOP-3051: Upgrade to Commons IO 2.11
|
||||
+ FOP-3055: Use a event for a draw image error
|
||||
+ FOP-3091: Add transparency color support for PS
|
||||
+ XGC-130: Allow subproperties in XMP
|
||||
+ XGC-132: Fallback to raw png if ImageIO cannot read image
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 18 17:52:48 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
@@ -71,7 +103,7 @@ Fri Dec 22 13:37:24 UTC 2017 - fstrba@suse.com
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 29 08:43:00 UTC 2017 - fstrba@suse.com
|
||||
|
||||
- Don't condition the maven defines on release version, but on
|
||||
- Don't condition the maven defines on release version, but on
|
||||
_maven_repository being defined
|
||||
|
||||
-------------------------------------------------------------------
|
||||
@@ -82,7 +114,7 @@ Tue Sep 19 07:32:15 UTC 2017 - fstrba@suse.com
|
||||
-------------------------------------------------------------------
|
||||
Fri May 19 11:03:58 UTC 2017 - vsistek@suse.com
|
||||
|
||||
- Add BuildRequires: javapackages-local (for maven conversions)
|
||||
- Add BuildRequires: javapackages-local (for maven conversions)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 20 15:20:21 UTC 2017 - sknorr@suse.com
|
||||
@@ -132,12 +164,12 @@ Fri Sep 6 07:55:29 UTC 2013 - mvyskocil@suse.com
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 23 09:27:51 UTC 2013 - mvyskocil@suse.com
|
||||
|
||||
- fix javadoc installation
|
||||
- fix javadoc installation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 31 08:28:00 UTC 2012 - mvyskocil@suse.com
|
||||
|
||||
- remove the symlink madness - jar and javadoc are not versioned anymore
|
||||
- remove the symlink madness - jar and javadoc are not versioned anymore
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 24 10:13:01 UTC 2012 - mvyskocil@suse.com
|
||||
@@ -153,7 +185,7 @@ Wed Oct 24 10:13:01 UTC 2012 - mvyskocil@suse.com
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 18 13:46:01 UTC 2012 - mvyskocil@suse.cz
|
||||
|
||||
- fix jdk7 build (Fedora patch)
|
||||
- fix jdk7 build (Fedora patch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 3 13:47:59 UTC 2010 - mvyskocil@suse.cz
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package xmlgraphics-commons
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
# Copyright (c) 2000-2008, JPackage Project
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
Name: xmlgraphics-commons
|
||||
Version: 2.8
|
||||
Version: 2.10
|
||||
Release: 0
|
||||
Summary: XML Graphics Commons
|
||||
License: Apache-2.0
|
||||
@@ -27,6 +27,7 @@ URL: https://xmlgraphics.apache.org/commons/
|
||||
Source0: https://archive.apache.org/dist/xmlgraphics/commons/source/xmlgraphics-commons-%{version}-src.tar.gz
|
||||
Patch0: xmlgraphics-commons-build_xml.patch
|
||||
Patch1: xmlgraphics-commons-jdk10.patch
|
||||
Patch2: ioexception.patch
|
||||
BuildRequires: ant >= 1.6.5
|
||||
BuildRequires: commons-io >= 1.1
|
||||
BuildRequires: commons-logging
|
||||
@@ -55,12 +56,12 @@ Javadoc for package %{name}.
|
||||
%setup -q %{name}-%{version}
|
||||
%patch -P 0
|
||||
%patch -P 1 -p1
|
||||
%patch -P 2 -p1
|
||||
find . -name "*.jar" | xargs rm
|
||||
|
||||
%build
|
||||
export CLASSPATH=
|
||||
build-jar-repository -s lib commons-io commons-logging
|
||||
ant -Djavac.source=1.8 -Djavac.target=1.8 package javadocs
|
||||
ant -Ddev=true -Djavac.source=1.8 -Djavac.target=1.8 package javadocs
|
||||
|
||||
%install
|
||||
# jar
|
||||
|
||||
Reference in New Issue
Block a user