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

From: John Darrington <[email-masked]>
Date: Fri, 17 Mar 2017 15:34:54 +0100

On Fri, Mar 17, 2017 at 03:23:16PM +0100, Ricardo Wurmus wrote:
     * 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")))
What does this mean? "properties" doesn't seem to be mentioned in the manual.

     +    (build-system r-build-system)
     +    (inputs
     +     `(("cairo" ,cairo)
     +       ("libxt" ,libxt)))

Many packages which need libxt as an input, need special measures to
make sure that libxt finds their resource files.  Did you check to
see if that is the case with this package?

J'

-- 
Avoid eavesdropping.  Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.