Package Details: klipper-git r4940.e2d7c5981-1

Git Clone URL: https://aur.archlinux.org/klipper-git.git (read-only, click to copy)
Package Base: klipper-git
Description: 3D printer firmware with motion planning on the host
Upstream URL: https://www.klipper3d.org/
Licenses: GPL3
Conflicts: klipper
Provides: klipper
Submitter: jade1
Maintainer: dack
Last Packager: dack
Votes: 4
Popularity: 0.000001
First Submitted: 2018-10-19 05:10 (UTC)
Last Updated: 2023-03-21 07:03 (UTC)

Dependencies (19)

Required by (1)

Sources (4)

Pinned Comments

dack commented on 2023-03-21 07:13 (UTC)

I have updated this package to use python 3. If you are currently using klipper-py3-git, please switch to using this package instead. It's now fully up to date. All future updates will go here and I will be removing klipper-py3-git at some point.

Latest Comments

1 2 3 4 Next › Last »

dack commented on 2023-03-21 07:13 (UTC)

I have updated this package to use python 3. If you are currently using klipper-py3-git, please switch to using this package instead. It's now fully up to date. All future updates will go here and I will be removing klipper-py3-git at some point.

dack commented on 2022-08-09 22:20 (UTC)

Moonraker expects the config examples and docs to be kept in their default locations, but this PKGBUILD moves them to /usr/share/klipper/examples and /usr/share/doc/klipper. As a result, moonraker will give warnings/errors. There is no configuration in moonraker for this - it just expects them to be in the standard location.

I worked around it as follows:

ln -s /usr/share/klipper/examples /usr/lib/klipper/config
ln -s /usr/share/doc/klipper /usr/lib/klipper/docs

I would recommend adding those symlinks to the PKGBUILD.

MarsSeed commented on 2022-06-16 18:31 (UTC) (edited on 2022-06-16 18:32 (UTC) by MarsSeed)

This application now needs Python 3:

klipper/Makefile

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 in cd /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:

PYTHON=python2

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 the klipper 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 the klipper group so other users in that group can likewise write to them (e.g. the klipper 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:

:: Processing package changes...
(1/1) upgrading klipper-py3-git                                                                        [############################################################] 100%
warning: directory permissions differ on /etc/klipper/
filesystem: 755  package: 2775
warning: directory permissions differ on /var/lib/klipper/
filesystem: 755  package: 2755

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:

  • Since dfu-util is also in popular use for flashing STM32 MCUs, I think adding it to the optional dependencies makes sense.
  • As noted in fluidd-git, adding git as a dependency for AUR packages is superfluous as base-devel is assumed to be installed already.
    • EDIT: I was mistaken, git is not part of base-devel. Apologies.

bobobo1618 commented on 2021-04-04 08:51 (UTC) (edited on 2021-04-04 08:52 (UTC) by bobobo1618)

A workaround for missing python2-pyserial:

curl -O https://raw.githubusercontent.com/archlinux/svntogit-community/fa67d039a4f5c7462af38e62ceec14249f56685b/python-pyserial/trunk/PKGBUILD
makepkg
pacman -U python2-pyserial-3.5-1-any.pkg.*