Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • W weston
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 362
    • Issues 362
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 124
    • Merge requests 124
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • waylandwayland
  • weston
  • Merge requests
  • !994

meson.build: Add devenv for running from the build directory

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Colin Kinloch requested to merge ColinKinloch/weston:devenv into main Sep 06, 2022
  • Overview 9
  • Commits 1
  • Pipelines 10
  • Changes 1

This merge request adds support for running weston from the build directory using meson devenv.

Beyond the default for devenv environment variables for WESTON_MODULE_MAP and WESTON_DATA_DIR are also set.

To enter the environment:

meson devenv -C ./build

Check the environment

echo $WESTON_MODULE_MAP
echo $WESTON_DATA_DIR
which weston weston-smoke
ldd $(which weston)

Run wayland in the environment:

weston -S"wayland-5" &
sleep 1
WAYLAND_DISPLAY="wayland-5" weston-clickdot &
Edited Sep 06, 2022 by Colin Kinloch
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: devenv