[packages/libpsl] fix build with gtk-doc >= 1.30

atler atler at pld-linux.org
Thu Apr 23 14:30:30 CEST 2020


commit 9ee281f6a58e214ec6ea16ea116acee8fc5a8337
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Apr 23 14:30:11 2020 +0200

    fix build with gtk-doc >= 1.30

 gtk-doc.patch | 25 +++++++++++++++++++++++++
 libpsl.spec   |  2 ++
 2 files changed, 27 insertions(+)
---
diff --git a/libpsl.spec b/libpsl.spec
index 22e7ea3..ac454b8 100644
--- a/libpsl.spec
+++ b/libpsl.spec
@@ -20,6 +20,7 @@ Source0:	https://github.com/rockdaboot/libpsl/releases/download/%{name}-%{versio
 Source1:	https://github.com/publicsuffix/list/archive/%{psl_ref}/publicsuffix_list-%{psldate}.tar.gz
 # Source1-md5:	ee9a591d4545d9f6ca350bd9df2c2e51
 %endif
+Patch0:		gtk-doc.patch
 URL:		https://rockdaboot.github.io/libpsl
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake >= 1:1.10
@@ -139,6 +140,7 @@ ciasteczka jest akceptowalna dla domen itp.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %if 0
 rmdir list
diff --git a/gtk-doc.patch b/gtk-doc.patch
new file mode 100644
index 0000000..bcd49e7
--- /dev/null
+++ b/gtk-doc.patch
@@ -0,0 +1,25 @@
+From 87d1add318b5e5d09977f7f374e923577b6ff3be Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex.kanavin at gmail.com>
+Date: Sat, 1 Jun 2019 13:09:41 +0200
+Subject: [PATCH] gtk-doc: do not include tree_index.sgml
+
+gtk-doc 1.30 no longer generates the file if the object tree is empty.
+---
+ docs/libpsl/libpsl-docs.sgml | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/docs/libpsl/libpsl-docs.sgml b/docs/libpsl/libpsl-docs.sgml
+index 335d241..88c7ba8 100644
+--- a/docs/libpsl/libpsl-docs.sgml
++++ b/docs/libpsl/libpsl-docs.sgml
+@@ -22,10 +22,6 @@
+         </para>
+         <xi:include href="xml/libpsl.xml"/>
+   </chapter>
+-  <chapter id="object-tree">
+-    <title>Object Hierarchy</title>
+-     <xi:include href="xml/tree_index.sgml"/>
+-  </chapter>
+   <index id="api-index-full">
+     <title>API Index</title>
+     <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libpsl.git/commitdiff/9ee281f6a58e214ec6ea16ea116acee8fc5a8337



More information about the pld-cvs-commit mailing list