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;
|
||||
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package xmlgraphics-commons
|
||||
#
|
||||
# Copyright (c) 2025 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
|
||||
@@ -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,6 +56,7 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user