Update to 1.20

This commit is contained in:
Richard Hughes 2014-02-17 10:27:41 +00:00
parent 2c73c3eee5
commit 23a2631a98
4 changed files with 8 additions and 38 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ gtk-doc-1.15.tar.bz2
/gtk-doc-1.18.tar.xz
/gtk-doc-1_18-87-gdf075f.tar.gz
/gtk-doc-1.19.tar.xz
/gtk-doc-1.20.tar.xz

View File

@ -1,31 +0,0 @@
From bd2b3769684a7f7ebdee1d32c0fe280ef0e75e86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Mon, 21 Oct 2013 15:52:08 -0400
Subject: [PATCH] gtkdoc-mkdb: sort entries in the glossary
The entries in the glossary were in pseudo-random order, varying
even between gtk-doc runs.
https://bugzilla.gnome.org/show_bug.cgi?id=711111
https://bugzilla.gnome.org/show_bug.cgi?id=711112
---
gtkdoc-mkdb.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index e448ed7..faffaf4 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -1119,7 +1119,7 @@ $header
<title>Annotation Glossary</title>
EOF
- foreach my $annotation (keys(%AnnotationsUsed)) {
+ foreach my $annotation (sort(keys(%AnnotationsUsed))) {
if(defined($AnnotationDefinition{$annotation})) {
my $def = $AnnotationDefinition{$annotation};
my $curletter = uc(substr($annotation,0,1));
--
1.8.3.1

View File

@ -1,15 +1,12 @@
Summary: API documentation generation tool for GTK+ and GNOME
Name: gtk-doc
Version: 1.19
Release: 4%{?dist}
Version: 1.20
Release: 1%{?dist}
License: GPLv2+ and GFDL
Group: Development/Tools
#VCS: git:git://git.gnome.org/gtk-doc
Source: http://download.gnome.org/sources/gtk-doc/1.18/gtk-doc-%{version}.tar.xz
# upstream fix
Patch0: 0001-gtkdoc-mkdb-sort-entries-in-the-glossary.patch
BuildArch: noarch
URL: http://www.gtk.org/gtk-doc
@ -43,7 +40,7 @@ and GNOME.
%prep
%setup -q
%patch0 -p1
# Move this doc file to avoid name collisions
mv doc/README doc/README.docs
@ -68,6 +65,9 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html
%{_datadir}/help/*/gtk-doc-manual/
%changelog
* Mon Feb 17 2014 Richard Hughes <rhughes@redhat.com> - 1.20-1
- Update to 1.20
* Tue Oct 29 2013 Matthias Clasen <mclasen@redhat.com> - 1.19-4
- Fix sorting of the annotation glossary

View File

@ -1 +1 @@
1d1b5c074598415454a4be88228cc8f2 gtk-doc-1.19.tar.xz
58532fed036f72fc3bfd4fe79473247b gtk-doc-1.20.tar.xz