Search Criteria
Package Details: klipper-py3-git r4374.7c0559c6-1
Package Actions
- View PKGBUILD / View Changes
- Download snapshot
- Search wiki
- Flagged out-of-date (2022-02-02)
- 1 pending request
- Submit Request
Git Clone URL: | https://aur.archlinux.org/klipper-py3-git.git (read-only, click to copy) |
---|---|
Package Base: | klipper-py3-git |
Description: | 3D printer firmware with motion planning on the host |
Upstream URL: | https://www.klipper3d.org/ |
Keywords: | 3d 3d-printer 3d-printing klipper klippy octopi printer |
Licenses: | GPL3 |
Provides: | klipper |
Submitter: | qubidt |
Maintainer: | qubidt |
Last Packager: | qubidt |
Votes: | 1 |
Popularity: | 0.046480 |
First Submitted: | 2021-12-08 20:42 (UTC) |
Last Updated: | 2022-01-07 20:46 (UTC) |
Dependencies (19)
- libusb (libusb-git)
- python-can
- python-cffi
- python-greenlet
- python-jinja
- python-pyserial
- git (git-git, git-vfs, git-run-command-patch-git) (make)
- arm-none-eabi-binutils (arm-none-eabi-linaro-binutils, gcc-arm-none-eabi-bin) (optional, x86_64) – for ARM MCU firmware compilation
- arm-none-eabi-gcc (arm-none-eabi-gcc47-linaro, arm-none-eabi-gcc48-linaro, arm-none-eabi-gcc53-linaro, arm-none-eabi-gcc49-linaro, arm-none-eabi-gcc55, gcc-arm-none-eabi-bin) (optional, x86_64) – for ARM MCU firmware compilation
- arm-none-eabi-newlib (arm-none-eabi-newlib-linaro-git, gcc-arm-none-eabi-bin) (optional, x86_64) – for ARM MCU firmware compilation
- avr-binutils (avr-binutils-atmel, avr-binutils-219, avr-binutils-220) (optional) – for AVR MCU firmware compilation
- avr-gcc (avr-gcc-atmel, avr-gcc-43, avr-gcc-45) (optional) – for AVR MCU firmware compilation
- avr-libc (avr-libc-svn, avr-libc-atmel, avr-libc-tinyos, avr-libc-avrxmega3-svn, avr-libc-atmega328pb, avr-libc-16, avr-libc-18, avr-libc-debian-git, avr-libc-git) (optional) – for AVR MCU firmware compilation
- avrdude (avrdude-bobdude, avrdude-svn) (optional) – for flashing firmware on AVR MCU
- dfu-util (dfu-util-git) (optional) – for flashing firmware on STM32 MCUs
- ncurses (ncurses-nohex, ncurses-git) (optional) – for choosing compilation config
- python-matplotlib (python-matplotlib-git) (optional) – for resonance measurement
- python-numpy (python-numpy-mkl, python-numpy-git, python-numpy-openblas, python-numpy-mkl-bin) (optional) – for resonance measurement
- stm32flash (stm32flash-git, stm32flash) (optional) – for flashing firmware on STM MCU
Required by (1)
- moonraker-git (requires klipper)
Latest Comments
wlhlm commented on 2022-01-30 10:17 (UTC)
I was trying to compile the Klipper MCU code and hit a hurdle and was wondering what the intention here is: As I understand it, the code is supposed to be compiled in
/usr/lib/klipper
(as incd /usr/lib/klipper; make menuconfig; make
). I the issue I've hit is that the build process requires running scripts which are located/usr/share/klipper/scripts
, but the Makefile expects the scripts to be in/usr/lib/klipper/scripts
. Am I supposed to manually copy the scripts there?Also, the Makefile includes the following line:
I guess it's pretty easy to overwrite by running
make PYTHON=python
, you decide whether it's worth patching. Just letting you know in case you haven't stumbled upon this until now.qubidt commented on 2022-01-07 20:46 (UTC)
sorry for the very late update but the PKGBUILD has been updated w/ the latest data dict file used in the tests
@wlhlm I addressed your comments. Fixed the permissions in the tmpfiles config. Hopefully that works, my rasbpi/printer isn't working ATM so I can't test it but it should work.
if anyone is confused about the permissions, I set them to 2775 because klipper (as part of normal operation) writes files directly to its source/config direectories (ugh) as part of normal operation (perhaps that's an indication that we should have this package in
/opt/klipper
). the 0775 permissions I inherited from the original AUR package allow anyone in theklipper
group to write those files, but they would be inaccessible to other users. the setgid bit makes sure any generated files are also owned by theklipper
group so other users in that group can likewise write to them (e.g. theklipper
user itself)wlhlm commented on 2021-12-31 10:19 (UTC) (edited on 2021-12-31 10:19 (UTC) by wlhlm)
There currently is a mismatch of directory permissions between the
package()
script and the tmpfiles configuration installed with this package.package()
sets permissions on/etc/klipper
to 2775, however the tmpfiles configuration sets it to 0755 every time on boot.One way this surfaces is when upgrading as pacman will show the following:
wlhlm commented on 2021-12-25 01:21 (UTC) (edited on 2022-01-01 22:00 (UTC) by wlhlm)
Thank you for bringing the Klipper package forward into the Python 3 era.
Few minor suggestions:
dfu-util
is also in popular use for flashing STM32 MCUs, I think adding it to the optional dependencies makes sense.fluidd-git
, addinggit
as a dependency for AUR packages is superfluous asbase-devel
is assumed to be installed already.git
is not part ofbase-devel
. Apologies.