Skip to content

Compiling the wayland version of activity-logger is far too complicated. Please simplify! #2

@fm16191

Description

@fm16191

This first attempt to run activity-logger on wayland can be found as wayland_logger.c. This one was built on top of wlroots/examples/foreign-toplevel.c

Current compilation process (unnecessary overkill!) :

  • Clone and install the wlroots git repository EDIT: clone the 0.16 version of wlroots, since this was removed in the 0.17.
  • copy the wayland_logger.c file to wlroots/examples/
  • edit wlroots/examples/meson.build, and in the clients = {, section (~ line 60) append the following :
    	'wayland_logger': {
      	'src': 'wayland_logger.c',
      	'proto': ['wlr-foreign-toplevel-management-unstable-v1'],
      },
  • now in wlroots/, compile ! :
    $ meson setup --reconfigure build
    $ cd build
    $ ninja
  • Copy the compiled executable to activity-logger/

I tried but couldn't get it to work any easier...

I would be more than grateful for any suggestions, ideas or help. Feel free to discuss it below, or open a PR ! 👀

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions