From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:53073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs0Zx-0008In-Ow for guix-patches@gnu.org; Fri, 08 Feb 2019 02:28:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gs0Zu-0001rr-Uk for guix-patches@gnu.org; Fri, 08 Feb 2019 02:28:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39578) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gs0Zu-0001qe-16 for guix-patches@gnu.org; Fri, 08 Feb 2019 02:28:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gs0Zt-00036w-Q3 for guix-patches@gnu.org; Fri, 08 Feb 2019 02:28:01 -0500 Subject: [bug#34283] [PATCH-4/4]Add: mypaint@2.0.0-alpha.2 References: <20190202044421.44toqidrwk2f6acn@WaraToNora> In-Reply-To: <20190202044421.44toqidrwk2f6acn@WaraToNora> Resent-Message-ID: Date: Fri, 8 Feb 2019 16:27:00 +0900 From: Yoshinori Arai Message-ID: <20190208072700.6q3jtvz3lfikyjme@WaraToNora> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 >From 624bcd336536880cf802e87bb25aeac8aac97c0a Mon Sep 17 00:00:00 2001 From: Yoshinori Arai Date: Fri, 8 Feb 2019 13:07:44 +0900 Subject: [PATCH 4/4] Add: mypaint@2.0.0-alpha.2 --- gnu/packages/graphics.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 03b411a50..325a9dd51 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -944,3 +944,35 @@ requirements.") (sha256 (base32 "0ap2b6n20lnvdm06x91qawk1k8jmxnf7zffxrqxw60fgqd4whwjm")))))) + +(define-public mypaint-2 + (package (inherit mypaint) + (version "2.0.0-alpha.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/mypaint/mypaint/" + "archive/v" version ".tar.gz")) + (sha256 + (base32 + "0nmcvma2vg2iqlvg8v96d3mppc5cn46591hh8jhppgibcvifc81m")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2 + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-for-buildconfig-and-test + (lambda _ + (for-each make-file-writable (find-files "." ".*")) + ;; FATAL: Cannot create cache dir '/homeless-shelter + (setenv "HOME" "/tmp"))) + (add-before 'build 'set-cflags + (lambda _ + (setenv "CFLAGS" "-Ofast -ftree-vectorize -fopt-info-vec-optimized -march=native -mtune=native -funsafe-math-optimizations -funsafe-loop-optimizations"))) + (replace 'install + (lambda _ + (invoke "python" "setup.py" "managed_install" + (string-append "--prefix=" (assoc-ref %outputs "out")))))))) + (inputs + `(("gettext" ,gettext-minimal) + ("libmypaint" ,libmypaint-2) + ("mypaint-brushes" ,mypaint-brushes-2))))) -- 2.20.1