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-11-18 15:37:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mathgl (Old)
 and      /work/SRC/openSUSE:Factory/.mathgl.new.2061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mathgl"

Tue Nov 18 15:37:59 2025 rev:63 rq:1318314 version:8.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/mathgl/mathgl.changes    2024-10-11 
17:02:29.143091388 +0200
+++ /work/SRC/openSUSE:Factory/.mathgl.new.2061/mathgl.changes  2025-11-18 
15:39:53.239574831 +0100
@@ -1,0 +2,33 @@
+Mon Nov 10 17:43:29 UTC 2025 - Atri Bhattacharya <[email protected]>
+
+- Update to version 8.0.3:
+  * Improve 'mode' for small grid sizes.
+  * Update python usage for compatibility with NumPy2.
+  * Add samples for 'mode' and 'histl'.
+  * Minor fixes, improvements and spelling issues.
+- Changes from version 8.0.2:
+  * Add 'mode' for finding sulution of Poisson equation with
+    arbitrary boundary.
+  * Add 'histl' for histogram by linear interpolation.
+  * Add jumps functionality for 'ode' solver (see
+    mgl_ode_solve_str_b(), mgl_ode_solve_str_cb()).
+  * Add robust approximation by using numbers 1,2,3 or 4 in
+    variable list of 'fit' and 'fits' commands: '1' for norm
+    sqrt(1+|u|^2), '2' for norm |u|^4, '3' for norm 1-cos(u), '4'
+    for norm |u|^2*(2-|u|^2/6^2), default norm |u|^2.
+  * Add power deposition for QO2d if k0<0.
+  * Update fonts. Add STIX2 and CJK fonts.
+  * Compatibility changes for Qt6.
+  * Improve complex number reading from files.
+  * Exclude NAN values from momentum estiamtions.
+  * Minor bugfixes and optimizations.
+- Drop patches no longer required because they are fixed by
+  upstream cmake changes:
+  * mathgl-no-default-qt.patch
+  * mathgl-fix-python-module-path.patch
+- Drop pinning of numpy to version 1; numpy2 supported now.
+- Switch to Qt6; obsolete libmgl-qt5-8 package with libmgl-qt-8.
+- Switch over BuildRequires to pkgconfig based ones where
+  possible.
+
+-------------------------------------------------------------------

Old:
----
  mathgl-8.0.1.tar.gz
  mathgl-fix-python-module-path.patch
  mathgl-no-default-qt.patch

New:
----
  mathgl-8.0.3.tar.gz

----------(Old B)----------
  Old:  * mathgl-no-default-qt.patch
  * mathgl-fix-python-module-path.patch
- Drop pinning of numpy to version 1; numpy2 supported now.
  Old:  upstream cmake changes:
  * mathgl-no-default-qt.patch
  * mathgl-fix-python-module-path.patch
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mathgl.spec ++++++
--- /var/tmp/diff_new_pack.qOtpDW/_old  2025-11-18 15:39:54.051609038 +0100
+++ /var/tmp/diff_new_pack.qOtpDW/_new  2025-11-18 15:39:54.055609206 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mathgl
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -42,14 +42,12 @@
 %define _defaultdocdir %{_docdir}
 %endif
 Name:           mathgl
-Version:        8.0.1
+Version:        8.0.3
 Release:        0
 Summary:        Library for making scientific graphics
 License:        GPL-3.0-only
 URL:            http://mathgl.sourceforge.net
 Source0:        
http://downloads.sourceforge.net/mathgl/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM mathgl-fix-python-module-path.patch -- Make python 
modules install arch-depended
-Patch1:         mathgl-fix-python-module-path.patch
 # PATCH-FEATURE-UPSTREAM mathgl-examples-install.patch -- Enable examples 
install
 Patch2:         mathgl-examples-install.patch
 # PATCH-FIX-OPENSUSE mathgl-doc-path.patch -- Locate documentation to right 
place
@@ -58,36 +56,40 @@
 Patch4:         udav-help-path.patch
 # PATCH-FIX-OPENSUSE mathgl-texmf-dir.patch -- set correct path to texmf 
directory
 Patch5:         mathgl-texmf-dir.patch
-# PATCH-FIX-OPENSUSE mathgl-no-default-qt.patch -- do not set a default qt
-Patch7:         mathgl-no-default-qt.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
-BuildRequires:  cmake >= 2.8.12
+BuildRequires:  cmake
 BuildRequires:  desktop-file-utils
 BuildRequires:  fltk-devel
-BuildRequires:  freeglut-devel
 BuildRequires:  gcc-c++
 BuildRequires:  giflib-devel
-BuildRequires:  gsl-devel
-BuildRequires:  hdf5-devel
 BuildRequires:  libharu-devel
