From 4e3c7b391ee5a54610be96122c821c163d2e1e3967b64b9d89e67f51083665e2 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 2 Nov 2021 21:55:41 +0000 Subject: [PATCH] - Update to release 4.5 OBS-URL: https://build.opensuse.org/package/show/science/polymake?expand=0&rev=15 --- V4.4.tar.gz | 3 --- V4.5.tar.gz | 3 +++ bliss077.patch | 37 ------------------------------------- polymake.changes | 10 ++++++++++ polymake.spec | 6 +++--- 5 files changed, 16 insertions(+), 43 deletions(-) delete mode 100644 V4.4.tar.gz create mode 100644 V4.5.tar.gz delete mode 100644 bliss077.patch diff --git a/V4.4.tar.gz b/V4.4.tar.gz deleted file mode 100644 index 2693ebe..0000000 --- a/V4.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6560445a3f6d359c0d1c3a01eb3ec3f3174b3554bf33865c913082030e72c176 -size 45745607 diff --git a/V4.5.tar.gz b/V4.5.tar.gz new file mode 100644 index 0000000..018ac7d --- /dev/null +++ b/V4.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77e98f1d41ed7d0eee8e983814bcb3f1a1b2b6100420ccd432bd2e796f0bc48a +size 45802758 diff --git a/bliss077.patch b/bliss077.patch deleted file mode 100644 index c98f6c0..0000000 --- a/bliss077.patch +++ /dev/null @@ -1,37 +0,0 @@ -References: https://polymake.org/downloads/bliss077.patch - -polymake 4.4 is a bit older than bliss 0.77 and so needs a patch to -get the compilation between the two going. ---- - bundled/bliss/apps/graph/src/GraphIso.cc | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -Index: polymake-4.4/bundled/bliss/apps/graph/src/GraphIso.cc -=================================================================== ---- polymake-4.4.orig/bundled/bliss/apps/graph/src/GraphIso.cc -+++ polymake-4.4/bundled/bliss/apps/graph/src/GraphIso.cc -@@ -18,6 +18,9 @@ - #include - #include // needed for gcc 4.9, see http://gcc.gnu.org/gcc-4.9/porting_to.html - #include -+#if BLISS_VERSION_MAJOR > 0 || BLISS_VERSION_MINOR >= 76 -+#include -+#endif - #include "polymake/graph/GraphIso.h" - #include "polymake/permutations.h" - -@@ -129,7 +132,14 @@ void GraphIso::finalize(bool gather_auto - const unsigned int *perm; - if (gather_automorphisms) { - n_autom = 0; -+#if BLISS_VERSION_MAJOR > 0 || BLISS_VERSION_MINOR >= 76 -+ auto aut_fun = [this](unsigned int nn, const unsigned int* aut) { -+ impl::store_autom(this, nn, aut); -+ }; -+ perm = p_impl->src_graph->canonical_form(stats, aut_fun); -+#else - perm = p_impl->src_graph->canonical_form(stats, &impl::store_autom, this); -+#endif - } else { - perm = p_impl->src_graph->canonical_form(stats, nullptr, nullptr); - } diff --git a/polymake.changes b/polymake.changes index 56ee8fc..6d7ba87 100644 --- a/polymake.changes +++ b/polymake.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Nov 2 20:48:45 UTC 2021 - Jan Engelhardt + +- Update to release 4.5 + * Extend flint interface for computations over ZZ/nZZ. + * Fixed bug giving wrong signs of determinant occasionally + * New property type DoublyConnectedEdgeList used for Conway + notation and hyperbolic surfaces. +- Drop bliss077.patch (merged) + ------------------------------------------------------------------- Tue Jun 22 15:59:55 UTC 2021 - Jan Engelhardt diff --git a/polymake.spec b/polymake.spec index a103e19..d8538f0 100644 --- a/polymake.spec +++ b/polymake.spec @@ -16,9 +16,9 @@ # -%define lname libpolymake4_4 +%define lname libpolymake4_5 Name: polymake -Version: 4.4 +Version: 4.5 Release: 0 Summary: Application for studying combinatorics and geometry of convex polytopes License: GPL-2.0-or-later @@ -26,7 +26,6 @@ Group: Productivity/Scientific/Math URL: https://polymake.org/ Source: https://github.com/polymake/polymake/archive/V%version.tar.gz -Patch1: bliss077.patch Patch2: sympol-system.patch BuildRequires: bliss-devel BuildRequires: cddlib-devel @@ -72,6 +71,7 @@ objects, and other objects. %package devel Summary: Development files for the polymake library Group: Development/Libraries/C and C++ +Requires: %lname = %version-%release %description devel polymake is a tool to study the combinatorics and the geometry of