[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] gnu: r: Add pango to inputs.
From: |
Ricardo Wurmus |
Subject: |
[PATCH] gnu: r: Add pango to inputs. |
Date: |
Fri, 17 Jun 2016 12:13:11 +0200 |
Hi Guix,
our R package is currently built with Cairo, which allows R to use the Cairo
rendering backend. When R starts up and loads grDevices, however, it checks
for the availability of Pango, not Cairo. So even though the Cairo backend
works just fine, R falls back to using the primitive Xlib backend.
You can confirm this by running this in R:
getOption('bitmapType')
options(bitmapType='cairo')
The first command should show you "Xlib" with R from Guix. The second sets
the backend to Cairo, which works without problems.
I decided against patching the detection mechanism in R because I don't know
if R might use Pango features elsewhere. Instead I opted to add Pango to the
inputs. Pango pulls in Cairo, so the package closure is a little bigger than
before. Pango makes up 0.7% of the total size, so I think that's okay.
~~ Ricardo
Ricardo Wurmus (1):
gnu: r: Add pango to inputs.
gnu/packages/statistics.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.8.4
- [PATCH] gnu: r: Add pango to inputs.,
Ricardo Wurmus <=