Bug 91529 - weston screen-share no longer builds
Summary: weston screen-share no longer builds
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Dawid Gajownik
QA Contact:
URL: http://lists.freedesktop.org/archives...
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-08-02 13:36 UTC by nerdopolis1
Modified: 2015-08-06 16:27 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description nerdopolis1 2015-08-02 13:36:21 UTC
Compiling weston with 


./autogen.sh --prefix=$INSTALLDIR --libdir=$INSTALLDIR/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH) --disable-libunwind --with-cairo=image --enable-tablet-shell --enable-clients --enable-demo-clients-install --enable-rdp-compositor --enable-screen-sharing --enable-libinput-backend --with-xserver-path=$INSTALLDIR/bin/Xwayland


It seems I am getting these errors

  CC       src/rpi_backend_la-rpi-renderer.lo
src/screen-share.c: In function 'ss_seat_handle_keymap':
src/screen-share.c:216:16: error: 'struct weston_seat' has no member named 'keyboard'
  if (seat->base.keyboard)
                ^
src/screen-share.c: In function 'ss_seat_handle_modifiers':
src/screen-share.c:284:34: error: 'struct weston_seat' has no member named 'keyboard'
  xkb_state_update_mask(seat->base.keyboard->xkb_state.state,
                                  ^
src/screen-share.c: In function 'share_output_binding':
src/screen-share.c:1075:11: error: 'struct weston_seat' has no member named 'pointer'
  if (!seat->pointer) {
           ^
src/screen-share.c:1081:29: error: 'struct weston_seat' has no member named 'pointer'
         wl_fixed_to_int(seat->pointer->x),
                             ^
src/screen-share.c:1082:29: error: 'struct weston_seat' has no member named 'pointer'
         wl_fixed_to_int(seat->pointer->y));
                             ^
src/screen-share.c: In function 'module_init':
src/screen-share.c:1110:8: warning: passing argument 4 of 'weston_compositor_add_key_binding' from incompatible pointer type
        share_output_binding, ss);
        ^
In file included from src/screen-share.c:42:0:
src/compositor.h:1157:1: note: expected 'weston_key_binding_handler_t' but argument is of type 'void (*)(struct weston_seat *, uint32_t,  uint32_t,  void *)'
 weston_compositor_add_key_binding(struct weston_compositor *compositor,
 ^
  CC       src/rpi_backend_la-libinput-seat.lo
Makefile:4540: recipe for target 'src/screen_share_la-screen-share.lo' failed
make[1]: *** [src/screen_share_la-screen-share.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/srcbuild/weston'
Makefile:2856: recipe for target 'all' failed
make: *** [all] Error 2
PackageCompileSource finished in 53 seconds
Comment 1 Dawid Gajownik 2015-08-04 03:48:27 UTC
Hi,

Thanks for you bug report. Could you please test this patch?
http://lists.freedesktop.org/archives/wayland-devel/2015-July/023764.html


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.