commit
4afc82b096
37
backport-Fix-gtk-doc-1.31+-build-failure.patch
Normal file
37
backport-Fix-gtk-doc-1.31+-build-failure.patch
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
From 26a9a16d1ed3a1cb41cb01f11e654fe8af2b2c28 Mon Sep 17 00:00:00 2001
|
||||||
|
From: max ulidtko <ulidtko@gmail.com>
|
||||||
|
Date: Thu, 19 Sep 2019 11:31:50 +0300
|
||||||
|
Subject: [PATCH] Fix gtk-doc 1.31+ build failure
|
||||||
|
|
||||||
|
Since this library doesn't define any gobjects, the generated
|
||||||
|
xml/object_index.sgml is always empty, and xml/tree_index.sgml is altogether
|
||||||
|
absent with gtk-doc 1.31+.
|
||||||
|
|
||||||
|
Fix a possible doc build error by not including the tree_index.sgml.
|
||||||
|
|
||||||
|
See GitHub issue kupferlauncher/keybinder#16.
|
||||||
|
---
|
||||||
|
docs/keybinder-docs.sgml | 6 ++----
|
||||||
|
1 file changed, 2 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/docs/keybinder-docs.sgml b/docs/keybinder-docs.sgml
|
||||||
|
index 8e2ba0c..1b2b266 100644
|
||||||
|
--- a/docs/keybinder-docs.sgml
|
||||||
|
+++ b/docs/keybinder-docs.sgml
|
||||||
|
@@ -21,14 +21,12 @@
|
||||||
|
<xi:include href="xml/keybinder.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>
|
||||||
|
</index>
|
||||||
|
+
|
||||||
|
<index id="deprecated-api-index" role="deprecated">
|
||||||
|
<title>Index of deprecated API</title>
|
||||||
|
<xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
|
||||||
@ -1,11 +1,13 @@
|
|||||||
Name: keybinder3
|
Name: keybinder3
|
||||||
Version: 0.3.2
|
Version: 0.3.2
|
||||||
Release: 8
|
Release: 9
|
||||||
Summary: a library used for registering global keyboard shortcuts
|
Summary: a library used for registering global keyboard shortcuts
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/kupferlauncher/keybinder
|
URL: https://github.com/kupferlauncher/keybinder
|
||||||
Source0: https://github.com/kupferlauncher/keybinder/releases/download/keybinder-3.0-v%{version}/keybinder-3.0-%{version}.tar.gz
|
Source0: https://github.com/kupferlauncher/keybinder/releases/download/keybinder-3.0-v%{version}/keybinder-3.0-%{version}.tar.gz
|
||||||
|
|
||||||
|
Patch6000: backport-Fix-gtk-doc-1.31+-build-failure.patch
|
||||||
|
|
||||||
BuildRequires: pkgconfig(gtk+-3.0) gnome-common gtk-doc gobject-introspection-devel libxslt
|
BuildRequires: pkgconfig(gtk+-3.0) gnome-common gtk-doc gobject-introspection-devel libxslt
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -29,7 +31,7 @@ This package provides development files for %{name}.
|
|||||||
Man pages and other related documents for %{name}.
|
Man pages and other related documents for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn keybinder-3.0-%{version}
|
%autosetup -n keybinder-3.0-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-gtk-doc
|
%configure --enable-gtk-doc
|
||||||
@ -62,6 +64,12 @@ rm -rf %{buildroot}/%{_libdir}/libkeybinder-3.0.la
|
|||||||
%doc NEWS README ChangeLog
|
%doc NEWS README ChangeLog
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jun 24 2020 fuyangqing<fuyangqing@huawei.com> - 0.3.2-9
|
||||||
|
- Type:bugfix
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:fix gtk-doc 1.31+ build failure
|
||||||
|
|
||||||
* Fri Feb 28 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.3.2-8
|
* Fri Feb 28 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.3.2-8
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user