-BuildRequires:  libjpeg-devel
-BuildRequires:  libpng-devel
-BuildRequires:  libqt5-qtbase-devel
-BuildRequires:  libtiff-devel
 BuildRequires:  libtool
-BuildRequires:  lua51-devel
 BuildRequires:  openmpi-macros-devel
 BuildRequires:  swig
 BuildRequires:  sz2-devel
 BuildRequires:  texlive-filesystem
 BuildRequires:  wxGTK3-devel
+BuildRequires:  pkgconfig(Qt6Core)
+BuildRequires:  pkgconfig(Qt6Core5Compat)
+BuildRequires:  pkgconfig(Qt6Gui)
+BuildRequires:  pkgconfig(Qt6OpenGL)
+BuildRequires:  pkgconfig(Qt6OpenGLWidgets)
+BuildRequires:  pkgconfig(Qt6PrintSupport)
+BuildRequires:  pkgconfig(Qt6Widgets)
+BuildRequires:  pkgconfig(glut)
+BuildRequires:  pkgconfig(gsl)
+BuildRequires:  pkgconfig(hdf5)
+BuildRequires:  pkgconfig(libjpeg)
+BuildRequires:  pkgconfig(libpng)
+BuildRequires:  pkgconfig(libtiff-4)
+BuildRequires:  pkgconfig(lua5.1)
 %if %{with python}
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module numpy-devel < 2.0}
+BuildRequires:  %{python_module numpy-devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
-Requires:       python-numpy < 2.0
+Requires:       python-numpy
 %endif
 %if %{with octave}
 BuildRequires:  octave-devel
@@ -149,10 +151,12 @@
 plotting and handling of large data arrays, as well as window and
 console modes and for embedding into other programs.
 
-%package -n     %{libname}-qt5-%{libversion}
-Summary:        MathGL Qt5 widget library
+%package -n     %{libname}-qt-%{libversion}
+Summary:        MathGL Qt(6) widget library
+Provides:       %{libname}-qt6-%{libversion} = %{version}
+Obsoletes:      %{libname}-qt5-%{libversion} < 8.0.3
 
-%description -n %{libname}-qt5-%{libversion}
+%description -n %{libname}-qt-%{libversion}
 MathGL is a library for making scientific graphics. It provides data
 plotting and handling of large data arrays, as well as window and
 console modes and for embedding into other programs.
@@ -185,7 +189,7 @@
 Requires:       %{libname}-fltk%{libversion} = %{version}
 Requires:       %{libname}-glut%{libversion} = %{version}
 Requires:       %{libname}-mpi%{libversion} = %{version}
-Requires:       %{libname}-qt5-%{libversion} = %{version}
+Requires:       %{libname}-qt-%{libversion} = %{version}
 Requires:       %{libname}-wnd%{libversion} = %{version}
 Requires:       %{libname}-wx%{libversion} = %{version}
 Requires:       cmake
@@ -380,7 +384,7 @@
       -Denable-hdf5=on                        \
       -Denable-opengl=on                      \
       -Denable-python=%{?with_python:on}%{!?with_python:off} \
-      -DPY3VERSION_DOTTED=%{$python_version}  \
+      -DPython_EXECUTABLE=%{_bindir}/$python  \
       -Denable-json-sample=off                \
 %if "%{$python_provides}" == "python3" || "$python_" == "python3_"
       -Denable-doc-html=%{?with_docs:on}%{!?with_docs:off} \
@@ -470,20 +474,13 @@
 # %%install_info_delete --info-dir=%%_infodir 
%%{_infodir}/%%{name}_en.info-1.gz
 # %%install_info_delete --info-dir=%%_infodir 
%%{_infodir}/%%{name}_en.info-2.gz
 
-%post -n %{libname}%{libversion} -p /sbin/ldconfig
-%postun -n %{libname}%{libversion} -p /sbin/ldconfig
-%post -n %{libname}-mpi%{libversion} -p /sbin/ldconfig
-%postun -n %{libname}-mpi%{libversion} -p /sbin/ldconfig
-%post -n %{libname}-fltk%{libversion} -p /sbin/ldconfig
-%postun -n %{libname}-fltk%{libversion} -p /sbin/ldconfig
-%post -n %{libname}-glut%{libversion} -p /sbin/ldconfig
-%postun -n %{libname}-glut%{libversion} -p /sbin/ldconfig
-%post -n %{libname}-qt5-%{libversion} -p /sbin/ldconfig
-%postun -n %{libname}-qt5-%{libversion} -p /sbin/ldconfig
-%post -n %{libname}-wnd%{libversion} -p /sbin/ldconfig
-%postun -n %{libname}-wnd%{libversion} -p /sbin/ldconfig
-%post -n %{libname}-wx%{libversion} -p /sbin/ldconfig
-%postun -n %{libname}-wx%{libversion} -p /sbin/ldconfig
+%ldconfig_scriptlets -n %{libname}%{libversion}
+%ldconfig_scriptlets -n %{libname}-mpi%{libversion}
+%ldconfig_scriptlets -n %{libname}-fltk%{libversion}
+%ldconfig_scriptlets -n %{libname}-glut%{libversion}
+%ldconfig_scriptlets -n %{libname}-qt-%{libversion}
+%ldconfig_scriptlets -n %{libname}-wnd%{libversion}
+%ldconfig_scriptlets -n %{libname}-wx%{libversion}
 
 %if %{with octave}
 %post -n octave-mathgl
@@ -525,8 +522,8 @@
 %files -n %{libname}-glut%{libversion}
 %{_libdir}/libmgl-glut.so.%{libversion}*
 
-%files -n %{libname}-qt5-%{libversion}
-%{_libdir}/libmgl-qt5.so.%{libversion}*
+%files -n %{libname}-qt-%{libversion}
+%{_libdir}/libmgl-qt*.so.%{libversion}*
 
 %files -n %{libname}-wnd%{libversion}
 %{_libdir}/libmgl-wnd.so.%{libversion}*
@@ -595,9 +592,9 @@
 
 %if %{with python}
 %files %{python_files}
-%{python_sitearch}/mathgl.py
+%{python_sitelib}/mathgl.py
 %{python_sitearch}/_mathgl.so
-%{python_sitearch}/__pycache__/*.pyc
+%{python_sitelib}/__pycache__/*.pyc
 %endif
 
 %files -n %{name}-tex

++++++ mathgl-8.0.1.tar.gz -> mathgl-8.0.3.tar.gz ++++++
/work/SRC/openSUSE:Factory/mathgl/mathgl-8.0.1.tar.gz 
/work/SRC/openSUSE:Factory/.mathgl.new.2061/mathgl-8.0.3.tar.gz differ: char 
11, line 1

++++++ mathgl-doc-path.patch ++++++
--- /var/tmp/diff_new_pack.qOtpDW/_old  2025-11-18 15:39:54.131612408 +0100
+++ /var/tmp/diff_new_pack.qOtpDW/_new  2025-11-18 15:39:54.135612576 +0100
@@ -1,14 +1,14 @@
-Index: mathgl-8.0.1/CMakeLists.txt
+Index: mathgl-8.0.3/CMakeLists.txt
 ===================================================================
---- mathgl-8.0.1.orig/CMakeLists.txt
-+++ mathgl-8.0.1/CMakeLists.txt
-@@ -296,7 +296,7 @@ set(MGL_DEF_FONT "STIX" CACHE STRING "Se
- if(NOT WIN32)
+--- mathgl-8.0.3.orig/CMakeLists.txt
++++ mathgl-8.0.3/CMakeLists.txt
+@@ -313,7 +313,7 @@ set(MGL_DEF_FONT "STIX2" CACHE STRING "S
+ 
  #     set(MGL_CGI_PATH "${CMAKE_INSTALL_PREFIX}/share/mathgl")
        set(MGL_DATA_PATH "${CMAKE_INSTALL_PREFIX}/share/mathgl")
 -      set(MGL_DOC_PATH "${CMAKE_INSTALL_PREFIX}/share/doc/mathgl")
 +      set(MGL_DOC_PATH "${CMAKE_INSTALL_PREFIX}/share/doc/packages/mathgl")
        set(MGL_MAN_PATH "${CMAKE_INSTALL_PREFIX}/share/man")
        set(MGL_INFO_PATH "${CMAKE_INSTALL_PREFIX}/share/info")
-       set(MGL_FONT_PATH "${MGL_DATA_PATH}/fonts")
+ if(NOT WIN32)
 

++++++ mathgl-examples-install.patch ++++++
--- /var/tmp/diff_new_pack.qOtpDW/_old  2025-11-18 15:39:54.151613250 +0100
+++ /var/tmp/diff_new_pack.qOtpDW/_new  2025-11-18 15:39:54.155613419 +0100
@@ -1,8 +1,12 @@
-Index: mathgl-2.4.4+svn1661/examples/CMakeLists.txt
+---
+ examples/CMakeLists.txt |   24 ++++++++++++++++++++++++
+ 1 file changed, 24 insertions(+)
+
+Index: mathgl-8.0.3/examples/CMakeLists.txt
 ===================================================================
---- mathgl-2.4.4+svn1661.orig/examples/CMakeLists.txt
-+++ mathgl-2.4.4+svn1661/examples/CMakeLists.txt
-@@ -5,6 +5,10 @@ file(COPY ${CMAKE_SOURCE_DIR}/examples/s
+--- mathgl-8.0.3.orig/examples/CMakeLists.txt
++++ mathgl-8.0.3/examples/CMakeLists.txt
+@@ -6,6 +6,10 @@ file(COPY ${CMAKE_SOURCE_DIR}/examples/s
  file(COPY ${CMAKE_SOURCE_DIR}/examples/wnd_samples.cpp DESTINATION 
${CMAKE_BINARY_DIR}/examples)
  add_executable(mgl_example wnd_samples.cpp full_test.cpp samples.cpp)
  target_link_libraries(mgl_example mgl-static ${getopt_lib-static})
@@ -13,7 +17,7 @@
  if(CMAKE_BUILD_TYPE STREQUAL "Debug" AND CMAKE_COMPILER_IS_GNUCXX AND 
enable-lcov)
        setup_target_for_coverage(
            NAME mgl_coverage
-@@ -17,17 +21,29 @@ if(MGL_HAVE_FLTK)
+@@ -18,17 +22,29 @@ if(MGL_HAVE_FLTK)
        include_directories(${FLTK_INCLUDE_DIR})
        add_executable(mgl_fltk_example wnd_samples.cpp fltk_example.cpp)
        target_link_libraries(mgl_fltk_example mgl-fltk)
@@ -42,39 +46,24 @@
 +      )
  endif(MGL_HAVE_WX)
  
- if(QT_ENABLED)
-@@ -35,17 +51,33 @@ if(QT_ENABLED)
-       if(enable-qt5)
-               include(../scripts/qt5.cmake)
-               target_link_libraries(mgl_qt_example mgl-qt5)
-+              install(
-+                      TARGETS mgl_qt_example
-+                      RUNTIME DESTINATION bin
-+              )
-       else(enable-qt5)
-               include(../scripts/qt4.cmake)
-               target_link_libraries(mgl_qt_example mgl-qt4)
+ if(TARGET mgl-qt)
+@@ -37,10 +53,18 @@ if(TARGET mgl-qt)
+ 
+       add_executable(mgl_qt_example wnd_samples.cpp qt_example.cpp)
+       target_link_libraries(mgl_qt_example mgl-qt)
++      install(
++              TARGETS mgl_qt_example
++              RUNTIME DESTINATION bin
++      )
+ 
+       if(MGL_HAVE_OPENGL)
+               add_executable(mgl_qgl_example wnd_samples.cpp qgl_example.cpp)
+               target_link_libraries(mgl_qgl_example mgl ${MGL_QT_LIBS})
 +              install(
-+                      TARGETS mgl_qt_example
++                      TARGETS mgl_qgl_example
 +                      RUNTIME DESTINATION bin
 +              )
-       endif(enable-qt5)
-       
-       if(MGL_HAVE_OPENGL)
-               add_executable(mgl_qgl_example wnd_samples.cpp qgl_example.cpp)
-               if(enable-qt5)
-                       target_link_libraries(mgl_qgl_example mgl 
${MGL_QT5_LIBS})
-+                      install(
-+                              TARGETS mgl_qgl_example
-+                              RUNTIME DESTINATION bin
-+                      )
-               else(enable-qt5)
-                       target_link_libraries(mgl_qgl_example mgl 
${MGL_QT4_LIBS})
-+                      install(
-+                              TARGETS mgl_qgl_example
-+                              RUNTIME DESTINATION bin
-+                      )
-               endif(enable-qt5)
        endif(MGL_HAVE_OPENGL)
- endif(QT_ENABLED)
+ endif(TARGET mgl-qt)
+ 
 

++++++ mathgl-libharu2_4-compat.patch ++++++
--- /var/tmp/diff_new_pack.qOtpDW/_old  2025-11-18 15:39:54.167613924 +0100
+++ /var/tmp/diff_new_pack.qOtpDW/_new  2025-11-18 15:39:54.171614092 +0100
@@ -1,7 +1,11 @@
-Index: mathgl-8.0.1/src/prc.cpp
+---
+ src/prc.cpp |    8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+Index: mathgl-8.0.3/src/prc.cpp
 ===================================================================
---- mathgl-8.0.1.orig/src/prc.cpp
-+++ mathgl-8.0.1/src/prc.cpp
+--- mathgl-8.0.3.orig/src/prc.cpp
++++ mathgl-8.0.3/src/prc.cpp
 @@ -36,6 +36,7 @@
  #include <hpdf.h>
  #include <hpdf_u3d.h>
@@ -21,7 +25,7 @@
 +#else
 +              = HPDF_Page_Create3DAnnot (page, rect, u3d);
 +#endif
+ //            annot = HPDF_Page_Create3DAnnot (page, rect, 0, 0, u3d, 0 );    
for the new version ???
  
                //  Enable toolbar
-               HPDF_Dict action = (HPDF_Dict)HPDF_Dict_GetItem (annot, "3DA", 
HPDF_OCLASS_DICT);
 

Reply via email to