From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); da-DK; rv:1.8.1.8) Gecko/20071019 Fedora/2.0.0.8-1.fc7 Firefox/2.0.0.8 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): How reproducible: Always Steps to Reproduce: 1. yum install R 2. 3. Actual Results: R pulls a lot of graphical dependencies, e.g. firefox, evince. Expected Results: R installed without grapical dependencies. Additional info:
Well, the --with-x=no would really only eliminate the dependencies on: libSM.so.6()(64bit) libX11.so.6()(64bit) libXmu.so.6()(64bit) libXt.so.6()(64bit) 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. Thanks.
Here's a patch that uses xdg-open instead of hardwired firefox and evince: http://scop.fedorapeople.org/patches/xdg-utils/R.patch
Hi Ville, The link to your patch returns a '404 - Page could not be found'. Thanks, Rasmus
Yes, I removed the file after I saw it was applied to CVS as part of http://cvs.fedora.redhat.com/viewcvs/devel/R/R.spec?r1=1.30&r2=1.31&makepatch=1&diff_format=h
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. Thanks!!