]> git.pld-linux.org Git - packages/gtk-doc.git/commitdiff
- use local, system, copy of xsl stylesheets auto/th/gtk-doc-1.26-2
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 26 Nov 2017 10:38:18 +0000 (11:38 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 26 Nov 2017 10:38:18 +0000 (11:38 +0100)
- rel 2

gtk-doc.spec
use-local-xsl.patch [new file with mode: 0644]

index 95c40b14262a0cb438d12aa46f48ff3d2fce036f..7e7a4035bb764d1d9d647e22e089f8d1e674a12c 100644 (file)
@@ -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 (file)
index 0000000..88a9a98
--- /dev/null
@@ -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"/>
This page took 0.069415 seconds and 4 git commands to generate.