GNU bug report logs -
#50987
[PATCH 1/2] gnu: Add python-pyphotonfile.
Previous Next
To reply to this bug, email your comments to 50987 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#50987
; Package
guix-patches
.
(Sun, 03 Oct 2021 07:42:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
phodina <phodina <at> protonmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 03 Oct 2021 07:42:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-pyphotonfile): New variable.
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 14f5fdef54..5f4df4c7fb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23237,6 +23237,31 @@ qvarious formats: PDF, PostScript, PNG and even SVG.")
existing Hunspell hyphenation dictionaries.")
(license (list license:gpl2 license:lgpl2.1 license:mpl1.1))))
+(define-public python-pyphotonfile
+ (package
+ (name "python-pyphotonfile")
+ (version "0.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/fookatchu/pyphotonfile")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1hh1fcn7q3kyk2413pjs18xnxvzrchrisbpj2cd59jrdp0qzgv2s"))))
+ (build-system python-build-system)
+ (inputs `(("python-numpy" ,python-numpy)
+ ("python-pillow" ,python-pillow)))
+ (home-page "https://github.com/fookatchu/pyphotonfile")
+ (synopsis "Library for Anycubic Photon 3D-Printer")
+ (description "This package provides library used for manipulating Photon-
+and cbddlp-files created for the Anycubic Photon 3D-Printer and compatibles
+(e.g. Elegoo Mars, etc.). Currently it supports removing and adding new
+layers as well as changing global parameters like the exposure time, etc.")
+ (license license:gpl3)))
+
(define-public python-intelhex
(package
(name "python-intelhex")
--
2.32.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50987
; Package
guix-patches
.
(Sun, 03 Oct 2021 07:45:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 50987 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-sl1tophoton): New variable.
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5f4df4c7fb..0c56c61946 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -547,6 +547,43 @@ Markdown. All extensions are found under the module namespace of pymdownx.")
generator MkDocs.")
(license license:expat)))
+(define-public python-sl1tophoton
+ (package
+ (name "python-sl1tophoton")
+ (version "0.1.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/fookatchu/SL1toPhoton")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1hmb74rcky3nax4lxn7pw6lcd5a66fdbwrm11c84zb31xb51bakw"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-binary
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((bin (string-append (assoc-ref outputs "out") "/bin")))
+ (mkdir-p bin)
+ (install-file "SL1_to_Photon_gui.py" bin)
+ (install-file "SL1_to_Photon.py" bin)
+ (chmod (string-append bin "/SL1_to_Photon_gui.py") #o555)
+ (chmod (string-append bin "/SL1_to_Photon.py") #o555)))))))
+ (inputs `(("python-pyphotonfile", python-pyphotonfile)
+ ("python-numpy" ,python-numpy)
+ ("python-pyside-2" ,python-pyside-2)
+ ("python-pillow" ,python-pillow)))
+ (home-page "https://github.com/fookatchu/SL1toPhoton")
+ (synopsis "Converter for SL1 to Photon files")
+ (description "SL1toPhoton is a tool for converting PrusaSlicer's SL1 files
+to Photon files for the Anycubic Photon 3D-Printer. Other cbddlp-files should
+also work (e.G. Elegoo Mars).")
+ (license license:gpl3)))
+
(define-public python-slixmpp
(package
(name "python-slixmpp")
--
2.32.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50987
; Package
guix-patches
.
(Sun, 03 Oct 2021 07:50:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 50987 <at> debbugs.gnu.org (full text, mbox):
Hi Guix,
these patches allow users to use Prusa Slicer to slice the model and convert it to the format for the appropriate HW instead of using proprietary software.
However, there is one issue with the patch in python-sl1tophoton. In the install phase it crates the executables in gnu/store/xxxxx/bin but it attempts to launch them as a shell script instead of python.
Do you know how to fix that?
Added tag(s) moreinfo.
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 26 Oct 2021 10:41:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 230 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.