Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mathgl for openSUSE:Factory checked in at 2025-12-16 15:55:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mathgl (Old) and /work/SRC/openSUSE:Factory/.mathgl.new.1939 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mathgl" Tue Dec 16 15:55:11 2025 rev:64 rq:1322964 version:8.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/mathgl/mathgl.changes 2025-11-18 15:39:53.239574831 +0100 +++ /work/SRC/openSUSE:Factory/.mathgl.new.1939/mathgl.changes 2025-12-16 16:01:41.052566817 +0100 @@ -1,0 +2,8 @@ +Fri Dec 12 00:38:23 UTC 2025 - Atri Bhattacharya <[email protected]> + +- Add mathgl-cmake-lua-detection.patch: use cmake's in-built + FindLua to detect and build against lua version 5.3, rather than + using outdated version 5.1 [bsc#1254893, + https://sourceforge.net/p/mathgl/bugs/54/]. + +------------------------------------------------------------------- New: ---- mathgl-cmake-lua-detection.patch ----------(New B)---------- New: - Add mathgl-cmake-lua-detection.patch: use cmake's in-built FindLua to detect and build against lua version 5.3, rather than ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mathgl.spec ++++++ --- /var/tmp/diff_new_pack.z0LLmn/_old 2025-12-16 16:01:43.272660718 +0100 +++ /var/tmp/diff_new_pack.z0LLmn/_new 2025-12-16 16:01:43.272660718 +0100 @@ -58,6 +58,8 @@ Patch5: mathgl-texmf-dir.patch # PATCH-FIX-UPSTREAM mathgl-libharu2_4-compat.patch [email protected] -- Fix compilation against libharu 2.4.x [https://sourceforge.net/p/mathgl/bugs/48/] Patch8: mathgl-libharu2_4-compat.patch +# PATCH-FIX-UPSTREAM mathgl-cmake-lua-detection.patch bsc#1254893 [email protected] -- Use cmake's in-built FindLua to detect lua version 5.3 and build against it, rather than using outdated version 5.1 [https://sourceforge.net/p/mathgl/bugs/54/] +Patch9: mathgl-cmake-lua-detection.patch BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: fltk-devel @@ -83,7 +85,7 @@ BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libtiff-4) -BuildRequires: pkgconfig(lua5.1) +BuildRequires: pkgconfig(lua) %if %{with python} BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy-devel} ++++++ mathgl-cmake-lua-detection.patch ++++++ --- lang/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Index: mathgl-8.0.3/lang/CMakeLists.txt =================================================================== --- mathgl-8.0.3.orig/lang/CMakeLists.txt +++ mathgl-8.0.3/lang/CMakeLists.txt @@ -71,10 +71,10 @@ if(enable-python) endif(enable-python) if(enable-lua) - INCLUDE(FindLua51) - if(NOT LUA51_FOUND) - message(SEND_ERROR "Couldn't find Lua 5.1 library.") - endif(NOT LUA51_FOUND) + find_package(Lua 5.3) + if(NOT Lua_FOUND) + message(SEND_ERROR "Couldn't find Lua library.") + endif(NOT Lua_FOUND) include_directories(${LUA_INCLUDE_DIR}) if(${CMAKE_VERSION} VERSION_LESS "3.8.0")
