diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2020-08-03 13:53:50 +0200 |
---|---|---|
committer | Pekka Paalanen <pq@iki.fi> | 2020-08-14 10:31:49 +0000 |
commit | 85382d394af9a631ec5c5c4341eb1ebe554fbb8e (patch) | |
tree | d43a4c015232d15ee2bd0f127d1736bce11add5a | |
parent | c1e7151eb6c4cec1448f514be9d66b529c23e42a (diff) |
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>
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | clients/weston-info.c | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -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) diff --git a/clients/weston-info.c b/clients/weston-info.c index a26f0bf0..97725273 100644 --- a/clients/weston-info.c +++ b/clients/weston-info.c @@ -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); |