raspberrypi / maynard

Desktop environment for Wayland
Other
336 stars 46 forks source link

Unable to compile ( weston 2.0.0 ; os arch ; wayland 1.13.0 ) #54

Open ihavesomepoblem opened 7 years ago

ihavesomepoblem commented 7 years ago

make[2]: Entering directory '/root/maynard/shell' CC shell-helper.lo shell-helper.c: In function ‘configure_surface’: shell-helper.c:82:40: error: ‘struct weston_surface’ has no member named ‘configure_private’; did you mean ‘committed_private’? struct weston_view existing_view = es->configure_private; ^~ shell-helper.c: In function ‘shell_helper_add_surface_to_layer’: shell-helper.c:117:17: error: ‘struct weston_surface’ has no member named ‘configure’ if (new_surface->configure) { ^~ shell-helper.c:137:13: error: ‘struct weston_surface’ has no member named ‘configure’ new_surface->configure = configure_surface; ^~ shell-helper.c:138:13: error: ‘struct weston_surface’ has no member named ‘configure_private’; did you mean ‘committed_private’? new_surface->configure_private = existing_view; ^~ shell-helper.c: In function ‘configure_panel’: shell-helper.c:149:34: error: ‘struct weston_surface’ has no member named ‘configure_private’; did you mean ‘committed_private’? struct shell_helper helper = es->configure_private; ^~ shell-helper.c: In function ‘shell_helper_set_panel’: shell-helper.c:180:9: error: ‘struct weston_surface’ has no member named ‘configure’ surface->configure(surface, 0, 0); ^~ shell-helper.c:193:9: error: ‘struct weston_surface’ has no member named ‘configure’ surface->configure = configure_panel; ^~ shell-helper.c:194:9: error: ‘struct weston_surface’ has no member named ‘configure_private’; did you mean ‘committed_private’? surface->configure_private = helper; ^~ shell-helper.c: In function ‘shell_helper_curtain’: shell-helper.c:429:8: warning: passing argument 2 of ‘weston_layer_init’ from incompatible pointer type [-Wincompatible-pointer-types] &helper->panel_layer->link); ^ In file included from shell-helper.c:29:0: /usr/include/weston/compositor.h:1410:1: note: expected ‘struct weston_compositor ’ but argument is of type ‘struct wl_list ’ weston_layer_init(struct weston_layer *layer, ^~~~~ make[2]: [Makefile:582: shell-helper.lo] Error 1 make[2]: Leaving directory '/root/maynard/shell' make[1]: [Makefile:685: install] Error 2 make[1]: Leaving directory '/root/maynard/shell' make: *** [Makefile:489: install-recursive] Error 1

ZanderBrown commented 7 years ago

Unfortunatly Maynard was only ever supported on Raspbian Wheezy and development had ended. As a result Maynard can be a pain to compile even on Raspbian distros, let alone other systems.

I have been working on a 'modernised' version myself rewritten in Vala but it is far from being releasable (not currently public).

If you have experience with GLib, Wayland & Weston as well as C programming you can try to solve it yourself but otherwise i'd suggest looking into activly maintained Wayland Environments to hack on:

or for a 'day-to-day' Wayland environment GNOME has good suppory altough is slow on lower powered hardware (such as the Raspberry Pi)