[packages/glib2] - fix configuring/building apidocs

baggins baggins at pld-linux.org
Mon Aug 16 22:27:53 CEST 2021


commit 6cadcf79f2c92ba32df367304c15455879695c2c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Aug 16 22:27:21 2021 +0200

    - fix configuring/building apidocs

 glib2.spec          |  2 ++
 gtk-doc-build.patch | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)
---
diff --git a/glib2.spec b/glib2.spec
index 48c5ce5..d7de07e 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -27,6 +27,7 @@ Group:		Libraries
 Source0:	https://download.gnome.org/sources/glib/2.69/glib-%{version}.tar.xz
 # Source0-md5:	568d07cb33f506d55efab494f9b0fa34
 Patch0:		%{name}-python_shebang.patch
+Patch1:		gtk-doc-build.patch
 URL:		https://www.gtk.org/
 BuildRequires:	docbook-dtd412-xml
 BuildRequires:	docbook-dtd45-xml
@@ -234,6 +235,7 @@ Sondy systemtap/dtrace dla GLib 2.
 %prep
 %setup -q -n glib-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %meson build \
diff --git a/gtk-doc-build.patch b/gtk-doc-build.patch
new file mode 100644
index 0000000..67389a1
--- /dev/null
+++ b/gtk-doc-build.patch
@@ -0,0 +1,33 @@
+--- glib-2.69.1/docs/reference/gio/meson.build~	2021-08-04 17:34:39.000000000 +0200
++++ glib-2.69.1/docs/reference/gio/meson.build	2021-08-16 22:21:04.114468585 +0200
+@@ -223,7 +223,7 @@
+       '--extra-dir=' + join_paths('gio', '..', 'gobject', 'html'),
+     ],
+     install: true,
+-    check: true,
++    check: false,
+   )
+ endif
+ 
+--- glib-2.69.1/docs/reference/glib/meson.build~	2021-08-04 17:34:39.000000000 +0200
++++ glib-2.69.1/docs/reference/glib/meson.build	2021-08-16 22:21:41.744649339 +0200
+@@ -88,7 +88,7 @@
+                  '--html-dir=' + docpath,
+                ],
+                install: true,
+-               check: true)
++               check: false)
+ endif
+ 
+ if get_option('man')
+--- glib-2.69.1/docs/reference/gobject/meson.build~	2021-08-04 17:34:39.000000000 +0200
++++ glib-2.69.1/docs/reference/gobject/meson.build	2021-08-16 22:22:00.861422040 +0200
+@@ -51,7 +51,7 @@
+       '--extra-dir=' + join_paths('gobject', '..', 'glib', 'html'),
+     ],
+     install: true,
+-    check: true,
++    check: false,
+   )
+ endif
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glib2.git/commitdiff/6cadcf79f2c92ba32df367304c15455879695c2c



More information about the pld-cvs-commit mailing list