UbuntuBudgie / budgie-extras

Additional Budgie Desktop enhancements for user experience
https://ubuntubudgie.org
GNU General Public License v3.0
178 stars 34 forks source link

Converting applets to support Wayland #474

Open fossfreedom opened 5 months ago

fossfreedom commented 5 months ago

This is a tracking issue to focus on supporting wayland for budgie-extras applets and apps. All help is welcome

libxfce4windowing may help with the transition (python support via its gir python package, or using a vala vapi as per budgie-desktop). Similarly we need to look at layer-shell for positioning things https://github.com/wmww/gtk-layer-shell

Remember at a minimum all applets including 3rd party applets need to use budgie-2.0 as the target gir

Edit this issue and amend:

All applets need testing under wayland - there will probably be others that need to be added to the above list.

To be tested:

Additional applets outside of extras

Additional considerations:

fossfreedom commented 5 months ago

I'll take the first item to add an option to compile applets with a wayland option. For the initial release all the applets/applications above will NOT be compiled and thus NOT available under wayland. Once support is available we can add in the applet.

fossfreedom commented 4 months ago

meson option "for-wayland" is to be used within meson to differentiate between wayland and X11 specific compilation options.

budgie_dep is defined at the root meson.build level - so any applets should use this now in their specific meson.build rather than hardcode budgie-1.0

python apps should use this format to differentiate between v2 and v1 gir https://github.com/UbuntuBudgie/budgie-extras/blob/1e9ae39d6dcb1c8a7da8b34aef1a4978869e360f/budgie-app-launcher/src/budgie-app-launcher/AppLauncherApplet.py#L19

similar code could/showed by used for vala compilation ... and/or we can consider a config type #ifdef type way of doing things