pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

prusaslicer: Fix missing shared libraries by explicitly marking them static.



Module Name:	pkgsrc-wip
Committed By:	Paul Ripke <stix%stix.id.au@localhost>
Pushed By:	stix
Date:		Tue Feb 18 10:15:52 2025 +1100
Changeset:	400cc8f97d201b80703a02cd8d2965de557726fc

Modified Files:
	prusaslicer/distinfo
Added Files:
	prusaslicer/patches/patch-src_slic3r-arrange-wrapper_CMakeLists.txt
	prusaslicer/patches/patch-src_slic3r-arrange_CMakeLists.txt

Log Message:
prusaslicer: Fix missing shared libraries by explicitly marking them static.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=400cc8f97d201b80703a02cd8d2965de557726fc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 prusaslicer/distinfo                                      |  2 ++
 .../patch-src_slic3r-arrange-wrapper_CMakeLists.txt       | 15 +++++++++++++++
 .../patches/patch-src_slic3r-arrange_CMakeLists.txt       | 15 +++++++++++++++
 3 files changed, 32 insertions(+)

diffs:
diff --git a/prusaslicer/distinfo b/prusaslicer/distinfo
index 8add687a73..88b9a3a860 100644
--- a/prusaslicer/distinfo
+++ b/prusaslicer/distinfo
@@ -18,6 +18,8 @@ SHA1 (patch-src_libslic3r_SupportSpotsGenerator.cpp) = b1080470f18e873ad7b39a5e5
 SHA1 (patch-src_libslic3r_Thread.cpp) = 8aa488b933baa97132058f88a82eef8db73ab2f5
 SHA1 (patch-src_libslic3r_Utils_DirectoriesUtils.cpp) = 02c874c348016d572ddf8fed3171aabe2d4550c0
 SHA1 (patch-src_occt__wrapper_CMakeLists.txt) = d1d3405bd68e32d204eaf95a578f4f837571f391
+SHA1 (patch-src_slic3r-arrange-wrapper_CMakeLists.txt) = 5d33873c6da5241df77dd914dbef1d94dba92b3e
+SHA1 (patch-src_slic3r-arrange_CMakeLists.txt) = c9be1500deb2d8802eaac4a283c0d7ae822ceea0
 SHA1 (patch-src_slic3r_CMakeLists.txt) = f6ad2741c3eb3c28550cedf5a07799866944b247
 SHA1 (patch-src_slic3r_GUI_BitmapCache.cpp) = 9a464bcb09589e12de70ce57cda17f526df33b9b
 SHA1 (patch-src_slic3r_GUI_ConfigWizard.cpp) = a8bd1d621f73ae6464b1ba4a5cb1db965e8e551b
diff --git a/prusaslicer/patches/patch-src_slic3r-arrange-wrapper_CMakeLists.txt b/prusaslicer/patches/patch-src_slic3r-arrange-wrapper_CMakeLists.txt
new file mode 100644
index 0000000000..6337a188e6
--- /dev/null
+++ b/prusaslicer/patches/patch-src_slic3r-arrange-wrapper_CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Explicity flag library as static to match the rest of PrusaSlicer.
+
+--- src/slic3r-arrange-wrapper/CMakeLists.txt.orig	2025-02-17 22:29:52.581803538 +0000
++++ src/slic3r-arrange-wrapper/CMakeLists.txt
+@@ -1,7 +1,7 @@
+ project(slic3r-arrange-wrapper)
+ cmake_minimum_required(VERSION 3.13)
+ 
+-add_library(slic3r-arrange-wrapper
++add_library(slic3r-arrange-wrapper STATIC
+     include/arrange-wrapper/Arrange.hpp
+     include/arrange-wrapper/ArrangeSettingsDb_AppCfg.hpp
+     include/arrange-wrapper/ArrangeSettingsView.hpp
diff --git a/prusaslicer/patches/patch-src_slic3r-arrange_CMakeLists.txt b/prusaslicer/patches/patch-src_slic3r-arrange_CMakeLists.txt
new file mode 100644
index 0000000000..fb3d6bfd6a
--- /dev/null
+++ b/prusaslicer/patches/patch-src_slic3r-arrange_CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Explicity flag library as static to match the rest of PrusaSlicer.
+
+--- src/slic3r-arrange/CMakeLists.txt.orig	2025-02-17 22:29:38.267707593 +0000
++++ src/slic3r-arrange/CMakeLists.txt
+@@ -1,7 +1,7 @@
+ project(slic3r-arrange)
+ cmake_minimum_required(VERSION 3.13)
+ 
+-add_library(slic3r-arrange
++add_library(slic3r-arrange STATIC
+     include/arrange/Beds.hpp
+     include/arrange/ArrangeItemTraits.hpp
+     include/arrange/PackingContext.hpp


Home | Main Index | Thread Index | Old Index