commit gmsh for openSUSE:Factory

2020-06-08 Thread root
Hello community,

here is the log from the commit of package gmsh for openSUSE:Factory checked in 
at 2020-06-09 00:04:59

Comparing /work/SRC/openSUSE:Factory/gmsh (Old)
 and  /work/SRC/openSUSE:Factory/.gmsh.new.3606 (New)


Package is "gmsh"

Tue Jun  9 00:04:59 2020 rev:5 rq:812371 version:4.5.6

Changes:

--- /work/SRC/openSUSE:Factory/gmsh/gmsh.changes2020-04-11 
23:49:47.219237362 +0200
+++ /work/SRC/openSUSE:Factory/.gmsh.new.3606/gmsh.changes  2020-06-09 
00:06:29.889681045 +0200
@@ -1,0 +2,10 @@
+Sun Jun  7 23:07:15 UTC 2020 - Stefan Brüns 
+
+- Fix failing build due to GCC10 catching redefinitions, add
+  * move-globals-to-mmg3d-c.patch
+  * 0001-MMG3D-Remove-some-duplicated-variables-from-global-s.patch
+  * 0002-Remove-non-namespaced-endcod-function-duplicates-MMG.patch
+  * 0003-Define-global-variables-mostly-used-by-MMG_analar-in.patch
+- Use OCC OpenCASCADE variant, like FreeCAD. OCE is mostly dormant.
+
+---

New:

  0001-MMG3D-Remove-some-duplicated-variables-from-global-s.patch
  0002-Remove-non-namespaced-endcod-function-duplicates-MMG.patch
  0003-Define-global-variables-mostly-used-by-MMG_analar-in.patch
  move-globals-to-mmg3d-c.patch



Other differences:
--
++ gmsh.spec ++
--- /var/tmp/diff_new_pack.LtrSYO/_old  2020-06-09 00:06:33.685694512 +0200
+++ /var/tmp/diff_new_pack.LtrSYO/_new  2020-06-09 00:06:33.689694526 +0200
@@ -29,7 +29,15 @@
 Source0:https://gmsh.info/src/gmsh-%{version}-source.tgz
 Patch0: link_dynamic_gl2ps.patch
 Patch1: gmsh-2.10.1-implicit.patch
-Patch6: gmsh-3.0.5-add-shebang-to-onelab.patch
+Patch2: gmsh-3.0.5-add-shebang-to-onelab.patch
+# PATCH-FIX-UPSTREAM -- fix build with GCC 10
+Patch3: move-globals-to-mmg3d-c.patch
+# PATCH-FIX-UPSTREAM -- fix build with GCC 10
+Patch4: 0001-MMG3D-Remove-some-duplicated-variables-from-global-s.patch
+# PATCH-FIX-UPSTREAM -- fix build with GCC 10
+Patch5: 0002-Remove-non-namespaced-endcod-function-duplicates-MMG.patch
+# PATCH-FIX-UPSTREAM -- fix build with GCC 10
+Patch6: 0003-Define-global-variables-mostly-used-by-MMG_analar-in.patch
 BuildRequires:  Mesa-devel
 BuildRequires:  bison
 BuildRequires:  blas-devel
@@ -48,7 +56,7 @@
 BuildRequires:  libpng-devel
 BuildRequires:  makeinfo
 BuildRequires:  metis-devel
-BuildRequires:  oce-devel
+BuildRequires:  occt-devel
 BuildRequires:  python-rpm-macros
 BuildRequires:  zlib-devel
 %if %{with pdf_doc}
@@ -148,6 +156,10 @@
 %setup -q -n %{name}-%{version}-source
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
 %patch6 -p1
 
 %build

++ 0001-MMG3D-Remove-some-duplicated-variables-from-global-s.patch ++
>From 80463d69cbd9fcf76c42f1843316ba5574c95fac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= 
Date: Mon, 8 Jun 2020 02:03:28 +0200
Subject: [PATCH 1/3] MMG3D: Remove some duplicated variables from global scope

---
 contrib/mmg3d/build/sources/analar.c | 6 --
 contrib/mmg3d/build/sources/mmg3d1.c | 1 -
 contrib/mmg3d/build/sources/mmg3d4.c | 3 ---
 3 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/contrib/mmg3d/build/sources/analar.c 
b/contrib/mmg3d/build/sources/analar.c
index 4f56e8e3f..cf032cae0 100644
--- a/contrib/mmg3d/build/sources/analar.c
+++ b/contrib/mmg3d/build/sources/analar.c
@@ -50,11 +50,13 @@ along with MMG3D. If not, see 
.
 
 #define EPS4  1.e-04
 
