Bug 272730 - cad/PrusaSlicer: update to 2.6.0
Summary: cad/PrusaSlicer: update to 2.6.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-26 09:05 UTC by zielonka michal
Modified: 2023-07-28 12:48 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (teodorsigaev)


Attachments
prusaslicer 2.6.0 (210.22 KB, patch)
2023-07-26 09:05 UTC, zielonka michal
no flags Details | Diff
without portrevision (210.20 KB, patch)
2023-07-28 06:54 UTC, zielonka michal
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zielonka michal 2023-07-26 09:05:21 UTC
Created attachment 243624 [details]
prusaslicer 2.6.0

Whole cad/PrusaSlicer directory

Update to PrusaSlicer 2.6.0
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2023-07-27 06:39:51 UTC
^Triage: If there is a changelog or release notes URL available for this version, please add it to the URL field.

Q/A: PORTREVISION should be removed

That's a huge amount of patches :-) Any chances of upstreaming them?

Thanks!
Comment 2 Teodor Sigaev 2023-07-27 07:51:21 UTC
Thank you! Nice work!

I had tried and it works perfect, at least for me. I have a one question for now: are you sure to add libwayland-egl.so:graphics/wayland for LIB_DEPEND? I remove it and, seems, it compiled without problems although wayland isn't installed at all on my notebook.

And agree, PORTVERSION should be removed.

