From 85382d394af9a631ec5c5c4341eb1ebe554fbb8e Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Mon, 3 Aug 2020 13:53:50 +0200 Subject: [PATCH] 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 --- README.md | 2 +- clients/weston-info.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9f1e58bf..8947443d 100644 --- a/README.md +++ b/README.md @@ -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);