Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package PrusaSlicer for openSUSE:Factory 
checked in at 2024-09-01 19:21:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/PrusaSlicer (Old)
 and      /work/SRC/openSUSE:Factory/.PrusaSlicer.new.2698 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "PrusaSlicer"

Sun Sep  1 19:21:52 2024 rev:34 rq:1197901 version:2.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/PrusaSlicer/PrusaSlicer.changes  2024-04-26 
23:27:37.325718267 +0200
+++ /work/SRC/openSUSE:Factory/.PrusaSlicer.new.2698/PrusaSlicer.changes        
2024-09-01 19:22:10.525854249 +0200
@@ -1,0 +2,16 @@
+Thu Aug 29 16:20:17 UTC 2024 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 2.8.0
+  * Prusa Connect integration
+  * seam improvements
+  * updated UI
+  * new G-code Viewer
+  * improved profile updating system
+  * many more improvements and bugfixes
+- Must move to wxGTK3: we have no wxWebView in wxWidgets. Unfortunately
+  this disables wayland support:
+  
https://github.com/prusa3d/PrusaSlicer/blob/version_2.8.0/src/PrusaSlicer.cpp#L88-L93
+- Add PrusaSlicer-2.8.0-slic3r-includes.patch
+  * gh#prusa3d/PrusaSlicer#13080
+
+-------------------------------------------------------------------

Old:
----
  PrusaSlicer-version_2.7.4.tar.gz

New:
----
  PrusaSlicer-2.8.0-slic3r-includes.patch
  PrusaSlicer-version_2.8.0.tar.gz

BETA DEBUG BEGIN:
  New:  
https://github.com/prusa3d/PrusaSlicer/blob/version_2.8.0/src/PrusaSlicer.cpp#L88-L93
- Add PrusaSlicer-2.8.0-slic3r-includes.patch
  * gh#prusa3d/PrusaSlicer#13080
BETA DEBUG END:

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

Other differences:
------------------
++++++ PrusaSlicer.spec ++++++
--- /var/tmp/diff_new_pack.XUHIRw/_old  2024-09-01 19:22:11.321886840 +0200
+++ /var/tmp/diff_new_pack.XUHIRw/_new  2024-09-01 19:22:11.325887004 +0200
@@ -17,15 +17,18 @@
 
 
 Name:           PrusaSlicer
-Version:        2.7.4
+Version:        2.8.0
 Release:        0
 Summary:        G-code generator for 3D printers (RepRap, Makerbot, Ultimaker 
etc.)
 License:        AGPL-3.0-only
 Group:          Hardware/Printing
 URL:            https://www.prusa3d.com/prusaslicer/
+# SourceRepository: https://github.com/prusa3d/PrusaSlicer
 Source0:        
https://github.com/prusa3d/PrusaSlicer/archive/version_%{version}.tar.gz#/%{name}-version_%{version}.tar.gz
 # PATCH-FIX-UPSTREAM PrusaSlicer-2.7.1-slic3r-wxWidgets-3.2.4.patch 
gh#prusa3d/PrusaSlicer#11769
 Patch1:         PrusaSlicer-2.7.1-slic3r-wxWidgets-3.2.4.patch
+# PATCH-FIX-UPSTREAM PrusaSlicer-2.8.0-includes.patch 
gh#prusa3d/PrusaSlicer#13080
+Patch2:         PrusaSlicer-2.8.0-slic3r-includes.patch
 # PATCH-FIX-OPENSUSE up-occt-version.patch mike.chi...@gmail.com -- install 
wrapper so into libdir, not bindir
 Patch10:        up-occt-version.patch
 # PATCH-FIX-OPENSUSE PrusaSlicer-2.6.0-octoprint-name-fix.patch -- cast lambda 
expression to same type
@@ -50,12 +53,14 @@
 BuildRequires:  libboost_iostreams-devel
 BuildRequires:  libboost_locale-devel
 BuildRequires:  libboost_log-devel
+BuildRequires:  libboost_nowide-devel
 BuildRequires:  libboost_regex-devel
 BuildRequires:  libboost_system-devel
 BuildRequires:  libboost_thread-devel
 BuildRequires:  libcurl-devel
 BuildRequires:  libexpat-devel
 BuildRequires:  libjpeg-devel
+BuildRequires:  libquadmath-devel
 BuildRequires:  memory-constraints
 BuildRequires:  nlopt-devel
 BuildRequires:  occt-devel
@@ -65,7 +70,7 @@
 BuildRequires:  pkgconfig
 BuildRequires:  tbb-devel
 BuildRequires:  update-desktop-files
-BuildRequires:  wxWidgets-devel >= 3.2
+BuildRequires:  wxGTK3-devel >= 3.2
 # need the fltk fork, see deps/NanoSVG/NanoSVG.cmake
 BuildRequires:  nanosvg-devel >= 2022.12.22
 BuildRequires:  (cmake(Catch2) >= 2.9 with cmake(Catch2) < 3)
