[PATCH wayland v3 1/4] Support running tests from different build directories

2018-07-21 Thread Daniel Stone
From: Emmanuele Bassi The tests that run exec-fd-leak-checker expect the binary to be located in the current directory. This is not always the case; for instance, the binaries could be built under `tests`, but be invoked under the top-level build directory. We can use an environment variable to

[PATCH wayland v3 2/4] Add Meson build to Wayland

2018-07-21 Thread Daniel Stone
From: Emmanuele Bassi Meson is a next generation build system, simpler than Autotools and, more importantly, faster and more portable. While the latter consideration is of lesser importance for Wayland, being easier to understand and faster are pretty much key reasons to switch. This is mostly a

[PATCH wayland v3 3/4] meson: Run Doxygen on the Meson build

2018-07-21 Thread Daniel Stone
From: Emmanuele Bassi Add a script which generates the desired Doxygen configuration for our various output formats and executes it using that configuration. This is currently broken as clean fails: ninja: error: remove(doc/doxygen/man): Directory not empty Cleaning... 92 files.

[PATCH wayland v3 4/4] meson: Generate man pages

2018-07-21 Thread Daniel Stone
From: Emmanuele Bassi There are ancillary man pages not built by Doxygen that we need to generate an install. --- doc/man/meson.build | 64 + doc/meson.build | 1 + 2 files changed, 65 insertions(+) create mode 100644 doc/man/meson.build diff --

[PATCH wayland v3 0/4] Meson build

2018-07-21 Thread Daniel Stone
Hi, This is an updated version of Emmanuele's series. Notably it fixes up the Doxygen man build, so we now correctly build and install all the man pages. I think this should be good to merge at this point. It is past the alpha freeze, however getting it in a release would be a great way to get tes

Re: [PATCH v3 weston 4/5] tests: add test for setting gamma

2018-07-21 Thread Daniel Stone
Hi Harsha, On Thu, 28 Jun 2018 at 14:28, wrote: > +static int > +gamma_update_event(void *data) > +{ > + struct gamma_tobject *obj; > + struct output_obj *op_obj; > + uint16_t *r, *g, *b; > + bool all_tests_complete = true; > + > + obj = (struct gamma_tobject *)data;

Re: [PATCH v3 weston 3/5] compositor-drm: add support for CTM property

2018-07-21 Thread Daniel Stone
Hi Harsha, On Thu, 28 Jun 2018 at 14:29, wrote: > + struct drm_output *output = to_drm_output(output_base); > + struct drm_backend *backend = to_drm_backend(output->base.compositor); > + struct drm_color_ctm ctm; > + uint32_t ctm_blobid = 0; > + uint32_t ctm_prop_id;

Re: [PATCH v3 weston 1/5] compositor-drm: Implement support for GAMMA_LUT drm property

2018-07-21 Thread Daniel Stone
Hi Harsha, Some small comments here, but more substantial comments in another patch. On Thu, 28 Jun 2018 at 14:28, wrote: > + gamma_prop_id = output->props_crtc[WDRM_CRTC_GAMMA_LUT].prop_id; > + gamma_size_prop_id = output->props_crtc[WDRM_CRTC_GAMMA_LUT_SIZE]. > +

[PATCH wayland 1/2] build: Remove execinfo.h check

2018-07-21 Thread Daniel Stone
The check for the execinfo.h header is only advisory; the build will not fail if it is not present, and set HAVE_EXECINFO_H if it is. The check was added in commit 5cfdbef3d299 ("build: Allow disabling building of wayland libraries") with no obvious use or reasoning. Remove the no-op check. Signe

[PATCH wayland 2/2] build: Remove support for non-pkg-config Expat

2018-07-21 Thread Daniel Stone
The Expat XML library has shipped a pkg-config file for long enough to be in Debian's oldstable (Jessie, April 2015) and Ubuntu's oldest supported LTS (Trusty, 14.04). The pkg-config file was added in Expat upstream's commit 352cfc8f59a7, in September 2007. Drop build support for versions of Expat

[PATCH wayland 0/2] Build system detritus removal

2018-07-21 Thread Daniel Stone
Hi, Whilst going over Emmanuele's Meson series, I noticed a couple of artifacts in the autotools build which could probably disappear; one no-op header check, and one check for incredibly ancient Expat versions. Cheers, Daniel ___ wayland-devel mailing

Re: [PATCH weston 3/3 v4] simple-dmabuf-drm: use GBM generic calls

2018-07-21 Thread Guido Günther
Hi, On Fri, Jul 20, 2018 at 11:10:29PM +0200, Guido Günther wrote: > Hi, > On Fri, Jul 13, 2018 at 05:43:50PM +0200, Guido Günther wrote: > > Hi, > > On Thu, Jul 12, 2018 at 01:46:25PM +0200, Emilio Pozuelo Monfort wrote: > > > No need to write libdrm driver specific code for each supported > > > d