On Tue, Jul 27, 2010 at 3:53 PM, Ralph Janke <span dir="ltr"><<a href="mailto:txwikinger@ubuntu.com">txwikinger@ubuntu.com</a>></span> wrote:  <br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


Well.. the question is the difference between linking, and just calling.<br></blockquote><div><br>Calling as a function call to the same process space? Everything is GPL.<br>Calling as in making a socket call to a separate program? GPL does not apply.<br>
 <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Even that question gets more and more gray. If you statically link a<br>
library, you copy it in fact. If you link it dynamically, it gets complicated, one<br>
could argue that if you do not distribute the .so library with your executable,<br>
because it is already in the distribution, you do not need to comply with<br>
GPL even if the library is GPL (the problem might still be the header files<br>
though).<br></blockquote><div><br>No. <br><br><a href="http://www.gnu.org/licenses/gpl-faq.html#LinkingWithGPL">http://www.gnu.org/licenses/gpl-faq.html#LinkingWithGPL</a><br><br>The stance of the FSF is that dynamic or static does not matter. What <br>
matters is whether the caller and callee run in the same program space or not.<br><br><a href="http://www.gnu.org/licenses/gpl-faq.html#MereAggregation">http://www.gnu.org/licenses/gpl-faq.html#MereAggregation</a><br><br>
<a href="http://www.gnu.org/licenses/gpl-faq.html#GPLAndPlugins">http://www.gnu.org/licenses/gpl-faq.html#GPLAndPlugins</a><br><a href="http://www.gnu.org/licenses/gpl-faq.html#NFUseGPLPlugins">http://www.gnu.org/licenses/gpl-faq.html#NFUseGPLPlugins</a><br>
<br>The GPL was initially written when shared libraries were not in common 
use.<br>
Later when shared libraries became common, the GPL was interpreted to<br>
extend to shared libraries.<br><br>And now that we have interpreted languages in common use, things get<br>more interesting, and the FSF says the GPL applies to the application (e.g.<br>Drupal or Wordpress) and its plugins (modules, themes), despite the language<br>
itself (PHP) being non-GPL.<br> 
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
In some ways, you just use what is already there. In the same way M$ might<br>
otherwise claim that your word document is owned by them, since their<br>
software has created a derivative of your input.<br>
<br>
If you look at themes, if they just call something which is already existent<br>
in the distribution of wordpress, drupal etc, then you have not copied anything.<br>
If you use existing php, javascript, css, etc. code, that you have copied and<br>
pasted and then modified, then you would fall under the license.<br></blockquote><div><br>There are two separate issues: "GPL virality" and "derived work".<br><br>The FSF says that PHP and Javascript in a theme or a module would be GPL,<br>
because they run in the same user space as the main application, and also <br>by using the API of the application, and being specifically written for the GPL<br>application.<br><br>e.g. <a href="https://drupal.org/licensing/faq#q7">https://drupal.org/licensing/faq#q7</a><br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
On the other hand, we have the Pystar vs. Apple case in the US, in which Pystar<br>
was prohibited to resale Apples copies of leopard and snow leopard with their<br>
software. However, I am not sure if this case said anything about the case if Pystar would have only sold an additional software, and the user had to find<br>
a legal copy of Apple's (snow) leopard themselves.<br></blockquote><div><br>Apple's operating system is non-GPL. It is licensed under a proprietary license.<br>Psystar had no license to distribute Apple's software, and Apple sued and won.<br>
<br>If the user had to buy a copy themselves, then Psystar would not have been sued,<br>but Apple would still be upset, since they want their software to run only under their<br>hardware.<br><br>Unrelated to our discussion.<br>
 <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Maybe it would be an interesting test case to see if a court would put the building of a theme in wordpress or drupal equivalent to what Pystar did (even though is wordpress or drupal distributed with the theme?) or if it would be solely a question of the usage and derivation of existing code.<font color="#888888"></font><br>
</blockquote></div><br>The cases are very different.<br><br>Under the GPL, if you redistribute (including selling copies), the buyer has the rights that the GPL provides, meaning they are free to take the work and redistribute it to others, including sell it, give it away, upload it, ...etc.<br>
<br>If you are in violation, then there are first requests to comply (e.g. make your work available under the GPL, or stop distributing your work, or seek a proprietary license from the copyright holder [if one is available]). Courts come after these requests for compliance fail to produce results. This is one reason why you don't see many GPL cases in court.<br>
<br>Side note: This redistribution condition is why the GPL is not a suitable license to commercialize software (when selling copies is the only business model), because you will make money. The GPL does not forbid charging money at all, but you will only make the first sale, and then nothing after that, unless you are offering services.<br>
-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com">2bits.com</a>, Inc.<br><a href="http://2bits.com">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra<br>
Simplicity is the ultimate sophistication. --   Leonardo da Vinci<br>