mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: prusa-slicer: Wrap binary for GtkFilechooserdialog.
Without setting GSETTINGS_SCHEMA_DIR, opening file in prusa-slicer (or prusa-gcodeviewer which is a symlink to the same binary) crashes with: Settings schema 'org.gtk.Settings.FileChooser' is not installed Trace/breakpoint trap Closes: guix/guix#5039 * gnu/packages/engineering.scm (prusa-slicer)[arguments]: Add ’wrap-program #:phase. [inputs]: Add bash-minimal. Change-Id: Ic9763f031d18561aa142fee4f5f6e041f597b4d7 Modified-by: Cayetano Santos <csantosb@inventati.org> Signed-off-by: Cayetano Santos <csantosb@inventati.org>
This commit is contained in:
parent
1ffe9cf1f4
commit
328df1249f
1 changed files with 10 additions and 2 deletions
|
|
@ -4420,11 +4420,19 @@ G-codes to binary and vice versa.")
|
|||
(lambda _
|
||||
(substitute* "tests/libslic3r/test_quadric_edge_collapse.cpp"
|
||||
(("#include <libigl/igl/qslim.h>")
|
||||
"#include <igl/qslim.h>")))))))
|
||||
"#include <igl/qslim.h>"))))
|
||||
(add-after 'install 'wrap-program
|
||||
(lambda _
|
||||
(wrap-program (string-append #$output "/bin/prusa-slicer")
|
||||
;; For GtkFileChooserDialog.
|
||||
`("GSETTINGS_SCHEMA_DIR" =
|
||||
(,(string-append #$(this-package-input "gtk+")
|
||||
"/share/glib-2.0/schemas")))))))))
|
||||
(native-inputs
|
||||
(list pkg-config catch2-3.8))
|
||||
(inputs
|
||||
(list boost-1.83
|
||||
(list bash-minimal
|
||||
boost-1.83
|
||||
cereal
|
||||
cgal
|
||||
curl
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue