summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libmodulemd/libmodulemd/0002-modulemd-v1-meson.build-do-not-generate-gir-or-gtkdo.patch
blob: 0b7535624c900637783843e7e7313a11bdf82d41 (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
60
61
62
63
64
65
66
67
68
69
70
71
From 4a2a592c5a3898df37ff231d9c410f0fd32f5d5d Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Tue, 6 Nov 2018 13:43:00 +0100
Subject: [PATCH] modulemd/v[12]/meson.build: do not generate gtkdoc or python
 bindings

All of these really need a configuration option.

Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>

---
 meson.build             |  3 +--
 modulemd/v1/meson.build |  8 --------
 modulemd/v2/meson.build | 12 ------------
 3 files changed, 1 insertion(+), 22 deletions(-)

diff --git a/meson.build b/meson.build
index 5a0cd3d..f51b16e 100644
--- a/meson.build
+++ b/meson.build
@@ -52,7 +52,6 @@ gnome = import('gnome')
 pkg = import('pkgconfig')
 gobject = dependency('gobject-2.0')
 yaml = dependency('yaml-0.1')
-gtkdoc = dependency('gtk-doc')
 
 sh = find_program('sh')
 sed = find_program('sed')
@@ -127,4 +126,4 @@ configure_file(
 )
 
 subdir('modulemd')
-subdir('bindings/python')
+
diff --git a/modulemd/v1/meson.build b/modulemd/v1/meson.build
index ddc95a1..e85fafd 100644
--- a/modulemd/v1/meson.build
+++ b/modulemd/v1/meson.build
@@ -356,11 +356,3 @@ configure_file(
   configuration : xcdata
 )
 
-gnome.gtkdoc(
-    'modulemd-1.0',
-    install_dir: 'modulemd-1.0',
-    src_dir : './modulemd/v1',
-    main_xml : 'modulemd-v1-docs.xml',
-    install : true,
-)
-
diff --git a/modulemd/v2/meson.build b/modulemd/v2/meson.build
index 93c7fbd..0d9ed24 100644
--- a/modulemd/v2/meson.build
+++ b/modulemd/v2/meson.build
@@ -285,15 +285,3 @@ configure_file(
   configuration : xcdata
 )
 
-gnome.gtkdoc(
-    'modulemd-2.0',
-    install_dir: 'modulemd-2.0',
-    src_dir : './modulemd/v2',
-    main_xml : 'modulemd-v2-docs.xml',
-    gobject_typesfile : join_paths(meson.current_build_dir(), 'modulemd-2.0.types'),
-    dependencies : [
-        modulemd_v2_dep,
-    ],
-    install : true,
-)
-