Accepting request 283931 from home:coolo:branches:openSUSE:Factory
- add gtk-doc-reproducible-html.patch from the debian reproducible builds project to make output reproducible OBS-URL: https://build.opensuse.org/request/show/283931 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk-doc?expand=0&rev=33
This commit is contained in:
parent
d0fef6815d
commit
d71af2255c
15
gtk-doc-reproducible-html.patch
Normal file
15
gtk-doc-reproducible-html.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
Description: Make HTML output deterministic
|
||||||
|
Author: Peter De Wachter <pdewacht@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) {
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 3 16:54:32 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- add gtk-doc-reproducible-html.patch from the debian
|
||||||
|
reproducible builds project to make output reproducible
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 17 19:13:43 UTC 2014 - zaitor@opensuse.org
|
Thu Jul 17 19:13:43 UTC 2014 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gtk-doc
|
# spec file for package gtk-doc
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -26,6 +26,8 @@ Url: http://www.gtk.org/gtk-doc/
|
|||||||
Source: http://download.gnome.org/sources/gtk-doc/1.21/%{name}-%{version}.tar.xz
|
Source: http://download.gnome.org/sources/gtk-doc/1.21/%{name}-%{version}.tar.xz
|
||||||
# When updating this package, please don't forget to update the gtk-doc.m4 Source
|
# When updating this package, please don't forget to update the gtk-doc.m4 Source
|
||||||
# in glib2.
|
# in glib2.
|
||||||
|
# PATCH-FIX-UPSTREAM sort the HTML entries
|
||||||
|
Patch0: http://2k38.be/gtk-doc-reproducible-html.patch
|
||||||
BuildRequires: docbook-xsl-stylesheets
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
BuildRequires: libxml2-tools
|
BuildRequires: libxml2-tools
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
|
Loading…
Reference in New Issue
Block a user