From 834df18ac24bbef09ca2b8fda1bcd4ab076d0795 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Wed, 26 Jan 2022 22:33:19 +0100 Subject: [PATCH] meson: Rename to deprecated-weston-launch This ensures that users that previously set the option explicitly will also have a chance to notice the deprecation. Signed-off-by: Kenny Levinsen --- libweston/meson.build | 2 +- meson_options.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libweston/meson.build b/libweston/meson.build index c8ffe9ad..257d6950 100644 --- a/libweston/meson.build +++ b/libweston/meson.build @@ -228,7 +228,7 @@ dep_vertex_clipping = declare_dependency( include_directories: include_directories('.') ) -if get_option('weston-launch') +if get_option('deprecated-weston-launch') warning('weston-launch is deprecated and will be removed in a future release. Please migrate to libseat and seatd-launch.') dep_pam = cc.find_library('pam') diff --git a/meson_options.txt b/meson_options.txt index 2d467874..8a527d74 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -66,7 +66,7 @@ option( ) option( - 'weston-launch', + 'deprecated-weston-launch', type: 'boolean', value: false, description: 'Deprecated weston launcher for systems without logind'