Ruby/Open Source License

For general discussion related FlowStone
Post Reply
rlr
Posts: 27
Joined: Tue Jul 13, 2010 9:17 pm

Ruby/Open Source License

Post by rlr »

Question: If I want to build an executable with Flowstone and if I want to sell that, how about the opensource license of ruby. According to http://www.ruby-lang.org/en/about/license.txt:
2. You may modify your copy of the software in any way, provided that
you do at least ONE of the following:

a) place your modifications in the Public Domain or otherwise
make them Freely Available, such as by posting said
modifications to Usenet or an equivalent medium, or by allowing
the author to include your modifications in the software.
(My assumption is you did changes in the ruby code for integration into Flowstone)

Does Flowstone needs to deliver the sources of the changes of the ruby interpreter? Am I liable to deliver those changes with my program?
infuzion
Posts: 109
Joined: Tue Jul 13, 2010 11:55 am
Location: Kansas City, USA, Earth, Sol

Re: Ruby/Open Source License

Post by infuzion »

This would be a concern to me also; needs to be addressed for people who like I intend to sell FS exports.
Tzarls
Posts: 54
Joined: Thu Oct 21, 2010 2:10 am

Re: Ruby/Open Source License

Post by Tzarls »

Most likely they´ve just used Ruby´s API to integrate it with FS. But an official answer would be nice, yes.
User avatar
support
Posts: 151
Joined: Fri Sep 07, 2012 2:10 pm

Re: Ruby/Open Source License

Post by support »

The code we used is exactly the same code you can download online. We made one very tiny change and that was to add a pointer to the FlowStone ruby interpreter object so that we could store that on the Ruby dll. This object is our own private code. The changes do not affect the way Ruby works or add to it in any way.

Nobody is going to be interested in this in the Ruby community but for full transparency we're more than happy to publish the addition here. All we did was insert the following in eval.c before compiling the Ruby dll as normal.

Code: Select all

void* g_pInterpreter = 0;
void* ruby_interpreterPtr(void) { return g_pInterpreter; }
void ruby_setInterpreterPtr(void* ptr) { g_pInterpreter = ptr; }


This is nothing to worry about re. licensing. Hope that puts your minds at rest.
infuzion
Posts: 109
Joined: Tue Jul 13, 2010 11:55 am
Location: Kansas City, USA, Earth, Sol

Re: Ruby/Open Source License

Post by infuzion »

support wrote:This is nothing to worry about re. licensing. Hope that puts your minds at rest.
Yes, thanks!
edwardmaya
Posts: 1
Joined: Fri Sep 14, 2012 10:03 am

Re: Ruby/Open Source License

Post by edwardmaya »

I'd suggest going onto github to look for tasks. You can look for around, evaluate factors out quickly and its simpler for the venture proprietor to administrator your changes.
FlowStoner
Posts: 24
Joined: Tue Aug 01, 2017 2:03 pm

Re: Ruby/Open Source License

Post by FlowStoner »

How to use my version of Ruby DLL in exported EXE or VST projects?
Now they are embeded directly into the exe.dll and vst.dll files,
but I should be able to use my version, how to do it?
Post Reply