Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package xmlgraphics-fop for openSUSE:Factory checked in at 2021-02-01 13:24:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xmlgraphics-fop (Old)
and /work/SRC/openSUSE:Factory/.xmlgraphics-fop.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xmlgraphics-fop"
Mon Feb 1 13:24:41 2021 rev:46 rq:866483 version:2.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/xmlgraphics-fop/xmlgraphics-fop.changes 2020-06-08 23:44:00.141358980 +0200
+++ /work/SRC/openSUSE:Factory/.xmlgraphics-fop.new.28504/xmlgraphics-fop.changes 2021-02-01 13:24:44.001778203 +0100
@@ -1,0 +2,12 @@
+Sun Jan 24 18:01:22 UTC 2021 - Fridrich Strba
+
+- version 2.6
+ * Support OTF/TTF SVG fonts
+ * Allow overpaint of PDF border
+
+-------------------------------------------------------------------
+Sat Jan 23 18:39:32 UTC 2021 - Bernhard Wiedemann
+
+- Add reproducible.patch to override build date (boo#1047218)
+
+-------------------------------------------------------------------
Old:
----
fop-2.5-src.tar.gz
New:
----
fop-2.6-src.tar.gz
reproducible.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xmlgraphics-fop.spec ++++++
--- /var/tmp/diff_new_pack.ewVfwG/_old 2021-02-01 13:24:45.157780016 +0100
+++ /var/tmp/diff_new_pack.ewVfwG/_new 2021-02-01 13:24:45.161780022 +0100
@@ -1,7 +1,7 @@
#
# spec file for package xmlgraphics-fop
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2000-2008, JPackage Project
#
# All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
%define bname fop
Name: xmlgraphics-fop
-Version: 2.5
+Version: 2.6
Release: 0
Summary: Formatter for Printing XSLT Processed XML Files
License: Apache-2.0
@@ -42,6 +42,7 @@
# PATCH-FEATURE-OPENSUSE reproducible-build-manifest.patch -- boo#1110024
Patch5: reproducible-build-manifest.patch
Patch6: fop-2.5-QDox-2.0.patch
+Patch7: reproducible.patch
BuildRequires: ant >= 1.8.4
BuildRequires: apache-pdfbox >= 2.0
BuildRequires: commons-io >= 2.4
@@ -93,6 +94,7 @@
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
# Replace keyword "VERSION" in XML files with the real one:
for x in %{SOURCE10} %{SOURCE11} %{SOURCE12}; do
++++++ fop-2.5-src.tar.gz -> fop-2.6-src.tar.gz ++++++
/work/SRC/openSUSE:Factory/xmlgraphics-fop/fop-2.5-src.tar.gz /work/SRC/openSUSE:Factory/.xmlgraphics-fop.new.28504/fop-2.6-src.tar.gz differ: char 14, line 1
++++++ reproducible.patch ++++++
https://github.com/apache/xmlgraphics-fop/pull/65
partial fix for
https://issues.apache.org/jira/browse/FOP-2854
https://github.com/openSUSE/daps/issues/482
commit 0d3f0f9a473aad6f315fd60cc6ed1447afb791ef
Author: Bernhard M. Wiedemann
Date: Wed Dec 23 13:53:56 2020 +0100
FOP-2854: Allow to override CreationDate
Allow to override build date with SOURCE_DATE_EPOCH
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.
This patch was done while working on reproducible builds for openSUSE.
diff --git a/fop-core/src/main/java/org/apache/fop/pdf/PDFMetadata.java b/fop-core/src/main/java/org/apache/fop/pdf/PDFMetadata.java
index 3af9af606..ff708e371 100644
--- a/fop-core/src/main/java/org/apache/fop/pdf/PDFMetadata.java
+++ b/fop-core/src/main/java/org/apache/fop/pdf/PDFMetadata.java
@@ -134,7 +134,9 @@ public class PDFMetadata extends PDFStream {
//Set creation date if not available, yet
if (info.getCreationDate() == null) {
- Date d = new Date();
+ Date d = System.getenv("SOURCE_DATE_EPOCH") == null ?
+ new Date() :
+ new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH")));
info.setCreationDate(d);
}