Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] PrusaSlicer: update to 2.5.0
@ 2022-10-10 21:18 hvraven
  2022-10-11  6:20 ` Gottox
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: hvraven @ 2022-10-10 21:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 741 bytes --]

There is a new pull request by hvraven against master on the void-packages repository

https://github.com/hvraven/void-packages prusaslicer-2.5.0
https://github.com/void-linux/void-packages/pull/39875

PrusaSlicer: update to 2.5.0
Updates PrusaSlicer to the latest release. It requires occt-7.6 for STEP import, I couldn't find any option to disable it temporarily. Version bump for occt is posted in PR #36356. Using it I successfully built and used the software on my system.

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/39875.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-prusaslicer-2.5.0-39875.patch --]
[-- Type: text/x-diff, Size: 1679 bytes --]

From 0f9457652bc0e07692cbede0f28a3b2ec3502044 Mon Sep 17 00:00:00 2001
From: "Hendrik v. Raven" <hendrik@consetetur.de>
Date: Mon, 10 Oct 2022 21:54:17 +0200
Subject: [PATCH] prusaslicer: update to version 2.5.0

requires occt-7.6 (PR #36356)
---
 srcpkgs/PrusaSlicer/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/PrusaSlicer/template b/srcpkgs/PrusaSlicer/template
index b8dba603326f..3bb8f76c754d 100644
--- a/srcpkgs/PrusaSlicer/template
+++ b/srcpkgs/PrusaSlicer/template
@@ -1,7 +1,7 @@
 # Template file for 'PrusaSlicer'
 pkgname=PrusaSlicer
-version=2.4.2
-revision=2
+version=2.5.0
+revision=1
 wrksrc="PrusaSlicer-version_${version}"
 build_style=cmake
 build_helper="qemu cmake-wxWidgets-gtk3"
@@ -11,13 +11,14 @@ hostmakedepends="pkg-config"
 makedepends=" boost-devel cereal cgal-devel dbus-devel eigen glew-devel
  glu-devel gmpxx-devel gtest-devel gtk+3-devel libcurl-devel libglib-devel
  libpng-devel nlopt-devel openvdb-devel tbb-devel wxWidgets-devel
- c-blosc-devel ilmbase-devel libopenexr-devel wxWidgets-gtk3-devel"
+ c-blosc-devel ilmbase-devel libopenexr-devel wxWidgets-gtk3-devel
+ occt-devel"
 short_desc="G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)"
 maintainer="Jasper Chan <jasperchan515@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.prusa3d.com/prusaslicer/"
 distfiles="https://github.com/prusa3d/Prusaslicer/archive/version_${version}.tar.gz"
-checksum=ac3a77212260e8d0baf9df027c29e0ae965bc77f371e59fd27b8fe103ebb1f23
+checksum=dbbf3e10c812d1dc7bae4bd6879e60f864d763b2738b099dd34b9636d0e5eb6a
 
 post_extract() {
 	# Mark tests that fail on certain targets

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: PrusaSlicer: update to 2.5.0
  2022-10-10 21:18 [PR PATCH] PrusaSlicer: update to 2.5.0 hvraven
@ 2022-10-11  6:20 ` Gottox
  2022-10-11  6:20 ` Gottox
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Gottox @ 2022-10-11  6:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 797 bytes --]

New comment by Gottox on void-packages repository

https://github.com/void-linux/void-packages/pull/39875#issuecomment-1274141480

Comment:
The issue with this PR is, that `occt` is pinned to 7.6.2. This will break any update to `occt`. I suggest the following patch to relax this requirements to PrusaSlicer:

```cat cmake-relax-dependency.patch```:
```patch
--- PrusaSlicer-version_2.5.0/src/occt_wrapper/CMakeLists.txt.orig	2022-09-17 11:47:02.398209546 +0200
+++ PrusaSlicer-version_2.5.0/src/occt_wrapper/CMakeLists.txt	2022-09-17 11:47:30.092595307 +0200
@@ -19,7 +19,7 @@ include(GenerateExportHeader)
 
 generate_export_header(OCCTWrapper)
 
-find_package(OpenCASCADE 7.6.2 REQUIRED)
+find_package(OpenCASCADE 7.6.2...7.999.999 REQUIRED)
 
 set(OCCT_LIBS
     TKXDESTEP
```

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: PrusaSlicer: update to 2.5.0
  2022-10-10 21:18 [PR PATCH] PrusaSlicer: update to 2.5.0 hvraven
  2022-10-11  6:20 ` Gottox
@ 2022-10-11  6:20 ` Gottox
  2022-10-11  9:07 ` [PR PATCH] [Updated] " hvraven
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Gottox @ 2022-10-11  6:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

New comment by Gottox on void-packages repository

https://github.com/void-linux/void-packages/pull/39875#issuecomment-1274141480

Comment:
The issue with this PR is, that `occt` is pinned to 7.6.2. This will break any update to `occt`. I suggest the following patch to relax this requirements to PrusaSlicer:

```cat patches/cmake-relax-dependency.patch```:
```patch
--- PrusaSlicer-version_2.5.0/src/occt_wrapper/CMakeLists.txt.orig	2022-09-17 11:47:02.398209546 +0200
+++ PrusaSlicer-version_2.5.0/src/occt_wrapper/CMakeLists.txt	2022-09-17 11:47:30.092595307 +0200
@@ -19,7 +19,7 @@ include(GenerateExportHeader)
 
 generate_export_header(OCCTWrapper)
 
-find_package(OpenCASCADE 7.6.2 REQUIRED)
+find_package(OpenCASCADE 7.6.2...7.999.999 REQUIRED)
 
 set(OCCT_LIBS
     TKXDESTEP
```

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] PrusaSlicer: update to 2.5.0
  2022-10-10 21:18 [PR PATCH] PrusaSlicer: update to 2.5.0 hvraven
  2022-10-11  6:20 ` Gottox
  2022-10-11  6:20 ` Gottox
