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: ad1217
Last Packager: ad1217
Votes: 6
Popularity: 0.000001
First Submitted: 2017-01-24 18:39
Last Updated: 2020-02-29 22:04

Latest Comments

qubidt commented on 2020-02-28 01:37

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

@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

This package is always asking to update, why?