aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/networkmanager/networkmanager/0002-Do-not-create-settings-settings-property-documentati.patch
blob: 0a86abafc0618a41ab6cde7ad6d6ca0260474b3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
From d0dead0478a070b96f37bd3b310443eaa8c93a25 Mon Sep 17 00:00:00 2001
From: Vinicius Aquino <voa.aquino@gmail.com>
Date: Thu, 1 Apr 2021 14:13:07 -0300
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  | 4 ----
 configure.ac | 5 -----
 2 files changed, 9 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 9279672c1..2e52acbb2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1686,14 +1686,10 @@ libnm/libnm.typelib: libnm/libnm.gir
 INTROSPECTION_GIRS += libnm/NM-1.0.gir
 
 libnm_noinst_data = \
-	clients/cli/generate-docs-nm-settings-nmcli.xml \
 	libnm/nm-property-infos-dbus.xml \
 	libnm/nm-property-infos-ifcfg-rh.xml \
 	libnm/nm-property-infos-keyfile.xml \
 	libnm/nm-property-infos-nmcli.xml \
-	libnm/nm-settings-docs-gir.xml \
-	man/nm-settings-docs-dbus.xml \
-	man/nm-settings-docs-nmcli.xml \
 	$(NULL)
 
 noinst_DATA += $(libnm_noinst_data)
diff --git a/configure.ac b/configure.ac
index 784ac4695..681e6cb32 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1241,11 +1241,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.20.1