Source: libsidplayfp
Version: 1.7.2-1
Severity: wishlist
Tags: patch
Usertags: timestamps


While working on the “reproducible builds” effort [1], we have noticed
that libsidplayfp could not be built reproducibly.

The attached patch changes the value of HTML_TIMESTAMP in upstream's
doxyfile from YES to NO. Once applied libsidplayfp can be built
reproducibly in our current experimental framework.

Patching upstream doxyfile is necessary in this case because of the
following reasons:

1. Even though the doxygen upstream changed the default value of
HTML_TIMESTAMP from YES to NO this does not affect this package because
the value of HTML_TIMESTAMP is explicitly set to YES.

2. Upstream's doxyfiles cannot reliably be modified to change the value
of HTML_TIMESTAMP during the build process because dh_doxygen is only
run after the build already completed and even adding a new dh command
cannot solve the problem because there exists no sane and reliable
solution to detect the file which will be used as the configuration file
for doxygen (it is not always called doxyfile).

3. In case of this source package a patch against upstream is necessary
in contrast to a patch against Debian rules because this source package
does not call doxygen in debian/rules.

Please also consider forwarding this patch upstream.

Cheers!  akira

Description: Set HTML_TIMESTAMP from YES to NO to make package reproducible

--- libsidplayfp-1.7.2.orig/
+++ libsidplayfp-1.7.2/
@@ -1109,7 +1109,7 @@ HTML_COLORSTYLE_GAMMA  = 80
 # The default value is: YES.
 # This tag requires that the tag GENERATE_HTML is set to YES.
 # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
 # documentation will contain sections that can be hidden and shown after the
Reproducible-builds mailing list

Reply via email to