@@ -97,16 +102,12 @@
 %endif
 # this is not prusaslicer specific, space mouse users install it themselves
 rm resources/udev/90-3dconnexion.rules
-# we want to use the system provided expat lib
-sed -i "/add_library(libexpat INTERFACE)/d" CMakeLists.txt
 # adjust the qhull version requirement
 sed -i "s|find_package(Qhull 7.2 REQUIRED)|find_package(Qhull 8.0.2 
REQUIRED)|" src/CMakeLists.txt
 # fix qhull link with static lib issue
 sed -i 's#INTERFACE Qhull::qhullcpp#INTERFACE -lqhullcpp#' src/CMakeLists.txt
 # Disable slic3r_jobs_tests.cpp as the test fails sometimes
 sed -i 's|slic3r_jobs_tests.cpp||' tests/slic3rutils/CMakeLists.txt
-# gh#prusa3d/PrusaSlicer#12652
-sed -i /convenience.hpp/d src/slic3r/GUI/RemovableDriveManager.cpp
 
 %build
 # The build process really acquires that much memory per job. We are
@@ -120,6 +121,7 @@
 %cmake \
   -DCMAKE_CXX_STANDARD=17 \
   -DSLIC3R_FHS=1 \
+  -DSLIC3R_GTK=3 \
   -DOPENVDB_FIND_MODULE_PATH=%{_libdir}/cmake/OpenVDB
 %cmake_build
 
@@ -172,7 +174,7 @@
 %{_bindir}/prusa-gcodeviewer
 %{_libdir}/OCCTWrapper.so
 %dir %{_datadir}/%{name}/
