Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mathgl for openSUSE:Factory checked in at 2022-01-11 21:19:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mathgl (Old) and /work/SRC/openSUSE:Factory/.mathgl.new.1892 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mathgl" Tue Jan 11 21:19:48 2022 rev:53 rq:945462 version:2.5 Changes: -------- --- /work/SRC/openSUSE:Factory/mathgl/mathgl.changes 2021-04-01 14:18:30.140091222 +0200 +++ /work/SRC/openSUSE:Factory/.mathgl.new.1892/mathgl.changes 2022-01-11 21:23:59.301157969 +0100 @@ -1,0 +2,74 @@ +Fri Dec 24 23:06:28 UTC 2021 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 2.5: + * Add functions ???sum???, ???prod??? at formula evaluation, like + ???sum(_i^2,5)??? will produce 30=0+1^2+2^2+3^2+4^2, and + ???prod(1+_i,5)??? will produce 120=5!. You can nest them for + variables ???_i???,???_j???,...,???_z???, like ???sum(sum(_j+_i^2,5),5)??? + will give 200. + * Add user-defined functions ???fn1()???...???fn9()??? at formula + evaluation, like ???fn1(3)\x^_1??? will produce x^3. + * Add functions ???value???, ???spline??? at formula evaluation, like + ???value(a,5)??? will give value of 6-th element of a, i.e. a[5]. + * Add keep for keeping the data phase/sign or value along line i + and j in given direction + * Add mglODEs() (i.e. extend ode) for solving PDE, cascades and + etc. + * Add dcont to draw a set of curves, which are intersection of + two isosurfaces at given level. + * Add lines to draw a set of lines with arrows between points. + * Add first, last to get array of first/last indexes of values + larger specified one along given direction. + * Add bernoulli, binomial, brownian, discrete, exponential, + gaussian, shuffle, uniform, uniformint for data filling by + random numbers with different distributions. + * Add readbin to read data from binary files. + * Add texparse to enable/disable TeX-like command parsing at + text output. + * Update ode: regularization is used if dt*tmax<0 (total time + may differ, but number of steps still the same). + * Add mgl_default_graph() ??? the global (default) pointer to HMGL + for keeping plot settings, simplifying external scripts and + capture it in GUI. + * Add style ???p??? in command smooth to use parabolic smoothing of + arbitrary points. + * Allow background for scaling image, centering image and + tessellate image as mosaic. + * Allow filling background by the specified color. + * Allow masks for candle, area, region, bars, barh, chart, tape, + face, polygon, ellipse, rhomb. + * Allow single value specification for contour level in cont, + contd, contp, contv, cont3, dcont, tricont. + * Add mgl_dual_save_hdf(), mgl_real_save_hdf(), + mgl_int_save_hdf() for saving single number in HDF5 file. + * Add mgl_formula_calc(), mgl_formula_calc_c() for evaluating + textual formulas of arbitrary set of data arrays. + * Add mglDataList ??? global mglDataA* collection for + viewing/changing in GUI data from external languages (like, + Python, ...). + * Add Armadillo interface for mglData and mglDataC. + * If nsub parameter of command hist is negative (nsub<0) then + the linear interpolation is used instead of spline one. + * Add dark text colors for mgllab. + * Minor bugfixes. + * OBSOLETE: Qt4 interface will be disabled in the next release. + * OBSOLETE: Functions colorbar will have extra argument opt for + options, similarly to axis and other plotting functions. In + C++ and SWIG-based interfaces this change "masked" by + providing the default value for the argument. +- Minor rebase of mathgl-fix-python-module-path.patch to apply + cleanly against updated version. +- Bump library so version appropriately. +- Enable python3 bindings: now supported by upstream; build only + for default python3 flavour. +- Disable python bindings for Leap, since python >= 3.8 is + required whereas Leap 15.2/3 only have python 3.6. +- Re-enable octave bindings. +- Rename python sub-package to have name consistent with + openSUSE's python3 package naming guidelines. +- Update _constraints to require 8 GB disk space as required by + updated version. +- Drop sed fix for location of numpy header file: no longer + needed. + +------------------------------------------------------------------- Old: ---- mathgl-2.4.4.tar.gz New: ---- mathgl-2.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mathgl.spec ++++++ --- /var/tmp/diff_new_pack.s8pgr1/_old 2022-01-11 21:24:00.161158573 +0100 +++ /var/tmp/diff_new_pack.s8pgr1/_new 2022-01-11 21:24:00.161158573 +0100 @@ -24,25 +24,27 @@ %else %define omp_ver %{nil} %endif -# NO PYTHON3 SUPPORT FROM UPSTREAM -%if 0%{?suse_version} > 1500 -%bcond_with python -%else + +# At least python 3.8 is required; Leap <= 15.3 only has python 3.6 +%if 0%{?suse_version} >= 1550 %bcond_without python +%else +%bcond_with python %endif +%define skip_python2 1 + # oct_version must be x.y.z %define oct_version %{version} -%define somajor 7.5.0 -%define libversion 7_5_0 +%define somajor 7.6.0 +%define libversion 7_6_0 -# NOT COMPATIBLE WITH OCTAVE >= 6 -%bcond_with octave +%bcond_without octave %if 0%{?fedora_version} %define _defaultdocdir %{_docdir} %endif Name: mathgl -Version: 2.4.4 +Version: 2.5 Release: 0 Summary: Library for making scientific graphics License: GPL-3.0-only @@ -84,8 +86,9 @@ BuildRequires: texlive-latex BuildRequires: wxWidgets-devel >= 3 %if %{with python} -BuildRequires: python-devel -BuildRequires: python-numpy-devel +BuildRequires: python-rpm-macros +BuildRequires: python3-devel >= 3.8 +BuildRequires: python3-numpy-devel %endif %if %{with octave} BuildRequires: octave-devel @@ -277,11 +280,11 @@ This package provides Octave interface for MathGL. %endif -%package -n python-mathgl +%package -n %{python_prefix}-mathgl Summary: Libraries and header files for the MathGL library -Requires: python-base +Provides: python3-mathgl = %{version} -%description -n python-mathgl +%description -n %{python_prefix}-mathgl 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. @@ -349,10 +352,6 @@ # Correct octave-mathgl version sed -i 's/2.0/%{oct_version}/' lang/DESCRIPTION -# Correct location of numpy/arrayobject.h header file -numpy_h=%{python_sitearch}/numpy/core/include/numpy/arrayobject.h -sed -i "s|<numpy/arrayobject.h>|\"${numpy_h}\"|" lang/numpy.i - # convert EOL encodings, maintaining timestames sed -i 's/\r$//' AUTHORS README @@ -390,7 +389,7 @@ -Denable-python=%{?with_python:on}%{!?with_python:off} \ -Denable-lua=on \ -Denable-octave=%{?with_octave:on}%{!?with_octave:off} \ - -Denable-octave-install=off \ + -Denable-octave-install=%{?with_octave:on}%{!?with_octave:off} \ -Denable-mgltex=on \ -Denable-json-sample=off \ -Denable-doc-html=on \ @@ -557,8 +556,8 @@ %endif %if %{with python} -%files -n python-mathgl -%{python2_sitearch}/* +%files -n %{python_prefix}-mathgl +%{python3_sitearch}/* %endif %files tex ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.s8pgr1/_old 2022-01-11 21:24:00.201158601 +0100 +++ /var/tmp/diff_new_pack.s8pgr1/_new 2022-01-11 21:24:00.205158604 +0100 @@ -4,7 +4,7 @@ <size unit="G">2</size> </physicalmemory> <disk> - <size unit="G">4</size> + <size unit="G">8</size> </disk> </hardware> </constraints> ++++++ mathgl-2.4.4.tar.gz -> mathgl-2.5.tar.gz ++++++ /work/SRC/openSUSE:Factory/mathgl/mathgl-2.4.4.tar.gz /work/SRC/openSUSE:Factory/.mathgl.new.1892/mathgl-2.5.tar.gz differ: char 5, line 1 ++++++ mathgl-doc-path.patch ++++++ --- /var/tmp/diff_new_pack.s8pgr1/_old 2022-01-11 21:24:00.237158627 +0100 +++ /var/tmp/diff_new_pack.s8pgr1/_new 2022-01-11 21:24:00.241158630 +0100 @@ -1,8 +1,8 @@ -Index: mathgl-2.4.3/CMakeLists.txt +Index: mathgl-2.4.4+svn1661/CMakeLists.txt =================================================================== ---- mathgl-2.4.3.orig/CMakeLists.txt -+++ mathgl-2.4.3/CMakeLists.txt -@@ -260,7 +260,7 @@ set(MGL_DEF_FONT "STIX" CACHE STRING "Se +--- mathgl-2.4.4+svn1661.orig/CMakeLists.txt ++++ mathgl-2.4.4+svn1661/CMakeLists.txt +@@ -288,7 +288,7 @@ set(MGL_DEF_FONT "STIX" CACHE STRING "Se if(NOT WIN32) # set(MGL_CGI_PATH "${CMAKE_INSTALL_PREFIX}/share/mathgl") set(MGL_DATA_PATH "${CMAKE_INSTALL_PREFIX}/share/mathgl") ++++++ mathgl-examples-install.patch ++++++ --- /var/tmp/diff_new_pack.s8pgr1/_old 2022-01-11 21:24:00.249158635 +0100 +++ /var/tmp/diff_new_pack.s8pgr1/_new 2022-01-11 21:24:00.253158638 +0100 @@ -1,8 +1,8 @@ -Index: mathgl-2.4.3/examples/CMakeLists.txt +Index: mathgl-2.4.4+svn1661/examples/CMakeLists.txt =================================================================== ---- mathgl-2.4.3.orig/examples/CMakeLists.txt -+++ mathgl-2.4.3/examples/CMakeLists.txt -@@ -4,6 +4,10 @@ file(COPY ${CMAKE_SOURCE_DIR}/examples/s +--- 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 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 +13,7 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug" AND CMAKE_COMPILER_IS_GNUCXX AND enable-lcov) setup_target_for_coverage( NAME mgl_coverage -@@ -16,17 +20,29 @@ if(MGL_HAVE_FLTK) +@@ -17,17 +21,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) @@ -43,7 +43,7 @@ endif(MGL_HAVE_WX) if(QT_ENABLED) -@@ -34,17 +50,33 @@ 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) ++++++ mathgl-fix-python-module-path.patch ++++++ --- /var/tmp/diff_new_pack.s8pgr1/_old 2022-01-11 21:24:00.261158644 +0100 +++ /var/tmp/diff_new_pack.s8pgr1/_new 2022-01-11 21:24:00.265158647 +0100 @@ -1,13 +1,13 @@ -Index: mathgl-2.4.3/lang/CMakeLists.txt +Index: mathgl-2.4.4+svn1661/lang/CMakeLists.txt =================================================================== ---- mathgl-2.4.3.orig/lang/CMakeLists.txt -+++ mathgl-2.4.3/lang/CMakeLists.txt +--- mathgl-2.4.4+svn1661.orig/lang/CMakeLists.txt ++++ mathgl-2.4.4+svn1661/lang/CMakeLists.txt @@ -39,7 +39,7 @@ if(enable-python) include_directories(${PYTHON_INCLUDE_DIR} ${NUMPY_INCLUDE_PATH}) execute_process( -- COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(prefix='${CMAKE_INSTALL_PREFIX}')" -+ COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(get_python_lib(1),prefix='${CMAKE_INSTALL_PREFIX}')" +- COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(prefix='${CMAKE_INSTALL_PREFIX}'))" ++ COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(get_python_lib(1),prefix='${CMAKE_INSTALL_PREFIX}'))" OUTPUT_VARIABLE MGL_PYTHON_SITE_PACKAGES OUTPUT_STRIP_TRAILING_WHITESPACE) set(SWIG_MODULE_mathgl_EXTRA_DEPS numpy.i ${src_imp_dep}) ++++++ mathgl-no-default-qt.patch ++++++ --- /var/tmp/diff_new_pack.s8pgr1/_old 2022-01-11 21:24:00.273158652 +0100 +++ /var/tmp/diff_new_pack.s8pgr1/_new 2022-01-11 21:24:00.277158655 +0100 @@ -5,11 +5,11 @@ "qt4" or "qt5". It's not possible to do this with a cmake invocation, as the deleted lines override it otherwise. -Index: mathgl-2.4.3/CMakeLists.txt +Index: mathgl-2.4.4+svn1661/CMakeLists.txt =================================================================== ---- mathgl-2.4.3.orig/CMakeLists.txt -+++ mathgl-2.4.3/CMakeLists.txt -@@ -232,12 +232,6 @@ if(enable-qt4 OR enable-qt5) +--- mathgl-2.4.4+svn1661.orig/CMakeLists.txt ++++ mathgl-2.4.4+svn1661/CMakeLists.txt +@@ -260,12 +260,6 @@ if(enable-qt4 OR enable-qt5) if(enable-qt4asqt AND enable-qt5asqt) message(SEND_ERROR "You cannot make Qt4 and Qt5 as qt at the same time.") endif(enable-qt4asqt AND enable-qt5asqt) ++++++ mathgl-texmf-dir.patch ++++++ --- /var/tmp/diff_new_pack.s8pgr1/_old 2022-01-11 21:24:00.293158666 +0100 +++ /var/tmp/diff_new_pack.s8pgr1/_new 2022-01-11 21:24:00.297158669 +0100 @@ -1,7 +1,7 @@ -Index: mathgl-2.4.3/mgltex/CMakeLists.txt +Index: mathgl-2.4.4+svn1661/mgltex/CMakeLists.txt =================================================================== ---- mathgl-2.4.3.orig/mgltex/CMakeLists.txt -+++ mathgl-2.4.3/mgltex/CMakeLists.txt +--- mathgl-2.4.4+svn1661.orig/mgltex/CMakeLists.txt ++++ mathgl-2.4.4+svn1661/mgltex/CMakeLists.txt @@ -10,15 +10,6 @@ find_program(findmktexlsr mktexlsr) if(NOT findmktexlsr) message(SEND_ERROR "Couldn't find mktexlsr needed for LATEX example install.") ++++++ udav-help-path.patch ++++++ --- /var/tmp/diff_new_pack.s8pgr1/_old 2022-01-11 21:24:00.309158678 +0100 +++ /var/tmp/diff_new_pack.s8pgr1/_new 2022-01-11 21:24:00.309158678 +0100 @@ -1,7 +1,7 @@ -Index: mathgl-2.4.3/udav/udav_wnd.h +Index: mathgl-2.4.4+svn1661/udav/udav_wnd.h =================================================================== ---- mathgl-2.4.3.orig/udav/udav_wnd.h -+++ mathgl-2.4.3/udav/udav_wnd.h +--- mathgl-2.4.4+svn1661.orig/udav/udav_wnd.h ++++ mathgl-2.4.4+svn1661/udav/udav_wnd.h @@ -26,7 +26,7 @@ #ifdef WIN32 #define MGL_DOC_DIR ""