Include PCRE2 in R 3.x on Debian 11 for Pango support
In Debian 11, Pango now depends on PCRE2, so R 3.x will not be compiled with
Pango support if we hide PCRE2 to prevent R 3.5 and 3.6 from taking an unnecessary
dependency on PCRE2.
To check if R 3.x was compiled without Pango support, look for this line in the
configure output:
checking whether pkg-config knows about cairo and pango... no
Or in R, check if the "bitmapType" option defaults to "Xlib" instead of "Cairo":
> getOption("bitmapType")
"Xlib"
This commit is contained in:
parent
3a1b8a2a10
commit
3d3918230c
1 changed files with 13 additions and 5 deletions
|
|
@ -19,6 +19,9 @@ RUN gem install fpm
|
|||
# Override the default pager used by R
|
||||
ENV PAGER /usr/bin/pager
|
||||
|
||||
# R 3.x requires PCRE2 for Pango support on Debian 11
|
||||
ENV INCLUDE_PCRE2_IN_R_3 yes
|
||||
|
||||
COPY package.debian-11 /package.sh
|
||||
COPY build.sh .
|
||||
ENTRYPOINT ./build.sh
|
||||
|
|
|
|||
Loading…
Reference in a new issue