First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 236072
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Physics related packages <sci-physics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Benjamin Bannier <benni@netronaut.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
More-descriptive-ruby-lib-name-and-updated-RUBYLIB.patch patch against main tree patch Benjamin Bannier 2008-08-28 22:02 0000 1.04 KB Details | Diff
More-descriptive-ruby-lib-name-and-updated-RUBYLIB.patch updated patch against main tree patch Benjamin Bannier 2008-08-29 19:20 0000 1.04 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 236072 depends on: Show dependency tree
Show dependency graph
Bug 236072 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-08-28 22:02 0000
Hi,

root offers to install ruby bindings, but they are hidden in the non-standard
location /usr/lib/root, so users need to manually updated there RUBYLIB (where
ruby searches for libraries). This is an issue similar to bug 232124.

This patch updates RUBYLIB and, since the bindings library is called libRuby,
does some patching of Makefiles and source files to get it called ROOT (so
users can "require 'ROOT'" in their ruby code).

Probably, this renaming of the library will cause some confusion, since scripts
might not run, but the old situation is rather insane.


Cheers,

Benjamin

Reproducible: Always

------- Comment #1 From Benjamin Bannier 2008-08-28 22:02:46 0000 -------
Created an attachment (id=164035) [edit]
patch against main tree

------- Comment #2 From Benjamin Bannier 2008-08-29 19:20:53 0000 -------
Created an attachment (id=164082) [edit]
updated patch against main tree

Hi,

I promised that renaming the library would case problems, and I just ran into
the first one: since the python and ruby modules with above patch have the same
name, python would not load it's module anymore.

I am attaching a patch that names the ruby modules ROOT_rb, a name much less
desirable than ROOT, but I still believe that a ruby module named libRuby in
the standard module load path is insane.

------- Comment #3 From Sébastien Fabbro 2008-09-23 13:05:31 0000 -------
Now in cvs. Thanks!

First Last Prev Next    No search results available      Search page      Enter new bug