From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:52702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs0X0-0007jI-PD for guix-patches@gnu.org; Fri, 08 Feb 2019 02:25:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gs0Wz-0000ab-Sx for guix-patches@gnu.org; Fri, 08 Feb 2019 02:25:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39569) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gs0Wz-0000aO-PB for guix-patches@gnu.org; Fri, 08 Feb 2019 02:25:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gs0Wz-00031z-JP for guix-patches@gnu.org; Fri, 08 Feb 2019 02:25:01 -0500 Subject: [bug#34283] [PATCH-2/4]Add: libmypaint@2.0.0-alpha References: <20190202044421.44toqidrwk2f6acn@WaraToNora> In-Reply-To: <20190202044421.44toqidrwk2f6acn@WaraToNora> Resent-Message-ID: Date: Fri, 8 Feb 2019 16:24:17 +0900 From: Yoshinori Arai Message-ID: <20190208072416.pdynd5r5po3l2ru7@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 9eb0cea3a515c4bf927758578e105e1125d54c8f Mon Sep 17 00:00:00 2001 From: Yoshinori Arai Date: Fri, 8 Feb 2019 12:53:49 +0900 Subject: [PATCH 2/4] Add: libmypaint@2.0.0-alpha --- gnu/packages/graphics.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 6663ff7dc..cdccc9372 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -911,3 +911,25 @@ requirements.") (synopsis "Simple drawing and painting program") (description "MyPaint is a fast and easy graphics app for digital painters.") (license license:gpl2+))) + +(define-public libmypaint-2 + (package (inherit libmypaint) + (version "2.0.0-alpha") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/mypaint/libmypaint/" + "archive/v" version ".0.tar.gz")) + (sha256 + (base32 + "1qbmjj7rammw4rma0jawff7q32d4gsy63f11af8dhk07bk4rkxph")))) + ;;MyPaint and libmypaint benefit dramatically from autovectorization + ;;and other compiler optimizations. from README.md + (arguments + `(#:make-flags (list "CFLAGS=-Ofast -ftree-vectorize -fopt-info-vec-optimized -march=native -mtune=native -funsafe-math-optimizations -funsafe-loop-optimizations"))) + (native-inputs + `(("intltool" ,intltool) + ("libtool" ,libtool) + ("automake" ,automake) + ("autoconf" ,autoconf) + ("python-2" ,python-2) ;need to generate headers in autogen.sh + ("pkg-config" ,pkg-config))))) -- 2.20.1