Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fm16191 opened this issue Jun 18, 2023 · 0 comments

Comments

@fm16191
Copy link
Owner

fm16191 commented Jun 18, 2023

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 ! 👀

fm16191 added a commit that referenced this issue Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant