- Update to release 4.5
OBS-URL: https://build.opensuse.org/package/show/science/polymake?expand=0&rev=15
This commit is contained in:
parent
a6cc75b834
commit
4e3c7b391e
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6560445a3f6d359c0d1c3a01eb3ec3f3174b3554bf33865c913082030e72c176
|
||||
size 45745607
|
3
V4.5.tar.gz
Normal file
3
V4.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:77e98f1d41ed7d0eee8e983814bcb3f1a1b2b6100420ccd432bd2e796f0bc48a
|
||||
size 45802758
|
@ -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 <cstring>
|
||||
#include <cstddef> // needed for gcc 4.9, see http://gcc.gnu.org/gcc-4.9/porting_to.html
|
||||
#include <bliss/graph.hh>
|
||||
+#if BLISS_VERSION_MAJOR > 0 || BLISS_VERSION_MINOR >= 76
|
||||
+#include <bliss/digraph.hh>
|
||||
+#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);
|
||||
}
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 2 20:48:45 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- 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 <jengelh@inai.de>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user