Bug 351841 - RFE: R without X dependencies
Summary: RFE: R without X dependencies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: R
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-25 07:00 UTC by Rasmus Ory Nielsen
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version: 2.6.0-3.fc7.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-01 21:20:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rasmus Ory Nielsen 2007-10-25 07:00:05 UTC
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:

Comment 1 Tom "spot" Callaway 2007-10-25 13:42:31 UTC
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.

Comment 2 Rasmus Ory Nielsen 2007-10-25 15:25:46 UTC
Thanks for the quick reply. This sounds absolutely great. I'm looking forward to
see what you come up with.

Thanks.

Comment 3 Ville Skyttä 2007-10-28 12:33:48 UTC
Here's a patch that uses xdg-open instead of hardwired firefox and evince:
http://scop.fedorapeople.org/patches/xdg-utils/R.patch

Comment 4 Rasmus Ory Nielsen 2007-10-30 09:01:13 UTC
Hi Ville,

The link to your patch returns a '404 - Page could not be found'.

Thanks,
Rasmus

Comment 5 Ville Skyttä 2007-10-30 18:17:40 UTC
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


Comment 6 Fedora Update System 2007-11-01 21:20:50 UTC
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.

Comment 7 Rasmus Ory Nielsen 2007-11-06 13:20:35 UTC
Excellent! It works great.
I am really amazed how quick this got fixed.
Thanks!!


Note You need to log in before you can comment on or make changes to this bug.