pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

prusaslicer: update to 2.8.0beta1



Module Name:	pkgsrc-wip
Committed By:	Paul Ripke <stix%stix.id.au@localhost>
Pushed By:	stix
Date:		Sun Jun 23 22:26:54 2024 +1000
Changeset:	86e2a6666a4cbe531bb2bcf813d1d237897c432e

Modified Files:
	prusaslicer/Makefile
	prusaslicer/distinfo
	prusaslicer/patches/patch-src_slic3r_GUI_UserAccountCommunication.cpp
	prusaslicer/patches/patch-tests_libslic3r_test__voronoi.cpp
Removed Files:
	prusaslicer/patches/patch-src_slic3r_GUI_UserAccountCommunication.hpp

Log Message:
prusaslicer: update to 2.8.0beta1

This is the first public beta release of PrusaSlicer 2.8.0. This release
introduces Prusa Connect integration and many more improvements and bugfixes.

To let you enjoy the beta without worries, the beta builds save their profiles
into PrusaSlicer-beta directory, so you may use the beta side by side with the
current release without ruining your production configuration. The beta will
ask whether it should import a configuration from previously run PrusaSlicer
versions on the first start.

An important note for Linux users: As with the 2.8.0-alpha5, the provided
binaries will not run on newest Ubuntu 24.04 (and possibly other latest
distributions). Solving problems with all dependencies is more work than
originally expected, and we do not want to postpone releasing the beta because
of it.

Vertical slider improvements

After the feedback received from 2.8.0-alpha5 testing, further changes to the
vertical slider were made:

- The time estimate on hover was already available in the alpha, but it was
  disabled by default and the possibility to enable it in the slider menu
  (accessible by the cog button below it) was not obvious. This feature is now
  on by default. #12823, #12827
