From e2f1476d9015249c2bd93d5d00b4cedf6f82ee50 Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Fri, 25 Jul 2025 12:32:05 +0300 Subject: [PATCH] gui_edit_db lock and disabled lsfg if libc 2.37- GLIBC version 2.38+ is required for use Lossless Scaling frame generation --- data_from_portwine/scripts/functions_helper | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 78724599..ef2cc4e8 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -5469,6 +5469,11 @@ gui_edit_db () { esac [[ ! -e "/dev/ntsync" ]] && DISABLE_EDIT_DB_LIST+=" PW_USE_NTSYNC" + if [[ $(ldd --version | head -n 1 | awk '{print $4}') < 2.38 ]] ; then + DISABLE_EDIT_DB_LIST+=" PW_USE_LS_FRAME_GEN" + export PW_USE_LS_FRAME_GEN="0" + PW_USE_LS_FRAME_GEN_INFO=${translations[GLIBC version 2.38+ is required for use Lossless Scaling frame generation]} + fi unset ADD_CHK_BOX_EDIT_DB for int_to_boole in "${PW_EDIT_DB_LIST[@]}" ; do