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 Latest8 patches 2 repliesIn review

Changes in this version from the cover letter

- rebase to oe-core master
- upgrade meson to latest 0.44 and adjust patches accordingly
- drop the pkg-config-native patch, as it will be manually rebased by the patch author to 0.44 version

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8meson: add a recipe and class from meta-oemeta/classes/meson.bbclass meta/recipes-devtools/meson/meson/0001-Linker-rules-move-cross_args-in-front-of-output_args.patch meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch +2 more+313 -00 replies
2/8gnomebase.bbclass: split into autotools and meson versionsmeta/classes/gnomebase-meson.bbclass meta/classes/gnomebase-nobuildsystem.bbclass meta/classes/gnomebase.bbclass+29 -290 replies
3/8json-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 -20 replies
4/8libepoxy: convert to meson buildmeta/recipes-graphics/libepoxy/libepoxy/0001-Make-it-possible-to-disable-the-use-of-dlvsym-needed.patch meta/recipes-graphics/libepoxy/libepoxy_1.4.3.bb+63 -40 replies
5/8libinput: convert to meson buildmeta/recipes-graphics/wayland/libinput_1.8.4.bb+6 -60 replies
6/8sysprof: 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 +2 more+37 -1272 replies
7/8gst-player: Upgrade, rename to gst-examplesmeta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb meta/recipes-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch meta/recipes-multimedia/gstreamer/gst-examples/gst-player.desktop +2 more+49 -120 replies
8/8meson: export native env only for native buildmeta/classes/meson.bbclass+12 -70 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/8] 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.

Changes in this version:
- rebase to oe-core master
- upgrade meson to latest 0.44 and adjust patches accordingly
- drop the pkg-config-native patch, as it will be manually rebased by the patch author to 0.44 version

The following changes since commit b73e96e7f3f5d1ba3a221d99792a7a3c7ef42c21:

python-scons: upgrade to v3.0.1; use pypi.bbclass (2017-12-13 14:00:52 +0000)

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 (6):
meson: add a recipe and class from meta-oe gnomebase.bbclass: split into autotools and meson versions
json-glib: convert to meson build
libepoxy: convert to meson build
libinput: convert to meson build
sysprof: convert to meson build

Jussi Kukkonen (1):
gst-player: Upgrade, rename to gst-examples

Martin Kelly (1):
meson: export native env only for native build

 meta/classes/gnomebase-meson.bbclass               |   1 +
 meta/classes/gnomebase-nobuildsystem.bbclass       |  27 +++++
 meta/classes/gnomebase.bbclass                     |  30 +-----
 meta/classes/meson.bbclass                         | 113 +++++++++++++++++++++
 .../packagegroup-core-tools-testapps.bb            |   2 +-
 ...s-move-cross_args-in-front-of-output_args.patch |  30 ++++++
 ...ix-issues-that-arise-when-cross-compiling.patch | 113 +++++++++++++++++++++
 ...rospection-determine-g-ir-scanner-and-g-i.patch |  42 ++++++++
 meta/recipes-devtools/meson/meson_0.44.0.bb        |  20 ++++
 ...ble-gobject-introspection-when-cross-comp.patch |  32 ++++++
 meta/recipes-gnome/json-glib/json-glib_1.2.8.bb    |  23 ++++-
 ...sible-to-disable-the-use-of-dlvsym-needed.patch |  55 ++++++++++
 meta/recipes-graphics/libepoxy/libepoxy_1.4.3.bb   |  12 ++-
 meta/recipes-graphics/wayland/libinput_1.8.4.bb    |  12 +--
 .../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 --------
 meta/recipes-kernel/sysprof/sysprof_3.26.1.bb      |  23 ++---
 .../0001-Make-player-examples-installable.patch    |  39 +++++++
 .../gst-player.desktop                             |   0
 .../{gst-player_git.bb => gst-examples_git.bb}     |  18 ++--
 .../packagegroups/packagegroup-core-x11-sato.bb    |   2 +-
 23 files changed, 555 insertions(+), 180 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-Linker-rules-move-cross_args-in-front-of-output_args.patch
 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.44.0.bb
 create mode 100644 meta/recipes-gnome/json-glib/json-glib/0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
 create mode 100644 meta/recipes-graphics/libepoxy/libepoxy/0001-Make-it-possible-to-disable-the-use-of-dlvsym-needed.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-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch
 rename meta/recipes-multimedia/gstreamer/{gst-player => gst-examples}/gst-player.desktop (100%)
 rename meta/recipes-multimedia/gstreamer/{gst-player_git.bb => gst-examples_git.bb} (65%)
Signature · 1 line
2.15.0