Package Details: cura-plugin-octoprint-git r399.3a2a058-1

Git Clone URL: https://aur.archlinux.org/cura-plugin-octoprint-git.git (read-only, click to copy)
Package Base: cura-plugin-octoprint-git
Description: Cura plugin which enables printing directly to OctoPrint and monitoring the progress
Upstream URL: https://github.com/fieldofview/OctoPrintPlugin
Licenses: GPL3
Submitter: ad1217
Maintainer: None
Last Packager: ad1217
Votes: 7
Popularity: 0.000000
First Submitted: 2017-01-24 18:39 (UTC)
Last Updated: 2020-02-29 22:04 (UTC)

Latest Comments

duckunix commented on 2021-12-29 14:40 (UTC)

There is currently an upstream bug impacting the functionality of this. See https://github.com/fieldOfView/Cura-OctoPrintPlugin/issues/261 for details.

qubidt commented on 2020-02-28 01:37 (UTC)

Patch to fix this package build for the current version. (had to add the submodules + fix a typo in the CMakeLists.txt.

diff --git a/PKGBUILD b/PKGBUILD
index ed5fbb0..a6c2449 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 pkgname=cura-plugin-octoprint-git
 _pkgname=cura-plugin-octoprint
-pkgver=r287.62396d7
+pkgver=r397.544f7b0
 pkgrel=1
 pkgdesc="Cura plugin which enables printing directly to OctoPrint and monitoring the progress"
 arch=('any')
@@ -10,14 +10,29 @@ license=('GPL3')
 url="https://github.com/fieldofview/OctoPrintPlugin"
 depends=('python' 'cura' 'python-zeroconf')
 makedepends=('git' 'cmake')
-source=("$_pkgname::git+https://github.com/fieldofview/OctoPrintPlugin.git#branch=master")
-md5sums=('SKIP')
+source=("$_pkgname::git+https://github.com/fieldofview/OctoPrintPlugin.git#branch=master"
+        "git+https://github.com/jstasiak/python-zeroconf.git"
+        "git+https://github.com/pydron/ifaddr.git")
+md5sums=('SKIP'
+         'SKIP'
+         'SKIP')

 pkgver() {
   cd "$_pkgname"
   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

+prepare() {
+  sed -i 's/__ini__/__init__/g' "$srcdir/$_pkgname"/CMakeLists.txt
+
+  cd "$_pkgname"
+  git submodule init
+  git config submodule.python-zeroconf.url $srcdir/python-zeroconf
+  git config submodule.ifaddr.url $srcdir/ifaddr
+  git submodule update
+  cd -
+}
+
 build() {
   mkdir -p "$_pkgname"/build
   cd "$_pkgname"/build

ad1217 commented on 2018-05-06 00:46 (UTC)

@GPereira They were changing the upstream HEAD, but makepkg wasn't changing local HEAD. I've changed it to explicitly use master, which should fix it.

GPereira commented on 2018-05-05 15:04 (UTC)

This package is always asking to update, why?