Hello community, here is the log from the commit of package mupdf for openSUSE:Factory checked in at 2017-06-07 09:50:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mupdf (Old) and /work/SRC/openSUSE:Factory/.mupdf.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mupdf" Wed Jun 7 09:50:48 2017 rev:27 rq:499527 version:1.10a Changes: -------- --- /work/SRC/openSUSE:Factory/mupdf/mupdf.changes 2017-05-04 08:52:01.613086397 +0200 +++ /work/SRC/openSUSE:Factory/.mupdf.new/mupdf.changes 2017-06-07 09:50:49.925613347 +0200 @@ -1,0 +2,6 @@ +Mon May 29 14:46:49 UTC 2017 - bwiedem...@suse.com + +- Add reproducible.patch to sort input files to make build reproducible + (boo#1041090) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mupdf.spec ++++++ --- /var/tmp/diff_new_pack.4gR97m/_old 2017-06-07 09:50:52.505248787 +0200 +++ /var/tmp/diff_new_pack.4gR97m/_new 2017-06-07 09:50:52.509248221 +0200 @@ -35,6 +35,8 @@ Patch6: CVE-2017-5628.patch Patch7: CVE-2017-5896.patch Patch8: bsc1023760.patch +# PATCH-FIX-UPSTREAM https://bugs.ghostscript.com/show_bug.cgi?id=697958 +Patch9: reproducible.patch BuildRequires: freetype-devel BuildRequires: gcc-c++ BuildRequires: jbig2dec-devel @@ -73,6 +75,7 @@ %patch1 -p1 %patch7 -p1 %patch8 -p1 +%patch9 -p1 pushd ./thirdparty/mujs %patch2 -p1 ++++++ reproducible.patch ++++++ Index: mupdf-1.10a-source/Makefile =================================================================== --- mupdf-1.10a-source.orig/Makefile +++ mupdf-1.10a-source/Makefile @@ -83,13 +83,13 @@ PDF_HDR := include/mupdf/pdf.h $(wildcar SVG_HDR := include/mupdf/svg.h HTML_HDR := include/mupdf/html.h -FITZ_SRC := $(wildcard source/fitz/*.c) -PDF_SRC := $(wildcard source/pdf/*.c) -XPS_SRC := $(wildcard source/xps/*.c) -SVG_SRC := $(wildcard source/svg/*.c) -CBZ_SRC := $(wildcard source/cbz/*.c) -HTML_SRC := $(wildcard source/html/*.c) -GPRF_SRC := $(wildcard source/gprf/*.c) +FITZ_SRC := $(sort $(wildcard source/fitz/*.c)) +PDF_SRC := $(sort $(wildcard source/pdf/*.c)) +XPS_SRC := $(sort $(wildcard source/xps/*.c)) +SVG_SRC := $(sort $(wildcard source/svg/*.c)) +CBZ_SRC := $(sort $(wildcard source/cbz/*.c)) +HTML_SRC := $(sort $(wildcard source/html/*.c)) +GPRF_SRC := $(sort $(wildcard source/gprf/*.c)) FITZ_SRC_HDR := $(wildcard source/fitz/*.h) PDF_SRC_HDR := $(wildcard source/pdf/*.h) source/pdf/pdf-name-table.h @@ -116,11 +116,11 @@ $(GPRF_OBJ) : $(FITZ_HDR) $(GPRF_HDR) $( # --- Generated embedded font files --- -FONT_BIN_DROID := $(wildcard resources/fonts/droid/*.ttf) -FONT_BIN_NOTO := $(wildcard resources/fonts/noto/*.ttf) -FONT_BIN_HAN := $(wildcard resources/fonts/han/*.otf) -FONT_BIN_URW := $(wildcard resources/fonts/urw/*.cff) -FONT_BIN_SIL := $(wildcard resources/fonts/sil/*.cff) +FONT_BIN_DROID := $(sort $(wildcard resources/fonts/droid/*.ttf)) +FONT_BIN_NOTO := $(sort $(wildcard resources/fonts/noto/*.ttf)) +FONT_BIN_HAN := $(sort $(wildcard resources/fonts/han/*.otf)) +FONT_BIN_URW := $(sort $(wildcard resources/fonts/urw/*.cff)) +FONT_BIN_SIL := $(sort $(wildcard resources/fonts/sil/*.cff)) FONT_GEN_DROID := $(subst resources/fonts/droid/, $(GEN)/, $(addsuffix .c, $(basename $(FONT_BIN_DROID)))) FONT_GEN_NOTO := $(subst resources/fonts/noto/, $(GEN)/, $(addsuffix .c, $(basename $(FONT_BIN_NOTO)))) @@ -210,10 +210,10 @@ NAMEDUMP := $(OUT)/namedump CQUOTE := $(OUT)/cquote BIN2HEX := $(OUT)/bin2hex -CMAP_CNS_SRC := $(wildcard resources/cmaps/cns/*) -CMAP_GB_SRC := $(wildcard resources/cmaps/gb/*) -CMAP_JAPAN_SRC := $(wildcard resources/cmaps/japan/*) -CMAP_KOREA_SRC := $(wildcard resources/cmaps/korea/*) +CMAP_CNS_SRC := $(sort $(wildcard resources/cmaps/cns/*)) +CMAP_GB_SRC := $(sort $(wildcard resources/cmaps/gb/*)) +CMAP_JAPAN_SRC := $(sort $(wildcard resources/cmaps/japan/*)) +CMAP_KOREA_SRC := $(sort $(wildcard resources/cmaps/korea/*)) $(GEN)/gen_cmap_cns.h : $(CMAP_CNS_SRC) $(QUIET_GEN) $(CMAPDUMP) $@ $(CMAP_CNS_SRC)