-extern int MMG_npuiss,MMG_nvol,MMG_npres;
 extern int MMG_nlen,MMG_ncal,MMG_ntopo,MMG_nex;
 extern int MMG_npuisstot,MMG_nvoltot,MMG_nprestot;
 extern int MMG_npdtot;
-   int MMG_nplen,MMG_npref,MMG_bouffe;
+
+int MMG_npuiss,MMG_nvol,MMG_npres;
+
+static int MMG_nplen,MMG_npref,MMG_bouffe;
 
 int MMG_interp_ani(double *ma,double *mb,double *mp,double t) {
   double   dma[6],dmb[6],mai[6],mbi[6],mi[6];
diff --git a/contrib/mmg3d/build/sources/mmg3d1.c 
b/contrib/mmg3d/build/sources/mmg3d1.c
index 68e18083a..3408e41d3 100644
--- a/contrib/mmg3d/build/sources/mmg3d1.c
+++ b/contrib/mmg3d/build/sources/mmg3d1.c
@@ -48,7 +48,6 @@ along with MMG3D. If not, see .
 extern TIM_mytime MMG_ctim[TIMEMAX];
 
 int MMG_npdtot,MMG_npuisstot,MMG_nvoltot,MMG_nprestot;
-int MMG_npuiss,MMG_nvol,MMG_npres,MMG_npd;
 
 int MMG_cendellong(pMesh mesh,pSol sol,double declic,int base);
 
diff --git a/contrib/mmg3d/build/sources/mmg3d4.c 
b/contrib/mmg3d/build/sources/mmg3d4.c
index 67791e2f8..395b01112 100644
--- a/contrib/mmg3d/build/sources/mmg3d4.c
+++ b/contrib/mmg3d/build/sources/mmg3d4.c
@@ -45,11 +45,8 @@ along with MMG3D. If not, see .
 *

commit gmsh for openSUSE:Factory

2020-04-11 Thread root
Hello community,

here is the log from the commit of package gmsh for openSUSE:Factory checked in 
at 2020-04-11 23:48:22

Comparing /work/SRC/openSUSE:Factory/gmsh (Old)
 and  /work/SRC/openSUSE:Factory/.gmsh.new.3248 (New)


Package is "gmsh"

Sat Apr 11 23:48:22 2020 rev:4 rq:793227 version:4.5.6

Changes:

--- /work/SRC/openSUSE:Factory/gmsh/gmsh.changes2020-02-05 
19:43:48.375327821 +0100
+++ /work/SRC/openSUSE:Factory/.gmsh.new.3248/gmsh.changes  2020-04-11 
23:49:47.219237362 +0200
@@ -1,0 +2,31 @@
+Tue Apr  7 08:43:01 UTC 2020 - Stefan Brüns 
+
+- Update to 4.5.6:
+  * better calculation of OCC bounding boxes using STL
+  * API tutorials
+  * small bug fixes
+- Update to 4.5.5:
+  * tooltips in GUI to help discovery of scripting options
+  * fixed MED IO of high-order elements
+  * fixed OCC attribute search by bounding box
+  * fix parsing of mac-encoded scripts
+  * new RecombineMesh command
+  * added support for extrusion of mixed-dimension entities with OCC
+  * small bug fixes
+- Update to 4.5.4:
+  * periodic mesh optimization now ensures that the master mesh is
+not modified
+  * code cleanup
+  * small bug fixes
+- Update to 4.5.3:
+  * improved positioning of corresponding nodes on periodic entities
+  * improved LaTeX output
+  * improved curve splitting in reparametrization
+  * new binary PLY reader
+  * small compilation fixes.
+- Drop upstreamed patches:
+  * 0001-Fix-ODR-violations-move-private-classes-into-anonymo.patch
+  * 0002-Fix-two-definition-mismatches-in-contrib-mmg3d.patch
+  * 0001-Add-two-missing-header-includes-in-GModelIO_OCC.patch
+
+---

Old:

  0001-Add-two-missing-header-includes-in-GModelIO_OCC.patch
  0001-Fix-ODR-violations-move-private-classes-into-anonymo.patch
  0002-Fix-two-definition-mismatches-in-contrib-mmg3d.patch
  gmsh-4.5.2-source.tgz

New:

  gmsh-4.5.6-source.tgz



Other differences:
--
++ gmsh.spec ++
--- /var/tmp/diff_new_pack.LKdUBN/_old  2020-04-11 23:49:47.931237904 +0200
+++ /var/tmp/diff_new_pack.LKdUBN/_new  2020-04-11 23:49:47.931237904 +0200
@@ -20,7 +20,7 @@
 %bcond_with static_lib
 %bcond_with pdf_doc
 Name:   gmsh
-Version:4.5.2
+Version:4.5.6
 Release:0
 Summary:A three-dimensional finite element mesh generator
 License:GPL-2.0-or-later
@@ -30,12 +30,6 @@
 Patch0: link_dynamic_gl2ps.patch
 Patch1: gmsh-2.10.1-implicit.patch
 Patch6: gmsh-3.0.5-add-shebang-to-onelab.patch
-# PATCH-FIX-UPSTREAM -- https://gitlab.onelab.info/gmsh/gmsh/issues/739
-Patch7: 0001-Fix-ODR-violations-move-private-classes-into-anonymo.patch
-# PATCH-FIX-UPSTREAM -- https://gitlab.onelab.info/gmsh/gmsh/issues/740
-Patch8: 0002-Fix-two-definition-mismatches-in-contrib-mmg3d.patch
-# PATCH-FIX-UPSTREAM -- https://gitlab.onelab.info/gmsh/gmsh/issues/741
-Patch9: 0001-Add-two-missing-header-includes-in-GModelIO_OCC.patch
 BuildRequires:  Mesa-devel
 BuildRequires:  bison
 BuildRequires:  blas-devel
@@ -45,7 +39,7 @@
 BuildRequires:  flex
 BuildRequires:  fltk-devel >= 1.1.7
 BuildRequires:  gcc-c++
-BuildRequires:  gl2ps-devel
+BuildRequires:  gl2ps-devel >= 1.4.1
 BuildRequires:  glu-devel
 BuildRequires:  gmp-devel
 BuildRequires:  hdf5-devel
@@ -67,7 +61,9 @@
 
 %package -n libgmsh%{libver}
 Summary:A three-dimensional finite element mesh generator
+# Added API in 1.4.1
 Group:  System/Libraries
+Requires:   libgl2ps1 >= 1.4.1
 
 %description -n libgmsh%{libver}
 Gmsh is a 3D finite element grid generator with a build-in CAD engine
@@ -153,9 +149,6 @@
 %patch0 -p1
 %patch1 -p1
 %patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
 
 %build
 %cmake \

++ gmsh-4.5.2-source.tgz -> gmsh-4.5.6-source.tgz ++
/work/SRC/openSUSE:Factory/gmsh/gmsh-4.5.2-source.tgz 
/work/SRC/openSUSE:Factory/.gmsh.new.3248/gmsh-4.5.6-source.tgz differ: char 5, 
line 1




commit gmsh for openSUSE:Factory

2020-02-05 Thread root
Hello community,

here is the log from the commit of package gmsh for openSUSE:Factory checked in 
at 2020-02-05 19:42:51

Comparing /work/SRC/openSUSE:Factory/gmsh (Old)
 and  /work/SRC/openSUSE:Factory/.gmsh.new.26092 (New)


Package is "gmsh"

Wed Feb  5 19:42:51 2020 rev:3 rq:770099 version:4.5.2

Changes:

--- /work/SRC/openSUSE:Factory/gmsh/gmsh.changes2019-09-16 
10:53:27.747148451 +0200
+++ /work/SRC/openSUSE:Factory/.gmsh.new.26092/gmsh.changes 2020-02-05 
19:43:48.375327821 +0100
@@ -1,0 +2,69 @@
+Tue Feb  4 20:17:40 UTC 2020 - Stefan Brüns 
+
+- Move Python and Julia bindings for the public gmsh API to
+  separate packages.
+- Remove any references to the unmaintained, swig based
+  bindings.
+
+---
+Mon Feb  3 22:37:06 UTC 2020 - Stefan Brüns 
+
+- Update to 4.5.2:
+  + periodic meshes now obey reorientation constraints
+  + physical group definitions now follow compound meshing
+constraints
+  + small bug fixes and improvements
+- Update to 4.5.1:
+  + new Min and Max commands in .geo files
+  + Mesh.MinimumCirclePoints now behaves the same with all
+geometry kernels
+  + fixed issue with UTF16-encoded home directories on Windows.
+- Update to 4.5.0:
+  + changed default 2D meshing algorithm to Frontal-Delaunay
+  + new compound Spline/BSpline commands
+  + new MeshSizeFromBoundary command
+  + new CGNS importer/exporter
+  + new X3D exporter for geometries and meshes
+  + improved surface mesh reclassification
+  + new separate option to govern curvature adapted meshes
+(Mesh.MinimumElementsPerTwoPi and "-clcurv val")
+  + improved handling of anisotropic surface meshes in 3D Delaunay
+  + improved high-order periodic meshing
+  + improved 2D boolean unions
+  + file chooser type is now changeable at runtime
+  + FLTK GUI can now be created and destroyed at will through the api
+  + fixed regression in MeshAdapt for non-periodic surfaces with
+singularities
+  + combining views now copies options
+  + added API support for mesh compounds, per-surface mesh algorithm
+and mesh size from boundary
+  + renamed plugin AnalyseCurvedMesh to AnalyseMeshQuality
+  + fixed regression for built-in kernel BSplines on non-flat
+geometries (Sphere, PolarSphere)
+  + small fixes and improvements.
+- Add 0001-Add-two-missing-header-includes-in-GModelIO_OCC.patch
+- Incompatible API changes:
+  + removed mesh/smooth (now handled by mesh/optimize like all
+other mesh optimizers)
+  + renamed logger/time to logger/getWallTime and logger/cputime
+to logger/getCpuTime
+  + new arguments to mesh/optimize, mesh/getElementProperties and
+occ/healShapes
+  + added optional argument to mesh/classifySurfaces and view/combine.
+- Enable OpenMP support
+- Cleanup spec file:
+  + remove no longer relevant gmsh-3.0.5-doc-building.patch
+  + rename and rebase gmsh-3.0.5-add-shebang-to-onelib.patch to
+gmsh-3.0.5-add-shebang-to-onelab.patch
+  + run fdupes over demos and tutorials.
+- Fix license, GPL-2.0-or-later, not GPL-2.0-only
+- Fix Source: URL
+- Reenable LTO, no more linker segfaults
+
+---
+Mon Feb  3 04:11:24 UTC 2020 - Steve Kowalik 
+
+- Switch python-devel BuildRequires to python3-devel.
+- Run spec-cleaner over the specfile.
+
+---

Old:

  gmsh-3.0.5-add-shebang-to-onelib.patch
  gmsh-3.0.5-doc-building.patch
  gmsh-4.4.1-source.tgz

New:

  0001-Add-two-missing-header-includes-in-GModelIO_OCC.patch
  gmsh-3.0.5-add-shebang-to-onelab.patch
  gmsh-4.5.2-source.tgz



Other differences:
--
++ gmsh.spec ++
--- /var/tmp/diff_new_pack.yaOZMm/_old  2020-02-05 19:43:49.831328514 +0100
+++ /var/tmp/diff_new_pack.yaOZMm/_new  2020-02-05 19:43:49.831328514 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gmsh
 #
-# Copyright (c) 2019 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,40 +15,38 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-%define libver 4_4
+
+%define libver 4_5
 %bcond_with static_lib
-%bcond_with python_bindings
 %bcond_with pdf_doc
-
 Name:   gmsh
+Version:4.5.2
+Release:0
 Summary:A three-dimensional finite element mesh generator
-License:GPL-2.0
+License:GPL-2.0-or-later
 Group:  Productivity/Scientific/Math
-Version:4.4.1
-Release:0
-Url:http://gmsh.info/
-Source0:http://gmsh.info/src/gmsh-%{versio

commit gmsh for openSUSE:Factory

2019-09-16 Thread root
Hello community,

here is the log from the commit of package gmsh for openSUSE:Factory checked in 
at 2019-09-16 10:53:23

Comparing /work/SRC/openSUSE:Factory/gmsh (Old)
 and  /work/SRC/openSUSE:Factory/.gmsh.new.7948 (New)


Package is "gmsh"

Mon Sep 16 10:53:23 2019 rev:2 rq:731076 version:4.4.1

Changes:

--- /work/SRC/openSUSE:Factory/gmsh/gmsh.changes2019-09-07 
11:46:26.358333541 +0200
+++ /work/SRC/openSUSE:Factory/.gmsh.new.7948/gmsh.changes  2019-09-16 
10:53:27.747148451 +0200
@@ -1,0 +2,5 @@
+Sun Sep 15 03:07:57 UTC 2019 - Bernhard Wiedemann 
+
+- Override build host name to make package build reproducible (boo#1084909)
+
+---



Other differences:
--
++ gmsh.spec ++
--- /var/tmp/diff_new_pack.NqvJJf/_old  2019-09-16 10:53:28.295148380 +0200
+++ /var/tmp/diff_new_pack.NqvJJf/_new  2019-09-16 10:53:28.299148380 +0200
@@ -147,6 +147,8 @@
   -DENABLE_BUILD_DYNAMIC:BOOL=ON \
   -DENABLE_SYSTEM_CONTRIB:BOOL=ON \
   -DENABLE_BUILD_LIB:BOOL=%{?with static_lib:ON}%{!?with static_lib:OFF} \
+  -DPACKAGER=OBS \
+  -DGMSH_HOST=OBS \
 
 # build libs/binaries
 make %{?_smp_mflags} all