[packages/gtk-doc] - back to non-namespaced stylesheets, release 2

qboosh qboosh at pld-linux.org
Tue Jul 31 21:34:36 CEST 2018


commit 06182df0cdbde2d777d664243d841ce805814a91
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jul 31 21:32:42 2018 +0200

    - back to non-namespaced stylesheets, release 2
    
      Switching is not just changing import, but requires adaptation of XSLs,
      by using namespace in references to docbook symbols.
      E.g. <xsl:template match="book|article"> should be "d:book|d:article".
      Without this change .devhelp2 indexes are not generated.
      Unless one adds every required change, we need to stick to nons.

 gtk-doc.spec | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/gtk-doc.spec b/gtk-doc.spec
index fb23bf6..79f57d1 100644
--- a/gtk-doc.spec
+++ b/gtk-doc.spec
@@ -9,18 +9,17 @@ Summary(pl.UTF-8):	Narzędzie do generowania dokumentacji API do GTK+ i GNOME
 Summary(pt_BR.UTF-8):	O gerador de documentação do GTK
 Name:		gtk-doc
 Version:	1.28
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Development/Tools
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/%{version}/%{name}-%{version}.tar.xz
 # Source0-md5:	48550c33f9b9b530f9e5f397979b613a
 Patch0:		%{name}-noarch.patch
-Patch1:		xsl-ns.patch
 URL:		http://www.gtk.org/gtk-doc/
 BuildRequires:	autoconf >= 2.63
 BuildRequires:	automake >= 1:1.11
 BuildRequires:	docbook-dtd43-xml
-BuildRequires:	docbook-style-xsl-ns >= 1.74.0
+BuildRequires:	docbook-style-xsl-nons >= 1.74.0
 %{?with_tests:BuildRequires:	glib2-devel >= 1:2.6.0}
 %{?with_tests:BuildRequires:	libtool >= 2:2.2}
 BuildRequires:	libxml2 >= 1:2.3.6
@@ -36,7 +35,7 @@ BuildRequires:	xz
 %{?with_gnome:BuildRequires:	yelp-tools}
 Requires:	%{name}-automake = %{version}-%{release}
 Requires:	docbook-dtd43-xml
-Requires:	docbook-style-xsl-ns >= 1.74.0
+Requires:	docbook-style-xsl-nons >= 1.74.0
 Requires:	libxml2 >= 1:2.3.6
 Requires:	libxslt-progs >= 1.1.15
 Requires:	python-six
@@ -89,7 +88,6 @@ pomocą gtk-doc.
 %prep
 %setup -q
 %{!?with_tests:%patch0 -p1}
-%patch1 -p1
 %{__mv} doc/README doc/README.docs
 
 %build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtk-doc.git/commitdiff/06182df0cdbde2d777d664243d841ce805814a91



More information about the pld-cvs-commit mailing list