One more notice about PrusaSlicer configuration files, in new version they are moved from ~/.PrusaSlicer to ~/.config/PrusaSlicer (without dot before PrusaSlicer directory name, that was a reason for 5 minutes confusion).
Comment 3 Teodor Sigaev 2023-07-27 08:05:33 UTC
Sorry, PORTREVISION of course.
Comment 4 Fernando Apesteguía freebsd_committer freebsd_triage 2023-07-27 08:30:30 UTC
(In reply to teodorsigaev@gmail.com from comment #2)
It seems they follow XDG conventions now. That is good. Might be worth a note in UPDATING.
Comment 5 zielonka michal 2023-07-27 15:03:32 UTC
(In reply to teodorsigaev@gmail.com from comment #2)
I added it because poudriere testport suggested it. And I also was confused with that suggestion because I don't use wayland on this machine. Maybe I could add some option but I don't know if it is a real solution.
Comment 6 zielonka michal 2023-07-27 15:07:05 UTC
(In reply to Fernando Apesteguía from comment #1)
I prepared PR to prusaslicer on github: https://github.com/prusa3d/PrusaSlicer/pull/11049. But some changes couldn't be added here. For example I had to remove changes to nanosvg because Prusaslicer stop using version which is installed from ports in FBSD.
Comment 7 zielonka michal 2023-07-27 15:33:39 UTC
(In reply to teodorsigaev@gmail.com from comment #3)
I will remove PORTREVISION and make new patch.
Comment 8 Fernando Apesteguía freebsd_committer freebsd_triage 2023-07-27 18:10:59 UTC
(In reply to zielonka michal from comment #6)
Excellent!

Thanks a lot. Those actions increase the visibility of the project and make some developers aware of FreeBSD.
Comment 9 zielonka michal 2023-07-28 06:54:43 UTC
Created attachment 243660 [details]
without portrevision

Additionally after rebase 'make qa-stage' claims that ffmpeg should be changed to ffmpeg4 in lib dependencies.
Comment 10 commit-hook freebsd_committer freebsd_triage 2023-07-28 12:48:23 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=79e5fba255ef2620dd872e21bdd7dc667fea3c19

commit 79e5fba255ef2620dd872e21bdd7dc667fea3c19
Author:     zielonka michal <michal.zielonka.8001@gmail.com>
AuthorDate: 2023-07-27 06:38:24 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-07-28 12:47:57 +0000

    cad/PrusaSlicer: update to 2.6.0

    PR:             272730
    Reported by:    michal.zielonka.8001@gmail.com
    Approved by:    teodorsigaev@gmail.com (maintainer)

 cad/PrusaSlicer/Makefile                           |   14 +-
 cad/PrusaSlicer/distinfo                           |    6 +-
 cad/PrusaSlicer/files/patch-CMakeLists.txt         |   19 +-
 cad/PrusaSlicer/files/patch-src_CMakeLists.txt     |   15 +-
 .../files/patch-src_avrdude_arduino.c (new)        |   10 +
 .../files/patch-src_libnanosvg_nanosvg.h (new)     | 3109 ++++++++++++++++++++
 .../files/patch-src_libnanosvg_nanosvgrast.h (new) | 1485 ++++++++++
 .../files/patch-src_libslic3r_CMakeLists.txt       |    6 +-
 .../patch-src_libslic3r_Format_SL1__SVG.cpp (new)  |   12 +
 .../patch-src_libslic3r_GCodeSender.cpp (new)      |   20 +
 .../files/patch-src_libslic3r_NSVGUtils.hpp (new)  |   11 +
 ...h-src_libslic3r_SupportSpotsGenerator.cpp (new) |   11 +
 .../files/patch-src_occt__wrapper_CMakeLists.txt   |    6 +-
 .../files/patch-src_qhull_CMakeLists.txt (gone)    |   29 -
 .../files/patch-src_slic3r_CMakeLists.txt          |   18 +-
 .../patch-src_slic3r_GUI_BitmapCache.cpp (new)     |   32 +
 .../patch-src_slic3r_GUI_ConfigWizard.cpp (new)    |   56 +
 .../patch-src_slic3r_GUI_ConfigWizard.hpp (new)    |   20 +
 ...c_slic3r_GUI_DesktopIntegrationDialog.cpp (new) |    8 +
 ...c_slic3r_GUI_DesktopIntegrationDialog.hpp (new) |   15 +
 .../patch-src_slic3r_GUI_ExtraRenderers.cpp (new)  |   11 +
 .../files/patch-src_slic3r_GUI_Field.cpp (new)     |   11 +
 .../patch-src_slic3r_GUI_GLCanvas3D.cpp (new)      |   11 +
 .../files/patch-src_slic3r_GUI_GLTexture.cpp (new) |   13 +
 .../files/patch-src_slic3r_GUI_GUI.cpp (new)       |   20 +
 .../files/patch-src_slic3r_GUI_GUI.hpp (new)       |   11 +
 .../files/patch-src_slic3r_GUI_GUI__App.cpp        |  155 +-
 .../patch-src_slic3r_GUI_GUI__Factories.cpp (new)  |   11 +
 ...atch-src_slic3r_GUI_GUI__ObjectLayers.cpp (new) |   20 +
 ...rc_slic3r_GUI_GUI__ObjectManipulation.cpp (new) |   12 +
 .../patch-src_slic3r_GUI_GUI__Preview.cpp (new)    |   28 +
 .../patch-src_slic3r_GUI_GUI__Preview.hpp (new)    |   11 +
 .../patch-src_slic3r_GUI_GUI__Utils.cpp (new)      |   20 +
 ...h-src_slic3r_GUI_Gizmos_GLGizmoEmboss.cpp (new) |   11 +
 .../patch-src_slic3r_GUI_ImGuiWrapper.cpp (new)    |   13 +
 .../files/patch-src_slic3r_GUI_InstanceCheck.cpp   |   11 +-
 .../patch-src_slic3r_GUI_InstanceCheck.hpp (new)   |   20 +
 ...atch-src_slic3r_GUI_KBShortcutsDialog.cpp (new) |   11 +
 ...atch-src_slic3r_GUI_Mouse3DController.cpp (new) |   20 +
 .../files/patch-src_slic3r_GUI_OpenGLManager.cpp   |   19 +-
 .../patch-src_slic3r_GUI_OptionsGroup.cpp (new)    |   20 +
 .../files/patch-src_slic3r_GUI_Plater.cpp (new)    |   29 +
 .../patch-src_slic3r_GUI_Preferences.cpp (new)     |   20 +
 ...patch-src_slic3r_GUI_PresetComboBoxes.cpp (new) |   11 +
 ...patch-src_slic3r_GUI_PresetComboBoxes.hpp (new) |   11 +
 ...patch-src_slic3r_GUI_PrintHostDialogs.cpp (new) |   58 +
 ...-src_slic3r_GUI_RemovableDriveManager.cpp (new) |   11 +
 .../files/patch-src_slic3r_GUI_Tab.cpp (new)       |   56 +
 ...h-src_slic3r_GUI_UnsavedChangesDialog.cpp (new) |   65 +
 ...h-src_slic3r_GUI_UnsavedChangesDialog.hpp (new) |   20 +
 .../patch-src_slic3r_GUI_UpdateDialogs.cpp (new)   |   20 +
 .../patch-src_slic3r_GUI_wxExtensions.cpp (new)    |   41 +
 .../patch-src_slic3r_GUI_wxExtensions.hpp (new)    |   11 +
 ...patch-src_slic3r_Utils_FontConfigHelp.hpp (new) |   11 +
 .../files/patch-src_slic3r_Utils_Serial.cpp (new)  |   20 +
 .../patch-src_slic3r_Utils_WxFontUtils.cpp (new)   |   45 +
 .../files/patch-tests_fff__print_test__data.cpp    |   21 +-
 .../patch-tests_libslic3r_test__emboss.cpp (new)   |   11 +
 58 files changed, 5705 insertions(+), 117 deletions(-)
Comment 11 Fernando Apesteguía freebsd_committer freebsd_triage 2023-07-28 12:48:30 UTC
Committed,

Thanks!