diff --git a/.gitignore b/.gitignore index c427b54..a690c0d 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,4 @@ /gmsh-4.2.1-source-fedora.tar.xz /gmsh-4.2.2-source-fedora.tar.xz /gmsh-4.2.3-source-fedora.tar.xz +/gmsh-4.3.0-source-fedora.tar.xz diff --git a/gmsh.spec b/gmsh.spec index f1a0875..8ef2415 100644 --- a/gmsh.spec +++ b/gmsh.spec @@ -3,7 +3,7 @@ Name: gmsh Summary: A three-dimensional finite element mesh generator -Version: 4.2.3 +Version: 4.3.0 Release: 1%{?dist} # gmsh is GPLv2+ with exceptions, see LICENSE.txt @@ -339,7 +339,7 @@ rm -f %{buildroot}%{_defaultdocdir}/%{name}/LICENSE.txt %files libs %license LICENSE.txt -%{_libdir}/libgmsh.so.4.2* +%{_libdir}/libgmsh.so.4.3* %files -n python3-%{name} %{python3_sitelib}/gmsh.py @@ -357,7 +357,7 @@ rm -f %{buildroot}%{_defaultdocdir}/%{name}/LICENSE.txt %files openmpi-libs %license LICENSE.txt -%{_libdir}/openmpi/lib/libgmsh.so.4.2* +%{_libdir}/openmpi/lib/libgmsh.so.4.3* %endif %if %{with mpich} @@ -372,11 +372,14 @@ rm -f %{buildroot}%{_defaultdocdir}/%{name}/LICENSE.txt %files mpich-libs %license LICENSE.txt -%{_libdir}/mpich/lib/libgmsh.so.4.2* +%{_libdir}/mpich/lib/libgmsh.so.4.3* %endif %changelog +* Fri Apr 19 2019 Sandro Mani - 4.3.0-1 +- Update to 4.3.0 + * Thu Apr 04 2019 Sandro Mani - 4.2.3-1 - Update to 4.2.3 diff --git a/gmsh_build.patch b/gmsh_build.patch index 58a4a2f..06247ed 100644 --- a/gmsh_build.patch +++ b/gmsh_build.patch @@ -1,6 +1,6 @@ -diff -rupN gmsh-4.2.3-source/Common/CommandLine.cpp gmsh-4.2.3-source-new/Common/CommandLine.cpp ---- gmsh-4.2.3-source/Common/CommandLine.cpp 2019-04-04 10:31:13.469381388 +0200 -+++ gmsh-4.2.3-source-new/Common/CommandLine.cpp 2019-04-04 10:31:13.471381345 +0200 +diff -rupN gmsh-4.3.0-source/Common/CommandLine.cpp gmsh-4.3.0-source-new/Common/CommandLine.cpp +--- gmsh-4.3.0-source/Common/CommandLine.cpp 2019-04-19 22:52:22.064137747 +0200 ++++ gmsh-4.3.0-source-new/Common/CommandLine.cpp 2019-04-19 22:52:22.067137724 +0200 @@ -22,15 +22,6 @@ #include "GmshGlobal.h" #include "StringUtils.h" @@ -33,9 +33,9 @@ diff -rupN gmsh-4.2.3-source/Common/CommandLine.cpp gmsh-4.2.3-source-new/Common int GetGmshMajorVersion(){ return GMSH_MAJOR_VERSION; } int GetGmshMinorVersion(){ return GMSH_MINOR_VERSION; } int GetGmshPatchVersion(){ return GMSH_PATCH_VERSION; } -diff -rupN gmsh-4.2.3-source/Fltk/helpWindow.cpp gmsh-4.2.3-source-new/Fltk/helpWindow.cpp ---- gmsh-4.2.3-source/Fltk/helpWindow.cpp 2019-04-04 10:31:13.469381388 +0200 -+++ gmsh-4.2.3-source-new/Fltk/helpWindow.cpp 2019-04-04 10:31:13.471381345 +0200 +diff -rupN gmsh-4.3.0-source/Fltk/helpWindow.cpp gmsh-4.3.0-source-new/Fltk/helpWindow.cpp +--- gmsh-4.3.0-source/Fltk/helpWindow.cpp 2019-04-19 22:52:22.064137747 +0200 ++++ gmsh-4.3.0-source-new/Fltk/helpWindow.cpp 2019-04-19 22:52:22.067137724 +0200 @@ -3,13 +3,18 @@ // See the LICENSE.txt file for license information. Please report all // issues on https://gitlab.onelab.info/gmsh/gmsh/issues. diff --git a/gmsh_c++14.patch b/gmsh_c++14.patch index 07b4d80..1ab0d51 100644 --- a/gmsh_c++14.patch +++ b/gmsh_c++14.patch @@ -1,6 +1,6 @@ -diff -rupN gmsh-4.2.3-source/CMakeLists.txt gmsh-4.2.3-source-new/CMakeLists.txt ---- gmsh-4.2.3-source/CMakeLists.txt 2019-04-04 10:31:13.245386157 +0200 -+++ gmsh-4.2.3-source-new/CMakeLists.txt 2019-04-04 10:31:13.248386094 +0200 +diff -rupN gmsh-4.3.0-source/CMakeLists.txt gmsh-4.3.0-source-new/CMakeLists.txt +--- gmsh-4.3.0-source/CMakeLists.txt 2019-04-19 22:52:21.843139438 +0200 ++++ gmsh-4.3.0-source-new/CMakeLists.txt 2019-04-19 22:52:21.845139422 +0200 @@ -43,7 +43,7 @@ opt(BUILD_ANDROID "Enable Android NDK li opt(BUILD_IOS "Enable iOS library target (experimental)" OFF) opt(CGNS "Enable CGNS mesh import (experimental)" ${DEFAULT}) diff --git a/gmsh_install.patch b/gmsh_install.patch index 257a0d1..87136fe 100644 --- a/gmsh_install.patch +++ b/gmsh_install.patch @@ -1,6 +1,6 @@ -diff -rupN gmsh-4.2.3-source/CMakeLists.txt gmsh-4.2.3-source-new/CMakeLists.txt ---- gmsh-4.2.3-source/CMakeLists.txt 2019-04-04 10:31:13.678376937 +0200 -+++ gmsh-4.2.3-source-new/CMakeLists.txt 2019-04-04 10:31:13.680376895 +0200 +diff -rupN gmsh-4.3.0-source/CMakeLists.txt gmsh-4.3.0-source-new/CMakeLists.txt +--- gmsh-4.3.0-source/CMakeLists.txt 2019-04-19 22:52:22.283136047 +0200 ++++ gmsh-4.3.0-source-new/CMakeLists.txt 2019-04-19 22:52:22.285136031 +0200 @@ -1820,7 +1820,7 @@ endif() if(ENABLE_BUILD_SHARED OR ENABLE_BUILD_DYNAMIC) install(TARGETS shared DESTINATION ${GMSH_LIB} OPTIONAL) diff --git a/gmsh_julia.patch b/gmsh_julia.patch index 0fbca53..d9894ed 100644 --- a/gmsh_julia.patch +++ b/gmsh_julia.patch @@ -1,6 +1,6 @@ -diff -rupN gmsh-4.2.3-source/CMakeLists.txt gmsh-4.2.3-source-new/CMakeLists.txt ---- gmsh-4.2.3-source/CMakeLists.txt 2019-04-04 10:31:13.362383666 +0200 -+++ gmsh-4.2.3-source-new/CMakeLists.txt 2019-04-04 10:31:13.576379109 +0200 +diff -rupN gmsh-4.3.0-source/CMakeLists.txt gmsh-4.3.0-source-new/CMakeLists.txt +--- gmsh-4.3.0-source/CMakeLists.txt 2019-04-19 22:52:21.954138594 +0200 ++++ gmsh-4.3.0-source-new/CMakeLists.txt 2019-04-19 22:52:22.177136870 +0200 @@ -1829,7 +1829,7 @@ endif() if(ENABLE_BUILD_LIB OR ENABLE_BUILD_SHARED OR ENABLE_BUILD_DYNAMIC) install(FILES ${GMSH_API} DESTINATION ${GMSH_INC}) diff --git a/gmsh_med.patch b/gmsh_med.patch index 02c78c4..03da40c 100644 --- a/gmsh_med.patch +++ b/gmsh_med.patch @@ -1,6 +1,6 @@ -diff -rupN gmsh-4.2.3-source/Common/CommandLine.cpp gmsh-4.2.3-source-new/Common/CommandLine.cpp ---- gmsh-4.2.3-source/Common/CommandLine.cpp 2019-03-14 10:43:45.000000000 +0100 -+++ gmsh-4.2.3-source-new/Common/CommandLine.cpp 2019-04-04 10:31:13.364383623 +0200 +diff -rupN gmsh-4.3.0-source/Common/CommandLine.cpp gmsh-4.3.0-source-new/Common/CommandLine.cpp +--- gmsh-4.3.0-source/Common/CommandLine.cpp 2019-03-14 10:43:45.000000000 +0100 ++++ gmsh-4.3.0-source-new/Common/CommandLine.cpp 2019-04-19 22:52:21.956138579 +0200 @@ -40,7 +40,7 @@ #endif @@ -10,9 +10,9 @@ diff -rupN gmsh-4.2.3-source/Common/CommandLine.cpp gmsh-4.2.3-source-new/Common #endif #if defined(HAVE_POST) -diff -rupN gmsh-4.2.3-source/Fltk/helpWindow.cpp gmsh-4.2.3-source-new/Fltk/helpWindow.cpp ---- gmsh-4.2.3-source/Fltk/helpWindow.cpp 2019-03-14 10:43:46.000000000 +0100 -+++ gmsh-4.2.3-source-new/Fltk/helpWindow.cpp 2019-04-04 10:31:13.364383623 +0200 +diff -rupN gmsh-4.3.0-source/Fltk/helpWindow.cpp gmsh-4.3.0-source-new/Fltk/helpWindow.cpp +--- gmsh-4.3.0-source/Fltk/helpWindow.cpp 2019-03-14 10:43:46.000000000 +0100 ++++ gmsh-4.3.0-source-new/Fltk/helpWindow.cpp 2019-04-19 22:52:21.956138579 +0200 @@ -34,7 +34,7 @@ #endif @@ -22,9 +22,9 @@ diff -rupN gmsh-4.2.3-source/Fltk/helpWindow.cpp gmsh-4.2.3-source-new/Fltk/help #endif static const char *help_link(Fl_Widget *w, const char *uri) -diff -rupN gmsh-4.2.3-source/Geo/GModelIO_MED.cpp gmsh-4.2.3-source-new/Geo/GModelIO_MED.cpp ---- gmsh-4.2.3-source/Geo/GModelIO_MED.cpp 2019-03-14 10:43:46.000000000 +0100 -+++ gmsh-4.2.3-source-new/Geo/GModelIO_MED.cpp 2019-04-04 10:31:13.364383623 +0200 +diff -rupN gmsh-4.3.0-source/Geo/GModelIO_MED.cpp gmsh-4.3.0-source-new/Geo/GModelIO_MED.cpp +--- gmsh-4.3.0-source/Geo/GModelIO_MED.cpp 2019-04-11 22:55:54.000000000 +0200 ++++ gmsh-4.3.0-source-new/Geo/GModelIO_MED.cpp 2019-04-19 22:52:21.957138571 +0200 @@ -26,7 +26,7 @@ #include "discreteVertex.h" #include "Context.h" @@ -34,9 +34,9 @@ diff -rupN gmsh-4.2.3-source/Geo/GModelIO_MED.cpp gmsh-4.2.3-source-new/Geo/GMod #if(MED_MAJOR_NUM >= 3) // To avoid too many ifdefs below we use defines for the bits of the -diff -rupN gmsh-4.2.3-source/Post/PViewDataGModelIO.cpp gmsh-4.2.3-source-new/Post/PViewDataGModelIO.cpp ---- gmsh-4.2.3-source/Post/PViewDataGModelIO.cpp 2019-04-03 15:24:30.000000000 +0200 -+++ gmsh-4.2.3-source-new/Post/PViewDataGModelIO.cpp 2019-04-04 10:31:13.364383623 +0200 +diff -rupN gmsh-4.3.0-source/Post/PViewDataGModelIO.cpp gmsh-4.3.0-source-new/Post/PViewDataGModelIO.cpp +--- gmsh-4.3.0-source/Post/PViewDataGModelIO.cpp 2019-04-19 08:40:45.000000000 +0200 ++++ gmsh-4.3.0-source-new/Post/PViewDataGModelIO.cpp 2019-04-19 22:52:21.957138571 +0200 @@ -469,7 +469,7 @@ void PViewDataGModel::importLists(int N[ #if defined(HAVE_MED) diff --git a/gmsh_python.patch b/gmsh_python.patch index be92312..3bd8292 100644 --- a/gmsh_python.patch +++ b/gmsh_python.patch @@ -1,6 +1,6 @@ -diff -rupN gmsh-4.2.3-source/CMakeLists.txt gmsh-4.2.3-source-new/CMakeLists.txt ---- gmsh-4.2.3-source/CMakeLists.txt 2019-03-29 12:21:48.000000000 +0100 -+++ gmsh-4.2.3-source-new/CMakeLists.txt 2019-04-04 10:31:13.131388585 +0200 +diff -rupN gmsh-4.3.0-source/CMakeLists.txt gmsh-4.3.0-source-new/CMakeLists.txt +--- gmsh-4.3.0-source/CMakeLists.txt 2019-04-19 08:40:44.000000000 +0200 ++++ gmsh-4.3.0-source-new/CMakeLists.txt 2019-04-19 22:52:21.724140342 +0200 @@ -1801,6 +1801,8 @@ else() set(GMSH_INC ${CMAKE_INSTALL_INCLUDEDIR}) endif() @@ -24,9 +24,9 @@ diff -rupN gmsh-4.2.3-source/CMakeLists.txt gmsh-4.2.3-source-new/CMakeLists.txt install(FILES ${GMSH_JL} DESTINATION ${GMSH_LIB}) if(ENABLE_PRIVATE_API) install(FILES ${GMSH_PRIVATE_API} DESTINATION ${GMSH_INC}/gmsh) -diff -rupN gmsh-4.2.3-source/Common/GmshMessage.cpp gmsh-4.2.3-source-new/Common/GmshMessage.cpp ---- gmsh-4.2.3-source/Common/GmshMessage.cpp 2019-03-14 10:43:45.000000000 +0100 -+++ gmsh-4.2.3-source-new/Common/GmshMessage.cpp 2019-04-04 10:31:13.132388564 +0200 +diff -rupN gmsh-4.3.0-source/Common/GmshMessage.cpp gmsh-4.3.0-source-new/Common/GmshMessage.cpp +--- gmsh-4.3.0-source/Common/GmshMessage.cpp 2019-04-19 08:40:44.000000000 +0200 ++++ gmsh-4.3.0-source-new/Common/GmshMessage.cpp 2019-04-19 22:52:21.724140342 +0200 @@ -154,12 +154,6 @@ void Msg::Init(int argc, char **argv) if(CTX::instance()->exeFileName.empty() && argc && argv) CTX::instance()->exeFileName = argv[0]; diff --git a/sources b/sources index fcb9350..3ae1f6c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gmsh-4.2.3-source-fedora.tar.xz) = 4859473a2dec4af97a0d427d1ed76d38d493220da0dfb88427a79e1d7d529f1f35b9095eb6b3c828c83f029cf385fcd9027aa6ca4ee7b9a2add5807e49363904 +SHA512 (gmsh-4.3.0-source-fedora.tar.xz) = 5fddab82c6bd6c812fce6e6789b8ef22fdb8b9b5630b9fc167d0c75c2eef2a8cb537dc2794f33079fb780dd6edb520699718f120e1ae04c24872e008cfc04e30