clients: deprecate weston-info
authorOlivier Fourdan <ofourdan@redhat.com>
Mon, 3 Aug 2020 11:53:50 +0000 (13:53 +0200)
committerPekka Paalanen <pq@iki.fi>
Fri, 14 Aug 2020 10:31:49 +0000 (10:31 +0000)
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>
README.md
clients/weston-info.c

index 9f1e58bf176e69507bdbcb04f85660bb91b65436..8947443d34793813188774e6aae704565707cbfd 100644 (file)
--- 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)
index a26f0bf0a92d06418571f248c714fb076be5855e..9772527320e6d5ef51b781b6d25ba43f894ea5da 100644 (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);