From: Colin Clark Date: Sat, 30 Jul 2022 14:24:31 +0000 (+0100) Subject: Set mimimum requirement for lua to 5.3 X-Git-Tag: v2.0~19 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=f02c9285f3373e8c5a99c0bba8f74df7262c557b Set mimimum requirement for lua to 5.3 --- diff --git a/geeqie-install-debian.sh b/geeqie-install-debian.sh index 06ef8b42..9b018545 100755 --- a/geeqie-install-debian.sh +++ b/geeqie-install-debian.sh @@ -8,7 +8,7 @@ ## Dialogs allow the user to install additional features. ## -version="2022-07-21" +version="2022-07-30" description=' Geeqie is an image viewer. This script will download, compile, and install Geeqie on Debian-based systems. @@ -44,7 +44,7 @@ libgexiv2-dev evince (for print preview) evince lua (for --remote commands) -liblua5.1-0-dev +liblua5.3-dev libffmpegthumbnailer (for mpeg thumbnails) libffmpegthumbnailer-dev libtiff (for tiff support) @@ -567,7 +567,7 @@ then ninja -C build install else meson setup build - meson configure build -Dgtk3=false + meson configure build printf '%b\n' "90 " > "$zen_pipe" printf '%b\n' "#Installing Geeqie..." > "$zen_pipe" ninja -C build install diff --git a/meson.build b/meson.build index 0e31be1e..f9ee8ab3 100644 --- a/meson.build +++ b/meson.build @@ -354,15 +354,15 @@ else endif lua_dep = [] -req_version = '>=5.1' +req_version = '>=5.3' option = get_option('lua') if not option.disabled() - lua_dep = dependency('lua5.1', version : req_version, required : get_option('lua')) + lua_dep = dependency('lua5.3', version : req_version, required : get_option('lua')) if lua_dep.found() conf_data.set('HAVE_LUA', 1) summary({'lua' : ['lua supported:', true]}, section : 'Configuration', bool_yn : true) else - summary({'lua' : ['lua5.1 ' + req_version + ' not found - lua supported:', false]}, section : 'Configuration', bool_yn : true) + summary({'lua' : ['lua5.3 ' + req_version + ' not found - lua supported:', false]}, section : 'Configuration', bool_yn : true) endif else summary({'lua' : ['disabled - lua supported:', false]}, section : 'Configuration', bool_yn : true)