[Reproducible-commits] [gtk-doc] 03/04: Make the HTML output reproducible (if all goes well).

Holger Levsen holger at moszumanska.debian.org
Fri Mar 20 20:58:02 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch p-u/reproducible_builds
in repository gtk-doc.

commit fe1c60f53d04d2da3496acb5410c97d574f5c894
Author: Peter De Wachter <pdewacht at gmail.com>
Date:   Fri Mar 20 21:50:56 2015 +0100

    Make the HTML output reproducible (if all goes well).
---
 debian/changelog                       |  6 ++++++
 debian/control                         |  2 +-
 debian/patches/reproducible-html.patch | 15 +++++++++++++++
 debian/patches/series                  |  1 +
 4 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b3e1cbb..fd8abe3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+gtk-doc (1.21-2.0~reproducible1) unstable; urgency=medium
+
+  * Make the HTML output reproducible (if all goes well).
+
+ -- Peter De Wachter <pdewacht at gmail.com>  Mon, 19 Jan 2015 22:22:42 +0100
+
 gtk-doc (1.21-2) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/control b/debian/control
index 14410a5..fcef210 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Source: gtk-doc
 Section: gnome
 Priority: optional
 Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>
-Uploaders: Andreas Henriksson <andreas at fatal.se>, Emilio Pozuelo Monfort <pochu at debian.org>, Josselin Mouette <joss at debian.org>, Martin Pitt <mpitt at debian.org>, Michael Biebl <biebl at debian.org>, Sebastian Dröge <slomo at debian.org>
+Uploaders: Andreas Henriksson <andreas at fatal.se>, Emilio Pozuelo Monfort <pochu at debian.org>, Josselin Mouette <joss at debian.org>, Martin Pitt <mpitt at debian.org>, Michael Biebl <biebl at debian.org>
 Standards-Version: 3.9.5
 Build-Depends: cdbs,
                debhelper (>= 8),
diff --git a/debian/patches/reproducible-html.patch b/debian/patches/reproducible-html.patch
new file mode 100644
index 0000000..0d0ff68
--- /dev/null
+++ b/debian/patches/reproducible-html.patch
@@ -0,0 +1,15 @@
+Description: Make HTML output deterministic
+Author: Peter De Wachter <pdewacht at gmail.com>
+Last-Update: 2015-01-19
+
+--- a/gtkdoc-mkdb.in
++++ b/gtkdoc-mkdb.in
+@@ -1093,7 +1093,7 @@
+ 
+     # do a case insensitive sort while chopping off the prefix
+     foreach my $hash (
+-        sort { $$a{criteria} cmp $$b{criteria} }
++        sort { $$a{criteria} cmp $$b{criteria} or $$a{original} cmp $$b{original} }
+         map { my $x = uc($_); $x =~ s/^$NAME_SPACE\_?(.*)/$1/i; { criteria => $x, original => $_, short => $1 } }
+         keys %apiindex) {
+ 
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..6658268 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+reproducible-html.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/gtk-doc.git



More information about the Reproducible-commits mailing list