From 26c5613de50edc6772e7861f2262c1d4d7f9b8f4 Mon Sep 17 00:00:00 2001 From: Gard Spreemann Date: Tue, 10 Dec 2019 14:33:06 +0100 Subject: Add patch to move towards reproducible builds. --- .../0007-Move-towards-reproducible-builds.patch | 24 ++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 25 insertions(+) create mode 100644 debian/patches/0007-Move-towards-reproducible-builds.patch diff --git a/debian/patches/0007-Move-towards-reproducible-builds.patch b/debian/patches/0007-Move-towards-reproducible-builds.patch new file mode 100644 index 00000000..4c487bab --- /dev/null +++ b/debian/patches/0007-Move-towards-reproducible-builds.patch @@ -0,0 +1,24 @@ +From: Gard Spreemann +Date: Tue, 10 Dec 2019 14:31:47 +0100 +Subject: Move towards reproducible builds. + +This probably does not take us all the way there, and probably breaks +doctest, but since we're not doing sphinx stuff yet anyway, that is ok +for now. +--- + src/python/gudhi/__init__.py.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/python/gudhi/__init__.py.in b/src/python/gudhi/__init__.py.in +index 28bab0e..e22dde4 100644 +--- a/src/python/gudhi/__init__.py.in ++++ b/src/python/gudhi/__init__.py.in +@@ -15,7 +15,7 @@ __copyright__ = "Copyright (C) 2016 Inria" + __license__ = "https://gudhi.inria.fr/licensing/" + __version__ = "@GUDHI_VERSION@" + # This variable is used by doctest to find files +-__root_source_dir__ = "@CMAKE_SOURCE_DIR@" ++__root_source_dir__ = "." + __debug_info__ = @GUDHI_PYTHON_DEBUG_INFO@ + + from sys import exc_info diff --git a/debian/patches/series b/debian/patches/series index 091402d1..adeb35f7 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ 0004-Offline-header-for-docs.patch 0005-Disable-Sphinx.patch 0006-Install-Python-module-in-correct-location.patch +0007-Move-towards-reproducible-builds.patch -- cgit v1.2.3