| From d0dead0478a070b96f37bd3b310443eaa8c93a25 Mon Sep 17 00:00:00 2001 |
| From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
| Date: Mon, 5 Jul 2021 00:42:23 +0200 |
| Subject: [PATCH] Do not create settings settings/property documentation |
| MIME-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| It was tried to get this work by adding python3-pygobject-native to DEPENDS but |
| compile could not find (configure passed) python module gi. |
| Anyway it is not necessary for us to have the settings/property docs. |
| |
| Upstream-Status: Inappropriate [OE specific] |
| |
| Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com> |
| Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com> |
| --- |
| Makefile.am | 5 ----- |
| configure.ac | 5 ----- |
| 2 files changed, 10 deletions(-) |
| |
| diff --git a/Makefile.am b/Makefile.am |
| index 5a62070..3d0ebcd 100644 |
| --- a/Makefile.am |
| +++ b/Makefile.am |
| @@ -1860,15 +1860,10 @@ src/libnm-client-impl/libnm.typelib: src/libnm-client-impl/libnm.gir |
| INTROSPECTION_GIRS += src/libnm-client-impl/NM-1.0.gir |
| |
| libnm_noinst_data = \ |
| - src/nmcli/generate-docs-nm-settings-nmcli.xml \ |
| - man/nm-settings-docs-dbus.xml \ |
| - man/nm-settings-docs-nmcli.xml \ |
| src/libnm-client-impl/nm-property-infos-dbus.xml \ |
| src/libnm-client-impl/nm-property-infos-ifcfg-rh.xml \ |
| src/libnm-client-impl/nm-property-infos-keyfile.xml \ |
| src/libnm-client-impl/nm-property-infos-nmcli.xml \ |
| - src/libnm-client-impl/nm-settings-docs-gir.xml \ |
| - src/libnmc-setting/settings-docs-input.xml \ |
| $(NULL) |
| |
| noinst_DATA += $(libnm_noinst_data) |
| diff --git a/configure.ac b/configure.ac |
| index 8fe23de..dc24850 100644 |
| --- a/configure.ac |
| +++ b/configure.ac |
| @@ -1258,11 +1258,6 @@ GTK_DOC_CHECK(1.0) |
| # check if we can build setting property documentation |
| build_docs=no |
| if test -n "$INTROSPECTION_MAKEFILE"; then |
| - # If g-i is installed we know we have python, but we might not have pygobject |
| - if ! "$PYTHON" -c 'from gi.repository import GObject' > /dev/null 2>&1; then |
| - AC_MSG_ERROR(["--enable-introspection aims to build the settings documentation. This requires GObject introspection for python (pygobject)]) |
| - fi |
| - |
| AC_PATH_PROG(PERL, perl) |
| if test -z "$PERL"; then |
| AC_MSG_ERROR([--enable-introspection requires perl]) |
| -- |
| 2.31.1 |
| |