Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453048 - dev-lang/R-2.15.2 produces an empty plot window with buffered cairo
Summary: dev-lang/R-2.15.2 produces an empty plot window with buffered cairo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Denis Dupeyron (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-01-19 22:11 UTC by gordon
Modified: 2013-01-28 23:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch that fixes this bug (R-2.15.2-cairo.patch,1.11 KB, patch)
2013-01-19 22:12 UTC, gordon
Details | Diff
ebuild that uses this patch (R-2.15.2-r1.ebuild,5.96 KB, text/plain)
2013-01-19 22:14 UTC, gordon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gordon 2013-01-19 22:11:38 UTC
X11 plots are not drawn (i.e. the window stays blank) when using X11.options(type="cairo") and X11.options(type="dbcairo"). They are correctly drawn when using X11.options(type="nbcairo") and X11.options(type="xlib"), or after resizing the X11 window.

Reproducible: Always

Steps to Reproduce:
1. Run R
2. run demo(graphics)
Actual Results:  
Empty plot window

Expected Results:  
Plot window with graph

Seems that this bug is fixed https://bugzilla.redhat.com/show_bug.cgi?id=891983#c14
Comment 1 gordon 2013-01-19 22:12:47 UTC
Created attachment 336176 [details, diff]
patch that fixes this bug
Comment 2 gordon 2013-01-19 22:14:15 UTC
Created attachment 336178 [details]
ebuild that uses this patch
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-01-21 11:38:37 UTC
Comment on attachment 336178 [details]
ebuild that uses this patch

--- R-2.15.2.ebuild     2012-10-26 23:44:05.000000000 +0200
+++ -   2013-01-21 12:38:30.516513079 +0100
@@ -80,6 +80,9 @@
        # https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14953
        epatch "${FILESDIR}"/${PN}-2.14.1-rmath-shared.patch
 
+       # Cairo patch
+       epatch "${FILESDIR}"/${PN}-2.15.2-cairo.patch
+
        # fix packages.html for doc (gentoo bug #205103)
        sed -i \
                -e "s:../../../library:../../../../$(get_libdir)/R/library:g" \
Comment 4 gordon 2013-01-21 11:46:39 UTC
Seems that this bug appears with >=cairo-1.12 but not with 1.10
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2013-01-28 23:03:47 UTC
fixed in 2.15.2-r1. thanks!