[PATCH weston 0/4] Fix distcheck by overriding file directories

Derek Foreman derekf at osg.samsung.com
Tue Feb 6 21:18:35 UTC 2018


So apparently for a Very Long Time make distcheck has passed with
log errors indicating missing files since many icons have been
searched for in their system wide install directory, but the check
phase of the build comes before the install phase of the build.

That wasn't a big deal until fairly recently when an otherwise harmless
feature patch started (properly) checking cairo surfaces for validity
as a side effect.

At that point the xwayland test started failing because instead of
"rendering" broken decor on the headless backend weston started
crashing.

I figured it might be time to solve this in a general way.


Derek Foreman (4):
  shared: Add a function to prefix filenames with datadir
  tests: Set WESTON_DATA_DIR for tests
  shared: Update all users of DATADIR
  build: Clean up -DDATADIR in makefiles

 Makefile.am                        | 10 ++++++----
 clients/desktop-shell.c            | 14 +++++++++++---
 clients/ivi-shell-user-interface.c | 30 +++++++++++++++++++++++-------
 libweston/compositor-x11.c         |  6 +++++-
 shared/file-util.c                 | 17 +++++++++++++++++
 shared/file-util.h                 |  3 +++
 shared/frame.c                     | 25 +++++++++++++++++++++----
 tests/weston-tests-env             |  4 ++++
 8 files changed, 90 insertions(+), 19 deletions(-)

-- 
2.14.3



More information about the wayland-devel mailing list