- The ruler indicating where the individual layers are was added again. It can
  be turned on in the slider menu (#12836).
- The appearance of the ruler can be further customized - there is an option to
  enable and disable background.
- Clicking the plus on the slider handle does not move the slider and always
  adds a color change (#12837).
- All the custom slider settings are now remembered between sessions (#12827
  (comment)).

We would like to thank for the feedback we got and we hope that these
improvements address most of the issues that were reported.

Other improvements with respect to 2.8.0-alpha5

- Print speed limitation for infill was added into
  Filament Settings -> Advanced. Two separate values can be entered - one for
  infill islands with intersection, one for islands without. The reason for this
  change is that intersections in the same layer cannot be printed properly at
  speed, because the molten filament tears at the intersections. This effect is
  especially noticeable with some materials, the most important example being
  PET. Until now, the only way to slow the print down in Filament Settings was
  to use Max volumetric speed, which in effect slowed down the whole print. By
  distinguishing between crossing and non-crossing infill, it is now possible to
  increase the general volumetric speed limit and increase overall speed as a
  result.

- The login into Prusa Account is no longer done in external browser window.
  Instead, the dialog shows directly in PrusaSlicer to streamline the workflow,
  and the user is thus not forced to switch between PrusaSlicer and the browser.
  Note that the login website will be improved in near future to blend in with
  the application more naturally. It should also help to solve issues such as
  #12853.

- In addition to that, the login dialog now shows in Configuration Wizard as
  well, because logging is part of configuring the slicer to use. The login is
  of course still completely optional and can be skipped.

- Login button in the top right corner can now be hidden, so people not
  interested in using Prusa Account are not bothered by it. There is an option
  in Preferences to do that, and before you log in for the first time, this
  option is also in the Log in menu to make it easily discoverable.

- Speed and volumetric flow rate were added to the info dialog at the
  horizontal slider in the G-code Viewer (#12840).

Bug fixes with respect to 2.8.0-alpha5

- When performing text manipulation with an embossed text volumes (such as
  changing skew ratio), any painting previously applied to the object was
  broken, which could even cause PrusaSlicer to crash. PrusaSlicer now
  removes all such painting and shows a notification similar to the one shows
  when e.g. simplifying the volume.
- Standalone G-code Viewer did not show progress bar when loading G-code
  (broken between 2.7.5-rc1 and 2.8.0-alpha5).
- Fixed a rare crash during slicing caused by numerical problems with Voronoi
  diagrams (#12686).
- Fixed a rare crash during slicing caused by a corner case during bridge
  expansion step (#12469).
- When saving a modified user preset under a name of an already existing
  different profile, the changes were not saved.
- Fixed a bug in the Emboss tool, which would "emboss" text on an object that
  was already deleted (after a specific sequence of actions).
- Fixed mangled encoding in error messages informing that a local update file
  was not found.
- Profile updates were incorrectly not applied when a new vendor was added
  through online update only. This is an old bug introduced before 2.8.0-alpha5.
- Fixed a race condition which could have led to Prusa Connect website not
  loading.
- Fixed a bug in the new seam algorithm: when seam position was set to Nearest,
  the algorithm would ignore a near corner in some cases.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=86e2a6666a4cbe531bb2bcf813d1d237897c432e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 prusaslicer/Makefile                                 |  2 +-
 prusaslicer/distinfo                                 | 11 +++++------
 ...patch-src_slic3r_GUI_UserAccountCommunication.cpp | 20 ++------------------
 ...patch-src_slic3r_GUI_UserAccountCommunication.hpp | 15 ---------------
 .../patches/patch-tests_libslic3r_test__voronoi.cpp  | 12 ++++++------
 5 files changed, 14 insertions(+), 46 deletions(-)

diffs:
diff --git a/prusaslicer/Makefile b/prusaslicer/Makefile
index a097889305..3d56fe1417 100644
--- a/prusaslicer/Makefile
+++ b/prusaslicer/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-PKGVERSION=	2.8.0alpha5
+PKGVERSION=	2.8.0beta1
 PKGNAME=	prusaslicer-${PKGVERSION}
 DISTNAME=	PrusaSlicer-${PKGVERSION:C/(alpha|beta|rc)/-\1/}
 CATEGORIES=	cad
diff --git a/prusaslicer/distinfo b/prusaslicer/distinfo
index a8f18642ba..3df230faf4 100644
--- a/prusaslicer/distinfo
+++ b/prusaslicer/distinfo
@@ -1,8 +1,8 @@
 $NetBSD$
 
-BLAKE2s (PrusaSlicer-2.8.0-alpha5.tar.gz) = dc9a5bb49396b753d45d48c02f66eef5c647a2afafb1433247fda8a5dc3a148f
-SHA512 (PrusaSlicer-2.8.0-alpha5.tar.gz) = 1fb9749646f08dac750f7ef08194bd7e7e55c81cdfb2c1b5352f1846305c894c05d780f5a4ff164a40f0d46388472431e4ac5c35426eb18e6275c5762329d5e6
-Size (PrusaSlicer-2.8.0-alpha5.tar.gz) = 68915023 bytes
+BLAKE2s (PrusaSlicer-2.8.0-beta1.tar.gz) = 39506ce332f7fc96583f3a54d6a220945828ff0c5ce0771b04b9e6820f47cb4f
+SHA512 (PrusaSlicer-2.8.0-beta1.tar.gz) = ef8b04834cd680bf3d0a1887a94128dc8570f1712c552816aea43bb3a5afa90e8b38b89cccb820fbd37f097296296e1917495b591de8e15b7a6ea0fcb3ed744c
+Size (PrusaSlicer-2.8.0-beta1.tar.gz) = 69024072 bytes
 SHA1 (patch-CMakeLists.txt) = 115d6354b7e5a512c802037ae2794e76be54b083
 SHA1 (patch-cmake_modules_FindOpenVDB.cmake) = 4f2afc423a70fe60617b33ff7f26859b39775faa
 SHA1 (patch-src_CMakeLists_txt) = 1e2d07daef1ed2160f0a5e429efe4d1b01989484
@@ -55,8 +55,7 @@ SHA1 (patch-src_slic3r_GUI_TopBar.cpp) = cf899a96bbf324ee2f2e8e15dccaa32a798d094
 SHA1 (patch-src_slic3r_GUI_UnsavedChangesDialog.cpp) = 1594eb7521f23c42700b0fbed7c039b62e9d4029
 SHA1 (patch-src_slic3r_GUI_UnsavedChangesDialog.hpp) = 0bd01147f0b654d190534959708fbf346cbb364e
 SHA1 (patch-src_slic3r_GUI_UpdateDialogs.cpp) = 7fdcc609e66c619c110db2da18b24ddfd0ffe2a2
-SHA1 (patch-src_slic3r_GUI_UserAccountCommunication.cpp) = bbb1784d6e0aecace2bf3998cecfb6f50089acc1
-SHA1 (patch-src_slic3r_GUI_UserAccountCommunication.hpp) = f3f8a402e6efd64c13677c17b1bb90194d307745
+SHA1 (patch-src_slic3r_GUI_UserAccountCommunication.cpp) = 62a61aa6dfbeb1ee2eeb754027dd94f83f5366a5
 SHA1 (patch-src_slic3r_GUI_WipeTowerDialog.cpp) = fc6fd1bfee7001c268bf50209bcfd1cb96f6a9ad
 SHA1 (patch-src_slic3r_GUI_wxExtensions.cpp) = d6e807f3dd1f18fa9c703798067fa1e808112891
 SHA1 (patch-src_slic3r_GUI_wxExtensions.hpp) = 356da6dbd7ca7f60fa8a73c51533a1c1ad1530c1
@@ -144,7 +143,7 @@ SHA1 (patch-tests_libslic3r_test__surface__mesh.cpp) = 25112b64fbab6a6cf4654af79
 SHA1 (patch-tests_libslic3r_test__timeutils.cpp) = c75d00e97b5413e531a2b509ef4d43682f0ce5fc
 SHA1 (patch-tests_libslic3r_test__triangulation.cpp) = 84a81713f93dfe5f4401a8fe89d9ac6daa53b4e4
 SHA1 (patch-tests_libslic3r_test__utils.cpp) = 48c0600c0c903aa04080a6653d1831bdef54d26a
-SHA1 (patch-tests_libslic3r_test__voronoi.cpp) = b39178892b71d39ea4a48d61da493fb0e7010f62
+SHA1 (patch-tests_libslic3r_test__voronoi.cpp) = 8c26bedf846b1a10f5ba414395feceb3bfd9203c
 SHA1 (patch-tests_sla__print_sla__archive__readwrite__tests.cpp) = 064eefb0d093af63c8a91eb92fe12a0264ae8c46
 SHA1 (patch-tests_sla__print_sla__print__tests.cpp) = fe5a6a602901069088af73da7b5f63d40329f522
 SHA1 (patch-tests_sla__print_sla__raycast__tests.cpp) = 2a78f94de919695e72df0636ea937e89fec2a5d4
diff --git a/prusaslicer/patches/patch-src_slic3r_GUI_UserAccountCommunication.cpp b/prusaslicer/patches/patch-src_slic3r_GUI_UserAccountCommunication.cpp
index b579124f4b..3b239b2026 100644
--- a/prusaslicer/patches/patch-src_slic3r_GUI_UserAccountCommunication.cpp
+++ b/prusaslicer/patches/patch-src_slic3r_GUI_UserAccountCommunication.cpp
@@ -4,18 +4,9 @@ Treat NetBSD like linux.
 
 Add missing includes.
 
---- src/slic3r/GUI/UserAccountCommunication.cpp.orig	2024-06-14 21:54:48.000000000 +0000
+--- src/slic3r/GUI/UserAccountCommunication.cpp.orig	2024-06-21 20:36:12.000000000 +0000
 +++ src/slic3r/GUI/UserAccountCommunication.cpp
-@@ -7,6 +7,8 @@
- 
- #include <boost/log/trivial.hpp>
- #include <boost/beast/core/detail/base64.hpp>
-+#include <boost/algorithm/string/split.hpp>
-+#include <boost/nowide/convert.hpp>
- #include <curl/curl.h>
- #include <string>
- 
-@@ -31,7 +33,7 @@
+@@ -33,7 +33,7 @@
  #include <CommonCrypto/CommonDigest.h>
  #endif
  
@@ -24,10 +15,3 @@ Add missing includes.
  #include <openssl/evp.h>
  #include <openssl/bio.h>
  #include <openssl/buffer.h>
-@@ -567,4 +569,4 @@ std::string CodeChalengeGenerator::sha25
-     return std::string(reinterpret_cast<char*>(digest), digestLen);
- }
- #endif // __linux__
--}} // Slic3r::GUI
-\ No newline at end of file
-+}} // Slic3r::GUI
diff --git a/prusaslicer/patches/patch-src_slic3r_GUI_UserAccountCommunication.hpp b/prusaslicer/patches/patch-src_slic3r_GUI_UserAccountCommunication.hpp
deleted file mode 100644
index 4990231480..0000000000
--- a/prusaslicer/patches/patch-src_slic3r_GUI_UserAccountCommunication.hpp
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD$
-
-Add missing include.
-
---- src/slic3r/GUI/UserAccountCommunication.hpp.orig	2024-06-19 22:16:43.632775046 +0000
-+++ src/slic3r/GUI/UserAccountCommunication.hpp
-@@ -5,6 +5,8 @@
- #include "Event.hpp"
- #include "libslic3r/AppConfig.hpp"
- 
-+#include <wx/timer.h>
-+
- #include <queue>
- #include <condition_variable>
- #include <map>
diff --git a/prusaslicer/patches/patch-tests_libslic3r_test__voronoi.cpp b/prusaslicer/patches/patch-tests_libslic3r_test__voronoi.cpp
index 33a1dc0eae..dc79b1d617 100644
--- a/prusaslicer/patches/patch-tests_libslic3r_test__voronoi.cpp
+++ b/prusaslicer/patches/patch-tests_libslic3r_test__voronoi.cpp
@@ -3,7 +3,7 @@ $NetBSD$
 Support Catch2 v3.
 Based on https://github.com/prusa3d/PrusaSlicer/issues/11567
 
