summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-05-31 17:52:42 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-04 13:27:31 +0100
commit3ec2330acf6cf84f9030cd3358813170fb3ceff0 (patch)
treeafc30ffe14467a1b0975f44bceb06f05c54a3a54
parent3ff9578ec44af9ce68befddbbf512490be9c4024 (diff)
downloadpoky-3ec2330acf6cf84f9030cd3358813170fb3ceff0.tar.gz
libmodulemd: update 2.9.2 -> 2.9.4
Replace 0002-meson.build-do-not-install-python-gi-bindings.patch with an explicitly set meson option. (From OE-Core rev: 5e87c1e89fa1311c0bbb44c45f419e5f302a1e0d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/libmodulemd/libmodulemd/0002-meson.build-do-not-install-python-gi-bindings.patch23
-rw-r--r--meta/recipes-devtools/libmodulemd/libmodulemd_git.bb11
2 files changed, 6 insertions, 28 deletions
diff --git a/meta/recipes-devtools/libmodulemd/libmodulemd/0002-meson.build-do-not-install-python-gi-bindings.patch b/meta/recipes-devtools/libmodulemd/libmodulemd/0002-meson.build-do-not-install-python-gi-bindings.patch
deleted file mode 100644
index a97fb73907..0000000000
--- a/meta/recipes-devtools/libmodulemd/libmodulemd/0002-meson.build-do-not-install-python-gi-bindings.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1From d7eeac90fe02ccf5c5e4334e41ec75fc33803643 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 31 Mar 2020 16:12:28 +0200
4Subject: [PATCH] meson.build: do not install python gi bindings
5
6These are unnecessary for oe-core, and the install location
7is incorrectly determined using native python.
8
9Upstream-Status: Inappropriate [oe-core specific]
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11---
12 meson.build | 1 -
13 1 file changed, 1 deletion(-)
14
15diff --git a/meson.build b/meson.build
16index a8b02b4..8ff737b 100644
17--- a/meson.build
18+++ b/meson.build
19@@ -171,4 +171,3 @@ configure_file(
20 )
21
22 subdir('modulemd')
23-subdir('bindings/python')
diff --git a/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb b/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb
index d440e60ee6..fda01b8ad8 100644
--- a/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb
+++ b/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb
@@ -4,17 +4,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=25a3927bff3ee4f5b21bcb0ed3fcd6bb"
4 4
5SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https \ 5SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https \
6 file://0001-modulemd-generate-the-manpage-only-if-the-feature-is.patch \ 6 file://0001-modulemd-generate-the-manpage-only-if-the-feature-is.patch \
7 file://0002-meson.build-do-not-install-python-gi-bindings.patch \
8 " 7 "
9 8
10PV = "2.9.2" 9PV = "2.9.4"
11SRCREV = "780750eab8a0587b20d033f335301f16d00ab9c9" 10SRCREV = "c7254db07b21495fc9bd247c5b17ee20149c05e3"
12 11
13S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
14 13
15inherit meson gobject-introspection 14inherit meson gobject-introspection python3-dir
16 15
17EXTRA_OEMESON = "-Ddeveloper_build=false -Dwith_docs=false -Drpmio=disabled -Dlibmagic=disabled -Dwith_manpages=disabled" 16EXTRA_OEMESON = "-Ddeveloper_build=false -Dwith_docs=false -Drpmio=disabled -Dlibmagic=disabled -Dwith_manpages=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides"
18 17
19DEPENDS += "glib-2.0 libyaml glib-2.0-native python3" 18DEPENDS += "glib-2.0 libyaml glib-2.0-native python3"
20 19
@@ -23,3 +22,5 @@ BBCLASSEXTEND = "native nativesdk"
23GIR_MESON_OPTION = 'skip_introspection' 22GIR_MESON_OPTION = 'skip_introspection'
24GIR_MESON_ENABLE_FLAG = 'false' 23GIR_MESON_ENABLE_FLAG = 'false'
25GIR_MESON_DISABLE_FLAG = 'true' 24GIR_MESON_DISABLE_FLAG = 'true'
25
26FILES_${PN} += "${libdir}/${PYTHON_DIR}/*"