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>
This commit is contained in:
Olivier Fourdan 2020-08-03 13:53:50 +02:00 committed by Pekka Paalanen
parent c1e7151eb6
commit 85382d394a
2 changed files with 6 additions and 1 deletions

View File

@ -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)

View File

@ -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);