Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sympol for openSUSE:Factory checked in at 2021-06-23 17:38:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sympol (Old) and /work/SRC/openSUSE:Factory/.sympol.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sympol" Wed Jun 23 17:38:11 2021 rev:3 rq:901415 version:0.1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/sympol/sympol.changes 2020-09-21 17:44:07.940953120 +0200 +++ /work/SRC/openSUSE:Factory/.sympol.new.2625/sympol.changes 2021-06-23 17:38:14.260471943 +0200 @@ -1,0 +2,7 @@ +Tue Jun 22 14:56:39 UTC 2021 - Jan Engelhardt <[email protected]> + +- Add bliss-0.77.diff to make sympol compile with bliss >= 0.76. +- Rectify the include paths in /usr/include/sympol to point to + actually reachable files. + +------------------------------------------------------------------- New: ---- bliss-0.77.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sympol.spec ++++++ --- /var/tmp/diff_new_pack.i1U5je/_old 2021-06-23 17:38:14.804472692 +0200 +++ /var/tmp/diff_new_pack.i1U5je/_new 2021-06-23 17:38:14.808472698 +0200 @@ -1,7 +1,7 @@ # # spec file for package sympol # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,17 +28,18 @@ Source: http://www.math.uni-rostock.de/~rehn/software/%name-%version.tar.gz Patch1: unbundle.diff Patch2: cddlib.diff +Patch3: bliss-0.77.diff BuildRequires: bliss-devel BuildRequires: c++_compiler -BuildRequires: cddlib-devel >= 0.94f -BuildRequires: cmake -BuildRequires: eigen3-devel >= 3.0 -BuildRequires: gmp-devel -BuildRequires: libboost_headers-devel -BuildRequires: libboost_program_options-devel -BuildRequires: libboost_test-devel +BuildRequires: cmake >= 2.6 +BuildRequires: libboost_headers-devel >= 1.34.1 +BuildRequires: libboost_program_options-devel >= 1.34.1 +BuildRequires: libboost_test-devel >= 1.34.1 BuildRequires: lrslib-devel >= 0.4.2c BuildRequires: permlib-devel >= 0.2.8 +BuildRequires: pkgconfig(cddlib) >= 0.94f +BuildRequires: pkgconfig(eigen3) >= 3.0 +BuildRequires: pkgconfig(gmpxx) %description SymPol is a C++ tool to work with symmetric polyhedra. It helps to @@ -60,6 +61,7 @@ Summary: Header files for the sympol library Group: Development/Libraries/C and C++ Requires: %lname = %version +Requires: permlib-devel >= 0.2.8 %description devel SymPol is a C++ tool to work with symmetric polyhedra. @@ -76,6 +78,7 @@ %install %cmake_install ln -s . "%buildroot/%_includedir/sympol/yal" +perl -i -lpe 's{#include ".*/}{#include "}g' "%buildroot/%_includedir/sympol"/*.h %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig ++++++ bliss-0.77.diff ++++++ Date: 2021-06-22 16:49:35.023920416 +0200 From: Jan Engelhardt <[email protected]> References: https://polymake.org/downloads/bliss077.patch Make sympol build with newer bliss (>= 0.76). Modelled upon a similar patch from polymake. --- sympol/symmetrygroupconstruction/graphconstructionbliss.cpp | 5 +++++ 1 file changed, 5 insertions(+) Index: sympol-0.1.8/sympol/symmetrygroupconstruction/graphconstructionbliss.cpp =================================================================== --- sympol-0.1.8.orig/sympol/symmetrygroupconstruction/graphconstructionbliss.cpp +++ sympol-0.1.8/sympol/symmetrygroupconstruction/graphconstructionbliss.cpp @@ -79,7 +79,12 @@ boost::shared_ptr<sympol::PermutationGro G.set_splitting_heuristic(bliss::Graph::shs_f); // disable component recursion as advised by Tommi Junttila from bliss G.set_component_recursion(false); +#if BLISS_VERSION_MAJOR > 0 || (BLISS_VERSION_MAJOR == 0 && BLISS_VERSION_MINOR >= 76) + auto hook = [&](unsigned int n, const unsigned int *aut) { blisshook(&data, n, aut); }; + G.find_automorphisms(stats, hook); +#else G.find_automorphisms(stats, blisshook, &data); +#endif if (yal::DEBUG <= yal::ReportLevel::get()) stats.print(stdout); else
