I have this problem:

                                                                               

                              

-there are two usable versions of ruby in fink

  -ruby 1.6.8

  -ruby 1.8.0

                                                                               

                              

-there is an application (freeride) that works with either version but

 it needs two extensions to the interpreter

  -fxruby

  -ripper

                                                                               

                              

The extensions are packaged for both versions of interpreter

  ripper-ruby16, ripper-ruby18, fxruby-ruby16, fxruby-ruby18

                                                                               

                                                                               

                                                        

The interpreters have packages

   ruby16, splitoff ruby 1.6.8, ruby18, splitoff ruby 1.8.0

  Each splitoff contains a link /sw/bin/ruby that points to ruby1.6 or ruby1.8.

  So installing ruby-1.6.8-2 makes ruby1.6 the default interpreter named just

  ruby.

                                                                               

                              

Now the application needs that the default interpreter ruby has both extensions.

                                                                               

                              

to show some possible configurations that do NOT work:

  ruby16 + ruby18 + ruby 1.8.0 + ripper-ruby16 + fxruby-ruby18 + freeride

  ruby16 + ruby18 + ruby 1.8.0 + ripper-ruby16 + fxruby-ruby16 + freeride

                                                                               

                              

This means that just 

  Provides: fxruby

  or Depends: fxruby-ruby16 | fxruby-ruby18, ripper-ruby18 | ripper-ruby16

is not enough to make fink install the correct packages.

                                                                               

                              

So I made ripper-ruby16 0.0.5-2 that has a splitoff ripper 0.0.5-2-16,

 ripper-ruby18 with splitoff ripper 0.0.5-2-18, etc.

                                                                               

                              

Now there are two objections from the person who looked at it:

 - dash in revision is illegal - can be simply replaced with something else

 - these splitoffs do not look quite right



So i would like to know what is the right solution.

                                                                               

                              

thanks

                                                                               

                              

--

Michal Suchanek

[EMAIL PROTECTED]





-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to