Page 1 of 1

OpenFX-Misc Linux

PostPosted: Wed Sep 19, 2018 8:24 pm
by Corey Ryan Hanson
I was wondering if anyone has gotten the OpenFX-Misc plugins from Natron to work in the CentOs version.

I tried the basic principle from this thread
viewtopic.php?f=21&t=52700

By installing Natron and symlinking folders from each of the plugins to /usr/OFX/Plugins (Using my NeatVideo installation as a reference), but nothing new shows up among the plugins. Is it possible to do without compliling from source?

Re: OpenFX-Misc Linux

PostPosted: Wed Sep 19, 2018 10:14 pm
by Martin Schitter
Corey Ryan Hanson wrote:I was wondering if anyone has gotten the OpenFX-Misc plugins from Natron to work in the CentOs version.


theay are published under the GPL 2 license -- and you are therefore not allowed to use them in closed source software!

o.k. -- i think, nobody will sue you... ;)

By installing Natron and symlinking folders from each of the plugins to /usr/OFX/Plugins (Using my NeatVideo installation as a reference), but nothing new shows up among the plugins. Is it possible to do without compliling from source?

it's long ago since i tried it the last time -- because i usually utilize OpenFX only in other more powerful/accurate applications --, but Frédéric Devernay did it's best, to work around all the non standard compliant OpenFX particularities of resolve in his OpenFX API helper framework.

Re: OpenFX-Misc Linux

PostPosted: Thu Sep 20, 2018 5:16 am
by Iñigo Figuero
That license applies to distribution, not for use, I think.

Re: OpenFX-Misc Linux

PostPosted: Thu Sep 20, 2018 6:27 am
by Martin Schitter
Iñigo Figuero wrote:That license applies to distribution, not for use, I think.


i thing you are referring to sect.2 of pt.0 in the GPL: " Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted,...". yes, that's true, and the general aim of this license is indeed focused on maximizing the "freedom" of users resp. to protect it...

but using GPL licensed plugins in closed source applications is a very special case. it will be treated like dynamic linking of libraries. the GPL FAQ clearly states about this case:

"If the main program dynamically links plug-ins, and they make function calls to each other and share data structures, we believe they form a single combined program, which must be treated as an extension of both the main program and the plug-ins."

and the consequences are explained two paragraphs later under "Can I apply the GPL when writing a plug-in for a nonfree program?":

"If they form a single combined program this means that combination of the GPL-covered plug-in with the nonfree main program would violate the GPL. However, you can resolve that legal problem by adding an exception to your plug-in's license, giving permission to link it with the nonfree main program."

but i still have to remark again, that the GPL was invented to protect the freedem of users and not to restrict them by unnecessary rigorousness. nevertheless we still should try to respect this general rules behind free software not less than all those licensing restrictions and access barriers in the commercial world.

Re: OpenFX-Misc Linux

PostPosted: Mon Sep 24, 2018 12:59 am
by Corey Ryan Hanson
Martin Schitter wrote:
theay are published under the GPL 2 license -- and you are therefore not allowed to use them in closed source software!

o.k. -- i think, nobody will sue you... ;)


I kind of love the aggressiveness of the GPL and can see what you mean but as libre crazed end user I'm willing to take that risk ;)

Thanks for the steer in the right direction. I noticed Devernay was contributing to this repo

https://github.com/NatronGitHub/openfx-misc

And after a little bit of build troubleshooting, everything compiled smoothly and shows up in Resolve.

In case anyone else in the future is interested in getting this to work these were my steps.

In terminal writing:
Code: Select all
git clone https://github.com/NatronGitHub/openfx-misc.git
cd openfx-misc
git submodule update -i -r


Opening up "Makefile.master" in a text editor and adding "-std=c++11" to the line with "CXXFLAGS" (Otherwise it would fail to build with errors of missing C++11 standard features.

Then in terminal entering:
Code: Select all
make CONFIG=release
sudo make install CONFIG=release