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-09-21 14:43:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mathgl (Old)
 and      /work/SRC/openSUSE:Factory/.mathgl.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mathgl"

Wed Sep 21 14:43:02 2022 rev:55 rq:1005129 version:8.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/mathgl/mathgl.changes    2022-02-27 
22:44:07.186648341 +0100
+++ /work/SRC/openSUSE:Factory/.mathgl.new.2083/mathgl.changes  2022-09-21 
14:44:03.270015667 +0200
@@ -1,0 +2,8 @@
+Tue Sep 20 03:37:37 UTC 2022 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Add mathgl-libharu2_4-compat.patch: Fix compilation against
+  libharu 2.4.x [https://sourceforge.net/p/mathgl/bugs/48/].
+- Build against wxWidgets >= 3.1 (wxGTK3) instead of
+  wxWidgets=3.0.
+
+-------------------------------------------------------------------

New:
----
  mathgl-libharu2_4-compat.patch

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

Other differences:
------------------
++++++ mathgl.spec ++++++
--- /var/tmp/diff_new_pack.vnUbwf/_old  2022-09-21 14:44:03.966017484 +0200
+++ /var/tmp/diff_new_pack.vnUbwf/_new  2022-09-21 14:44:03.974017505 +0200
@@ -60,6 +60,8 @@
 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 badshah...@gmail.com -- 
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:  desktop-file-utils
 BuildRequires:  fltk-devel
@@ -81,7 +83,7 @@
 BuildRequires:  texinfo
 BuildRequires:  texlive-filesystem
 BuildRequires:  texlive-latex
-BuildRequires:  wxWidgets-devel >= 3
+BuildRequires:  wxGTK3-devel
 %if %{with python}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy-devel}
@@ -338,6 +340,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch7 -p1
+%patch8 -p1
 
 # Correct octave-mathgl version
 sed -i 's/2.0/%{oct_version}/' lang/DESCRIPTION

++++++ mathgl-doc-path.patch ++++++
--- /var/tmp/diff_new_pack.vnUbwf/_old  2022-09-21 14:44:04.010017599 +0200
+++ /var/tmp/diff_new_pack.vnUbwf/_new  2022-09-21 14:44:04.010017599 +0200
@@ -1,8 +1,8 @@
-Index: mathgl-2.4.4+svn1661/CMakeLists.txt
+Index: mathgl-8.0.1/CMakeLists.txt
 ===================================================================
---- 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
+--- 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)
  #     set(MGL_CGI_PATH "${CMAKE_INSTALL_PREFIX}/share/mathgl")
        set(MGL_DATA_PATH "${CMAKE_INSTALL_PREFIX}/share/mathgl")

++++++ mathgl-libharu2_4-compat.patch ++++++
Index: mathgl-8.0.1/src/prc.cpp
===================================================================
--- mathgl-8.0.1.orig/src/prc.cpp
+++ mathgl-8.0.1/src/prc.cpp
@@ -36,6 +36,7 @@
 #include <hpdf.h>
 #include <hpdf_u3d.h>
 #include <hpdf_annotation.h>
+#include <hpdf_version.h>
 #endif // MGL_HAVE_PDF
 
 
@@ -959,7 +960,12 @@ void MGL_EXPORT mgl_write_prc(HMGL gr, c
                HPDF_U3D_SetDefault3DView(u3d, "DefaultView");
 
                //      Create annotation
-               annot = HPDF_Page_Create3DAnnot (page, rect, u3d );
+               annot
+#if HPDF_VERSION_ID >= 20400
+               = HPDF_Page_Create3DAnnot (page, rect, HPDF_FALSE, HPDF_FALSE, 
u3d, NULL);
+#else
+               = HPDF_Page_Create3DAnnot (page, rect, u3d);
+#endif
 
                //  Enable toolbar
                HPDF_Dict action = (HPDF_Dict)HPDF_Dict_GetItem (annot, "3DA", 
HPDF_OCLASS_DICT);

Reply via email to