Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 868392844a | |||
| 8c97692ea8 | |||
| d573837b44 | |||
| 114fefd090 | |||
| 753cf62a59 | |||
| 7e32b413d6 | |||
| 5a9358894c | |||
| b7f8555f27 |
@@ -1,14 +0,0 @@
|
||||
--- 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,11 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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) 2026 SUSE LLC and contributors
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2000-2008, JPackage Project
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -27,7 +27,6 @@ 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
|
||||
@@ -56,7 +55,6 @@ 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