From patchwork Fri May 1 10:40:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: L p R n d n X-Patchwork-Id: 21784 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 AFEBA27BBE4; Fri, 1 May 2020 11:43:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) by mira.cbaines.net (Postfix) with ESMTP id E9B9127BBE1 for ; Fri, 1 May 2020 11:43:15 +0100 (BST) Received: from localhost ([::1]:54648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUT8V-0005Lu-EY for patchwork@mira.cbaines.net; Fri, 01 May 2020 06:43:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56862) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUT7M-0004OJ-IE for guix-patches@gnu.org; Fri, 01 May 2020 06:42:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUT7L-00028C-3W for guix-patches@gnu.org; Fri, 01 May 2020 06:42:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUT7K-00027f-Ko for guix-patches@gnu.org; Fri, 01 May 2020 06:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jUT7K-0000gI-Hi for guix-patches@gnu.org; Fri, 01 May 2020 06:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40214] [PATCH 1/4] gnu: libmypaint: Update to 1.5.1. Resent-From: L p R n d n Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 May 2020 10:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40214 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 40214@debbugs.gnu.org Received: via spool by 40214-submit@debbugs.gnu.org id=B40214.15883296672556 (code B ref 40214); Fri, 01 May 2020 10:42:02 +0000 Received: (at 40214) by debbugs.gnu.org; 1 May 2020 10:41:07 +0000 Received: from localhost ([127.0.0.1]:48303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUT6K-0000ef-Oc for submit@debbugs.gnu.org; Fri, 01 May 2020 06:41:07 -0400 Received: from mout01.posteo.de ([185.67.36.141]:42593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUT6H-0000eR-Vx for 40214@debbugs.gnu.org; Fri, 01 May 2020 06:40:59 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 52F7F16005C for <40214@debbugs.gnu.org>; Fri, 1 May 2020 12:40:51 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49D80y2sGtz6tmM; Fri, 1 May 2020 12:40:50 +0200 (CEST) From: L p R n d n References: <20200324133422.9510-1-lprndn@gmail.com> <20200429194810.GA31146@jasmine.lan> <87v9lgc2yw.fsf@lprndn.info> <20200430174824.GA26566@jasmine.lan> <87zhasn0cp.fsf@lprndn.info> <20200430214230.GA833@jasmine.lan> Date: Fri, 01 May 2020 12:40:49 +0200 In-Reply-To: <20200430214230.GA833@jasmine.lan> (Leo Famulari's message of "Thu, 30 Apr 2020 17:42:30 -0400") Message-ID: <877dxwvsy6.fsf@lprndn.info> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello, Here are the new patches. Leo Famulari writes: > On Thu, Apr 30, 2020 at 11:13:26PM +0200, L p R n d n wrote: >> Leo Famulari writes: >> >> > On Thu, Apr 30, 2020 at 07:12:23PM +0200, L p R n d n wrote: >> >> Here are the updated patches. First patch moves libmypaint and >> >> mypaint-brushes to a new drawing.scm file, second adds mypaint. >> > >> > I'm not sure about adding a module (gnu packages drawing). The software >> > that could fit there can generally also be used for "painting", >> > "drafting", "photography post-production", and other activities of a >> > visual nature. >> > >> > We already have image and graphics modules that are rather ambiguous. >> > How about one of those? Or creating a mypaint module? >> >> You're right! I didn't find image.scm when searching for the right >> place. Should I move libpaint and mypaint-brushes too? It feels weird to >> have them in a different place. > > Yeah, now that we will have mypaint, it makes sense to keep them all > together :) Have a nice day, L p R n d n From 6727d751c75b51e9f8b7544420e108142f32d9dd Mon Sep 17 00:00:00 2001 From: L p R n d n Date: Fri, 1 May 2020 12:21:55 +0200 Subject: [PATCH 2/2] gnu: Add Mypaint. * gnu/packages/image.scm (mypaint): New variable. --- gnu/packages/image.scm | 50 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 08accd1b2f..8ceb8fe881 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -25,6 +25,7 @@ ;;; Copyright © 2018 Rutger Helling ;;; Copyright © 2020 Giacomo Leidi ;;; Copyright © 2020 R Veera Kumar +;;; Copyright © 2020 L p R n d n ;;; ;;; This file is part of GNU Guix. ;;; @@ -74,6 +75,7 @@ #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages sphinx) + #:use-module (gnu packages swig) #:use-module (gnu packages video) #:use-module (gnu packages web) #:use-module (gnu packages xml) @@ -2129,3 +2131,51 @@ MyPaint.") (file-name (git-file-name name version)) (sha256 (base32 "1c95l1vfz7sbrdlzrbz7h1p6s1k113kyjfd9wfnxlm0p6562cz3j")))))) ++ +(define-public mypaint + (package + (name "mypaint") + (version "2.0.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/mypaint/mypaint/" + "releases/download/v" version "/mypaint-" + version ".tar.xz")) + (sha256 + (base32 + "0pja0w005qn0qzy01y0nwbvi7xnmpq5s2bdlhhg8r4s2wdk7imni")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-relinfo + (lambda _ + ;; #1058 https://github.com/mypaint/mypaint/pull/1058 + (substitute* "lib/meta.py" + (("relinfo_fp,") "relinfo_fp.read(),")) + #t)) + (add-before 'check 'pre-check + (lambda _ + ;; Tests need writing access + (setenv "HOME" "/tmp") + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("gobject-introspection" ,gobject-introspection) + ("swig" ,swig) + ("gettext" ,gettext-minimal))) + (inputs + `(("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf) + ("libmypaint" ,libmypaint) + ("mypaint-brushes" ,mypaint-brushes) + ("json-c" ,json-c) + ("lcms" ,lcms) + ("python-numpy" ,python-numpy) + ("python-pycairo" ,python-pycairo) + ("python-pygobject" ,python-pygobject))) + (home-page "http://mypaint.org/") + (synopsis "Fast and dead-simple painting app for artists") + (description "MyPaint is a simple drawing and painting program + that works well with Wacom-style graphics tablets.") + (license license:gpl2+))) -- 2.26.1