Hello community,
here is the log from the commit of package xmlgraphics-fop for openSUSE:Factory
checked in at 2020-04-05 20:52:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xmlgraphics-fop (Old)
and /work/SRC/openSUSE:Factory/.xmlgraphics-fop.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xmlgraphics-fop"
Sun Apr 5 20:52:44 2020 rev:43 rq:791181 version:2.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/xmlgraphics-fop/xmlgraphics-fop.changes
2019-08-23 11:02:55.822519926 +0200
+++
/work/SRC/openSUSE:Factory/.xmlgraphics-fop.new.3248/xmlgraphics-fop.changes
2020-04-05 20:52:46.457138365 +0200
@@ -1,0 +2,9 @@
+Fri Apr 3 10:50:59 UTC 2020 - Fridrich Strba <[email protected]>
+
+- Added patch:
+ * fop-2.1-batik-xmlconstants.patch
+ + apply when building with batik >= 1.11
+ + batik 1.11 moved XMLConstants class from
+ org.apache.batik.util to org.apache.batik.constants
+
+-------------------------------------------------------------------
New:
----
fop-2.1-batik-xmlconstants.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xmlgraphics-fop.spec ++++++
--- /var/tmp/diff_new_pack.YHjoFI/_old 2020-04-05 20:52:47.533139394 +0200
+++ /var/tmp/diff_new_pack.YHjoFI/_new 2020-04-05 20:52:47.533139394 +0200
@@ -1,7 +1,7 @@
#
# spec file for package xmlgraphics-fop
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2000-2008, JPackage Project
#
# All modifications and additions to the file contributed by third parties
@@ -43,15 +43,16 @@
# PATCH-FEATURE-OPENSUSE reproducible-build-manifest.patch -- boo#1110024
Patch5: reproducible-build-manifest.patch
Patch6: fop-2.1-QDox-2.0.patch
+Patch7: fop-2.1-batik-xmlconstants.patch
BuildRequires: ant >= 1.6.5
BuildRequires: apache-pdfbox
BuildRequires: avalon-framework >= 4.3
BuildRequires: commons-io >= 2.4
BuildRequires: commons-logging
BuildRequires: docbook-xsl-stylesheets
-BuildRequires: java-devel >= 1.8
# Needed for maven conversions
BuildRequires: glassfish-servlet-api
+BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
BuildRequires: libxslt
BuildRequires: qdox >= 2.0
@@ -92,7 +93,11 @@
%patch3 -p1
%patch4 -p1
%patch5 -p1
+# Batik 1.11 moved XMLConstants from org.apache.batik.util to
org.apache.batik.constants
%patch6 -p1
+%if %{?pkg_vcmp:%pkg_vcmp xmlgraphics-batik >= 1.11}%{!?pkg_vcmp:0}
+%patch7 -p1
+%endif
cp %{SOURCE2} %{SOURCE3} %{SOURCE4} .
# Replace keyword "VERSION" in XML files with the real one:
@@ -102,21 +107,21 @@
sed -i "s=@version@=%{version}=" xmlgraphics-fop-pom-template.pom
%build
-pushd lib
-ln -s $(build-classpath avalon-framework-api)
-ln -s $(build-classpath avalon-framework-impl)
-ln -s $(build-classpath commons-io)
-ln -s $(build-classpath commons-logging)
-ln -s $(build-classpath fontbox)
-ln -s $(build-classpath glassfish-servlet-api)
-ln -s $(build-classpath xml-commons-apis)
-ln -s $(build-classpath xml-commons-apis-ext)
-ln -s $(build-classpath batik-all)
-ln -s $(build-classpath xmlgraphics-commons)
-ln -s $(build-classpath qdox)
-popd
+build-jar-repository -s lib \
+ avalon-framework-api \
+ avalon-framework-impl \
+ commons-io \
+ commons-logging \
+ fontbox \
+ glassfish-servlet-api \
+ xml-commons-apis \
+ xml-commons-apis-ext \
+ batik-all \
+ xmlgraphics-commons \
+ qdox
+
export CLASSPATH= LANG=en_US.UTF-8
-ant \
+%{ant} \
-Djavac.source=1.8 -Djavac.target=1.8 \
package
@@ -169,7 +174,7 @@
done
popd
-%files
+%files -f .mfiles
%license LICENSE
%doc NOTICE README known-issues.xml
%doc *.html
@@ -180,14 +185,7 @@
%{_bindir}/%{bname}-fontmetrics
%attr(0755,root,root) %{_bindir}/%{name}-fontlist
%{_bindir}/%{bname}-fontlist
-%{_javadir}/%{name}.jar
%{_datadir}/%{name}
-%{_mavenpomdir}/*
-%if %{defined _maven_repository}
-%{_mavendepmapfragdir}/%{name}
-%else
-%{_datadir}/maven-metadata/%{name}.xml*
-%endif
%{_mandir}/man1/*
%config(noreplace) %{_sysconfdir}/fop.xconf
++++++ fop-2.1-batik-xmlconstants.patch ++++++
--- fop-2.1/src/java/org/apache/fop/svg/SVGUtilities.java 2016-01-07
15:13:29.000000000 +0100
+++ fop-2.1/src/java/org/apache/fop/svg/SVGUtilities.java 2020-04-03
12:41:31.331947147 +0200
@@ -29,7 +29,7 @@
import org.w3c.dom.Element;
import org.apache.batik.anim.dom.SVGDOMImplementation;
-import org.apache.batik.util.XMLConstants;
+import org.apache.batik.constants.XMLConstants;
/**
* Some utilities for creating svg DOM documents and elements.