From patchwork Tue Feb 19 03:43:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brett Gilio X-Patchwork-Id: 1188 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 B5EE816C62; Tue, 19 Feb 2019 04:00:45 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 4A7E616C5F for ; Tue, 19 Feb 2019 04:00:45 +0000 (GMT) Received: from localhost ([127.0.0.1]:41033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvwaK-0003h2-U1 for patchwork@mira.cbaines.net; Mon, 18 Feb 2019 23:00:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvwZA-0002tk-Gd for guix-patches@gnu.org; Mon, 18 Feb 2019 22:59:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvwZ2-0000yp-W6 for guix-patches@gnu.org; Mon, 18 Feb 2019 22:59:26 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54397) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvwZ1-0000yL-Mz for guix-patches@gnu.org; Mon, 18 Feb 2019 22:59:24 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvwZ1-0007Vf-Lc for guix-patches@gnu.org; Mon, 18 Feb 2019 22:59:23 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34564] [PATCH 23/24] gnu: Add r-magick. Resent-From: Brett Gilio Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Feb 2019 03:59:23 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34564 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34564@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155054873928485 (code B ref -1); Tue, 19 Feb 2019 03:59:23 +0000 Received: (at submit) by debbugs.gnu.org; 19 Feb 2019 03:58:59 +0000 Received: from localhost ([127.0.0.1]:53632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvwYc-0007PH-Ng for submit@debbugs.gnu.org; Mon, 18 Feb 2019 22:58:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvwYX-0007N1-L7 for submit@debbugs.gnu.org; Mon, 18 Feb 2019 22:58:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:50935) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gvwYQ-0000f5-H4 for submit@debbugs.gnu.org; Mon, 18 Feb 2019 22:58:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvwYP-0002Ix-Gi for guix-patches@gnu.org; Mon, 18 Feb 2019 22:58:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvwJm-0002Xi-47 for guix-patches@gnu.org; Mon, 18 Feb 2019 22:43:39 -0500 Received: from mout02.posteo.de ([185.67.36.66]:44963) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gvwJl-0002Si-S5 for guix-patches@gnu.org; Mon, 18 Feb 2019 22:43:38 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 3327A2400E5 for ; Tue, 19 Feb 2019 04:43:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1550547804; bh=oFcnDJ/Ry2hm1dUDbwna7uq4X/eRYVs8l106S7jlsLo=; h=From:To:Subject:Date:From; b=pCQRGbgtsBmm1LRUtCS9jIglAOOiqq2v+ThNeaffZ9h63AsPb1FKruHFOZCBbDa2p mUDubD1xAldk+WcXbear4MmlirOdxU2YJ02LommLu7/ACmhgdaB9lXMwNDplIJO0te WgFcDY/aPqmN/oSRpSgm9uJuC3TRgceL0S5b8Q9o3mvfDbR/sx1SqM5cG7URgAXAVB U/45TAMdmM0kolI7DoacbW7QJWMzfYAbGhV9MqJv6cHdf/tldu16T5jFyfdPFwPAZT GdDEYRi27vcVMDezxo7dKnvOIvOFNUPyK9qNZowoFK2mYx7yaWtyAEhL//7AWCQP1I AvueNzDaAvB9w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 443RQz2vH3z9rxN for ; Tue, 19 Feb 2019 04:43:23 +0100 (CET) From: Brett Gilio Date: Mon, 18 Feb 2019 21:43:21 -0600 Message-ID: <87mumswihy.fsf@posteo.net> MIME-Version: 1.0 Content-Disposition: inline; filename=0023-gnu-Add-r-magick.patch Content-Description: [PATCH 23/24] gnu: Add r-magick. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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 From 0589cf816ecabf2cf9b56d0733b8729ff451e397 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Mon, 18 Feb 2019 21:39:30 -0600 Subject: [PATCH 23/24] gnu: Add r-magick. * gnu/packages/cran.scm (r-magick): New variable. --- gnu/packages/cran.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 764aeb15d..3f5e5f981 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -51,6 +51,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages haskell) #:use-module (gnu packages image) + #:use-module (gnu packages imagemagick) #:use-module (gnu packages javascript) #:use-module (gnu packages lisp) #:use-module (gnu packages machine-learning) @@ -5929,6 +5930,39 @@ used within R markdown documents when rendering to HTML and to Word documents.") (license license:gpl3))) +(define-public r-magick + (package + (name "r-magick") + (version "2.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "magick" version)) + (sha256 + (base32 + "18y465325mhf48x2jn3jz9khwq1z2aj13wfbdkv8k3hln1sd572m")))) + (build-system r-build-system) + (inputs + `(("zlib" ,zlib))) + (propagated-inputs + `(("r-curl" ,r-curl) + ("r-magrittr" ,r-magrittr) + ("r-rcpp" ,r-rcpp) + ("imagemagick" ,imagemagick))) + (native-inputs `(("pkg-config" ,pkg-config))) + (home-page + "https://github.com/ropensci/magick#readme") + (synopsis + "Advanced Graphics and Image-Processing in R") + (description + "Bindings to @code{ImageMagick}: the most comprehensive open-source image +processing library available. Supports many common formats (png, jpeg, +tiff, pdf, etc) and manipulations (rotate, scale, crop, trim, flip, blur, +etc). All operations are vectorized via the Magick++ STL meaning they +operate either on a single frame or a series of frames for working with +layers, collages, or animation.") + (license license:expat))) + (define-public r-writexl (package (name "r-writexl") -- 2.20.1