Subject: [PATCH] gnu: prusa-slicer: Update to 2.9.0.

From: Julian Flake <[email-masked]>
Date: Wed, 29 Jan 2025 16:49:40 +0100

* gnu/packages/engineering.scm (prusa-slicer): Update to 2.9.0.

Change-Id: Idf2b18549f149eb222010bd715d7482b89f1817f
---
 gnu/packages/engineering.scm                      | 4 ++--
 gnu/packages/patches/prusa-slicer-fix-tests.patch | 6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index ba8242ba12..3b2e44c330 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -4118,7 +4118,7 @@ (define-public prusa-libbgcode
 (define-public prusa-slicer
   (package
     (name "prusa-slicer")
-    (version "2.7.4")
+    (version "2.9.0")
     (source
      (origin
        (method git-fetch)
@@ -4127,7 +4127,7 @@ (define-public prusa-slicer
          (url "https://github.com/prusa3d/PrusaSlicer")
          (commit (string-append "version_" version))))
        (file-name (git-file-name name version))
-       (sha256 (base32 "0s1cfvhfilyv0y98asr61c6rwlgyr1hf5v5hg8q9zwmzm2bkcql3"))
+       (sha256 (base32 "1af4nj5l49hsjg496z0mf5l7b2200nm3rji6zh4amfr2s96fc6p8"))
        (patches (search-patches "prusa-slicer-fix-tests.patch"))
        (modules '((guix build utils)))
        (snippet
diff --git a/gnu/packages/patches/prusa-slicer-fix-tests.patch b/gnu/packages/patches/prusa-slicer-fix-tests.patch
index da9a5307f9..f158b6426c 100644
--- a/gnu/packages/patches/prusa-slicer-fix-tests.patch
+++ b/gnu/packages/patches/prusa-slicer-fix-tests.patch
@@ -1,4 +1,4 @@
-This patch comes from Gentoo:
+This patch comes from Gentoo and was adjusted manually for 2.9.0:
  portage/media-gfx/prusaslicer/files/prusaslicer-2.5.0_rc1-fix-tests.patch
 
 --- a/tests/fff_print/test_data.cpp
@@ -10,8 +10,10 @@ This patch comes from Gentoo:
 -#include "libslic3r/Format/OBJ.hpp"
 -#include "libslic3r/Format/STL.hpp"
 
+ #include <arrange-wrapper/ModelArrange.hpp>
+
  #include <cstdlib>
 +#include <fstream>
  #include <string>
 
- #include <boost/nowide/cstdio.hpp>
+ #include <boost/nowide/cstdio.hpp>
\ No newline at end of file

base-commit: 4176f6c52f485549f829af048ef9a6726b52e112
-- 
2.47.1