From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:57845) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgjXM-00085W-Bm for guix-patches@gnu.org; Fri, 28 Jun 2019 01:35:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hgjXK-00069s-TP for guix-patches@gnu.org; Fri, 28 Jun 2019 01:35:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54918) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hgjXK-00069d-OT for guix-patches@gnu.org; Fri, 28 Jun 2019 01:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hgjXK-0001vg-Go for guix-patches@gnu.org; Fri, 28 Jun 2019 01:35:02 -0400 Subject: [bug#34283] [PATCH-1/4]Add: mypaint@1.2.1 Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:57533) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgjWo-00081T-MN for guix-patches@gnu.org; Fri, 28 Jun 2019 01:34:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hgjWl-0005h8-I6 for guix-patches@gnu.org; Fri, 28 Jun 2019 01:34:30 -0400 Received: from mx1.riseup.net ([198.252.153.129]:35928) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hgjWl-0005gb-93 for guix-patches@gnu.org; Fri, 28 Jun 2019 01:34:27 -0400 Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 5498B1A1EBF for ; Thu, 27 Jun 2019 22:34:26 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by capuchin.riseup.net (Postfix) with ESMTPSA id 91AD912031E for ; Thu, 27 Jun 2019 22:34:25 -0700 (PDT) References: <20190202044421.44toqidrwk2f6acn@WaraToNora> <20190208072240.sbx6xmzheyxyinkw@WaraToNora> From: swedebugia Message-ID: <864f444f-f87e-595a-49c0-a5cd1b2ad415@riseup.net> Date: Fri, 28 Jun 2019 07:34:22 +0200 MIME-Version: 1.0 In-Reply-To: <20190208072240.sbx6xmzheyxyinkw@WaraToNora> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34283@debbugs.gnu.org On 2019-02-08 08:22, Yoshinori Arai wrote: > From 9fe8e0b3cb260da2bae0de7c2c5d0963c4f543a6 Mon Sep 17 00:00:00 2001 > From: Yoshinori Arai > Date: Fri, 8 Feb 2019 12:41:11 +0900 > Subject: [PATCH 1/4] Add: mypaint@1.2.1 > > --- > gnu/packages/graphics.scm | 55 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 55 insertions(+) > > diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm > index bf4cc89b0..6663ff7dc 100644 > --- a/gnu/packages/graphics.scm > +++ b/gnu/packages/graphics.scm > @@ -41,7 +41,9 @@ > #:use-module (gnu packages flex) > #:use-module (gnu packages fonts) > #:use-module (gnu packages fontutils) > + #:use-module (gnu packages gettext) > #:use-module (gnu packages ghostscript) > + #:use-module (gnu packages gimp) > #:use-module (gnu packages gl) > #:use-module (gnu packages glib) > #:use-module (gnu packages gnome) > @@ -70,6 +72,7 @@ > #:use-module (guix build-system cmake) > #:use-module (guix build-system gnu) > #:use-module (guix build-system python) > + #:use-module (guix build-system scons) > #:use-module (guix download) > #:use-module (guix git-download) > #:use-module ((guix licenses) #:prefix license:) > @@ -856,3 +859,55 @@ your terminal. It comes bundled with predefined styles: > look. The result can be uploaded on any web server without additional > requirements.") > (license license:gpl2+))) > + > +(define-public mypaint > + (package > + (name "mypaint") > + (version "1.2.1") > + (source (origin > + (method url-fetch) > + (uri (string-append "https://github.com/" name "/" name > + "/releases/download/v" version > + "/" name "-" version ".tar.xz")) > + (sha256 > + (base32 > + "1iykjvfis5y71wn9wyxpmha7vb4pgr10dbpgglymh33a5ww4j8zd")))) > + (build-system scons-build-system) > + (arguments > + `(#:tests? #f ;; need graphical environment > + #:scons ,scons-python2 > + #:scons-flags > + (list (string-append "numpy_include=" > + (assoc-ref %build-inputs "python2-numpy") > + "/lib/python2.7/site-packages/numpy/core/include") > + (string-append "prefix=" (assoc-ref %outputs "out"))))) > + ;; README_LINUX.md > + ;;-If testing outside a graphical environment (anywhere Gdk refuses > + ;; to initialize), limit the doctests to just `lib/` and `brushlib/`. > + ;;-There are several interactive GUI tests in the `tests/` folder > + ;; which `nosetests` does not run - quite intentionally - > + ;; because their executable bit is set. > + ;;#:phases > + ;;(modify-phases %standard-phases > + ;; (replace 'check > + ;; (lambda _ > + ;; (invoke "nosetests" "--with-doctest")))))) > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("python" ,python-2) > + ("lcms" ,lcms) > + ("swig" ,swig))) > + ;;("python-nose" ,python2-nose))) ;; for test > + (inputs > + `(("gettext" ,gettext-minimal) > + ("libmypaint" ,libmypaint) > + ("mypaint-brushes" ,mypaint-brushes))) > + (propagated-inputs > + `(("gtk+" ,gtk+) > + ("python2-pygobject" ,python2-pygobject) > + ("python2-numpy" ,python2-numpy) > + ("python2-pycairo" ,python2-pycairo))) > + (home-page "http://mypaint.org/") > + (synopsis "Simple drawing and painting program") > + (description "MyPaint is a fast and easy graphics app for digital painters.") > + (license license:gpl2+))) > This has slipped through the cracks. Can someone with gtk-knowledge please review? -- Cheers Swedebugia