From patchwork Sat Dec 10 12:24:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 45160 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 277DA27BBF0; Sat, 10 Dec 2022 12:25:45 +0000 (GMT) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 678A327BBE9 for ; Sat, 10 Dec 2022 12:25:44 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3yum-0005um-DQ; Sat, 10 Dec 2022 07:25:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3yud-0005uQ-1v for guix-patches@gnu.org; Sat, 10 Dec 2022 07:25:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3yuc-00024b-Lz for guix-patches@gnu.org; Sat, 10 Dec 2022 07:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p3yuc-0001Sp-5G for guix-patches@gnu.org; Sat, 10 Dec 2022 07:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] Test patches on Prusa i3 MK3S References: <20211021035100.241119-1-monego@posteo.net> In-Reply-To: <20211021035100.241119-1-monego@posteo.net> Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 10 Dec 2022 12:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "51314@debbugs.gnu.org" <51314@debbugs.gnu.org>, Maxime Devos Received: via spool by 51314-submit@debbugs.gnu.org id=B51314.16706750875613 (code B ref 51314); Sat, 10 Dec 2022 12:25:02 +0000 Received: (at 51314) by debbugs.gnu.org; 10 Dec 2022 12:24:47 +0000 Received: from localhost ([127.0.0.1]:42466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3yuN-0001ST-Fe for submit@debbugs.gnu.org; Sat, 10 Dec 2022 07:24:47 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]:54867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3yuK-0001SJ-He for 51314@debbugs.gnu.org; Sat, 10 Dec 2022 07:24:45 -0500 Date: Sat, 10 Dec 2022 12:24:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1670675077; x=1670934277; bh=e9kAFB4MJeE8ygsG68qWXPa1HFpfSNGIWAznBE1tXyU=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=s6PE2rXGlBHMfs/9wgg56rHUtXrkyoGosgd2EMWAyCmmc6AvtMiFbNYPqY9sjPTvf Q/TH9qScXU/21b5n/woy6cAbeXnGJAHR4Pa8uRJF9NEul9IO+VaWXr0XX/g+IiKAFg XZ1yrBoTif1qHG9cgLOseDmGb1FofEPeg+do/FrwiKPspMQ2skpv6ethzTtX/NfZec D4db0ReMy+etBtXVNjAmhIVwxECBz8WndDMhXZsrxqJXURLNneqG5aEQ4FBA0vDcS9 KXpCvav42Dt9QIA32JIZDMKw1kD4V+HRUx9bTxSRj6KErW4MEoL8rx/2jWML/JMgNt Ae+5dxgo1gnbA== Message-ID: <5_5GHNgyvUcPrdL8o3K8rxI9_ikPpr1lElc6I5j1DgW7ccksAR56TmMvWCHjsH1uP78_zh7ES30f0jRXmw-JxWO9EoSOOSCn70dyp9SKxjE=@protonmail.com> Feedback-ID: 14143818:user:proton MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hi, I've also been working on getting the Octoprint printer support into Guix. Since you've already reviewed the patches I used yours. I had to rebase them on the lastest core-updates (6454208222d6e7760daa964b590f35ea75ffe0e5). Unfortunately, some issues arise - there are several packages that don't pass tests: python-pytest-localserver, disable python-django, python-tornado-6, python-sgmllib3k, python-feedparser. I just disabled the tests since I wanted to know if Octoprint works. And it does as shown on the screenshot. ---- Petr From 2c2165cfb53025e1eee1e949b9a27dd1888ab3f8 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Fri, 9 Dec 2022 18:25:59 +0100 Subject: [PATCH 13/19] gnu: Add octoprint-pisupport. * gnu/packages/printers.scm (octoprint-pisupport): New variable. diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm index e7761070e0..10bd86c1af 100644 --- a/gnu/packages/printers.scm +++ b/gnu/packages/printers.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018 Ludovic Courtès ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2022 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,8 +20,10 @@ (define-module (gnu packages printers) #:use-module (guix packages) + #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system gnu) + #:use-module (guix build-system python) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages libusb) #:use-module (gnu packages pkg-config) @@ -29,6 +32,29 @@ (define-module (gnu packages printers) ;; This is a module for packages related to printer-like devices, but not ;; related to CUPS. +(define-public octoprint-pisupport + (package + (name "octoprint-pisupport") + (version "2022.3.28") + (source + (origin + (method url-fetch) + (uri (pypi-uri "OctoPrint-PiSupport" version)) + (sha256 + (base32 "11yzcyyia9dyiw428kjwysybxxh93dbc0sl7p59kda84iqwj1m5z")))) + (build-system python-build-system) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (delete 'sanity-check)))) ; checks for Octoprint + (home-page "https://github.com/OctoPrint/OctoPrint-PiSupport") + (synopsis "Plugin to provide additional information about your Pi") + (description "The Pi Support plugin provides additional information about +your Pi in the UI and also alerts you about undervoltage or overheating issues +observed on your Pi or if your Pi is unsupported.") + (license license:agpl3))) + (define-public robocut (package (name "robocut") -- 2.38.1