[packages/gtk-doc] - use local, system, copy of xsl stylesheets - rel 2

baggins baggins at pld-linux.org
Sun Nov 26 11:38:53 CET 2017


commit 1b88fa03e05ea3f465714af26fd444aa3d82302e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Nov 26 11:38:18 2017 +0100

    - use local, system, copy of xsl stylesheets
    - rel 2

 gtk-doc.spec        |  4 +++-
 use-local-xsl.patch | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/gtk-doc.spec b/gtk-doc.spec
index 95c40b1..7e7a403 100644
--- a/gtk-doc.spec
+++ b/gtk-doc.spec
@@ -9,12 +9,13 @@ 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.26
-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:	1ad4a1dbf804889fdc85f8eec45e8696
 Patch0:		%{name}-noarch.patch
+Patch1:		use-local-xsl.patch
 URL:		http://www.gtk.org/gtk-doc/
 BuildRequires:	autoconf >= 2.63
 BuildRequires:	automake >= 1:1.11
@@ -88,6 +89,7 @@ pomocą gtk-doc.
 %prep
 %setup -q
 %{!?with_tests:%patch0 -p1}
+%patch1 -p1
 %{__mv} doc/README doc/README.docs
 
 %build
diff --git a/use-local-xsl.patch b/use-local-xsl.patch
new file mode 100644
index 0000000..88a9a98
--- /dev/null
+++ b/use-local-xsl.patch
@@ -0,0 +1,11 @@
+--- gtk-doc-1.26/gtk-doc.xsl~	2015-06-26 08:05:50.000000000 +0200
++++ gtk-doc-1.26/gtk-doc.xsl	2017-11-26 11:32:55.545442969 +0100
+@@ -7,7 +7,7 @@
+   <!-- import the chunked XSL stylesheet -->
+   <!-- http://www.sagehill.net/docbookxsl/Chunking.html says we should use
+        "chunkfast.xsl", but I can see a difference -->
+-  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"/>
++  <xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl"/>
+   <xsl:include href="devhelp2.xsl"/>
+   <xsl:include href="version-greater-or-equal.xsl"/>
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtk-doc.git/commitdiff/1b88fa03e05ea3f465714af26fd444aa3d82302e



More information about the pld-cvs-commit mailing list