Page 1 of 1

Ruby/Open Source License

Posted: Thu Aug 23, 2012 10:00 pm
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?

Re: Ruby/Open Source License

Posted: Mon Aug 27, 2012 6:22 pm
by infuzion
This would be a concern to me also; needs to be addressed for people who like I intend to sell FS exports.

Re: Ruby/Open Source License

Posted: Mon Aug 27, 2012 7:36 pm
by Tzarls
Most likely they´ve just used Ruby´s API to integrate it with FS. But an official answer would be nice, yes.

Re: Ruby/Open Source License

Posted: Mon Sep 10, 2012 2:40 pm
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.

Re: Ruby/Open Source License

Posted: Mon Sep 10, 2012 6:22 pm
by infuzion
support wrote:This is nothing to worry about re. licensing. Hope that puts your minds at rest.
Yes, thanks!

Re: Ruby/Open Source License

Posted: Fri Sep 14, 2012 10:12 am
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.

Re: Ruby/Open Source License

Posted: Thu Aug 03, 2017 6:30 pm
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?