From 4d75ffd5b3f631f4eb68e7b0aafab245bc4346c4e2c506f836f02edd524b6bab Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 24 Sep 2024 16:29:00 +0200 Subject: [PATCH 1/7] polymake 4.13 --- V4.12.tar.gz | 3 --- polymake-4.13-minimal.tar.bz2 | 3 +++ polymake.changes | 6 ++++++ polymake.spec | 7 ++++--- 4 files changed, 13 insertions(+), 6 deletions(-) delete mode 100644 V4.12.tar.gz create mode 100644 polymake-4.13-minimal.tar.bz2 diff --git a/V4.12.tar.gz b/V4.12.tar.gz deleted file mode 100644 index 7165ea1..0000000 --- a/V4.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:271b73027114ef6d311ef501ecadb0d632501fd9f72d16efd5905db128ba5e20 -size 47556117 diff --git a/polymake-4.13-minimal.tar.bz2 b/polymake-4.13-minimal.tar.bz2 new file mode 100644 index 0000000..0491a5b --- /dev/null +++ b/polymake-4.13-minimal.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3adacd063b9ea60d5e9c37c6183f5dbb7458b0cb3491eba3efc38f20c565ceb +size 7338096 diff --git a/polymake.changes b/polymake.changes index 7d15469..725fa31 100644 --- a/polymake.changes +++ b/polymake.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 24 14:28:29 UTC 2024 - Jan Engelhardt + +- Update to release 4.13 + * Support for Perl 5.40 and -std=c++20 builds + ------------------------------------------------------------------- Sun Aug 18 22:05:59 UTC 2024 - Jan Engelhardt diff --git a/polymake.spec b/polymake.spec index aa88f3f..791a966 100644 --- a/polymake.spec +++ b/polymake.spec @@ -16,16 +16,17 @@ # -%define lname libpolymake4_12 +%define lname libpolymake4_13 Name: polymake -Version: 4.12 +Version: 4.13 Release: 0 Summary: Application for studying combinatorics and geometry of convex polytopes License: GPL-2.0-or-later Group: Productivity/Scientific/Math URL: https://polymake.org/ -Source: https://github.com/polymake/polymake/archive/V%version.tar.gz +Source: https://github.com/polymake/polymake/releases/download/V4.13/polymake-4.13-minimal.tar.bz2 +Source: polymake-4.13-minimal.tar.bz2 Source9: %name-rpmlintrc Patch2: sympol-system.patch Patch3: perl.patch -- 2.51.1 From d8d5e7cbb2b7dae73f967fb25250fd436e8117c8af290c057681c26815ff8759 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 22 Jun 2025 22:52:33 +0200 Subject: [PATCH 2/7] Add gcc15.patch --- gcc15.patch | 24 ++++++++++++++++++++++++ polymake.changes | 5 +++++ polymake.spec | 3 ++- 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 gcc15.patch diff --git a/gcc15.patch b/gcc15.patch new file mode 100644 index 0000000..cb1f796 --- /dev/null +++ b/gcc15.patch @@ -0,0 +1,24 @@ +From: Jan Engelhardt +Date: 2025-06-22 22:33:35.286193495 +0200 + +gcc-15 seems to come with fewer implicit cross-inclusions between headers. + +[ 41s] /home/abuild/rpmbuild/BUILD/polymake-4.13-build/polymake-4.13/include/core/polymake/internal/comparators.h:285:40: error: ‘uint64_t’ was not declared in this scope +[ 41s] 285 | std::enable_if_t hash_combine(SizeT& h, SizeT k) + +--- + include/core/polymake/internal/comparators.h | 1 + + 1 file changed, 1 insertion(+) + +Index: polymake-4.13/include/core/polymake/internal/comparators.h +=================================================================== +--- polymake-4.13.orig/include/core/polymake/internal/comparators.h ++++ polymake-4.13/include/core/polymake/internal/comparators.h +@@ -17,6 +17,7 @@ + + #pragma once + ++#include + #include "polymake/internal/comparators_ops.h" + #include "polymake/internal/matrix_rows_cols.h" + #include "polymake/TransformedContainer.h" diff --git a/polymake.changes b/polymake.changes index 725fa31..ad70f91 100644 --- a/polymake.changes +++ b/polymake.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jun 22 20:52:12 UTC 2025 - Jan Engelhardt + +- Add gcc15.patch + ------------------------------------------------------------------- Tue Sep 24 14:28:29 UTC 2024 - Jan Engelhardt diff --git a/polymake.spec b/polymake.spec index 791a966..c80fb26 100644 --- a/polymake.spec +++ b/polymake.spec @@ -1,7 +1,7 @@ # # spec file for package polymake # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,6 +30,7 @@ Source: polymake-4.13-minimal.tar.bz2 Source9: %name-rpmlintrc Patch2: sympol-system.patch Patch3: perl.patch +Patch4: gcc15.patch BuildRequires: bliss-devel BuildRequires: cddlib-devel BuildRequires: fdupes -- 2.51.1 From 0901dfa2148b9fe3855692b4e4f53f1c8496dd68eabaf12c5179afb64f48ba2a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 5 Jul 2025 16:23:52 +0200 Subject: [PATCH 3/7] polymake 4.14 --- gcc15.patch | 24 ------------------------ polymake-4.13-minimal.tar.bz2 | 3 --- polymake-4.14-minimal.tar.bz2 | 3 +++ polymake.changes | 10 ++++++++++ polymake.spec | 26 ++++++++++++++------------ 5 files changed, 27 insertions(+), 39 deletions(-) delete mode 100644 gcc15.patch delete mode 100644 polymake-4.13-minimal.tar.bz2 create mode 100644 polymake-4.14-minimal.tar.bz2 diff --git a/gcc15.patch b/gcc15.patch deleted file mode 100644 index cb1f796..0000000 --- a/gcc15.patch +++ /dev/null @@ -1,24 +0,0 @@ -From: Jan Engelhardt -Date: 2025-06-22 22:33:35.286193495 +0200 - -gcc-15 seems to come with fewer implicit cross-inclusions between headers. - -[ 41s] /home/abuild/rpmbuild/BUILD/polymake-4.13-build/polymake-4.13/include/core/polymake/internal/comparators.h:285:40: error: ‘uint64_t’ was not declared in this scope -[ 41s] 285 | std::enable_if_t hash_combine(SizeT& h, SizeT k) - ---- - include/core/polymake/internal/comparators.h | 1 + - 1 file changed, 1 insertion(+) - -Index: polymake-4.13/include/core/polymake/internal/comparators.h -=================================================================== ---- polymake-4.13.orig/include/core/polymake/internal/comparators.h -+++ polymake-4.13/include/core/polymake/internal/comparators.h -@@ -17,6 +17,7 @@ - - #pragma once - -+#include - #include "polymake/internal/comparators_ops.h" - #include "polymake/internal/matrix_rows_cols.h" - #include "polymake/TransformedContainer.h" diff --git a/polymake-4.13-minimal.tar.bz2 b/polymake-4.13-minimal.tar.bz2 deleted file mode 100644 index 0491a5b..0000000 --- a/polymake-4.13-minimal.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f3adacd063b9ea60d5e9c37c6183f5dbb7458b0cb3491eba3efc38f20c565ceb -size 7338096 diff --git a/polymake-4.14-minimal.tar.bz2 b/polymake-4.14-minimal.tar.bz2 new file mode 100644 index 0000000..e0e6bca --- /dev/null +++ b/polymake-4.14-minimal.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e27667719a59102c1b27f5f98fa83cd3b4147f63292940592f217151defdbf8d +size 7337590 diff --git a/polymake.changes b/polymake.changes index ad70f91..d7025ed 100644 --- a/polymake.changes +++ b/polymake.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Jul 5 14:22:38 UTC 2025 - Jan Engelhardt + +- Update to release 4.14 + * tropical: cone: refactoring and fixes for DOME, COVECTORs and + PSEUDOVERTICES + * tropical: polytope: fix vertices computation + * tropical: hypersurface: fixes for monomials and binomials +- Drop gcc15.patch (merged) + ------------------------------------------------------------------- Sun Jun 22 20:52:12 UTC 2025 - Jan Engelhardt diff --git a/polymake.spec b/polymake.spec index c80fb26..e5bbca0 100644 --- a/polymake.spec +++ b/polymake.spec @@ -16,42 +16,44 @@ # -%define lname libpolymake4_13 +%define lname libpolymake4_14 Name: polymake -Version: 4.13 +Version: 4.14 Release: 0 Summary: Application for studying combinatorics and geometry of convex polytopes License: GPL-2.0-or-later Group: Productivity/Scientific/Math URL: https://polymake.org/ -Source: https://github.com/polymake/polymake/releases/download/V4.13/polymake-4.13-minimal.tar.bz2 -Source: polymake-4.13-minimal.tar.bz2 +Source: https://github.com/polymake/polymake/releases/download/V4.14/polymake-4.14-minimal.tar.bz2 +Source: polymake-4.14-minimal.tar.bz2 Source9: %name-rpmlintrc Patch2: sympol-system.patch Patch3: perl.patch -Patch4: gcc15.patch BuildRequires: bliss-devel -BuildRequires: cddlib-devel BuildRequires: fdupes -BuildRequires: flint-devel BuildRequires: gcc-c++ >= 5 BuildRequires: gmp-devel >= 4.2 -BuildRequires: libSingular-devel BuildRequires: libboost_headers-devel BuildRequires: libxml2-tools BuildRequires: libxslt-tools BuildRequires: lrslib-devel >= 7.1b BuildRequires: memory-constraints -BuildRequires: mpfr-devel BuildRequires: ninja BuildRequires: normaliz-devel BuildRequires: perl -BuildRequires: ppl-devel -BuildRequires: readline-devel >= 5 -BuildRequires: sympol-devel BuildRequires: perl(JSON) +BuildRequires: perl(Term::ReadKey) +BuildRequires: perl(Term::ReadLine::Gnu) +BuildRequires: perl(XML::SAX) +BuildRequires: pkgconfig(Singular) +BuildRequires: pkgconfig(cddlib) +BuildRequires: pkgconfig(flint) BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(mpfr) +BuildRequires: pkgconfig(readline) >= 5 +BuildRequires: ppl-devel +BuildRequires: sympol-devel Requires: perl(JSON) Requires: perl(Term::ReadKey) Requires: perl(Term::ReadLine::Gnu) -- 2.51.1 From 75e4451a1c932f2d8b95dc9fdd635fbfaee045ba4c20cad8dca7ef2f9265ddb0 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 11 Sep 2025 22:18:55 +0200 Subject: [PATCH 4/7] Request pkgconfig(cddgmp) --- polymake.changes | 5 +++++ polymake.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/polymake.changes b/polymake.changes index d7025ed..0fe287b 100644 --- a/polymake.changes +++ b/polymake.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 11 20:16:25 UTC 2025 - Jan Engelhardt + +- Specifically request pkgconfig(cddgmp) now that it exists. + ------------------------------------------------------------------- Sat Jul 5 14:22:38 UTC 2025 - Jan Engelhardt diff --git a/polymake.spec b/polymake.spec index e5bbca0..25f94fd 100644 --- a/polymake.spec +++ b/polymake.spec @@ -47,7 +47,7 @@ BuildRequires: perl(Term::ReadKey) BuildRequires: perl(Term::ReadLine::Gnu) BuildRequires: perl(XML::SAX) BuildRequires: pkgconfig(Singular) -BuildRequires: pkgconfig(cddlib) +BuildRequires: pkgconfig(cddgmp) BuildRequires: pkgconfig(flint) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(mpfr) -- 2.51.1 From aa680b1bedc4b526246492f79a1e49b1c5debeb2a30bfabbda70b8d58d2efb0d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 1 Oct 2025 09:24:24 +0200 Subject: [PATCH 5/7] polymake 4.15 --- polymake-4.14-minimal.tar.bz2 | 3 --- polymake-4.15-minimal.tar.bz2 | 3 +++ polymake.changes | 8 ++++++++ polymake.spec | 7 +++---- 4 files changed, 14 insertions(+), 7 deletions(-) delete mode 100644 polymake-4.14-minimal.tar.bz2 create mode 100644 polymake-4.15-minimal.tar.bz2 diff --git a/polymake-4.14-minimal.tar.bz2 b/polymake-4.14-minimal.tar.bz2 deleted file mode 100644 index e0e6bca..0000000 --- a/polymake-4.14-minimal.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e27667719a59102c1b27f5f98fa83cd3b4147f63292940592f217151defdbf8d -size 7337590 diff --git a/polymake-4.15-minimal.tar.bz2 b/polymake-4.15-minimal.tar.bz2 new file mode 100644 index 0000000..4e7a761 --- /dev/null +++ b/polymake-4.15-minimal.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30e0a8f89013cf7a9a44ed90db2f69c49bf181050664c7e6bdb861c610b1bdb9 +size 7338374 diff --git a/polymake.changes b/polymake.changes index 0fe287b..c075aa1 100644 --- a/polymake.changes +++ b/polymake.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Oct 1 07:07:49 UTC 2025 - Jan Engelhardt + +- Update to release 4.15 + * graph: graphviz: use PDF instead of PS + * polytope: MILP: allow non-rational coordinates + * Some bugfixes + ------------------------------------------------------------------- Thu Sep 11 20:16:25 UTC 2025 - Jan Engelhardt diff --git a/polymake.spec b/polymake.spec index 25f94fd..e8f2838 100644 --- a/polymake.spec +++ b/polymake.spec @@ -16,17 +16,16 @@ # -%define lname libpolymake4_14 +%define lname libpolymake4_15 Name: polymake -Version: 4.14 +Version: 4.15 Release: 0 Summary: Application for studying combinatorics and geometry of convex polytopes License: GPL-2.0-or-later Group: Productivity/Scientific/Math URL: https://polymake.org/ -Source: https://github.com/polymake/polymake/releases/download/V4.14/polymake-4.14-minimal.tar.bz2 -Source: polymake-4.14-minimal.tar.bz2 +Source: https://github.com/polymake/polymake/releases/download/V%version/polymake-%version-minimal.tar.bz2 Source9: %name-rpmlintrc Patch2: sympol-system.patch Patch3: perl.patch -- 2.51.1 From 680ef020be57be4bbefd98b026741fc0567dcc3dadf518559cf96b5ec8b6aace Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 13 Jan 2026 13:37:23 +0100 Subject: [PATCH 6/7] Reenable callable library mode --- polymake.changes | 5 +++++ polymake.spec | 18 +++++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/polymake.changes b/polymake.changes index c075aa1..617c039 100644 --- a/polymake.changes +++ b/polymake.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 13 12:38:43 UTC 2026 - Jan Engelhardt + +- Reenable callable library mode [boo#1256453] + ------------------------------------------------------------------- Wed Oct 1 07:07:49 UTC 2025 - Jan Engelhardt diff --git a/polymake.spec b/polymake.spec index e8f2838..05d984e 100644 --- a/polymake.spec +++ b/polymake.spec @@ -77,6 +77,16 @@ convex polytopes and polyhedra. It is also capable of dealing with simplicial complexes, matroids, polyhedral fans, graphs, tropical objects, and other objects. +%package -n %lname +Summary: Library for studying combinatorics and geometry of convex polytopes +Group: System/Libraries + +%description -n %lname +polymake is a tool to study the combinatorics and the geometry of +convex polytopes and polyhedra. It is also capable of dealing with +simplicial complexes, matroids, polyhedral fans, graphs, tropical +objects, and other objects. + %package devel Summary: Development files for Polymake plugins Group: Development/Libraries/C and C++ @@ -98,7 +108,7 @@ rm -rf bundled/libnormaliz/external ./configure --prefix="%_prefix" --libdir="%_libdir" \ --libexecdir="%_libdir/%name-%version" --without-native \ --with-bliss="%_prefix" --with-sympol="%_prefix" --with-cdd="%_prefix" \ - --with-permlib="%_prefix" --with-lrs="%_prefix" --without-callable \ + --with-permlib="%_prefix" --with-lrs="%_prefix" \ CFLAGS="%optflags" CXXFLAGS="%optflags -g0" CXXOPT="%optflags" # can't replace limit_build by _constraints file: # * asking memoryperjob=3400 -> unsatisfiable i586 workers @@ -112,6 +122,8 @@ make NINJA="ninja %{?_smp_mflags} -v" find "%buildroot/%_includedir" -type f -exec chmod a-x {} + %fdupes %buildroot/%_prefix +%ldconfig_scriptlets -n %lname + %files %_bindir/polymake %_datadir/polymake/ @@ -120,8 +132,12 @@ find "%buildroot/%_includedir" -type f -exec chmod a-x {} + %doc ChangeLog %license COPYING +%files -n %lname +%_libdir/libpolymake*.so.* + %files devel %_bindir/polymake-config %_includedir/polymake/ +%_libdir/libpolymake*.so %changelog -- 2.51.1 From 7829f5e5e78858fe6633d85dcb9b1b1dc2feebe36daa83694ada41168e3b49d8 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 13 Jan 2026 21:40:05 +0100 Subject: [PATCH 7/7] Enable polyDB --- polymake.changes | 6 ++++++ polymake.spec | 10 +++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/polymake.changes b/polymake.changes index 617c039..57d5c5a 100644 --- a/polymake.changes +++ b/polymake.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 13 20:37:53 UTC 2026 - Jan Engelhardt + +- Enable polydb for Tumbleweed / suse_version>=1690 + + ------------------------------------------------------------------- Tue Jan 13 12:38:43 UTC 2026 - Jan Engelhardt diff --git a/polymake.spec b/polymake.spec index 05d984e..ecbd30e 100644 --- a/polymake.spec +++ b/polymake.spec @@ -1,7 +1,7 @@ # # spec file for package polymake # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -41,6 +41,8 @@ BuildRequires: memory-constraints BuildRequires: ninja BuildRequires: normaliz-devel BuildRequires: perl +BuildRequires: ppl-devel +BuildRequires: sympol-devel BuildRequires: perl(JSON) BuildRequires: perl(Term::ReadKey) BuildRequires: perl(Term::ReadLine::Gnu) @@ -51,8 +53,10 @@ BuildRequires: pkgconfig(flint) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(mpfr) BuildRequires: pkgconfig(readline) >= 5 -BuildRequires: ppl-devel -BuildRequires: sympol-devel +%if 0%{?suse_version} >= 1690 +BuildRequires: pkgconfig(libbson-1.0) +BuildRequires: pkgconfig(libmongoc-1.0) +%endif Requires: perl(JSON) Requires: perl(Term::ReadKey) Requires: perl(Term::ReadLine::Gnu) -- 2.51.1