Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libnest2d for openSUSE:Factory checked in at 2021-01-25 18:24:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libnest2d (Old) and /work/SRC/openSUSE:Factory/.libnest2d.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libnest2d" Mon Jan 25 18:24:10 2021 rev:2 rq:866389 version:0.4+git.20201105 Changes: -------- --- /work/SRC/openSUSE:Factory/libnest2d/libnest2d.changes 2020-10-27 18:59:38.234773463 +0100 +++ /work/SRC/openSUSE:Factory/.libnest2d.new.28504/libnest2d.changes 2021-01-25 18:24:27.720502047 +0100 @@ -1,0 +2,8 @@ +Sun Jan 24 10:34:23 UTC 2021 - Stefan Br??ns <stefan.bru...@rwth-aachen.de> + +- Update git version, 20201105 + * fix holes duplicates while offset processing +- Fix build failures with Boost 1.75, add + 0001-Set-CXX_STANDARD-14-for-Boost-Geometry.patch + +------------------------------------------------------------------- Old: ---- libnest2d-0.4+git.20200805.obscpio New: ---- 0001-Set-CXX_STANDARD-14-for-Boost-Geometry.patch libnest2d-0.4+git.20201105.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libnest2d.spec ++++++ --- /var/tmp/diff_new_pack.AdXDeQ/_old 2021-01-25 18:24:28.464503129 +0100 +++ /var/tmp/diff_new_pack.AdXDeQ/_new 2021-01-25 18:24:28.468503135 +0100 @@ -1,7 +1,7 @@ # # spec file for package libnest2d # -# 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 @@ -15,8 +15,9 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + Name: libnest2d -Version: 0.4+git.20200805 +Version: 0.4+git.20201105 Release: 0 Summary: Library for the 2D bin packaging problem License: LGPL-3.0-only @@ -24,6 +25,8 @@ Source: libnest2d-%{version}.tar.gz # PATCH-FIX-UPSTREAM -- https://github.com/tamasmeszaros/libnest2d/pull/18 Patch0: Add-disallowed-areas.patch +# PATCH-FIX-OPENSUSE -- Fix build with boost 1.75 +Patch1: 0001-Set-CXX_STANDARD-14-for-Boost-Geometry.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libboost_headers-devel ++++++ 0001-Set-CXX_STANDARD-14-for-Boost-Geometry.patch ++++++ >From 496a59fbaabded0395497ffedd79ff651b127c83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bru...@rwth-aachen.de> Date: Sun, 24 Jan 2021 11:29:10 +0100 Subject: [PATCH] Set CXX_STANDARD 14 for Boost::Geometry Boost::Geometry requires C++14 since Boost 1.75. --- include/libnest2d/backends/clipper/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/include/libnest2d/backends/clipper/CMakeLists.txt b/include/libnest2d/backends/clipper/CMakeLists.txt index 031a0a0..38b2a88 100644 --- a/include/libnest2d/backends/clipper/CMakeLists.txt +++ b/include/libnest2d/backends/clipper/CMakeLists.txt @@ -9,6 +9,7 @@ require_package(Boost 1.58 REQUIRED) if(TARGET Boost::boost) target_link_libraries(clipperBackend INTERFACE Boost::boost ) + target_compile_features(clipperBackend INTERFACE cxx_std_14) elseif(Boost_INCLUDE_DIRS_FOUND) target_include_directories(clipperBackend INTERFACE $<BUILD_INTERFACE:${Boost_INCLUDE_DIRS}> ) endif() -- 2.30.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.AdXDeQ/_old 2021-01-25 18:24:28.508503193 +0100 +++ /var/tmp/diff_new_pack.AdXDeQ/_new 2021-01-25 18:24:28.512503199 +0100 @@ -2,8 +2,8 @@ <service name="obs_scm" mode="disabled"> <param name="url">https://github.com/tamasmeszaros/libnest2d</param> <param name="scm">git</param> - <param name="revision">da4782500da4eb8cb6e38e5e3f10164ec5a59778</param> - <param name="version">0.4+git.20200805</param> + <param name="revision">ea7fa99686355f00aa47e390f99bc6934069a50e</param> + <param name="version">0.4+git.20201105</param> <param name="submodules">disable</param> </service> <service mode="disabled" name="set_version" /> ++++++ libnest2d-0.4+git.20200805.obscpio -> libnest2d-0.4+git.20201105.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libnest2d-0.4+git.20200805/README.md new/libnest2d-0.4+git.20201105/README.md --- old/libnest2d-0.4+git.20200805/README.md 2020-08-05 16:53:26.000000000 +0200 +++ new/libnest2d-0.4+git.20201105/README.md 2020-11-05 09:04:10.000000000 +0100 @@ -20,23 +20,16 @@ this default backend implies the dependency on these packages but its header only as well. -This software is currently under construction and lacks a throughout +This software is still not feature complete and lacks a throughout documentation and some essential algorithms as well. At this stage it works well for rectangles and convex closed polygons without considering holes and concavities. -Holes and non-convex polygons will be usable in the near future as well. The -no fit polygon based placer module combined with the first fit selection +The no fit polygon based placer module combined with the first fit selection strategy is now used in the [PrusaSlicer](https://github.com/prusa3d/PrusaSlicer) application's arrangement feature. It uses local optimization techniques to find the best placement of each new item based on some features of the arrangement. -In the near future I would like to use machine learning to evaluate the -placements and (or) the order if items in which they are placed and see what -results can be obtained. This is a different approach than that of SVGnest which -uses genetic algorithms to find better and better selection orders. Maybe the -two approaches can be combined as well. - # Integration Using libnest2d in its current state implies the following dependencies: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libnest2d-0.4+git.20200805/include/libnest2d/backends/clipper/geometries.hpp new/libnest2d-0.4+git.20201105/include/libnest2d/backends/clipper/geometries.hpp --- old/libnest2d-0.4+git.20200805/include/libnest2d/backends/clipper/geometries.hpp 2020-08-05 16:53:26.000000000 +0200 +++ new/libnest2d-0.4+git.20201105/include/libnest2d/backends/clipper/geometries.hpp 2020-11-05 09:04:10.000000000 +0100 @@ -98,6 +98,9 @@ // Offsetting reverts the orientation and also removes the last vertex // so boost will not have a closed polygon. + // we plan to replace contours + sh.Holes.clear(); + bool found_the_contour = false; for(auto& r : result) { if(ClipperLib::Orientation(r)) { ++++++ libnest2d.obsinfo ++++++ --- /var/tmp/diff_new_pack.AdXDeQ/_old 2021-01-25 18:24:28.644503391 +0100 +++ /var/tmp/diff_new_pack.AdXDeQ/_new 2021-01-25 18:24:28.648503396 +0100 @@ -1,5 +1,5 @@ name: libnest2d -version: 0.4+git.20200805 -mtime: 1596639206 -commit: da4782500da4eb8cb6e38e5e3f10164ec5a59778 +version: 0.4+git.20201105 +mtime: 1604563450 +commit: ea7fa99686355f00aa47e390f99bc6934069a50e