Source: geographiclib
Version: 1.49-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that geographiclib could not be built reproducibly.

This is because the documentation generates a .tag file with the
absolute build path.

Patch attached that simply disables the generation of this file as
shipping it is not useful to end users as the referenced .cpp files
are not present at that location in the binary package.


 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible-build.patch   1969-12-31 19:00:00.000000000 
-0500
--- b/debian/patches/reproducible-build.patch   2017-10-15 20:43:11.882599642 
-0400
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2017-10-15
+
+--- geographiclib-1.49.orig/doc/doxyfile.in
++++ geographiclib-1.49/doc/doxyfile.in
+@@ -1544,7 +1544,7 @@ TAGFILES               =
+ # When a file name is specified after GENERATE_TAGFILE, doxygen will create
+ # a tag file that is based on the input files it reads.
+ 
+-GENERATE_TAGFILE       = html/GeographicLib.tag
++GENERATE_TAGFILE       =
+ 
+ # If the ALLEXTERNALS tag is set to YES all external classes will be listed
+ # in the class index. If set to NO only the inherited external classes
--- a/debian/patches/series     2017-10-15 20:30:09.291563240 -0400
--- b/debian/patches/series     2017-10-15 20:43:10.530577980 -0400
@@ -1,3 +1,4 @@
 css.patch
 privacy.patch
 disable-python-build.patch
+reproducible-build.patch

Reply via email to