Hello community,

here is the log from the commit of package cura-engine-lulzbot for 
openSUSE:Factory checked in at 2018-05-08 13:39:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cura-engine-lulzbot (Old)
 and      /work/SRC/openSUSE:Factory/.cura-engine-lulzbot.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cura-engine-lulzbot"

Tue May  8 13:39:01 2018 rev:2 rq:605136 version:3.2.19

Changes:
--------
--- /work/SRC/openSUSE:Factory/cura-engine-lulzbot/cura-engine-lulzbot.changes  
2018-04-20 17:27:28.426882560 +0200
+++ 
/work/SRC/openSUSE:Factory/.cura-engine-lulzbot.new/cura-engine-lulzbot.changes 
    2018-05-08 13:39:13.729462552 +0200
@@ -1,0 +2,18 @@
+Wed May  2 14:41:45 UTC 2018 - adr...@suse.de
+
+- update to version 3.2.19
+  * version update only
+
+-------------------------------------------------------------------
+Thu Apr 19 07:58:36 UTC 2018 - adr...@suse.de
+
+- update to version 3.2.18
+  * version only
+
+-------------------------------------------------------------------
+Fri Apr 13 14:37:04 UTC 2018 - stefan.bru...@rwth-aachen.de
+
+- Link private lib_CuraEngine statically to binary
+- Use CMAKE_POSITION_INDEPENDENT_CODE instead of mangling CFLAGS
+
+-------------------------------------------------------------------

Old:
----
  CuraEngine-3.2.16.obscpio

New:
----
  CuraEngine-3.2.19.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cura-engine-lulzbot.spec ++++++
--- /var/tmp/diff_new_pack.r3xQjV/_old  2018-05-08 13:39:14.517434109 +0200
+++ /var/tmp/diff_new_pack.r3xQjV/_new  2018-05-08 13:39:14.517434109 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package CuraEngine
+# spec file for package cura-engine-lulzbot
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,10 +17,10 @@
 
 
 Name:           cura-engine-lulzbot
-Version:        3.2.16
+Version:        3.2.19
 Release:        0
 Summary:        3D printer control software
-License:        AGPL-3.0
+License:        AGPL-3.0-only
 Group:          Hardware/Printing
 Conflicts:      cura-engine
 Url:            https://code.alephobjects.com/diffusion/CTE/cura-engine.git
@@ -52,8 +52,9 @@
 export CC=gcc-6
 export CXX=g++-6
 %endif
-%cmake -DCMAKE_C_FLAGS="%{optflags} -fPIC" \
-       -DCMAKE_CXX_FLAGS="%{optflags} -fPIC -fpermissive"
+# make sure internal lib_CuraEngine is statically build and linked
+%cmake -DCMAKE_POSITION_INDEPENDENT_CODE="true" -DBUILD_SHARED_LIBS="false"
+
 make %{?_smp_mflags}
 
 %install
@@ -62,13 +63,11 @@
 
 install -Dm0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/CuraEngine-lulzbot.1
 mv %buildroot%_bindir/CuraEngine{,-lulzbot}
-# hack... not ready for the distro
-install -Dm0755 lib_CuraEngine.so %{buildroot}%{_libdir}/lib_CuraEngine.so
 
 %files
 %defattr(-,root,root,-)
 %_bindir/CuraEngine-lulzbot
-%_libdir/*
+
 %_mandir/man1/CuraEngine-lulzbot.1*
 
 %changelog

++++++ CuraEngine-3.2.16.obscpio -> CuraEngine-3.2.19.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CuraEngine-3.2.16/src/slicer.cpp 
new/CuraEngine-3.2.19/src/slicer.cpp
--- old/CuraEngine-3.2.16/src/slicer.cpp        2018-03-26 14:43:19.000000000 
+0200
+++ new/CuraEngine-3.2.19/src/slicer.cpp        2018-03-29 13:57:15.000000000 
+0200
@@ -804,8 +804,7 @@
 
     TimeKeeper slice_timer;
 
-    std::vector<coord_t> layer_z; //For each layer its Z coordinate.
-    layer_z.resize(slice_layer_count);
+    layers.resize(slice_layer_count);
 
     // compensate first layer thickness depending on slicing mode
     int initial = initial_layer_thickness - thickness;
@@ -819,15 +818,14 @@
     {
         if (use_variable_layer_heights)
         {
-            layer_z[layer_nr] = adaptive_layers->at(layer_nr).z_position;
+            layers[layer_nr].z = adaptive_layers->at(layer_nr).z_position;
         }
         else
         {
-            layer_z[layer_nr] = initial + (thickness * layer_nr);
+            layers[layer_nr].z = initial + (thickness * layer_nr);
         }
     }
 
-    layers.reserve(slice_layer_count); //Reserve for the maximum number of 
layers (but fill with only the layers that are not empty).
     // loop over all mesh faces
     for (unsigned int mesh_idx = 0; mesh_idx < mesh->faces.size(); mesh_idx++)
     {
@@ -851,9 +849,9 @@
         if (p2.z > maxZ) maxZ = p2.z;
 
         // calculate all intersections between a layer plane and a triangle
-        for (size_t layer_nr = 0; layer_nr < slice_layer_count; layer_nr++)
+        for (unsigned int layer_nr = 0; layer_nr < layers.size(); layer_nr++)
         {
-            coord_t z = layer_z[layer_nr];
+            int32_t z = layers.at(layer_nr).z;
 
             if (z < minZ) continue;
             if (layer_nr < 0) continue;
@@ -912,10 +910,6 @@
             }
 
             // store the segments per layer
-            while (layers.size() <= layer_nr) //Lazily make sure that there 
are a sufficient number of layers.
-            {
-                layers.emplace_back();
-            }
             
layers[layer_nr].face_idx_to_segment_idx.insert(std::make_pair(mesh_idx, 
layers[layer_nr].segments.size()));
             s.faceIndex = mesh_idx;
             s.endOtherFaceIdx = face.connected_face_index[end_edge_idx];

++++++ CuraEngine.obsinfo ++++++
--- /var/tmp/diff_new_pack.r3xQjV/_old  2018-05-08 13:39:14.777424725 +0200
+++ /var/tmp/diff_new_pack.r3xQjV/_new  2018-05-08 13:39:14.781424580 +0200
@@ -1,5 +1,5 @@
 name: CuraEngine
-version: 3.2.16
-mtime: 1522068199
-commit: ba62ab724c24cd3f7e7858f09f18768e37eea3ea
+version: 3.2.19
+mtime: 1522324635
+commit: aa837d656a2a8afe186e1165e60429e3bf80c314
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.r3xQjV/_old  2018-05-08 13:39:14.813423426 +0200
+++ /var/tmp/diff_new_pack.r3xQjV/_new  2018-05-08 13:39:14.813423426 +0200
@@ -2,8 +2,8 @@
   <service name="obs_scm" mode="disabled">
     <param 
name="url">https://code.alephobjects.com/diffusion/CTE/cura-engine.git</param>
     <param name="scm">git</param>
-    <param name="revision">v3.2.16</param>
-    <param name="version">3.2.16</param>
+    <param name="revision">v3.2.19</param>
+    <param name="version">3.2.19</param>
     <param name="submodules">disable</param>
     <param name="filename">CuraEngine</param>
   </service>


Reply via email to