diff options
author | Ross Burton <ross.burton@arm.com> | 2024-01-12 12:53:37 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-01-12 08:51:11 -0800 |
commit | 205b44eb45ccd090810db91f9534c7962b5bd236 (patch) | |
tree | a98beed6340774d2434b00f2d6fd1743f9b51fee | |
parent | b5343d2f3829fad2939b34fd81ee46dbf22f47e6 (diff) | |
download | meta-openembedded-205b44eb45ccd090810db91f9534c7962b5bd236.tar.gz |
libuser: fix gtk-doc configure call
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 <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-gnome/recipes-support/libuser/libuser/gtkdoc.patch | 22 | ||||
-rw-r--r-- | meta-gnome/recipes-support/libuser/libuser_0.64.bb | 1 |
2 files changed, 23 insertions, 0 deletions
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 @@ | |||
1 | Update the GTK_DOC_CHECK invocation to specify where the | ||
2 | documentation will be built (as the default is ./docs). | ||
3 | |||
4 | This is needed so that gtkdocize as run by autopoint knows where the | ||
5 | documentation will be built. | ||
6 | |||
7 | Upstream-Status: Submitted [https://pagure.io/libuser/pull-request/70] | ||
8 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
9 | |||
10 | diff --git a/configure.ac b/configure.ac | ||
11 | index 0bd4a67..51508b7 100644 | ||
12 | --- a/configure.ac | ||
13 | +++ b/configure.ac | ||
14 | @@ -169,7 +169,7 @@ if test "$GCC" = yes ; then | ||
15 | AC_MSG_RESULT([$enable_Werror]) | ||
16 | fi | ||
17 | |||
18 | -GTK_DOC_CHECK | ||
19 | +GTK_DOC_CHECK([1.14],[--flavour no-tmpl --docdir docs/reference]) | ||
20 | |||
21 | AC_CONFIG_FILES([Makefile po/Makefile.in docs/Makefile docs/reference/Makefile | ||
22 | 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" | |||
14 | SRC_URI = "https://releases.pagure.org/libuser/libuser-${PV}.tar.gz \ | 14 | SRC_URI = "https://releases.pagure.org/libuser/libuser-${PV}.tar.gz \ |
15 | file://0001-docs-Disable-building.patch \ | 15 | file://0001-docs-Disable-building.patch \ |
16 | file://0002-remove-unused-execinfo.h.patch \ | 16 | file://0002-remove-unused-execinfo.h.patch \ |
17 | file://gtkdoc.patch \ | ||
17 | " | 18 | " |
18 | 19 | ||
19 | SRC_URI[sha256sum] = "ea6094c72cb9e60a42fb53509dc98d124a340f1c9222783b503208adc16a0a8f" | 20 | SRC_URI[sha256sum] = "ea6094c72cb9e60a42fb53509dc98d124a340f1c9222783b503208adc16a0a8f" |