@ 2022-10-11  9:07 ` hvraven
  2022-10-11  9:08 ` hvraven
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: hvraven @ 2022-10-11  9:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 746 bytes --]

There is an updated pull request by hvraven against master on the void-packages repository

https://github.com/hvraven/void-packages prusaslicer-2.5.0
https://github.com/void-linux/void-packages/pull/39875

PrusaSlicer: update to 2.5.0
Updates PrusaSlicer to the latest release. It requires occt-7.6 for STEP import, I couldn't find any option to disable it temporarily. Version bump for occt is posted in PR #36356. Using it I successfully built and used the software on my system.

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/39875.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-prusaslicer-2.5.0-39875.patch --]
[-- Type: text/x-diff, Size: 2861 bytes --]

From 0f9457652bc0e07692cbede0f28a3b2ec3502044 Mon Sep 17 00:00:00 2001
From: "Hendrik v. Raven" <hendrik@consetetur.de>
Date: Mon, 10 Oct 2022 21:54:17 +0200
Subject: [PATCH 1/2] prusaslicer: update to version 2.5.0

requires occt-7.6 (PR #36356)
---
 srcpkgs/PrusaSlicer/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/PrusaSlicer/template b/srcpkgs/PrusaSlicer/template
index b8dba603326f..3bb8f76c754d 100644
--- a/srcpkgs/PrusaSlicer/template
+++ b/srcpkgs/PrusaSlicer/template
@@ -1,7 +1,7 @@
 # Template file for 'PrusaSlicer'
 pkgname=PrusaSlicer
-version=2.4.2
-revision=2
+version=2.5.0
+revision=1
 wrksrc="PrusaSlicer-version_${version}"
 build_style=cmake
 build_helper="qemu cmake-wxWidgets-gtk3"
@@ -11,13 +11,14 @@ hostmakedepends="pkg-config"
 makedepends=" boost-devel cereal cgal-devel dbus-devel eigen glew-devel
  glu-devel gmpxx-devel gtest-devel gtk+3-devel libcurl-devel libglib-devel
  libpng-devel nlopt-devel openvdb-devel tbb-devel wxWidgets-devel
- c-blosc-devel ilmbase-devel libopenexr-devel wxWidgets-gtk3-devel"
+ c-blosc-devel ilmbase-devel libopenexr-devel wxWidgets-gtk3-devel
+ occt-devel"
 short_desc="G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)"
 maintainer="Jasper Chan <jasperchan515@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.prusa3d.com/prusaslicer/"
 distfiles="https://github.com/prusa3d/Prusaslicer/archive/version_${version}.tar.gz"
-checksum=ac3a77212260e8d0baf9df027c29e0ae965bc77f371e59fd27b8fe103ebb1f23
+checksum=dbbf3e10c812d1dc7bae4bd6879e60f864d763b2738b099dd34b9636d0e5eb6a
 
 post_extract() {
 	# Mark tests that fail on certain targets

From 343c1e207f2e30862f5aa2bea9843634ffd3dbd0 Mon Sep 17 00:00:00 2001
From: "Hendrik v. Raven" <hendrik@consetetur.de>
Date: Tue, 11 Oct 2022 11:06:31 +0200
Subject: [PATCH 2/2] PrusaSlicer: relax dependency on occt

thanks @Gottox for the review and suggestion
---
 .../patches/cmake-relax-occt-dependency.patch         | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 srcpkgs/PrusaSlicer/patches/cmake-relax-occt-dependency.patch

diff --git a/srcpkgs/PrusaSlicer/patches/cmake-relax-occt-dependency.patch b/srcpkgs/PrusaSlicer/patches/cmake-relax-occt-dependency.patch
new file mode 100644
index 000000000000..0102cd85ddc2
--- /dev/null
+++ b/srcpkgs/PrusaSlicer/patches/cmake-relax-occt-dependency.patch
@@ -0,0 +1,11 @@
+--- PrusaSlicer-version_2.5.0/src/occt_wrapper/CMakeLists.txt.orig	2022-09-17 11:47:02.398209546 +0200
++++ PrusaSlicer-version_2.5.0/src/occt_wrapper/CMakeLists.txt	2022-09-17 11:47:30.092595307 +0200
+@@ -19,7 +19,7 @@ include(GenerateExportHeader)
+ 
+ generate_export_header(OCCTWrapper)
+ 
+-find_package(OpenCASCADE 7.6.2 REQUIRED)
++find_package(OpenCASCADE 7.6.2...7.999.999 REQUIRED)
+ 
+ set(OCCT_LIBS
+     TKXDESTEP

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: PrusaSlicer: update to 2.5.0
  2022-10-10 21:18 [PR PATCH] PrusaSlicer: update to 2.5.0 hvraven
                   ` (2 preceding siblings ...)
  2022-10-11  9:07 ` [PR PATCH] [Updated] " hvraven
@ 2022-10-11  9:08 ` hvraven
  2022-10-22 17:10 ` sgn
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: hvraven @ 2022-10-11  9:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 329 bytes --]

New comment by hvraven on void-packages repository

https://github.com/void-linux/void-packages/pull/39875#issuecomment-1274364137

Comment:
Thanks @Gottox for the review and spotting the pinned version. I added the patch you suggested. I also tried building with the occt-7.4 currently in the tree, but the build fails with it.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: PrusaSlicer: update to 2.5.0
  2022-10-10 21:18 [PR PATCH] PrusaSlicer: update to 2.5.0 hvraven
                   ` (3 preceding siblings ...)
  2022-10-11  9:08 ` hvraven
@ 2022-10-22 17:10 ` sgn
  2022-12-22 20:08 ` vincele
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: sgn @ 2022-10-22 17:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/39875#issuecomment-1287857877

Comment:
I though `find_package(OpenCASCADE 7.6.2 REQUIRED)` is min version is `7.6.2`? (no `EXACT` specified)?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: PrusaSlicer: update to 2.5.0
  2022-10-10 21:18 [PR PATCH] PrusaSlicer: update to 2.5.0 hvraven
                   ` (4 preceding siblings ...)
  2022-10-22 17:10 ` sgn
@ 2022-12-22 20:08 ` vincele
  2023-03-23  1:53 ` github-actions
  2023-04-07  1:49 ` [PR PATCH] [Closed]: " github-actions
  7 siblings, 0 replies; 10+ messages in thread
From: vincele @ 2022-12-22 20:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 161 bytes --]

New comment by vincele on void-packages repository

https://github.com/void-linux/void-packages/pull/39875#issuecomment-1363299766

Comment:
Same goal as #39756

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: PrusaSlicer: update to 2.5.0
  2022-10-10 21:18 [PR PATCH] PrusaSlicer: update to 2.5.0 hvraven
                   ` (5 preceding siblings ...)
  2022-12-22 20:08 ` vincele
@ 2023-03-23  1:53 ` github-actions
  2023-04-07  1:49 ` [PR PATCH] [Closed]: " github-actions
  7 siblings, 0 replies; 10+ messages in thread
From: github-actions @ 2023-03-23  1:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/39875#issuecomment-1480471734

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Closed]: PrusaSlicer: update to 2.5.0
  2022-10-10 21:18 [PR PATCH] PrusaSlicer: update to 2.5.0 hvraven
                   ` (6 preceding siblings ...)
  2023-03-23  1:53 ` github-actions
@ 2023-04-07  1:49 ` github-actions
  7 siblings, 0 replies; 10+ messages in thread
From: github-actions @ 2023-04-07  1:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

There's a closed pull request on the void-packages repository

PrusaSlicer: update to 2.5.0
https://github.com/void-linux/void-packages/pull/39875

Description:
Updates PrusaSlicer to the latest release. It requires occt-7.6 for STEP import, I couldn't find any option to disable it temporarily. Version bump for occt is posted in PR #36356. Using it I successfully built and used the software on my system.

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Closed]: PrusaSlicer: update to 2.5.0.
  2023-01-09 16:16 [PR PATCH] PrusaSlicer: update to 4.5.0 sinetek
@ 2023-05-17  1:54 ` github-actions
  0 siblings, 0 replies; 10+ messages in thread
From: github-actions @ 2023-05-17  1:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 540 bytes --]

There's a closed pull request on the void-packages repository

PrusaSlicer: update to 2.5.0.
https://github.com/void-linux/void-packages/pull/41548

Description:
Bump the version for PrusaSlicer to 2.5.0.
Note that this does not require the new occt version. When the version for occt is bumped, we can enable the new STEP file support. Otherwise just keep it as it was.

#### Testing the changes
- I tested the changes in this PR: YES

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-05-17  1:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-10 21:18 [PR PATCH] PrusaSlicer: update to 2.5.0 hvraven
2022-10-11  6:20 ` Gottox
2022-10-11  6:20 ` Gottox
2022-10-11  9:07 ` [PR PATCH] [Updated] " hvraven
2022-10-11  9:08 ` hvraven
2022-10-22 17:10 ` sgn
2022-12-22 20:08 ` vincele
2023-03-23  1:53 ` github-actions
2023-04-07  1:49 ` [PR PATCH] [Closed]: " github-actions
2023-01-09 16:16 [PR PATCH] PrusaSlicer: update to 4.5.0 sinetek
2023-05-17  1:54 ` [PR PATCH] [Closed]: PrusaSlicer: update to 2.5.0 github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).