Compare commits

..

No commits in common. "f385d9cd74de0ac55fa7b5b87b79901421512f44" and "ecc34bf5ff67ece15f25e5138e05a7d84f2f586e" have entirely different histories.

3 changed files with 3 additions and 58 deletions

View File

@ -1,37 +0,0 @@
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>

View File

@ -1,14 +1,12 @@
Name: keybinder3
Version: 0.3.2
Release: 11
Release: 8
Summary: a library used for registering global keyboard shortcuts
License: MIT
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
Patch6000: backport-Fix-gtk-doc-1.31+-build-failure.patch
BuildRequires: pkgconfig(gtk+-3.0) gtk-doc gobject-introspection-devel libxslt
BuildRequires: pkgconfig(gtk+-3.0) gnome-common gtk-doc gobject-introspection-devel libxslt
%description
Keybinder is a library for registering global keyboard shortcuts to be used by GTK-based
@ -31,7 +29,7 @@ This package provides development files for %{name}.
Man pages and other related documents for %{name}.
%prep
%autosetup -n keybinder-3.0-%{version} -p1
%setup -qn keybinder-3.0-%{version}
%build
%configure --enable-gtk-doc
@ -64,18 +62,6 @@ rm -rf %{buildroot}/%{_libdir}/libkeybinder-3.0.la
%doc NEWS README ChangeLog
%changelog
* Thu Aug 01 2024 zhangpan <zhangpan103@h-partners.com> - 0.3.2-11
- Drop unused gnome-common build dependency
* Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 0.3.2-10
- Rebuild for next release
* Wed 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
- Type:enhancement
- Id:NA

View File

@ -1,4 +0,0 @@
version_control: github
src_repo: kupferlauncher/keybinder
tag_prefix: ^keybinder-3.0-v
seperator: .