mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[client,sdl] mark SDL2 as deprecated.
SDL2 client is a dead end due to lacking API (clipboard support, ...) so mark the SDL2 client deprecated and point out there is a SDL3 version available
This commit is contained in:
@@ -64,7 +64,8 @@ find_package(SDL3)
|
||||
|
||||
cmake_dependent_option(WITH_CLIENT_SDL_VERSIONED "append sdl version to client binaries" OFF WITH_CLIENT_SDL OFF)
|
||||
cmake_dependent_option(
|
||||
WITH_CLIENT_SDL2 "[experimental] build experimental SDL2 client" ${SDL2_FOUND} WITH_CLIENT_SDL OFF
|
||||
WITH_CLIENT_SDL2 "[deprecated,experimental] build deprecated,experimental SDL2 client" ${SDL2_FOUND} WITH_CLIENT_SDL
|
||||
OFF
|
||||
)
|
||||
cmake_dependent_option(
|
||||
WITH_CLIENT_SDL3 "[experimental] build experimental SDL3 client" ${SDL3_FOUND} WITH_CLIENT_SDL OFF
|
||||
|
||||
@@ -1644,6 +1644,7 @@ int main(int argc, char* argv[])
|
||||
RDP_CLIENT_ENTRY_POINTS clientEntryPoints = {};
|
||||
|
||||
freerdp_client_warn_experimental(argc, argv);
|
||||
freerdp_client_warn_deprecated(argc, argv);
|
||||
WLog_WARN(SDL_TAG,
|
||||
"SDL2 client does not support clipboard! Only SDL3 client has (partial) support");
|
||||
|
||||
|
||||
@@ -6220,7 +6220,7 @@ void freerdp_client_warn_deprecated(int argc, char* argv[])
|
||||
return;
|
||||
|
||||
WLog_Print_unchecked(log, log_level, "[deprecated] %s client has been deprecated", app);
|
||||
WLog_Print_unchecked(log, log_level, "As replacement there is a SDL based client available.");
|
||||
WLog_Print_unchecked(log, log_level, "As replacement there is a SDL3 based client available.");
|
||||
WLog_Print_unchecked(
|
||||
log, log_level,
|
||||
"If you are interested in keeping %s alive get in touch with the developers", app);
|
||||
|
||||
Reference in New Issue
Block a user