1. 10 Jan, 2019 1 commit
  2. 31 Dec, 2018 2 commits
    • Pekka Paalanen's avatar
      meson: better error for wayland-backend wl-egl dep · 43a42920
      Pekka Paalanen authored
      Helps people avoid wayland-egl if they don't want it.
      Makes the check for wayland-egl explicit on the site instead of relying
      on gl-renderer checking for it.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pq@iki.fi>
    • Pekka Paalanen's avatar
      meson: contain and check simple-dmabuf-egl deps · 4b29ffdd
      Pekka Paalanen authored
      Check the egl, glesv2 and gbm dependencies locally instead of relying on
      the dep_* variables from the top level meson.build or
      libweston/meson.build (dep_gbm).
      This should make these dependencies now explicitly checked when the app
      is built, rather than relying on other components doing the checks. If
      the drm-backend was disabled, this would have probably hit an error
      using the undeclared variable dep_gbm.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pq@iki.fi>
  3. 20 Dec, 2018 1 commit
    • Pekka Paalanen's avatar
      build: replace IN_WESTON with UNIT_TEST · a23ce295
      Pekka Paalanen authored
      Remove IN_WESTON in favour of the already defined UNIT_TEST which is
      used to modify a compilation unit to expose more functions for unit
      tests to prod at.
      Originally IN_WESTON meant that compilation unit was being compiled for
      use in the Weston compositor, but it probably never really did anything
      more than change what WL_EXPORT means in matrix.c.
      This patch not only simplifies the logic, but it fixes the Meson build
      of test-matrix: IN_WESTON was defined there even when matrix.c was being
      built outside of Weston, which caused it to depend on libwayland
      headers, which were not included in the Meson build of test-matrix.
      Test-matrix has no reason to depend in libwayland in any way, so this
      patch fixes that.
      Reported-by: unrelentingtech's avatarGreg V <greg@unrelenting.technology>
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pq@iki.fi>
  4. 13 Dec, 2018 1 commit
  5. 09 Dec, 2018 1 commit
    • Daniel Stone's avatar
      Add Meson build system · 8011b0fa
      Daniel Stone authored
      Meson is a build system, currently implemented in Python, with multiple
      output backends, including Ninja and Make. The build file syntax is
      clean and easy to read unlike autotools. In practise, configuring and
      building with Meson and Ninja has been observed to be much faster than
      with autotools. Also cross-building support is excellent.
      More information at http://mesonbuild.com
      Since moving to Meson requires some changes from users in any case, we
      took this opportunity to revamp build options. Most of the build options
      still exist, some have changed names or more, and a few have been
      dropped. The option to choose the Cairo flavour is not implemented since
      for the longest time the Cairo image backend has been the only
      recommended one.
      This Meson build should be fully functional and it installs everything
      an all-enabled autotools build does. Installed pkg-config files have
      some minor differences that should be insignificant. Building of some
      developer documentation that was never i...