diff options
Diffstat (limited to '')
-rw-r--r-- | debian/patches/0001-Ensure-deterministic-dict-ordering.patch | 25 | ||||
-rw-r--r-- | debian/patches/0002-Remove-external-reference-to-github.blog.patch | 22 | ||||
-rw-r--r-- | debian/patches/series | 2 |
3 files changed, 49 insertions, 0 deletions
diff --git a/debian/patches/0001-Ensure-deterministic-dict-ordering.patch b/debian/patches/0001-Ensure-deterministic-dict-ordering.patch new file mode 100644 index 0000000..ce00222 --- /dev/null +++ b/debian/patches/0001-Ensure-deterministic-dict-ordering.patch @@ -0,0 +1,25 @@ +From: "Jeremy T. Bouse" <jbouse@debian.org> +Date: Sun, 13 Jun 2021 14:17:07 -0400 +Subject: Ensure deterministic dict ordering to ensure builds are + reproducible. + +See https://reproducible-builds.org/ + +Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk> +--- + alabaster/navigation.html | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/alabaster/navigation.html b/alabaster/navigation.html +index 760dcc9..f854061 100644 +--- a/alabaster/navigation.html ++++ b/alabaster/navigation.html +@@ -3,7 +3,7 @@ + {% if theme_extra_nav_links %} + <hr /> + <ul> +- {% for text, uri in theme_extra_nav_links.items() %} ++ {% for text, uri in theme_extra_nav_links.items()|sort %} + <li class="toctree-l1"><a href="{{ uri }}">{{ text }}</a></li> + {% endfor %} + </ul> diff --git a/debian/patches/0002-Remove-external-reference-to-github.blog.patch b/debian/patches/0002-Remove-external-reference-to-github.blog.patch new file mode 100644 index 0000000..cf68937 --- /dev/null +++ b/debian/patches/0002-Remove-external-reference-to-github.blog.patch @@ -0,0 +1,22 @@ +From: "Jeremy T. Bouse" <jbouse@debian.org> +Date: Sun, 13 Jun 2021 15:08:28 -0400 +Subject: Remove external reference to github.blog + +Forwarded: not-needed +--- + alabaster/layout.html | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/alabaster/layout.html b/alabaster/layout.html +index a7ca710..65d35c3 100644 +--- a/alabaster/layout.html ++++ b/alabaster/layout.html +@@ -102,7 +102,7 @@ + + {% if theme_github_banner|lower != 'false' %} + <a href="https://github.com/{{ theme_github_user }}/{{ theme_github_repo }}" class="github"> +- <img style="position: absolute; top: 0; right: 0; border: 0;" src="{{ pathto('_static/' ~ theme_github_banner, 1) if theme_github_banner|lower != 'true' else 'https://github.blog/wp-content/uploads/2008/12/forkme_right_darkblue_121621.png' }}" alt="Fork me on GitHub" class="github"/> ++ <img style="position: absolute; top: 0; right: 0; border: 0;" src="{{ pathto('_static/' ~ theme_github_banner, 1) if theme_github_banner|lower != 'true' else pathto('_static/forkme_right_darkblue_121621.png', 1) }}" alt="Fork me on GitHub" class="github"/> + </a> + {% endif %} + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..3158e5f --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +0001-Ensure-deterministic-dict-ordering.patch +0002-Remove-external-reference-to-github.blog.patch |