- Do not require libquadmath-devel on aarch64 since it does not
exist on this arch OBS-URL: https://build.opensuse.org/package/show/science/PrusaSlicer?expand=0&rev=82
This commit is contained in:
commit
1b64a11bd1
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
13
PrusaSlicer-2.6.0-octoprint-name-fix.patch
Normal file
13
PrusaSlicer-2.6.0-octoprint-name-fix.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: PrusaSlicer-version_2.6.1/src/slic3r/Utils/OctoPrint.cpp
|
||||
===================================================================
|
||||
--- PrusaSlicer-version_2.6.1.orig/src/slic3r/Utils/OctoPrint.cpp
|
||||
+++ PrusaSlicer-version_2.6.1/src/slic3r/Utils/OctoPrint.cpp
|
||||
@@ -751,7 +751,7 @@ bool PrusaLink::get_storage(wxArrayStrin
|
||||
if (path && (!available || *available)) {
|
||||
StorageInfo si;
|
||||
si.path = boost::nowide::widen(*path);
|
||||
- si.name = name ? boost::nowide::widen(*name) : wxString();
|
||||
+ si.name = name ? wxString(boost::nowide::widen(*name)) : wxString();
|
||||
// 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));
|
65
PrusaSlicer-2.7.1-slic3r-wxWidgets-3.2.4.patch
Normal file
65
PrusaSlicer-2.7.1-slic3r-wxWidgets-3.2.4.patch
Normal file
@ -0,0 +1,65 @@
|
||||
From f67a877d583eba5472003f0ea4df3f7420d70734 Mon Sep 17 00:00:00 2001
|
||||
From: Gregor Riepl <onitake@gmail.com>
|
||||
Date: Mon, 27 Nov 2023 13:01:55 +0100
|
||||
Subject: [PATCH] Make initializers explicit to avoid ambiguous wxArrayString
|
||||
overloads
|
||||
|
||||
---
|
||||
src/slic3r/GUI/PhysicalPrinterDialog.cpp | 2 +-
|
||||
src/slic3r/GUI/Plater.cpp | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
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"));
|
||||
- choice->set_values({ m_config->opt_string("printhost_port") });
|
||||
+ choice->set_values(std::vector<std::string>({ m_config->opt_string("printhost_port") }));
|
||||
choice->set_selection();
|
||||
}
|
||||
|
||||
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();
|
||||
|
||||
- if (! load_files({ into_path(filename) }).empty()) {
|
||||
+ if (! load_files(std::vector<boost::filesystem::path>({ into_path(filename) })).empty()) {
|
||||
// At least one file was loaded.
|
||||
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));
|
54
PrusaSlicer-2.8.0-slic3r-includes.patch
Normal file
54
PrusaSlicer-2.8.0-slic3r-includes.patch
Normal file
@ -0,0 +1,54 @@
|
||||
From ac3e07ee03b439932b9f7b00849ca202602f8901 Mon Sep 17 00:00:00 2001
|
||||
From: randomtechguy <50642148+Rose-David@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>
|
||||
|
3
PrusaSlicer-version_2.7.4.tar.gz
Normal file
3
PrusaSlicer-version_2.7.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6370a9593aeac5c56543e66d167ab5fd053df55b9376392c2d6184eb0bf65fc8
|
||||
size 65396083
|
3
PrusaSlicer-version_2.8.0.tar.gz
Normal file
3
PrusaSlicer-version_2.8.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:58d484f85b34d83026f8220bab983f855fbcd72767d0887f21f5cc382e5b19ab
|
||||
size 69806919
|
685
PrusaSlicer.changes
Normal file
685
PrusaSlicer.changes
Normal file
@ -0,0 +1,685 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 3 12:51:07 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Do not require libquadmath-devel on aarch64 since it does not
|
||||
exist on this arch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 29 16:20:17 UTC 2024 - Ben Greiner <code@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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 26 07:16:48 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Don't include stray filesystem/convenience.hpp removed in
|
||||
boost 1.85
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 25 13:54:10 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 2.7.4
|
||||
* Objects from 3MFs generated by BambuStudio now retain
|
||||
multimaterial painting when loaded. BambuStudio saves the data
|
||||
under a changed name, but because both the location and meaning
|
||||
are the same, PrusaSlicer now tries to load the data under the
|
||||
new name when it fails to find the attribute that PrusaSlicer
|
||||
has always used. #12502
|
||||
* Fix: Downloading files from Printables did not work correctly
|
||||
(#12521).
|
||||
- Fixes in 2.7.3
|
||||
## Bug fixes with respect to 2.7.3-beta1
|
||||
* Removed negligible deretractions sometimes emitted into the
|
||||
G-code after the recently introduced spiral vase mode
|
||||
improvements. While they did not present actual issues with the
|
||||
print, they were confusingly shown in the G-code preview.
|
||||
## Bug fixes with respect to 2.7.3-alpha1
|
||||
* The z offset configuration option was not correctly accounted
|
||||
for when doing the last filament unload above the wipe tower.
|
||||
* Fixed crash when importing a specific config bundle while in
|
||||
SLA mode.
|
||||
* Linux specific: When changing active profile using the dropdown
|
||||
in the right panel, the dropdown would stay open when Unsaved
|
||||
Changes dialog was shown.
|
||||
* The improvements of spiral vase mode handling introduced in the
|
||||
previous alpha did not work correctly with absolute extruder
|
||||
addressing (#2841 (comment)). They are now only applied with
|
||||
relative extruder addressing, otherwise it falls back to the
|
||||
old behaviour.
|
||||
* After performing a toolchange on the wipe tower, a G-code to
|
||||
set layer z is now always emitted. This is to make sure that
|
||||
the layer z is correct and that it was not changed in custom
|
||||
toolchange G-code. While the user is expected to pass such
|
||||
information in the custom G-code, the "z-ensuring" G-code was
|
||||
present in previous versions and removing it in 2.7.2 was
|
||||
therefore a needless breaking change (#12361).
|
||||
* Fixed blobs on the first layer when using ramping travels with
|
||||
absolute extruder addressing enabled.
|
||||
* Fixed issues with 'avoid crossing perimeters' function
|
||||
(#12432). This problem was actually fixed in 2.7.3-alpha1
|
||||
already.
|
||||
## Major improvements first seen in 2.7.3-alpha1
|
||||
* See
|
||||
https://github.com/prusa3d/PrusaSlicer/releases/tag/version_2.7.3-alpha1
|
||||
for the full description
|
||||
* Improvements of multi-material printing
|
||||
* Purging volumes
|
||||
* Spiral vase mode improvements
|
||||
## Other improvements with respect to 2.7.2
|
||||
* PrusaSlicer is now able to open 3MF files generated by
|
||||
BambuStudio and load geometry from them. (#10718, PR #10808,
|
||||
thanks to @cmguo). Please note that BambuStudio allows to save
|
||||
a 3MF containing G-code only, which is not supported by
|
||||
PrusaSlicer and loading of such 3MFs will fail.
|
||||
* Metadata of binary G-code have a new item named objects_info,
|
||||
which lists all the objects in the print and their boundary
|
||||
polygons. The same info was added into the comments at the end
|
||||
of ASCII G-codes.
|
||||
## Bugfixes with respect to 2.7.2
|
||||
* Pressure equalizer limits were not respected when Dynamic speed
|
||||
on overhangs was used (#9485). This is now fixed. Pressure
|
||||
equalizer is also not applied after long travels. Many thanks
|
||||
to @MGunlogson for providing a fix in his pull request #9622.
|
||||
* Fixed a bug resulting in inadequate anchoring of bridging
|
||||
extrusions. This bug was introduced in PrusaSlicer 2.6.0.
|
||||
#10231, #11500, #11633, #11173, #11117, #9999, #10313, #11150,
|
||||
#10493
|
||||
* When using Cancel object feature, the marks denoting where one
|
||||
object ends and another starts were placed incorrectly. As a
|
||||
result, there was a missing deretraction after all travels to
|
||||
objects which would normally be printed following the cancelled
|
||||
object. The issue was even worse with sequential printing,
|
||||
where the uncompensated retractions on the cancelled object
|
||||
summed up and could result in filament being unloaded past the
|
||||
driving gears.
|
||||
* When arcs (G2 and G3 G-codes) were enabled, PrusaSlicer
|
||||
generated toolpaths outside the print area in certain cases
|
||||
(#12381).
|
||||
- Increase memory and disk space for building constraints
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 13 19:02:19 UTC 2024 - Frank Kunz <mailinglists@kunz-im-inter.net>
|
||||
|
||||
- Update to 2.7.2
|
||||
## Improvements with respect to 2.7.1
|
||||
* Multi-material segmentation improvements
|
||||
* Color change (M600) improvements
|
||||
* Ramping travel improvements
|
||||
* SLA overrides
|
||||
* Windows specific: The cut tool sometimes produces non-manifold
|
||||
meshes. This situation is now detected and the user is advised
|
||||
to use Windows repair algorithm on the resulting objects.
|
||||
## Bugs fixes with respect to 2.7.1
|
||||
* Fixed incorrect partial arrange in certain cases.
|
||||
* Fixing arrange issues with aligning to unprintable objects when
|
||||
doing Shift+A.
|
||||
* Fixed arrange which sometimes put the wipe tower slightly out of
|
||||
bed
|
||||
* Fixed UI glitch when setting object dimensions to extremely high
|
||||
values.
|
||||
* Fixed a bug in generation of brim and skirt preview in the
|
||||
preliminary G-code preview (#11821, thanks to @supermerill)
|
||||
* Fixed an issue Ctrl+Shift+Tab shortcut, which incorrectly
|
||||
collapsed sidebar.
|
||||
* Fixed wiggling of Rotate gizmo when moving an object in certain
|
||||
cases.
|
||||
* Fixed missing updated when moving through dropdown items using
|
||||
keyboard arrows.
|
||||
* Improve filtering of special characters on Klipper
|
||||
EXCLUDE_OBJECT labels (#11802, PR#11813 by @jschuh - thank
|
||||
you).
|
||||
* Fixed layer change color dialog opening off screen.
|
||||
* Fixed occasional crash during thumbnail generation for SLA
|
||||
printers.
|
||||
* Fixed slicing issues such as missing infills and similar on
|
||||
multi part models when sliced with object-specific settings.
|
||||
* In SLA mode, it was not possible to use custom file extension
|
||||
(configured in Output Settings).
|
||||
* Fixed incorrect calculation of wipe length in certain cases,
|
||||
leading to shorter wipes than configured.
|
||||
* Fixed various issues and UI glitches in text/SVG embossing.
|
||||
* Fixed missing update when a new printer was added while a
|
||||
physical printer preset was selected.
|
||||
* Scrolling of the window was incorrectly performed when using
|
||||
mouse wheel over a dropdown.
|
||||
* Windows specific: Drop down menus appeared outside of
|
||||
PrusaSlicer and could not be opened again.
|
||||
* When loading an object from a 3MF, the suggestion to rescale
|
||||
the model is not shown, because 3MFs store the information
|
||||
about the correct unit (unlike STL files).
|
||||
* Fixed an incorrect check of supported OpenGL version, which led
|
||||
to a hard crash when OpenGL 3.2 was not available.
|
||||
* When loading a 3MF for MM printer, PrusaSlicer offers to load
|
||||
individual models as parts of a single object. This dialog did
|
||||
not show up for specific geometries.
|
||||
* PrusaSlicer did not start on some Windows Server installations
|
||||
due to a missing DLL (wlanapi.dll). The library is now loaded
|
||||
in runtime and the respective features.
|
||||
* Travels with standard lifts (non-ramping) were incorrectly
|
||||
generated.
|
||||
* With option "Retract on layer change" disabled, there was a
|
||||
retraction missing before the first travel on each layer.
|
||||
* Variable layer height limits were not applied correctly when
|
||||
using multi-extruder printer with different values of min and
|
||||
max layer height.
|
||||
* When z travel speed was set to zero, it was incorrectly
|
||||
exported into the G-code, effectively stopping the print.
|
||||
Instead, regular travel speed should have been used for the z
|
||||
travel.
|
||||
* When Print / Filament / Printer profiles contained different
|
||||
values for the same key (which should normally not happen,
|
||||
providing the profiles are correct), the misplaced keys could
|
||||
have been used instead of the correct ones.
|
||||
* Fixed incorrectly applied retraction in vase mode when ramping
|
||||
travels were enabled.
|
||||
* When using the "No sparse layers" wipe tower, the print head
|
||||
sometimes lowered before travelling to the wipe tower, digging
|
||||
into an object and destroying the print.
|
||||
* Fixed a crash when loading certain AMF files.
|
||||
* When specific extruder was set for the wipe tower and z
|
||||
position has changed in custom toolchange G-code, the z
|
||||
position was not correctly accounted for.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 29 09:47:16 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Add PrusaSlicer-2.7.1-slic3r-wxWidgets-3.2.4.patch
|
||||
* Fixes a compilation error with wxWidgets 3.2.4
|
||||
* gh#prusa3d/PrusaSlicer#11769
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 25 13:59:05 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 2.7.1
|
||||
## Improvements fixed with respect to 2.7.0
|
||||
* The option Export as binary G-code was removed from Print
|
||||
Settings. Instead, there is a new option in Printer Settings
|
||||
named Supports binary G-code so it can be set at printer level.
|
||||
There is also a new global switch in Preferences->Other, which
|
||||
controls whether binary G-code will be generated for printers
|
||||
which support it. It is therefore easy to turn the feature on
|
||||
or off without doing any changes in profiles (#11734, #11873).
|
||||
* Wipe tower weight was added into G-code metadata so it can be
|
||||
easily displayed in the print statistics on the printer's
|
||||
display.
|
||||
## Bugs fixed with respect to 2.7.0
|
||||
* When ramping travels were enabled, sometimes a perimeter was
|
||||
missing at the layer where the spiral starts.
|
||||
* Fixed a crash when selecting embossed text while an SVG tool is
|
||||
opened (#11759).
|
||||
* Helical layer changes could result in out of bed moves
|
||||
(#11754).
|
||||
* Helical layer change was enabled even when there was no
|
||||
retraction on layer change (#11709, #11761).
|
||||
- Release 2.7.0
|
||||
* This is the stable release of PrusaSlicer 2.7.0, introducing
|
||||
SVG emboss, binary G-codes, ramping travels, support for G2/G3
|
||||
G-codes, support for Cancel object function and much more. It
|
||||
also fixes many bugs.
|
||||
* Important note for Original Prusa MINI, MK4 and XL owners: The
|
||||
new configuration update of our system profiles will enable
|
||||
binary G-code and G2/G3 features. Users using older firmware
|
||||
need to update to 5.1.0-alpha2 or later or manually turn these
|
||||
features off. On older firmware, new binary G-code is not
|
||||
visible or recognized and the G2/G3 G-codes may not work
|
||||
perfectly.
|
||||
* Travel moves improvements
|
||||
* SVG embossing tool (#6916, #9373)
|
||||
* G2 and G3 G-code support #4352
|
||||
* Binary G-code
|
||||
* Improved user interface
|
||||
* Custom G-code editor
|
||||
* Cancel object (Marlin, RRF and Klipper)
|
||||
- D PrusaSlicer-2.6.0-wxWidgets-CheckResizerFlags-assert-fix.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 15 19:03:08 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 2.6.1
|
||||
* When renaming a preset to a name containing non-ASCII
|
||||
characters, the encoding was mangled. This is now fixed
|
||||
(#11232).
|
||||
* Supports are no longer shown when using the clipping plane in
|
||||
SLA supports tool.
|
||||
* Fixed a crash when displaying command line help (#11060).
|
||||
* Two tooltips in the Cut tool dialog were shown with mangled
|
||||
encoding in some languages (#11236).
|
||||
* The Help menu in PrusaSlicer was extended with "Sample G-codes
|
||||
and Models" item, which navigates the user to the respective
|
||||
page on our website where these assets can be downloaded.
|
||||
* The Help menu was extended with "Quick Start" item, which
|
||||
navigates the user to the beginner's guide on our website.
|
||||
- Drop PrusaSlicer-pr11154-fix-cgal-c++-error.patch
|
||||
- Drop PrusaSlicer-drop-wx3.0.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 29 07:23:22 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Add PrusaSlicer-pr11154-fix-cgal-c++-error.patch
|
||||
* gh#prusa3d/PrusaSlicer#11154
|
||||
* Fixes error on CGAL 5.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 20 16:01:37 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Limit to CGAL < 5.6 as it introduced breaking changes which
|
||||
PrusaSlicer is not compatible yet
|
||||
- Disable failing ix86 build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 21 10:32:11 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Require wxWidgets >= 3.1.6
|
||||
* Add PrusaSlicer-drop-wx3.0.patch
|
||||
* gh#prusa3d/PrusaSlicer#11026, gh#prusa3d/PrusaSlicer#11027
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 9 14:30:54 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- BuildRequire nanosvg-devel >= 2022.12.22
|
||||
* only the fltk fork has nsvgRasterizeXY()
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 5 14:13:11 UTC 2023 - Hans-Peter Jansen <hpj@urpla.net>
|
||||
|
||||
- disable slic3r_jobs_tests.cpp, as it fails sometimes
|
||||
- PrusaSlicer-2.6.0-wxWidgets-CheckResizerFlags-assert-fix.patch
|
||||
applied
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 4 17:16:14 UTC 2023 - Hans-Peter Jansen <hpj@urpla.net>
|
||||
|
||||
- Update to version 2.6.0
|
||||
* too many changes to list here, you may want to check:
|
||||
https://github.com/prusa3d/PrusaSlicer/commits/version_2.6.0
|
||||
* PrusaSlicer-boost1.79.patch was applied upstream: removed
|
||||
* PrusaSlicer-cereal.patch was applied upstream: removed
|
||||
* gentoo-887055-boost-fix.patch was applied upstream: removed
|
||||
* new dependencies: nanosvg (new package), glu and glew
|
||||
* more sed fiddling required for system expat and qhull support
|
||||
* PrusaSlicer-2.6.0-octoprint-name-fix.patch added to work around
|
||||
compile error: cast lambda expressionn to same type
|
||||
* wxWidgets 3.0 is not supported anymore (even project states
|
||||
otherwise). Let's hope, it will work with 3.2 better now.
|
||||
upstream is using a patched 3.1 version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 15:04:55 UTC 2023 - Klaus Kämpf <kkaempf@suse.com>
|
||||
|
||||
- Update to version 2.5.2
|
||||
* contains profiles for Original Prusa MK4 printer
|
||||
|
||||
- Update to version 2.5.1
|
||||
* 'Monotonic lines' top/bottom fill pattern
|
||||
* It is now possible to set acceleration separately for external
|
||||
perimeters, solid infill and top solid infill (Print Settings->
|
||||
Speed->Acceleration control)
|
||||
* Original Prusa XL specific: Arrangement into the corner
|
||||
* Fixed a crash sometimes occurring when slicing very detailed models
|
||||
* Added Original Prusa XL profiles
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 31 18:34:16 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Add gentoo-887055-boost-fix.patch
|
||||
* Fix build error with boost-filesystem 1.81
|
||||
* gh#prusa3d/PrusaSlicer#9294
|
||||
* https://bugs.gentoo.org/887055
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 1 17:25:36 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update up-occt-version.patch
|
||||
* Allow any version for openCASCADE
|
||||
* Luckily, the package compiles with recently updated occt v7.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 29 11:35:55 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to version 2.5.0
|
||||
* Arachne perimeter generator
|
||||
* Lightning infill
|
||||
* Pressure equalizer
|
||||
* STEP file import
|
||||
* various smaller features and bugfixes
|
||||
* Big changelog since v2.4.2, most changes decribed in alpha and
|
||||
beta release notes:
|
||||
https://github.com/prusa3d/PrusaSlicer/releases
|
||||
- Add up-occt-version.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 5 17:17:49 UTC 2022 - Hans-Peter Jansen <hpj@urpla.net>
|
||||
|
||||
- Quoting Lucas Matena (see gh#prusa3d/PrusaSlicer#8299, issue 2):
|
||||
if you link PrusaSlicer 2.5.x with wxWidgets 3.2, you will most
|
||||
likely break it: link against wxWidgets 3.0.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 1 15:42:40 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Add PrusaSlicer-cereal.patch -- gh#prusa3d/PrusaSlicer#7809
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 31 19:04:00 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Disable test_voronoi -- rh#2059646
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 8 10:03:57 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to version 2.4.2
|
||||
* SLA mode incorrectly handled 3MFs from 3rd party software,
|
||||
resulting in misplaced SLA support points and holes in some
|
||||
cases (#6100, #7359, #7189, #7826, #7659). This is very old
|
||||
issue.
|
||||
* Vase mode preview did not show in cases when Custom Start
|
||||
G-Code lacked moves in Z #8032
|
||||
* When loading a 3rd party 3MF using drag and drop. PrusaSlicer
|
||||
no longer asks if the 3MF shall be loaded as a project (which
|
||||
makes no sense since it contains no config) and loads the
|
||||
geometry only
|
||||
* Using the Layer Height Modifier with the wipe tower was
|
||||
impossible with multiple objects. The wipe tower reported that
|
||||
the layer height profile is different, even though it was in
|
||||
fact set the same on all objects (#7711, #7903, #8044)
|
||||
* Fixed a crash on "Convert from/to units" when several objects
|
||||
were selected
|
||||
* Automatic color change for logo crashed PrusaSlicer in certain
|
||||
cases (when a one-layer object was present) #8156
|
||||
* Linux specific: Fixed a crash on opening projects in some cases
|
||||
(#8078, #8097)
|
||||
* Added Snapmaker bundle (Snapmaker A250, Snapmaker A350). Based
|
||||
on https://github.com/nivekmai/snapmaker-prusa by @nivekmai,
|
||||
@WilliamBosacker, @mrworf
|
||||
* Added profiles for Zonestar printers (Z5, Z6, Z5X, Z8, Z9),
|
||||
based on slic3r/slic3r-profiles#19 by @ZONESTAR3D
|
||||
* Fixed a crash when Unsaved Changes dialog attempted to show a
|
||||
modified config option which is not available in current mode
|
||||
(e.g. Start G-Code in Simple mode). #7905
|
||||
* Fixed a bug that when the user was closing the application and
|
||||
replied 'Yes' in the dialog asking about unsaved project while
|
||||
also checking 'Remember my choice', it made it impossible to
|
||||
close PrusaSlicer in the next runs when there were no objects
|
||||
in the plater #8076, #8122
|
||||
* Loading of a G-Code in G-Code Viewer or loading config from
|
||||
G-Code file sometimes failed because of a bug in parsing of the
|
||||
configuration block at the end.
|
||||
* Fixed incorrect rendering of some characters used in the
|
||||
recently updated Simplified Chinese translation #8171
|
||||
* Fixed incorrect number of toolchanges reported in "Sliced Info"
|
||||
box when wipe tower was used. The annotations of toolchanges in
|
||||
G-Code were also numbered wrong #8186
|
||||
* Fixed a crash when using the "Import SL1 Archive" function and
|
||||
either cancelling the dialog or confirming a non-existing file
|
||||
#8175
|
||||
* Recycling symbols in Shape Gallery were mirrored so the user
|
||||
does not have to flip them when using them as negative volumes
|
||||
at the base of the print (which is the usual use case). Also,
|
||||
PLA recycling symbol was added #7800
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 25 11:27:58 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Refresh PrusaSlicer-boost1.79.patch with upstream's fix
|
||||
* gh#prusa3d/PrusaSlicer#8238
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 24 09:26:22 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Add PrusaSlicer-boost1.79.patch avoiding the deprecation
|
||||
of boost::filesystem::ofstream in Boost 1.79
|
||||
* gh#prusa3d/PrusaSlicer#8238
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 12 12:59:51 UTC 2022 - Hans-Peter Jansen <hpj@urpla.net>
|
||||
|
||||
- Use gcc version 10 for anything but Tumbleweed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 12 06:41:47 UTC 2022 - Adrian Schröter <adrian@suse.de>
|
||||
|
||||
- Use gcc version 10
|
||||
This allows the build on Leap 15.3/15.4 and in Factory using the same
|
||||
compiler.
|
||||
- Add buildignore to libglfw3-wayland to fix building for 15.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 18 11:44:17 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 2.4.1
|
||||
* Big changelog since v2.4.0, most changes decribed in alpha and
|
||||
beta release notes:
|
||||
https://github.com/prusa3d/PrusaSlicer/releases
|
||||
* introducing G-Code Substitutions
|
||||
* fixing bugs found in 2.4.0 release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 24 14:39:28 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 2.4.0
|
||||
* Big changelog since v2.3.3, most changes decribed in alpha and
|
||||
beta release notes:
|
||||
https://github.com/prusa3d/PrusaSlicer/releases
|
||||
* Send system info: new dialog for telemetry. Opt-in.
|
||||
- Drop patches
|
||||
* PrusaSlicer-catch2upd.patch
|
||||
* PrusaSlicer-issue6681-openvdb.patch
|
||||
* PrusaSlicer-pr6590-updateTBB.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 23 11:21:48 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Make compatible with TBB 2021
|
||||
* add FindTBB.cmake -- gh#prusa3d/PrusaSlicer#7332
|
||||
* add PrusaSlicer-pr6590-updateTBB.patch
|
||||
gh#prusa3d/PrusaSlicer#6590
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 24 07:53:45 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Add PrusaSlicer-catch2upd.patch
|
||||
* gh#prusa3d/PrusaSlicer#6518
|
||||
* Update of Catch2 test framework from v2.13.3 to v2.13.6
|
||||
* Fixes build failure due to change of MINSIGSTKSZ in glibc 2.34
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 30 11:37:03 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Add PrusaSlicer-issue6681-openvdb.patch
|
||||
* gh#prusa3d/PrusaSlicer#6681
|
||||
* ilmbase-devel is now provided by openexr-devel
|
||||
* OpenVDB's FindOpenVDB.cmake requires blosc-devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 16 15:22:48 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to v2.3.3
|
||||
* fix a bug in handling FDM multi-material project and
|
||||
configuration files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 9 16:08:39 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to v2.3.2
|
||||
* Introducing support for the new Prusa SL1S SPEED masked
|
||||
SLA printer, Prusa CW1S firmware updater, PrusaLink
|
||||
host type for Prusa i3 MK3 printers, Monotonic infill
|
||||
for all solid layers, better support for reading
|
||||
configurations of newer PrusaSlicer releases, new 3rd
|
||||
party printer profiles and a handful of bug fixes.
|
||||
- Switch to bundled GLEW -- gh#prusa3d/PrusaSlicer#6396
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 10:50:45 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to v2.3.1
|
||||
New 3rd party printer profiles
|
||||
* Multiple Creality printers profiles were added (Ender-3 Max,
|
||||
Ender-4, Ender-6, CR-5 Pro, CR-5 Pro H, CR-6 SE, CR-6 Max,
|
||||
CR-10 Max, CR-200B, CR-8), thanks @pmjdebruijn.
|
||||
* Added Artillery printer profiles (Sidewinder X1, Genius),
|
||||
thanks @SzabolcsHornyak.
|
||||
* Added INAT printer profiles, thanks @MarkINAT.
|
||||
* Updated Anycubic Kossel bed texture (thanks @brunosso) and
|
||||
Anycubic Kossel bed STL.
|
||||
Vulnerability issues fixed
|
||||
* The Talos Cisco Intelligence Group did a great job identifying
|
||||
potential security issues in loading invalid and potentially
|
||||
malicious AMF and 3MF files, see their vulnerability reports
|
||||
TALOS-2020-1222 and TALOS-2020-1218. We fixed these two
|
||||
potential security issues with this release of PrusaSlicer.
|
||||
Bugs fixed with respect to PrusaSlicer 2.3.0
|
||||
* Reduced number of hits shown by the "Find config option"
|
||||
dialog, fixed case insensitive search for non-Latin1 languages
|
||||
#5202.
|
||||
* Fixed G-code preview with coloring by a tool and visualization
|
||||
of travels enabled #6095.
|
||||
* Fixed opening of drop down menus at the bottom of the screen
|
||||
on multi-monitor setups #2999 #5911 #5957. This issue has been
|
||||
fixed by us in wxWidgets and accepted by the upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 11 18:43:08 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to v2.3.0
|
||||
* Introducing paint-on supports, ironing, monotonic
|
||||
infill, seam painting, adaptive and support cubic
|
||||
infill, print time per feature analysis, standalone
|
||||
G-code viewer application, better auto-arrange with a
|
||||
customizable gap and rotation, search function for the
|
||||
settings, reworked "Avoid crossing perimeters" function,
|
||||
physical printers (network settings), many new 3rd party
|
||||
printer profiles and much, much more.
|
||||
- Full Changelog entries for betas and release candidates:
|
||||
https://github.com/prusa3d/PrusaSlicer/releases
|
||||
- Drop PrusaSlicer-pr4340-boost-1-73.patch merged upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 20 20:12:40 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- Remove extra PrusaSlicer.desktop. Use upstream's desktop files.
|
||||
Graphics;3DGraphics seems to be the consensus now.
|
||||
- Remove wrapper gh#prusa3d/PrusaSlicer#4691
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 1 21:20:26 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- support boost >= 1.73
|
||||
* PrusaSlicer-pr4340-boost-1-73.patch gh#prusa3d/PrusaSlicer#4340
|
||||
* fixes gh#prusa3d/PrusaSlicer#4264
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 1 11:46:30 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- enforce GDK_BACKEND=x11 by indroducing the same wrapper as Fedora
|
||||
gh#prusa3d/PrusaSlicer#4691
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 20 15:50:07 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- revert the memoryperjob change. The build process really acquires
|
||||
that much memory per job and the workers cannot provide 3GB per
|
||||
CPU core. Sadly, we are limited by memory not by CPU cores.
|
||||
- require 11 GB of RAM. This allows us to run 3 jobs in parallel and
|
||||
can be provided by all architectures
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 20 09:03:33 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Use memoryperjob constraint instead of %limit_build macro.
|
||||
- Use only 1GB for memoryperjob.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 10 08:12:10 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Use wxGTK3 instead of wxWidgets (GTK2), for better HiDPI and
|
||||
Wayland support.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 16 12:09:13 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- This is mainly a cosmetic update so that the package gets rebuilt
|
||||
in Factory. Rebuild is needed because of wxWidgets - boo#1172750
|
||||
- Add openvdb-tools package for better cmake reporting.
|
||||
- Make the 32-bit floating point workaround more readable.
|
||||
gh#prusa3d/PrusaSlicer#3781
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 24 07:24:26 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- BuildRequire pkgconfig(libudev) instead of libudev-devel: allow
|
||||
OBS to shortcut through -mini flavors.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 21 22:08:07 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- update to version 2.2.0
|
||||
introducing SLA hollowing and hole drilling, support for 3rd party
|
||||
printer vendors, 3Dconnexion support, automatic variable layer height,
|
||||
macOS dark mode support, greatly improved ColorPrint feature and much,
|
||||
much more.
|
||||
See https://github.com/prusa3d/PrusaSlicer/releases/tag/version_2.2.0
|
||||
and the changelogs for the release candidates, betas and alphas since
|
||||
2.1.1 for a complete list of changes.
|
||||
- reactivate parallel builds, but need strong enough workers and reserve
|
||||
4G of memory per thread (memory-constraints, %limit_build)
|
||||
- new build dependencies: cgal, ilmbase, more of boost, libudev, openvdb
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 11 10:24:01 UTC 2019 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- update to version 2.1.1
|
||||
- integrating the Prusa Mini printer into the
|
||||
installation wizard
|
||||
- 3D scene thumbnails are newly generated and exported
|
||||
into the G-code to be displayed on the Prusa Mini
|
||||
printer's display
|
||||
- use Graphics;3DGraphics for non Tumbleweed distros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 13 19:34:47 UTC 2019 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- final 2.1.0
|
||||
- symlink icon files instead of duplicate copy
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 7 15:00:17 UTC 2019 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- new version 2.1.0-rc
|
||||
- remove obsolete patch file
|
||||
- tag localization files
|
||||
- remove stray Noto font file, add as dependency
|
||||
- outsource Desktop file creation
|
||||
- move Desktop category to "Science;Construction"
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 29 11:30:21 UTC 2019 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- Clean up specfile according to declined submit request 718985
|
||||
- Remove non-devel BuildRequires
|
||||
- Move icons to icons/hicolor
|
||||
- build with -j1 as otherwise x64 build is stuck
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 26 15:25:15 UTC 2019 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- use new patch from upstream
|
||||
(see https://github.com/prusa3d/PrusaSlicer/pull/2676)
|
||||
- use Education;Construction as long as boo#1074711 is not resolved
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 23 11:29:49 UTC 2019 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- initial specfile
|
186
PrusaSlicer.spec
Normal file
186
PrusaSlicer.spec
Normal file
@ -0,0 +1,186 @@
|
||||
#
|
||||
# spec file for package PrusaSlicer
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: PrusaSlicer
|
||||
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.chikov@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
|
||||
Patch11: PrusaSlicer-2.6.0-octoprint-name-fix.patch
|
||||
BuildRequires: blosc-devel
|
||||
BuildRequires: cereal-devel
|
||||
BuildRequires: cgal-devel >= 5.6
|
||||
BuildRequires: cmake
|
||||
BuildRequires: eigen3-devel >= 3
|
||||
BuildRequires: expat
|
||||
BuildRequires: fdupes
|
||||
# gcc v8 is required as least for charconv header. version 10 exists on 15.4 and tumbleweed
|
||||
%if 0%{?suse_version} >= 1550
|
||||
%define gcc_ver %{gcc_version}
|
||||
%else
|
||||
%define gcc_ver 10
|
||||
%endif
|
||||
BuildRequires: gcc%gcc_ver-c++
|
||||
BuildRequires: gtest >= 1.7
|
||||
BuildRequires: libboost_atomic-devel
|
||||
BuildRequires: libboost_filesystem-devel
|
||||
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
|
||||
%ifnarch aarch64
|
||||
BuildRequires: libquadmath-devel
|
||||
%endif
|
||||
BuildRequires: memory-constraints
|
||||
BuildRequires: nlopt-devel
|
||||
BuildRequires: occt-devel
|
||||
BuildRequires: openexr-devel
|
||||
BuildRequires: openvdb-devel >= 7.1
|
||||
BuildRequires: openvdb-tools
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: tbb-devel
|
||||
BuildRequires: update-desktop-files
|
||||
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)
|
||||
BuildRequires: cmake(LibBGCode)
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(gl)
|
||||
BuildRequires: pkgconfig(glew)
|
||||
BuildRequires: pkgconfig(glu)
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: pkgconfig(qhull_r)
|
||||
BuildRequires: pkgconfig(qhullcpp)
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-egl)
|
||||
Requires: noto-sans-fonts
|
||||
# Cannot allocate memory to build
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
%description
|
||||
PrusaSlicer takes 3D models (STL, OBJ, AMF) and converts them into G-code
|
||||
instructions for FFF printers or PNG layers for mSLA 3D printers. It's
|
||||
compatible with any modern printer based on the RepRap toolchain, including
|
||||
all those based on the Marlin, Prusa, Sprinter and Repetier firmware.
|
||||
It also works with Mach3, LinuxCNC and Machinekit controllers.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-version_%{version}
|
||||
%if 0%{?suse_version}
|
||||
sed -i 's/UNKNOWN/%{release}-%{?is_opensuse:open}SUSE-%{suse_version}/' version.inc
|
||||
%endif
|
||||
# this is not prusaslicer specific, space mouse users install it themselves
|
||||
rm resources/udev/90-3dconnexion.rules
|
||||
# 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
|
||||
|
||||
%build
|
||||
# The build process really acquires that much memory per job. We are
|
||||
# limited by memory not by CPU cores. Using memoryperjob in _constraints cannot
|
||||
# provide any workers on some architectures. This is still better than not using
|
||||
# parallel building at all.
|
||||
# https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.build_job_constraints.html
|
||||
# https://en.opensuse.org/openSUSE:Specfile_guidelines#Parallel_make
|
||||
%limit_build -m 3072
|
||||
export CC=gcc-%gcc_ver CXX=g++-%gcc_ver
|
||||
%cmake \
|
||||
-DCMAKE_CXX_STANDARD=17 \
|
||||
-DSLIC3R_FHS=1 \
|
||||
-DSLIC3R_GTK=3 \
|
||||
-DOPENVDB_FIND_MODULE_PATH=%{_libdir}/cmake/OpenVDB
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%suse_update_desktop_file -r PrusaSlicer Graphics 3DGraphics
|
||||
%suse_update_desktop_file -r PrusaGcodeviewer Graphics 3DGraphics
|
||||
|
||||
#remove stray font file
|
||||
rm -rf %{buildroot}%{_datadir}/%{name}/fonts
|
||||
|
||||
# Copied and adapted from Fedora package:
|
||||
# https://src.fedoraproject.org/rpms/prusa-slicer
|
||||
# Upstream installs the translation source files when they probably shouldn't
|
||||
rm %{buildroot}%{_datadir}/%{name}/localization/{PrusaSlicer.pot,list.txt}
|
||||
find %{buildroot}%{_datadir}/%{name}/localization/ -name \*.po -delete
|
||||
|
||||
# Copied and adapted from Fedora package:
|
||||
# https://src.fedoraproject.org/rpms/prusa-slicer
|
||||
# Handle locale files. The find_lang macro doesn't work because it doesn't
|
||||
# understand the directory structure. This copies part of the funtionality of
|
||||
# find-lang.sh by:
|
||||
# * Getting a listing of all files
|
||||
# * removing the buildroot prefix
|
||||
# * inserting the proper 'lang' tag
|
||||
# * removing everything that doesn't have a lang tag
|
||||
# * A list of lang-specific directories is also added
|
||||
# The resulting file is included in the files list, where we must be careful to
|
||||
# exclude that directory.
|
||||
find %{buildroot}%{_datadir}/%{name}/localization -type f -o -type l | sed '
|
||||
s:'"%{buildroot}"'::
|
||||
s:\(.*/%{name}/localization/\)\([^/_]\+\)\(.*\.mo$\):%%lang(\2) \1\2\3:
|
||||
s:^\([^%].*\)::
|
||||
s:%lang(C) ::
|
||||
/^$/d
|
||||
' > lang-files
|
||||
find %{buildroot}%{_datadir}/%{name}/localization -type d | sed '
|
||||
s:'"%{buildroot}"'::
|
||||
s:\(.*\):%dir \1:
|
||||
' >> lang-files
|
||||
|
||||
%fdupes %{buildroot}%{_datadir}
|
||||
|
||||
%check
|
||||
%ctest
|
||||
|
||||
%files -f lang-files
|
||||
%{_bindir}/prusa-slicer
|
||||
%{_bindir}/prusa-gcodeviewer
|
||||
%{_libdir}/OCCTWrapper.so
|
||||
%dir %{_datadir}/%{name}/
|
||||
%{_datadir}/%{name}/{icons,models,profiles,shaders,udev,data,shapes,web}/
|
||||
%{_datadir}/icons/hicolor/*/apps/%{name}*.png
|
||||
%{_datadir}/applications/PrusaSlicer.desktop
|
||||
%{_datadir}/applications/PrusaGcodeviewer.desktop
|
||||
%license LICENSE
|
||||
%doc README.md doc/
|
||||
|
||||
%changelog
|
11
_constraints
Normal file
11
_constraints
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<constraints>
|
||||
<hardware>
|
||||
<disk>
|
||||
<size unit="G">20</size>
|
||||
</disk>
|
||||
<physicalmemory>
|
||||
<size unit="G">16</size>
|
||||
</physicalmemory>
|
||||
</hardware>
|
||||
</constraints>
|
20
up-occt-version.patch
Normal file
20
up-occt-version.patch
Normal file
@ -0,0 +1,20 @@
|
||||
Index: PrusaSlicer-version_2.6.1/src/occt_wrapper/CMakeLists.txt
|
||||
===================================================================
|
||||
--- PrusaSlicer-version_2.6.1.orig/src/occt_wrapper/CMakeLists.txt
|
||||
+++ PrusaSlicer-version_2.6.1/src/occt_wrapper/CMakeLists.txt
|
||||
@@ -19,7 +19,7 @@ include(GenerateExportHeader)
|
||||
|
||||
generate_export_header(OCCTWrapper)
|
||||
|
||||
-find_package(OpenCASCADE 7.6.2 REQUIRED)
|
||||
+find_package(OpenCASCADE REQUIRED)
|
||||
|
||||
set(OCCT_LIBS
|
||||
TKXDESTEP
|
||||
@@ -58,5 +58,5 @@ target_link_libraries(OCCTWrapper ${OCCT
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
-install(TARGETS OCCTWrapper DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||
+install(TARGETS OCCTWrapper DESTINATION "${CMAKE_INSTALL_LIBDIR}")
|
||||
|
Loading…
Reference in New Issue
Block a user