unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: pinoaffe <pinoaffe@airmail.cc>
To: guix-devel@gnu.org
Subject: Re: Question about prusaslicer package
Date: Sun, 19 Sep 2021 14:16:26 +0200	[thread overview]
Message-ID: <87v92wzrol.fsf@airmail.cc> (raw)
In-Reply-To: <87y27szrqb.fsf@airmail.cc>

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

Ah I forgot the attachment...


[-- Attachment #2: prusaslicer.scm --]
[-- Type: application/octet-stream, Size: 2273 bytes --]

(define-module (prusaslicer)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix build-system cmake)
  #:use-module (guix build cmake-build-system)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module (guix packages)
  #:use-module (guix utils)
  #:use-module (guix build utils)
  #:use-module (gnu packages)
  #:use-module (gnu packages curl)
  #:use-module (gnu packages tls)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages tbb)
  #:use-module (gnu packages gl)
  #:use-module (gnu packages glib)
  #:use-module (gnu packages xorg)
  #:use-module (gnu packages multiprecision)
  #:use-module (gnu packages xml)
  #:use-module (gnu packages serialization)
  #:use-module (gnu packages compression)
  #:use-module (gnu packages maths)
  #:use-module (gnu packages image)
  #:use-module (gnu packages graphics)
  #:use-module (gnu packages wxwidgets)
  #:use-module (gnu packages boost))



(define-public prusaslicer
  (package
   (name "prusaslicer")
   (version "2.3.3-0")
   (source (origin
            (method git-fetch)
            (uri (git-reference
                  (url "git://github.com/prusa3d/PrusaSlicer")
                  (commit "version_2.3.3")))
            (file-name (git-file-name name version))
            (sha256
              (base32
               "0w0synqi3iz9aigsgv6x1c6sg123fasbx19h4w3ic1l48r8qmpwm"))))
   (build-system cmake-build-system)
   (arguments
    `(#:configure-flags `("-DSLIC3R_GUI=no" ; could't get cmake to find wxwidgets
                          "-DSLIC3R_BUILD_TESTS=off") ; tests link into the gui
      #:tests? #f))
   (inputs
    `(("boost" ,boost)
      ("curl" ,curl)
      ("pkg-config" ,pkg-config)
      ("tbb" ,tbb)
      ("zlib" ,zlib)
      ("dbus" ,dbus)
      ("glu" ,glu)
      ("glew" ,glew)
      ("glu" ,glu)
      ("libpng" ,libpng)
      ("gmp" ,gmp)
      ("mpfr" ,mpfr)
      ("expat" ,expat)
      ("cereal" ,cereal)
      ("nlopt" ,nlopt)
      ("openvdb" ,openvdb)
      ("openexr" ,openexr)
      ("libpthread-stubs" ,libpthread-stubs)
      ("cgal" ,cgal)
      ("openssl" ,openssl)))
   (home-page "https://github.com/prusa3d/PrusaSlicer")
   (description "asdf")
   (synopsis "asdf")
   (license license:agpl3)))

prusaslicer

[-- Attachment #3: Type: text/plain, Size: 527 bytes --]


pinoaffe writes:

> Hi guix,
>
> I recently made an attempt at packaging prusaslicer (just the
> commandline interface, I couldn't get the GUI to work).
>
> It does build successfully, and I've attached my package definition.
>
> I ran into a weird bug where, for whatever reason, the commandline
> utility only works if I run it from inside the directory where the
> prusa-slicer binary is located.
>
> Does anyone have a clue as to what might be going wrong?
> (or, better yet, how to fix it?)
>
> kind regards,
> pinoaffe


  reply	other threads:[~2021-09-19 12:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-19 12:15 Question about prusaslicer package pinoaffe
2021-09-19 12:16 ` pinoaffe [this message]
2021-09-20  7:16   ` Bengt Richter
2021-09-20 11:29 ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v92wzrol.fsf@airmail.cc \
    --to=pinoaffe@airmail.cc \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).