From e18cf59729be80987c8f3c386622fd599763302c Mon Sep 17 00:00:00 2001 From: happyworker <208suo@208suo.com> Date: Thu, 15 Aug 2024 15:49:37 +0800 Subject: [PATCH] fix gobject mkhtml test error (cherry picked from commit 58f38f0515e685660432dde30b7cceeabc3dc269) --- fix-gobject-mkhtml-Error.patch | 24 ++++++++++++++++++++++++ gtk-doc.spec | 8 ++++++-- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 fix-gobject-mkhtml-Error.patch diff --git a/fix-gobject-mkhtml-Error.patch b/fix-gobject-mkhtml-Error.patch new file mode 100644 index 0000000..733e6fb --- /dev/null +++ b/fix-gobject-mkhtml-Error.patch @@ -0,0 +1,24 @@ +From 2190e5143b4846f301a1b3c4d09d6b158a16b3a9 Mon Sep 17 00:00:00 2001 +From: Neil Hanlon +Date: Thu, 15 Aug 2024 12:47:37 +0800 +Subject: [PATCH] Add gobject example source code to path for mkhtml test + +--- + tests/gobject/docs/meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tests/gobject/docs/meson.build b/tests/gobject/docs/meson.build +index a1dd66c..22ea923 100644 +--- a/tests/gobject/docs/meson.build ++++ b/tests/gobject/docs/meson.build +@@ -118,6 +118,7 @@ test( + '--uninstalled', + '--path=@0@'.format(':'.join([ + gobject_test_docs_dir, ++ join_paths(srcdir, 'tests/gobject/examples'), + srcdir, + ]) + ), +-- +2.46.0 + diff --git a/gtk-doc.spec b/gtk-doc.spec index 665f425..4eb4943 100644 --- a/gtk-doc.spec +++ b/gtk-doc.spec @@ -3,14 +3,15 @@ Name: gtk-doc Version: 1.33.2 -Release: 6 +Release: 7 Summary: Generate API documentation from comments that can be added to C code -License: Verbatim and GPLv2+ +License: GPLv2+ URL: https://www.gtk.org/gtk-doc/ Source0: https://download.gnome.org/sources/gtk-doc/1.33/%{name}-%{version}.tar.xz Patch0: fix-fixxref-not-found-file.patch Patch1: fix-mkdb-not-found-file.patch Patch2: fix-gtkdoc-rebase-NoneType-object-has-no-attribute-group.patch +Patch3: fix-gobject-mkhtml-Error.patch BuildRequires: docbook-utils libxslt gettext BuildRequires: itstool yelp-tools docbook-style-xsl gcc @@ -56,6 +57,9 @@ export PYTHON=%{__python3} %{_datadir}/help/*/%{name}-manual/ %changelog +* Fri Aug 16 2024 happyworker <208suo@208suo.com> - 1.33.2-7 +- Fix gobject-mkhtml test Compile Error + * Sat Feb 19 2022 Liu Zixian - 1.33.2-6 - Remove useless BuildRequires python3-devel -- Gitee