Red Hat Bugzilla – Bug 351841
RFE: R without X dependencies
Last modified: 2007-11-30 17:12:20 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); da-DK; rv:220.127.116.11) Gecko/20071019 Fedora/18.104.22.168-1.fc7 Firefox/22.214.171.124
Description of problem:
I maintain a cluster of computing nodes. They have no X installed. I would love to see a version of R in Fedora compiled with the '--with-x=no' option.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum install R
R pulls a lot of graphical dependencies, e.g. firefox, evince.
R installed without grapical dependencies.
Well, the --with-x=no would really only eliminate the dependencies on:
Thanks to modular X, those dependencies are really small.
But what you're really noting is that we're hardcoding a Requires for evince and
firefox, because we need to define R_PDFVIEWER and R_BROWSER for the R build.
We could make an alternate R package that sets R_BROWSER to links, but I'm not
sure what non-graphical PDF viewer we could set for R_PDFVIEWER. I suppose we
could leave it entirely unset.
Let me poke this for a bit and see what I can come up with.
Thanks for the quick reply. This sounds absolutely great. I'm looking forward to
see what you come up with.
Here's a patch that uses xdg-open instead of hardwired firefox and evince:
The link to your patch returns a '404 - Page could not be found'.
Yes, I removed the file after I saw it was applied to CVS as part of
R-2.6.0-3.fc7.1 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
Excellent! It works great.
I am really amazed how quick this got fixed.