Re: [QGIS-Developer] license requirements for QGIS plugin

2018-03-07 Thread Sandro Santilli
On Tue, Mar 06, 2018 at 04:14:49PM +1200, Olivier Dalang wrote:

> We tried our best to convince some partners to base some of their work on
> QGIS, but they are not ready for open-source yet.

Patience is a good virtue.
Sharing is another one.

--strk;
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] license requirements for QGIS plugin

2018-03-06 Thread Luigi Pirelli
On 6 March 2018 at 05:14, Olivier Dalang  wrote:
> Then, I found this [3] saying it's possible to use closed external tools,
> such as file based exchanges from/to external applications.

yes, it does not violate GPL calling external executable

> So if they build a GPL-licensed plugin calling a proprietary executable, how
> external would that latter executable need to be to comply to GPL ?
> - could it be shipped with the plugin, in the plugin repo ?

No, for two reasons.
1) no executable blobs are allowed in the main qgis plugin repo
2) should match executable redistribution policy of the executable

btw you can setup you own repo to distribute you plugin with executable blobs.
Here for example a plugin repo with a single plugin with a executabel
blob inside:
https://github.com/QTrafficmodel/QTrafficPluginRepository

> - if not, could it be dynamically downloaded by the plugin in the background?

Yes. I suggest to do it explicitly asking user permission and ask for
license agreement.

> - if not, could it be downloaded by the plugin with some kind of user
> interaction (e.g. copy/paste a link) ?

Yes

> - if not, could it be manually downloaded by the user and placed somewhere ?

yes

> And then, as far as I understand GPL-2, the requirements only apply when you
> distribute the software, which means you can keep all the code for yourself.

AFAIK GPL2 is always applied, not only for distribution. It's a
Copyright => it's an author right.

> When is it considered that the software is distributed ?
> - if they distribute it only to users inside their organization ?
> - if they distribute it only to users from partner organizations ?
> - if it's not considered distributed when it's done only internally, can
> they have internal agreements to prevent internal users from distributing
> the software ?

I leave these unanswered... because it's a complex argument.

My experience is that:
1) commtter of a work have the right to access source code
2) publication have to be negotiated with committer (btw because it's
a GPL would be "fair" to have it published by default)
3) Internal agreement are commonly (and sadly if related with GPL)
used to avoid distribution.

for sure the argument is much more complex than here exposed.

>
> Thank you very much in advance for these clarifications !
>
> And sorry if this is not the best place to ask basic GPL questions... But
> the topic is very complex, and it seems integrating GPL/propritery software
> is always an edge case. Maybe we could add some vulgarized information about
> this in the pyqgis cookbook ?
>
> Kind regards,
>
> Olivier
>
>
> [1] http://blog.qgis.org/2016/05/29/licensing-requirements-for-qgis-plugins/
> [2]
> https://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.en.html#GPLAndPlugins
> [3] https://gis.stackexchange.com/a/61069


Luigi Pirelli

**
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
* 
https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
* Hire me: http://goo.gl/BYRQKg
**
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] license requirements for QGIS plugin

2018-03-05 Thread Paolo Cavallini
Hi Olivier,

Il 06/03/2018 05:14, Olivier Dalang ha scritto:

> I found this blog post [1] which very clearly states plugins must comply
> to GPL-2.

my advice would be to seek advice from a lawyer: these are corner cases,
and only a lawyer can tell you what is acceptable or not. However:
* does your customer have to distribute the plugin? As you know, GPL
does not require it. If it's for internal use. then you have no
licencing issues
* we generally accept this kind of things up to a point, but I do not
think anybody here is particularly excited nor positive about this - I
personally tend to see this as stretching the licence to its limits, for
personal convenience.
All the best.


-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer