rpms/gtk-doc/devel gtk-doc-index.patch, NONE, 1.1 gtk-doc.spec, 1.53, 1.54
Matthias Clasen
mclasen at fedoraproject.org
Sun Nov 23 22:43:27 UTC 2008
- Previous message (by thread): rpms/parcellite/F-9 parcellite-0.9-de.po.patch, NONE, 1.1 parcellite-0.9-main.c.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 parcellite.spec, 1.2, 1.3 sources, 1.3, 1.4
- Next message (by thread): rpms/parcellite/F-8 parcellite-0.9-de.po.patch, NONE, 1.1 parcellite-0.9-main.c.patch, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mclasen
Update of /cvs/extras/rpms/gtk-doc/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4894
Modified Files:
gtk-doc.spec
Added Files:
gtk-doc-index.patch
Log Message:
fix an index generation problem
gtk-doc-index.patch:
--- NEW FILE gtk-doc-index.patch ---
diff -up gtk-doc-1.11/gtkdoc-mkdb.in.index gtk-doc-1.11/gtkdoc-mkdb.in
--- gtk-doc-1.11/gtkdoc-mkdb.in.index 2008-11-06 14:01:42.000000000 -0500
+++ gtk-doc-1.11/gtkdoc-mkdb.in 2008-11-23 17:37:33.000000000 -0500
@@ -823,9 +823,9 @@ sub OutputIndex {
$short_symbol = $symbol;
}
- my $xref = &MakeXRef ($symbol);
my $curletter = uc(substr($short_symbol,0,1));
my $id = $apiindex{$symbol};
+ my $xref = &MakeXRef ($id, $symbol);
#print " add symbol $symbol with $id to index in section $curletter\n";
@@ -2127,7 +2127,7 @@ sub CreateValidSGMLID {
# Special case, '_' would end up as '' so we use 'gettext-macro' instead.
if ($id eq "_") { return "gettext-macro"; }
- if ($id !~ /[a-z]/) { $id .= ":CAPS" };
+ if ($id !~ /[a-z]/ && $id !~ /-CAPS$/) { $id .= ":CAPS" };
$id =~ s/[_ ]/-/g;
$id =~ s/[,\.]//g;
Index: gtk-doc.spec
===================================================================
RCS file: /cvs/extras/rpms/gtk-doc/devel/gtk-doc.spec,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- gtk-doc.spec 21 Nov 2008 06:55:11 -0000 1.53
+++ gtk-doc.spec 23 Nov 2008 22:42:57 -0000 1.54
@@ -1,10 +1,12 @@
Summary: API documentation generation tool for GTK+ and GNOME
Name: gtk-doc
Version: 1.11
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2+ and GFDL
Group: Development/Tools
Source: http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.11/gtk-doc-%{version}.tar.bz2
+# http://bugzilla.gnome.org/show_bug.cgi?id=562064
+Patch0: gtk-doc-index.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: http://www.gtk.org/gtk-doc
@@ -41,6 +43,7 @@
%prep
%setup -q
+%patch0 -p1 -b .index
# Move this doc file to avoid name collisions
mv doc/README doc/README.docs
@@ -80,6 +83,9 @@
%{_datadir}/omf/gtk-doc-manual
%changelog
+* Sun Nov 23 2008 Matthias Clasen <mclasen at redhat.com> - 1.11-3
+- Fix an index generation problem
+
* Fri Nov 21 2008 Matthias Clasen <mclasen at redhat.com> - 1.11-2
- Update to 1.11
- Previous message (by thread): rpms/parcellite/F-9 parcellite-0.9-de.po.patch, NONE, 1.1 parcellite-0.9-main.c.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 parcellite.spec, 1.2, 1.3 sources, 1.3, 1.4
- Next message (by thread): rpms/parcellite/F-8 parcellite-0.9-de.po.patch, NONE, 1.1 parcellite-0.9-main.c.patch, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list