Skip to content

Introduce meson build system

Alexander Kanavin openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7meson: add a recipe and class from meta-oemeta/classes/meson.bbclass meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch meta/recipes-devtools/meson/meson/0002-gobject-introspection-determine-g-ir-scanner-and-g-i.patch +1 more+275 -01 reply
2/7gnomebase.bbclass: split into autotools and meson versionsmeta/classes/gnomebase-meson.bbclass meta/classes/gnomebase-nobuildsystem.bbclass meta/classes/gnomebase.bbclass+29 -290 replies
3/7gtk-doc.bbclass: add all directories where .so files are found to library search pathmeta/classes/gtk-doc.bbclass+1 -00 replies
4/7json-glib: convert to meson buildmeta/recipes-gnome/json-glib/json-glib/0001-Do-not-disable-gobject-introspection-when-cross-comp.patch meta/recipes-gnome/json-glib/json-glib_1.2.8.bb+53 -22 replies
5/7libepoxy: convert to meson buildmeta/recipes-graphics/libepoxy/libepoxy_1.4.3.bb+3 -30 replies
6/7libinput: convert to meson buildmeta/recipes-graphics/wayland/libinput/0001-tools-Fix-race-in-autotools-install.patch meta/recipes-graphics/wayland/libinput_1.8.1.bb+4 -430 replies
7/7sysprof: convert to meson buildmeta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patch meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch meta/recipes-kernel/sysprof/files/0001-Do-not-build-anything-in-help-as-it-requires-itstool.patch +3 more+68 -1253 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Introduce meson build system

This patch series introduces meson recipe and class (that recipes should inherit in order to be built with meson).

It also converts a few recipes from autotools to meson to establish that things basically work. Note that I haven't tackled the bigger
items: gstreamer family of recipes, systed and gdk-pixbuf. I'd like to request that maintainers of these recipes start looking into the conversion, based on this patchset.

I also didn't test this super-well; there might well be corner cases where things break down.

The following changes since commit 5f6945f5031e1a4ca116cc1eccf4c2f9dc228547:

buildhistory.bbclass: add ptest (2017-08-23 14:16:01 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib akanavin/meson
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=akanavin/meson

Alexander Kanavin (7):
meson: add a recipe and class from meta-oe gnomebase.bbclass: split into autotools and meson versions gtk-doc.bbclass: add all directories where .so files are found to
library search path
json-glib: convert to meson build
libepoxy: convert to meson build
libinput: convert to meson build
sysprof: convert to meson build

 meta/classes/gnomebase-meson.bbclass               |   1 +
 meta/classes/gnomebase-nobuildsystem.bbclass       |  27 +++++
 meta/classes/gnomebase.bbclass                     |  30 +-----
 meta/classes/gtk-doc.bbclass                       |   1 +
 meta/classes/meson.bbclass                         | 103 +++++++++++++++++++
 ...ix-issues-that-arise-when-cross-compiling.patch | 113 +++++++++++++++++++++
 ...rospection-determine-g-ir-scanner-and-g-i.patch |  41 ++++++++
 meta/recipes-devtools/meson/meson_0.42.0.bb        |  18 ++++
 ...ble-gobject-introspection-when-cross-comp.patch |  32 ++++++
 meta/recipes-gnome/json-glib/json-glib_1.2.8.bb    |  23 ++++-
 meta/recipes-graphics/libepoxy/libepoxy_1.4.3.bb   |   6 +-
 .../0001-tools-Fix-race-in-autotools-install.patch |  37 -------
 meta/recipes-graphics/wayland/libinput_1.8.1.bb    |  10 +-
 .../sysprof/files/0001-Avoid-building-docs.patch   |  42 --------
 .../0001-Disable-check-for-polkit-for-UI.patch     |  32 ------
 ...d-anything-in-help-as-it-requires-itstool.patch |  26 +++++
 ...igure-Add-option-to-enable-disable-polkit.patch |  41 --------
 ...-not-prepend-the-current-dir-path-to-util.patch |  30 ++++++
 meta/recipes-kernel/sysprof/sysprof_3.24.1.bb      |  22 ++--
 19 files changed, 433 insertions(+), 202 deletions(-)
 create mode 100644 meta/classes/gnomebase-meson.bbclass
 create mode 100644 meta/classes/gnomebase-nobuildsystem.bbclass
 create mode 100644 meta/classes/meson.bbclass
 create mode 100644 meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
 create mode 100644 meta/recipes-devtools/meson/meson/0002-gobject-introspection-determine-g-ir-scanner-and-g-i.patch
 create mode 100644 meta/recipes-devtools/meson/meson_0.42.0.bb
 create mode 100644 meta/recipes-gnome/json-glib/json-glib/0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
 delete mode 100644 meta/recipes-graphics/wayland/libinput/0001-tools-Fix-race-in-autotools-install.patch
 delete mode 100644 meta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patch
 delete mode 100644 meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch
 create mode 100644 meta/recipes-kernel/sysprof/files/0001-Do-not-build-anything-in-help-as-it-requires-itstool.patch
 delete mode 100644 meta/recipes-kernel/sysprof/files/0001-configure-Add-option-to-enable-disable-polkit.patch
 create mode 100644 meta/recipes-kernel/sysprof/files/0002-Do-not-prepend-the-current-dir-path-to-util.patch
Signature · 1 line
2.14.1