Subject: bug#26141: closed (Re: bug#26141: [PATCH] gnu: Add r-cairo.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 30 Mar 2017 12:39:02 +0000

Your bug report

#26141: [PATCH] gnu: Add r-cairo.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
26141: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26141
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#26141: [PATCH] gnu: Add r-cairo.
From: Ricardo Wurmus <[email-masked]>
To: <[email-masked]>
Date: Thu, 30 Mar 2017 15:09:09 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

This was merged to master with commit e2c4fe7c62f05ac14f663bdd9de650c5e7f66231.

-- 
Ricardo

Subject: [PATCH] gnu: Add r-cairo.
From: Ricardo Wurmus <[email-masked]>
To: <[email-masked]>
Cc: Ricardo Wurmus <[email-masked]>
Date: Fri, 17 Mar 2017 15:23:16 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/statistics.scm (r-cairo): New variable.
---
 gnu/packages/statistics.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index d8e50b998..c8d9e78ea 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -5150,3 +5150,38 @@ genome-wide association studies can be analyzed efficiently.")
     (description
      "This package provides a pure R implementation of the t-SNE algorithm.")
     (license license:gpl2+)))
+
+(define-public r-cairo
+  (package
+    (name "r-cairo")
+    (version "1.5-9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "Cairo" version))
+       (sha256
+        (base32
+         "1x1q99r3r978rlkkm5gixkv03p0mcr6k7ydcqdmisrwnmrn7p1ia"))))
+    (properties `((upstream-name . "Cairo")))
+    (build-system r-build-system)
+    (inputs
+     `(("cairo" ,cairo)
+       ("libxt" ,libxt)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "http://www.rforge.net/Cairo/")
+    (synopsis "R graphics device using cairo graphics library")
+    (description
+     "This package provides a Cairo graphics device that can be use to
+create high-quality vector (PDF, PostScript and SVG) and bitmap
+output (PNG,JPEG,TIFF), and high-quality rendering in displays (X11
+and Win32).  Since it uses the same back-end for all output, copying
+across formats is WYSIWYG.  Files are created without the dependence
+on X11 or other external programs.  This device supports alpha
+channel (semi-transparent drawing) and resulting images can contain
+transparent and semi-transparent regions.  It is ideal for use in
+server environments (file output) and as a replacement for other
+devices that don't have Cairo's capabilities such as alpha support or
+anti-aliasing.  Backends are modular such that any subset of backends
+is supported.")
+    (license license:gpl2)))
-- 
2.11.1