clients: deprecate weston-info

weston-info is now deprecated in favor of wayland-info which is part of
wayland-utils.

Add a note to weston-info to inform users that weston-info is deprecated
and will be removed soon.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
dev
Olivier Fourdan 4 years ago committed by Pekka Paalanen
parent c1e7151eb6
commit 85382d394a
  1. 2
      README.md
  2. 5
      clients/weston-info.c

@ -342,7 +342,7 @@ would be roughly like this:
+ desktop shell
+ ivi-shell
+ fullscreen shell
+ weston-info, weston-terminal, etc. we install by default
+ weston-info (deprecated), weston-terminal, etc. we install by default
+ screen-share
- weston demos (not parallel-installable)

@ -1861,6 +1861,11 @@ main(int argc, char **argv)
return -1;
}
fprintf(stderr, "\n");
fprintf(stderr, "*** Please use wayland-info instead\n");
fprintf(stderr, "*** weston-info is deprecated and will be removed in a future version\n");
fprintf(stderr, "\n");
info.tablet_info = NULL;
info.xdg_output_manager_v1_info = NULL;
wl_list_init(&info.infos);

Loading…
Cancel
Save