From: Ross Burton <[email protected]>

Update the GTK_DOC_CHECK invocation to specify where the
documentation will be built (as the default is ./docs).

This is needed so that gtkdocize as run by autopoint knows where the
documentation will be built. At the moment we manually call gtkdocize
but this will change to autopoint in the future.

Signed-off-by: Ross Burton <[email protected]>
---
 .../libuser/libuser/gtkdoc.patch              | 22 +++++++++++++++++++
 .../recipes-support/libuser/libuser_0.64.bb   |  1 +
 2 files changed, 23 insertions(+)
 create mode 100644 meta-gnome/recipes-support/libuser/libuser/gtkdoc.patch

diff --git a/meta-gnome/recipes-support/libuser/libuser/gtkdoc.patch 
b/meta-gnome/recipes-support/libuser/libuser/gtkdoc.patch
new file mode 100644
index 0000000000..4d11b94e02
--- /dev/null
+++ b/meta-gnome/recipes-support/libuser/libuser/gtkdoc.patch
@@ -0,0 +1,22 @@
+Update the GTK_DOC_CHECK invocation to specify where the
+documentation will be built (as the default is ./docs).
+
+This is needed so that gtkdocize as run by autopoint knows where the
+documentation will be built.
+
+Upstream-Status: Submitted [https://pagure.io/libuser/pull-request/70]
+Signed-off-by: Ross Burton <[email protected]>
+
+diff --git a/configure.ac b/configure.ac
+index 0bd4a67..51508b7 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -169,7 +169,7 @@ if test "$GCC" = yes ; then
+      AC_MSG_RESULT([$enable_Werror])
+ fi
+ 
+-GTK_DOC_CHECK
++GTK_DOC_CHECK([1.14],[--flavour no-tmpl --docdir docs/reference])
+ 
+ AC_CONFIG_FILES([Makefile po/Makefile.in docs/Makefile docs/reference/Makefile
+ libuser.pc])
diff --git a/meta-gnome/recipes-support/libuser/libuser_0.64.bb 
b/meta-gnome/recipes-support/libuser/libuser_0.64.bb
index d86a577b10..973159c792 100644
--- a/meta-gnome/recipes-support/libuser/libuser_0.64.bb
+++ b/meta-gnome/recipes-support/libuser/libuser_0.64.bb
@@ -14,6 +14,7 @@ SECTION = "base"
 SRC_URI = "https://releases.pagure.org/libuser/libuser-${PV}.tar.gz \
            file://0001-docs-Disable-building.patch \
            file://0002-remove-unused-execinfo.h.patch \
+           file://gtkdoc.patch \
            "
 
 SRC_URI[sha256sum] = 
"ea6094c72cb9e60a42fb53509dc98d124a340f1c9222783b503208adc16a0a8f"
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#108236): 
https://lists.openembedded.org/g/openembedded-devel/message/108236
Mute This Topic: https://lists.openembedded.org/mt/103681718/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to