Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638778 - dev-lang/R USE="png jpeg" should not depend on on x11-libs/cairo[X]
Summary: dev-lang/R USE="png jpeg" should not depend on on x11-libs/cairo[X]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-25 10:18 UTC by Cedric Sodhi
Modified: 2019-04-07 10:00 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cedric Sodhi 2017-11-25 10:18:19 UTC
Writing to the png device (i.e. creating PNG files) in R does not relate to X11. X11 support on cairo is not needed.
Comment 1 Felix W. 2018-03-07 10:22:51 UTC
(In reply to Cedric Sodhi from comment #0)
> Writing to the png device (i.e. creating PNG files) in R does not relate to
> X11. X11 support on cairo is not needed.

That is correct, but it requires a patch to dev-lang/R itself. I've taken an axe to it, but I have no idea what happens if you have X11 but built x11-libs/cairo -X. 
https://github.com/adjust/gentoo-overlay/tree/master/dev-lang/R

Perhaps I should just patch up the ebuild to avoid that undefined state.
Comment 2 Larry the Git Cow gentoo-dev 2019-04-07 10:00:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=408cbc8406b0ca0f91f46052b3a9e1f6bb4f71f9

commit 408cbc8406b0ca0f91f46052b3a9e1f6bb4f71f9
Author:     Mark Wright <gienah@gentoo.org>
AuthorDate: 2019-04-07 09:59:43 +0000
Commit:     Mark Wright <gienah@gentoo.org>
CommitDate: 2019-04-07 09:59:43 +0000

    sci-mathematics/R: Bump to 3.5.3, thanks Neil for reporting
    
    Add missing dependency net-libs/libtirpc, thanks to Victor Kustov for
    reporting.
    
    Change dependency from x11-libs/cairo[X] to x11-libs/cairo[X=],
    thanks to Cedric Sodhi for reporting, Felix W for helping.
    
    Closes: https://bugs.gentoo.org/674858
    Closes: https://bugs.gentoo.org/661878
    Closes: https://bugs.gentoo.org/638778
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Mark Wright <gienah@gentoo.org>

 dev-lang/R/Manifest       |   1 +
 dev-lang/R/R-3.5.3.ebuild | 205 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 206 insertions(+)