Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gmsh for openSUSE:Factory checked in at 2022-01-09 22:50:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gmsh (Old) and /work/SRC/openSUSE:Factory/.gmsh.new.1892 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gmsh" Sun Jan 9 22:50:19 2022 rev:8 rq:945145 version:4.9.3 Changes: -------- --- /work/SRC/openSUSE:Factory/gmsh/gmsh.changes 2021-04-29 01:38:41.554603286 +0200 +++ /work/SRC/openSUSE:Factory/.gmsh.new.1892/gmsh.changes 2022-01-09 22:50:38.919309449 +0100 @@ -1,0 +2,60 @@ +Sat Jan 8 18:33:04 UTC 2022 - Stefan Br??ns <[email protected]> + +- Update to 4.9.3: + * improved handling of degenerate curves in periodic surfaces and + boundary layer extrusion + * extended Mesh.SaveGroupsOfElements capabilities for INP export + * extended Mesh.MeshSizeExtendFromBoundary + new "Extend" mesh + size field to enable alternative mesh size extensions from boundary + * enhanced X3D output + * moved all kernel sources to src/ subdirectory + * renamed demos/ as examples/ and tutorial/ as tutorials/ + * small bug fixes +- Update to 4.9.2: + * faster projection on OCC entities + * extended Mesh.SaveGroupsOfNodes capabilities for INP export + * improved transfinite meshing of surfaces with boundary on + periodic seam. +- Update to 4.9.1: + * relax tolerance on curve parametrization match for periodic meshing + * enable extruded boundary layers on generic model entities + * activate IncludeBoundary by default in Restrict field + * downgraded compiler for official Linux releases to gcc 6 to + improve compatibility with older systems + * small bug fixes (view tag generation with zero tag, model/setTag). +- Update to 4.9.0: + * new initial 2D meshing algorithm + * new quasi-structured quad algorithm + * improved handling of imperfect curve reparametrization on + surfaces in 2D periodic meshing algorithm + * mesh renumbering now also renumbers dependent post-processing views + * the mesh size callback is now per-model and its returned value + is not gathered with the other size constraints in a global min + reduction anymore: instead the callback takes as additional + argument the mesh size lc that would be prescribed in the absence + of the callback, which allows to perform any desired modification + (the old behavior can be achieved by returning min(lc, value)) + * OCC STL representation is now generated using relative deflection + tolerance + * new TransformMesh command in .geo files + * new behavior of Mesh.SaveGroupsOf{Nodes,Elements} in UNV and + INP exports + * partitioned MSH4 files now contain the full partition topology + (i.e. all partition entities) + * fixed metric calculation with Eigen (for anisotropic mesh generation) + * official binary builds now support OpenMP parallelization and are + 64 bit only (build OS upgraded to Windows 10, macOS 10.15 and + Linux glibc 2.24) + * new experimental Fortran API + * new API functions to handle view options by tag instead of by index + * color options in the API can now be specified as in .geo files, + in the form "Category.Color.Option" + * small bug fixes. +- Update to 4.8.4: + * set current model in gmsh/model/add + * small bug fixes. +- Add 0001-mpeg_encode-Do-not-free-stack-allocated-frame.patch +- Rebase link_dynamic_gl2ps.patch +- Rebase gmsh-3.0.5-add-shebang-to-onelab.patch + +------------------------------------------------------------------- Old: ---- gmsh-4.8.3-source.tgz New: ---- 0001-mpeg_encode-Do-not-free-stack-allocated-frame.patch gmsh-4.9.3-source.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gmsh.spec ++++++ --- /var/tmp/diff_new_pack.BZMDKm/_old 2022-01-09 22:50:39.667310115 +0100 +++ /var/tmp/diff_new_pack.BZMDKm/_new 2022-01-09 22:50:39.671310119 +0100 @@ -1,7 +1,7 @@ # # spec file for package gmsh # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,11 +16,11 @@ # -%define libver 4_8 +%define libver 4_9 %bcond_with static_lib %bcond_with pdf_doc Name: gmsh -Version: 4.8.3 +Version: 4.9.3 Release: 0 Summary: A three-dimensional finite element mesh generator License: GPL-2.0-or-later @@ -30,6 +30,8 @@ Patch0: link_dynamic_gl2ps.patch Patch1: gmsh-2.10.1-implicit.patch Patch2: gmsh-3.0.5-add-shebang-to-onelab.patch +# PATCH-FIX-UPSTREAM +Patch3: 0001-mpeg_encode-Do-not-free-stack-allocated-frame.patch BuildRequires: Mesa-devel BuildRequires: cgns-devel >= 3.4.0 BuildRequires: cmake >= 2.8 @@ -120,6 +122,7 @@ Requires: libgmsh%{libver} Suggests: %{name}-demos Supplements: packageand(julia:gmsh) +BuildArch: noarch %description -n gmsh-julia Gmsh is a 3D finite element grid generator with a build-in CAD engine @@ -133,6 +136,7 @@ Requires: libgmsh%{libver} Suggests: %{name}-demos Supplements: packageand(python3-base:gmsh) +BuildArch: noarch %description -n python3-gmsh Gmsh is a 3D finite element grid generator with a build-in CAD engine @@ -174,7 +178,7 @@ chmod 755 %{buildroot}/%{_bindir}/* -%fdupes %{buildroot}/%{_docdir}/%{name}/{demos,tutorial} +%fdupes %{buildroot}/%{_docdir}/%{name}/{examples,tutorials} # mv python API into python's search path, dito for julia mkdir -p %{buildroot}%{python3_sitelib} @@ -223,7 +227,7 @@ %files demos %dir %{_docdir}/%{name} -%{_docdir}/%{name}/demos -%{_docdir}/%{name}/tutorial +%{_docdir}/%{name}/examples +%{_docdir}/%{name}/tutorials %changelog ++++++ 0001-mpeg_encode-Do-not-free-stack-allocated-frame.patch ++++++ >From 57db3c77a4a52a219bffccf183659ec981d130f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <[email protected]> Date: Sat, 8 Jan 2022 12:23:30 +0000 Subject: [PATCH] mpeg_encode: Do not free() stack allocated frame Frame_Resize is only called from ReadFrame in readframe.cpp, mf/tempFrame being an object allocated on the stack. Found by GCC static analysis. --- contrib/mpeg_encode/frame.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/contrib/mpeg_encode/frame.cpp b/contrib/mpeg_encode/frame.cpp index 2ab775fcc..e80e2c6bd 100644 --- a/contrib/mpeg_encode/frame.cpp +++ b/contrib/mpeg_encode/frame.cpp @@ -124,7 +124,6 @@ else{ } /* Free memory */ free(frameA); -free(mf); } /*======================================================== * Resize_Width -- 2.34.1 ++++++ gmsh-3.0.5-add-shebang-to-onelab.patch ++++++ --- /var/tmp/diff_new_pack.BZMDKm/_old 2022-01-09 22:50:39.711310155 +0100 +++ /var/tmp/diff_new_pack.BZMDKm/_new 2022-01-09 22:50:39.715310159 +0100 @@ -5,6 +5,6 @@ @@ -1,3 +1,4 @@ +#!/usr/bin/python3 """ - ONELAB - Copyright (C) 2011-2021 Universite de Liege - Universite catholique + ONELAB - Copyright (C) 2011-2022 Universite de Liege - Universite catholique de Louvain ++++++ gmsh-4.8.3-source.tgz -> gmsh-4.9.3-source.tgz ++++++ /work/SRC/openSUSE:Factory/gmsh/gmsh-4.8.3-source.tgz /work/SRC/openSUSE:Factory/.gmsh.new.1892/gmsh-4.9.3-source.tgz differ: char 5, line 1 ++++++ link_dynamic_gl2ps.patch ++++++ --- /var/tmp/diff_new_pack.BZMDKm/_old 2022-01-09 22:50:39.743310183 +0100 +++ /var/tmp/diff_new_pack.BZMDKm/_new 2022-01-09 22:50:39.743310183 +0100 @@ -1,6 +1,6 @@ ---- gmsh-4.4.1-source/CMakeLists.txt.orig 2019-07-27 17:44:07.292674502 +0200 -+++ gmsh-4.4.1-source/CMakeLists.txt 2019-07-27 17:46:30.790134865 +0200 -@@ -1569,6 +1569,7 @@ +--- a/CMakeLists.txt 2019-07-27 17:44:07.292674502 +0200 ++++ b/CMakeLists.txt 2019-07-27 17:46:30.790134865 +0200 +@@ -1606,6 +1606,7 @@ else() set(LINK_LIBRARIES ${EXTERNAL_LIBRARIES} ${LAPACK_LIBRARIES}) endif() @@ -8,12 +8,12 @@ # try to use static gfortran on static builds (cannot do this on dynamic builds # as e.g. Debian compiles libgfortran.a without -fPIC: sigh...) ---- gmsh-4.4.1-source/Graphics/CMakeLists.txt.orig 2019-07-27 17:54:11.242820858 +0200 -+++ gmsh-4.4.1-source/Graphics/CMakeLists.txt 2019-07-27 17:54:06.198769524 +0200 +--- a/src/graphics/CMakeLists.txt 2019-07-27 17:54:11.242820858 +0200 ++++ b/src/graphics/CMakeLists.txt 2019-07-27 17:54:06.198769524 +0200 @@ -15,7 +15,6 @@ - drawScales.cpp - drawGraph2d.cpp - drawGlyph.cpp + drawScales.cpp + drawGraph2d.cpp + drawGlyph.cpp - gl2ps.cpp gl2gif.cpp gl2jpeg.cpp
