1. 23 Aug, 2019 2 commits
  2. 16 Aug, 2019 1 commit
  3. 02 Aug, 2019 1 commit
  4. 31 Jul, 2019 1 commit
  5. 19 Jul, 2019 2 commits
  6. 25 Jun, 2019 1 commit
    • Marius Vlad's avatar
      build: Add sphinx/breathe support for generating documentation · bbf6ea0b
      Marius Vlad authored
      This is adds basic configuration files for doxygen and for breathe,
      which is a doxygen-to-sphinx bridge that can document C symbols.
      
      Breathe is configured with default project 'weston' and implicitly adds
      :members: and :undoc-members: to breathe configuration options.
      This allows a shorter way to call breathe directives without the need
      specify the project and also to display implicitly all the members,
      documented or not.
      
      A 'docs' run_target to force the docs to be re-built has been added.
      Initially (the first time the build system is ran) the documentation
      will automatically be built, but later re-builds will require the use of
      the 'docs' target. This avoid further delays in building weston but in
      the same time allows the possiblity to update/improve the documentation
      bits to those who want that.
      Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad@collabora.com>
      bbf6ea0b
  7. 11 Jun, 2019 2 commits
  8. 18 Apr, 2019 4 commits
  9. 16 Apr, 2019 1 commit
    • Harish Krupo's avatar
      meson.build: Fix warning for configure_file · b81fc517
      Harish Krupo authored
      We claim to support meson versions >= 0.47 but the `install:` argument
      in configure_file was introduced in version 0.50. This produces the
      following meson warning:
      
      WARNING: Project specifies a minimum meson_version '>= 0.47' but uses
      features which were added in newer versions:
       * 0.50.0: {'install arg in configure_file'}
      
      From the documentation for the install argument [1]:
      " When omitted it (install) defaults to true when install_dir is set and
      not empty, false otherwise."
      
      So, remove the `install:` argument and just depend on `install_dir` for
      installing.
      
      Fixes: #225
      
      [1] https://mesonbuild.com/Reference-manual.html#configure_fileSigned-off-by: Harish Krupo's avatarHarish Krupo <harish.krupo.kps@intel.com>
      b81fc517
  10. 28 Mar, 2019 2 commits
  11. 21 Mar, 2019 1 commit
  12. 15 Feb, 2019 1 commit
  13. 06 Feb, 2019 1 commit
    • Eric Toombs's avatar
      weston: add more libinput config options · 6e229ca2
      Eric Toombs authored
      This is so that, for instance, people using weston as their main Wayland
      compositor can invert the sense of two finger scrolling or change
      pointer acceleration using weston.ini, rather than having to edit C
      code.
      
      All of the options that libinput itself exposes through its API are now
      exposed in weston.ini.  The new options are called `tap-and-drag`,
      `tap-and-drag-lock`, `disable-while-typing`, `middle-emulation`,
      `left-handed`, `rotation`, `accel-profile`, `accel-speed`,
      `scroll-method`, `natural-scroll`, and `scroll-button`. I have
      successfully tested everything except for `rotation`, out of a lack of
      hardware support.
      
      weston now depends directly on libevdev for turning button name strings into
      kernel input codes. This was needed for the `scroll-button` config
      option. (weston already depends indirectly on libevdev through
      libinput, so I figured people would be OK with this.) As a practical
      matter for debian-style packagers, weston now has a build dependency on
      libevdev-dev.
      
      Right now, the code applies the same options to all attached devices
      that a given option is relevant for. There are plans for multiple
      [libinput] sections, each with different device filters, for users who
      need more control here.
      Signed-off-by: Eric Toombs's avatarEric Toombs <3672-ewtoombs@users.noreply.gitlab.freedesktop.org>
      6e229ca2
  14. 10 Jan, 2019 1 commit
  15. 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>
      43a42920
    • 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>
      4b29ffdd
  16. 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: myfreeweb's avatarGreg V <greg@unrelenting.technology>
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pq@iki.fi>
      a23ce295
  17. 13 Dec, 2018 1 commit
  18. 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 installed with autotools is
      missing.
      
      It is expected that the autotools build system will be removed soon
      after the next Weston release.
      Signed-off-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
      Co-authored-by: Pekka Paalanen's avatarPekka Paalanen <pq@iki.fi>
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pq@iki.fi>
      8011b0fa