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

Support for Mutter 45/libmutter-13 is broken #570

Open
pimvullers opened this issue Aug 21, 2024 · 2 comments
Open

Support for Mutter 45/libmutter-13 is broken #570

pimvullers opened this issue Aug 21, 2024 · 2 comments

Comments

@pimvullers
Copy link

What Happened?

Build of wingpanel (on Gentoo Linux) against Mutter 45/libmutter-13 failed:

../wingpanel-8.0.0/wingpanel-interface/FocusManager.vala:136.25-136.32: error: initializer list used for unknown type
  136 |                         { x, y }
      |                         ^~~~~~~~
../wingpanel-8.0.0/wingpanel-interface/FocusManager.vala:131.21-137.21: error: 1 extra arguments for `bool Meta.Window.begin_grab_op (Meta.GrabOp, Clutter.InputDevice?, Clutter.EventSequence?, uint32)'
  131 |                     window.begin_grab_op (
      |                     ^~~~~~~~~~~~~~~~~~~~~~
  132 |                         Meta.GrabOp.MOVING,
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  133 |                         event.get_device (),
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  134 |                         event.get_event_sequence (),
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  135 |                         event.get_time (),
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  136 |                         { x, y }
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  137 |                     );
      | ~~~~~~~~~~~~~~~~~~~~~ 
Compilation failed: 2 error(s), 0 warning(s)

Looks like similar fix as for Gala is required: see elementary/gala#2039

Steps to Reproduce

  1. Build wingpanel against Mutter 45
  2. Build fails

Expected Behavior

Build passes

OS Version

Other Linux

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

@pimvullers
Copy link
Author

Build confirmed to work with Mutter 46/libmutter-14 on Gentoo (however this is not available in stable).

@pimvullers
Copy link
Author

wingpanel-8.0.0_mutter45.patch.gz
Attached patch fixes the build issue with Mutter45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant