diff --git a/fop-Use-sRGB.icc-color-profile-from-icc-profiles-openicc.patch b/fop-Use-sRGB.icc-color-profile-from-icc-profiles-openicc.patch index aae3edb..a40018a 100644 --- a/fop-Use-sRGB.icc-color-profile-from-icc-profiles-openicc.patch +++ b/fop-Use-sRGB.icc-color-profile-from-icc-profiles-openicc.patch @@ -1,7 +1,7 @@ From 275f22df6791135dde308f76cf4b2f7ec30f1840 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Fri, 12 Apr 2013 15:43:11 +0200 -Subject: [PATCH] Use sRGB.icc color profile from icc-profiles-openicc package +Subject: [PATCH] Use sRGB.icc color profile from colord package It's a replacement for non-free color profile shipped with fop --- @@ -30,7 +30,7 @@ index 60fea88..e041344 100644 - InputStream in = PDFDocument.class.getResourceAsStream("sRGB Color Space Profile.icm"); + InputStream in; + try { -+ in = new FileInputStream("/usr/share/color/icc/OpenICC/sRGB.icc"); ++ in = new FileInputStream("/usr/share/color/icc/colord/sRGB.icc"); + } catch (FileNotFoundException e) { + in = null; + } diff --git a/fop.spec b/fop.spec index 2824b31..46c8e4b 100644 --- a/fop.spec +++ b/fop.spec @@ -1,7 +1,7 @@ Name: fop Summary: XSL-driven print formatter Version: 1.1 -Release: 5%{?dist} +Release: 6%{?dist} # ASL 1.1: # several files in src/java/org/apache/fop/render/awt/viewer/resources/ # rest is ASL 2.0 @@ -27,7 +27,6 @@ Requires: jakarta-commons-httpclient Requires: apache-commons-io >= 1.2 Requires: apache-commons-logging >= 1.0.4 Requires: java -Requires: icc-profiles-openicc BuildRequires: ant BuildRequires: java-devel @@ -117,6 +116,11 @@ install -p -m 644 %{SOURCE3} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom %changelog +* Thu Jan 2 2014 Richard Hughes 1.1-6 +- Drop the icc-profiles-openicc requirement and switch to using the colord sRGB + profile filename. +- Resolves: #1042655 + * Thu Nov 7 2013 Krzysztof Daniel 1.1-5 - Fix the OSGi manifest.