-%{_datadir}/%{name}/{icons,models,profiles,shaders,udev,data,shapes}/
+%{_datadir}/%{name}/{icons,models,profiles,shaders,udev,data,shapes,web}/
 %{_datadir}/icons/hicolor/*/apps/%{name}*.png
 %{_datadir}/applications/PrusaSlicer.desktop
 %{_datadir}/applications/PrusaGcodeviewer.desktop

++++++ PrusaSlicer-2.7.1-slic3r-wxWidgets-3.2.4.patch ++++++
--- /var/tmp/diff_new_pack.XUHIRw/_old  2024-09-01 19:22:11.353888150 +0200
+++ /var/tmp/diff_new_pack.XUHIRw/_new  2024-09-01 19:22:11.357888314 +0200
@@ -9,11 +9,11 @@
  src/slic3r/GUI/Plater.cpp                | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
 
-diff --git a/src/slic3r/GUI/PhysicalPrinterDialog.cpp 
b/src/slic3r/GUI/PhysicalPrinterDialog.cpp
-index 2364c56247..bc2c918a60 100644
---- a/src/slic3r/GUI/PhysicalPrinterDialog.cpp
-+++ b/src/slic3r/GUI/PhysicalPrinterDialog.cpp
-@@ -467,7 +467,7 @@ void 
PhysicalPrinterDialog::build_printhost_settings(ConfigOptionsGroup* m_optgr
+Index: PrusaSlicer-version_2.8.0/src/slic3r/GUI/PhysicalPrinterDialog.cpp
+===================================================================
+--- PrusaSlicer-version_2.8.0.orig/src/slic3r/GUI/PhysicalPrinterDialog.cpp
++++ PrusaSlicer-version_2.8.0/src/slic3r/GUI/PhysicalPrinterDialog.cpp
+@@ -606,7 +606,7 @@ void PhysicalPrinterDialog::build_printh
      // Always fill in the "printhost_port" combo box from the config and 
select it.
      {
          Choice* choice = 
dynamic_cast<Choice*>(m_optgroup->get_field("printhost_port"));
@@ -22,11 +22,11 @@
          choice->set_selection();
      }
  
-diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp
-index c2b8e8694f..2f540bfe9d 100644
---- a/src/slic3r/GUI/Plater.cpp
-+++ b/src/slic3r/GUI/Plater.cpp
-@@ -5390,7 +5390,7 @@ void Plater::load_project(const wxString& filename)
+Index: PrusaSlicer-version_2.8.0/src/slic3r/GUI/Plater.cpp
+===================================================================
+--- PrusaSlicer-version_2.8.0.orig/src/slic3r/GUI/Plater.cpp
++++ PrusaSlicer-version_2.8.0/src/slic3r/GUI/Plater.cpp
+@@ -4048,7 +4048,7 @@ void Plater::load_project(const wxString
  
      p->reset();
  
@@ -36,3 +36,31 @@
          p->set_project_filename(filename);
          // Save the names of active presets and project specific config into 
ProjectDirtyStateManager.
 
+===================================================================
+More of the same:
+===================================================================
+--- a/src/slic3r/GUI/PrintHostDialogs.cpp
++++ b/src/slic3r/GUI/PrintHostDialogs.cpp
+@@ -467,9 +467,7 @@
+         wxVariant nm, hst;
+         job_list->GetValue(nm, evt.job_id, COL_FILENAME);
+         job_list->GetValue(hst, evt.job_id, COL_HOST);
+-        const wchar_t * nm_str = nm.GetString();
+-        const wchar_t * hst_str = hst.GetString();
+-        
wxGetApp().notification_manager()->set_upload_job_notification_percentage(evt.job_id
 + 1, into_u8(nm_str), into_u8(hst_str), evt.progress / 100.f);
++        
wxGetApp().notification_manager()->set_upload_job_notification_percentage(evt.job_id
 + 1, into_u8(nm.GetString()), into_u8(hst.GetString()), evt.progress / 100.f);
+     }
+ }
+ 
+--- a/src/slic3r/Utils/PrusaConnect.cpp
++++ b/src/slic3r/Utils/PrusaConnect.cpp
+@@ -290,7 +290,7 @@
+                     if (path && (!available || *available)) {
+                         StorageInfo si;
+                         si.path = boost::nowide::widen(*path);
+-                        si.name = name ? boost::nowide::widen(*name) : 
wxString();
++                        si.name = name ? boost::nowide::widen(*name) : 
std::wstring();
+                         // If read_only is missing, assume it is NOT read 
only.
+                         // si.read_only = read_only ? *read_only : false; // 
version without "ro"
+                         si.read_only = (read_only ? *read_only : (ro ? *ro : 
false));
+

++++++ PrusaSlicer-2.8.0-slic3r-includes.patch ++++++
>From ac3e07ee03b439932b9f7b00849ca202602f8901 Mon Sep 17 00:00:00 2001
From: randomtechguy <50642148+rose-da...@users.noreply.github.com>
Date: Fri, 12 Jul 2024 17:24:16 -0400
Subject: [PATCH 1/3] Update CMakeLists.txt to fix linux compile error

---
 src/slic3r/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: PrusaSlicer-version_2.8.0/src/slic3r/CMakeLists.txt
===================================================================
--- PrusaSlicer-version_2.8.0.orig/src/slic3r/CMakeLists.txt
+++ PrusaSlicer-version_2.8.0/src/slic3r/CMakeLists.txt
@@ -376,6 +376,7 @@ set(SLIC3R_GUI_SOURCES
 )
 
 find_package(NanoSVG REQUIRED)
+find_package(OpenSSL REQUIRED)
 
 if (APPLE)
     list(APPEND SLIC3R_GUI_SOURCES
@@ -404,7 +405,7 @@ endforeach()
 
 encoding_check(libslic3r_gui)
 
-target_link_libraries(libslic3r_gui libslic3r avrdude libcereal imgui 
libvgcode GLEW::GLEW OpenGL::GL hidapi libcurl ${wxWidgets_LIBRARIES} 
NanoSVG::nanosvg NanoSVG::nanosvgrast)
+target_link_libraries(libslic3r_gui libslic3r avrdude libcereal imgui 
libvgcode GLEW::GLEW OpenGL::GL hidapi libcurl ${wxWidgets_LIBRARIES} 
NanoSVG::nanosvg NanoSVG::nanosvgrast OpenSSL::SSL OpenSSL::Crypto)
 
 if (MSVC)
     target_link_libraries(libslic3r_gui Setupapi.lib)
Index: PrusaSlicer-version_2.8.0/src/slic3r/Config/Version.cpp
===================================================================
--- PrusaSlicer-version_2.8.0.orig/src/slic3r/Config/Version.cpp
+++ PrusaSlicer-version_2.8.0/src/slic3r/Config/Version.cpp
@@ -7,6 +7,7 @@
 #include <cctype>
 
 #include <boost/filesystem/operations.hpp>
+#include <boost/filesystem/directory.hpp>
 #include <boost/nowide/fstream.hpp>
 
 #include "libslic3r/libslic3r.h"
Index: PrusaSlicer-version_2.8.0/src/slic3r/GUI/UserAccountCommunication.cpp
===================================================================
--- PrusaSlicer-version_2.8.0.orig/src/slic3r/GUI/UserAccountCommunication.cpp
+++ PrusaSlicer-version_2.8.0/src/slic3r/GUI/UserAccountCommunication.cpp
@@ -13,6 +13,7 @@
 #include <boost/filesystem.hpp>
 #include <boost/nowide/cstdio.hpp>
 #include <boost/nowide/fstream.hpp>
+#include <boost/nowide/convert.hpp>
 #include <curl/curl.h>
 #include <string>
 

++++++ PrusaSlicer-version_2.7.4.tar.gz -> PrusaSlicer-version_2.8.0.tar.gz 
++++++
/work/SRC/openSUSE:Factory/PrusaSlicer/PrusaSlicer-version_2.7.4.tar.gz 
/work/SRC/openSUSE:Factory/.PrusaSlicer.new.2698/PrusaSlicer-version_2.8.0.tar.gz
 differ: char 13, line 1

Reply via email to