Accepting request 283984 from GNOME: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/283984 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk-doc?expand=0&rev=29
This commit is contained in:
commit
c10f5e4789
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 gtk-doc-reproducible-html.patch bgo#743967 coolo@suse.de -- 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
|
||||||
@ -56,6 +58,7 @@ generate the documentation for GLib, Gtk+, and GNOME.
|
|||||||
%lang_package
|
%lang_package
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-scrollkeeper
|
%configure --disable-scrollkeeper
|
||||||
|
Loading…
Reference in New Issue
Block a user