---- tests/libslic3r/test_voronoi.cpp.orig	2024-06-14 21:54:48.000000000 +0000
+--- tests/libslic3r/test_voronoi.cpp.orig	2024-06-21 20:36:12.000000000 +0000
 +++ tests/libslic3r/test_voronoi.cpp
 @@ -1,4 +1,6 @@
 -#include <catch2/catch.hpp>
@@ -13,15 +13,15 @@ Based on https://github.com/prusa3d/PrusaSlicer/issues/11567
  
  #include <libslic3r/Polygon.hpp>
  #include <libslic3r/Polyline.hpp>
-@@ -7,6 +9,7 @@
- #include <libslic3r/Geometry/VoronoiVisualUtils.hpp>
+@@ -6,6 +8,7 @@
+ #include <libslic3r/Geometry/VoronoiOffset.hpp>
  
  #include <numeric>
 +#include <random>
  
- // #define VORONOI_DEBUG_OUT
+ //#define VORONOI_DEBUG_OUT
  
-@@ -22,6 +25,8 @@ using namespace Slic3r;
+@@ -21,6 +24,8 @@ using namespace Slic3r;
  
  using VD = Geometry::VoronoiDiagram;
  
@@ -30,7 +30,7 @@ Based on https://github.com/prusa3d/PrusaSlicer/issues/11567
  // https://svn.boost.org/trac10/ticket/12067
  // This bug seems to be confirmed.
  // Vojtech supposes that there may be no Voronoi edges produced for
-@@ -66,7 +71,7 @@ TEST_CASE("Voronoi missing edges - point
+@@ -65,7 +70,7 @@ TEST_CASE("Voronoi missing edges - point
          vd, pts, Lines());
  #endif
  


Home | Main Index | Thread Index | Old Index