forked from ploum/lingi2401
-
Notifications
You must be signed in to change notification settings - Fork 0
/
2. licenses.html
426 lines (302 loc) · 11.6 KB
/
2. licenses.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
<!DOCTYPE html>
<html>
<head>
<title>LINGI2401 - 2. Licenses</title>
<meta charset="utf-8">
<style>
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
body { font-family: 'Droid Serif'; }
h1, h2, h3 {
font-family: 'Yanone Kaffeesatz';
font-weight: normal;
}
.remark-code, .remark-inline-code { font-family: 'Ubuntu Mono'; }
</style>
</head>
<body>
<textarea id="source">
class: center, middle
# LINGI 2401 : Open Source strategy for software development
Lionel Dricot
lionel.dricot@uclouvain.be
lionel@ploum.net
@ploum - @ploum@mamot.fr
???
Good read for today : http://systematic-paris-region.org/wp-content/uploads/2017/07/LivretBleu_Juridique-2eEdition_GT-LogicielLibre_Systematic_Nov2016_web.pdf
---
class: center, middle
# One thing you learned from last week
???
Everybody should have a different one
---
class: center, middle
# What is a license ?
???
Let's try to define the concept together and reach a definition.
---
class: center, middle
#Let's put things in context
---
class: center, middle
#Sybaris Law
VIth century AD
???
First law about immaterial property, for recipes inventors (1 year). Before that, we don't have occurence of immaterial property. Does it even have a sense ?
---
class: center, middle
#Rival goods vs Non-rival goods
???
Economical concept.
If I take something, nobody loses it because of me (right to walk on a bridge, downloaded movie for instance)
---
class: center, middle
#The printing press
---
class: center, middle
#The copyright
???
At first: the king chose who had the right to print books, in order to censor it.
NB : the copyright is a censorship tool and was never designed to help the authors. It created a set of intermediaries which had plenty of power. The tool is for the intermediaries only.
Good read : https://questioncopyright.org/promise
---
class: center, middle
# Copyright vs Droits d'auteur
Economic and moral rights
???
Droits moraux et droits patrimoniaux
---
class: center, middle
#Tintin
???
Nick Rodwell
Read : https://falkvinge.net/2013/10/24/tintin-and-the-copyright-sharks/
---
class: center, middle
#Boléro de Ravel
Détentrice des droits en 2016 : la fille, issue d'un premier mariage, de la seconde femme du mari de la masseuse du frère de Maurice Ravel
???
Maurice Ravel meurt en 1937. Son seul héritier est son frère, Édouard. Celui-ci est victime d'un accident de voiture avec sa femme et a besoin d'une masseuse. La masseuse s'installe au domicile et son mari devient chauffeur du couple. La masseuse est héritière testamentaire. Elle organise son divorce pour se marier avec Édouard afin qu'on ne puisse pas discuter l'héritage. Mais Édouard meurt avant le mariage. Elle se remarie donc avec son mari. Avant de mourir. Le mari, ex-chauffeur, est donc le titulaire des droits du Boléro. S'ensuit 20 ans de procès avec des arrières petits-cousins de Maurice Ravel, subitement débarqués de Suisse, qui prétendent détenir les droits. Ils perdent. L'ancien chauffeur se remarie avant de mourir. Sa nouvelle femme avait une fille d'un premier mariage qui est la dernière héritière de Ravel, au moment où les droits tombent dans le domaine public, 70 ans après la mort de l'auteur. Le tout est principalement perçu par une société offshore qui a été montée par l'ancien directeur de la SACEM, qui a démissionné lorsqu'il a vu que le procès prenait une bonne tournure afin de devenir conseiller d'un seul client (l'ex-chauffeur). Notons que les héritiers du directeur de ballet et du chef décorateur ayant travaillé avec Ravel ont tenté d'empêcher l'élévation du Boléro dans le domaine public sous prétexte que c'était une œuvre commune.
---
class: center, middle
# Code is writing
- Copyright applies like any artistic creation
- Copyright is immediate (you only have to prove the creation time unlike patents and trademarks)
---
class: center, middle
# Patents
- No software patents in EU
- In theory…
???
Read : https://ploum.net/working-with-patents/#rev-pnote-1860-3
---
class: center, middle
- Abstract ideas and algorithms are, in theory, unprotectable
- Programming languages are not protectable
- UX is a graphical creation
---
class: center, middle
#Who's the author?
- Agreement between contributors, each is author of his/her lines
- Economic rights are usually transferred to the employer
- Authors keep their moral rights
- Diffusion under a given license is an economic right
???
One of the moral right is that each contributor have the right to see his name listed amongst the contributors.
———
class: center, middle
#When there's no employer?
- Open Source projects usually have Contributor Agreements
- Not really needed when there's no doubt about the intention of the contributor
???
For big projects, every contributor must sign a contributor agreement
---
class: center, middle
#License
"A license is a contract between the provider of the software and the user"
???
The provider is not the author but the one who have the economic right. In many cases, that is the employer.
---
class: center, middle
#Each software could have its own license
- But standardisation helps to clarify the use
- Software distributors are not lawyers
- A license might be illegal and thus invalid (hence the test in court)
???
If a license is tested as invalid in court, nobody can enforces it anymore
---
class: center, middle
#Free Software vs proprietary software
???
The difference is arbitrary but is only related to the license.
---
class: center, middle
#How to license a software?
???
Answer : you have to make sure that the user was informed of the license and could read it. That's why you often have those "I agree" boxes.
---
class: center, middle
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
???
Header in each source code file. Also there's a COPYING or LICENSE file in every repository.
---
class: center, middle
#GPL
- Translating the values of Free Software into a license.
- By "forcing" liberties
---
class: center, middle
#Copyleft
![image](https://github.com/ploum/lingi2401/raw/master/images/copyleft.png)
???
Copyleft = cannot restrict the rights on a software that is modified or redistributed
---
class: center, middle
#Tivo and Tivoisation
- GPL version 3
- GPL v2+
???
Tivo was a television recorder using a modified linux in 2006. Source were distributed but a chip only allowed the orignial code to run. Thus, you could not run any modification of the code. Linus Torvalds doesn't care while, for stallman, this was unacceptable. GPLv3 prevents that.
2+ means that any subsequent version is accepted
---
class: center, middle
#LGPL
Weak Copyleft
???
Use of a free library (w/o modifying it) in a proprietary software is permitted
---
class: center, middle
#AGPL
Affero General Public License
???
Technically, the user of the software is the one who runs the server. With AGPL, rights are extended to web users as well. Any user of the online service has the right to the source code of the service.
---
class: center, middle
#MIT
No Copyleft
---
class: center, middle
#BSD
No Copyleft
???
Completely free to use, modify and redistribute parts or all of the software in free or proprietary software
---
class: center, middle
#Mozilla Public License
Middle-ground between BSD and GPL.
---
class: center, middle
#Apache
No Copyleft
---
class: center, middle
#Creative Commons
- By
- Share Alike
- No modification
- No commercial use
???
Started by Lawrence Lessig
By = author creditation
Not commercial is not very well formulated: at which point is it commercial or not?
Share-alike = copyleft
Few software are under CC. Mostly used for art, music, ...
---
class: center, middle
background-image: url(https://github.com/ploum/lingi2401/raw/master/images/cc.gif)
---
class: center, middle
#Many others
- WTFPL
- Beerware
- CeCILL
- Open Source Initiative (OSI) License Proliferation Committee
???
CeCILL is a french license. Its aim is to translate GPL and LGPL under french right
---
class: center, middle
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
---
class: center, middle
/*
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*/
---
class: center, middle
#Compatibility between licenses
- When do you have two different software?
---
class: center, middle
![image](https://github.com/ploum/lingi2401/raw/master/images/licences.png)
???
Image from https://commons.wikimedia.org/wiki/File:Classification_des_licences.svg
---
class: center, middle
#Dual licensing
???
It is possible for code to be under two licenses
---
class: center, middle
#StarOffice, OpenOffice
???
LGPL and Sun Industry Standards Source License. StarOffice was proprietary and for internal use and OpenOffice was free and for distribution. So when code was pushed, it was pushed into the two projects.
LibreOffice : LGPL and MPL
That's why some people refuse to sign contributor agreements.
---
class: center, middle
#Trilicensing
Mozilla is under MPL/LGPL/GPL
---
class: center, middle
#relicensing
React, Jest, Flow and Immutable.js switched from BSD + patent clause to MIT
???
In 2017, the apache foundation listed BSD+patent as a license that can't be included in Apache products. So the whole react project decided to switch to MIT. The BSD+patent is a BSD modified by Facebook so that people lose all license to Facebook owned patents if they ever sue Facebook about a patent.
https://code.facebook.com/posts/112130496157735/explaining-react-s-license/
https://ma.tt/2017/09/on-react-and-wordpress/
https://code.facebook.com/posts/300798627056246/relicensing-react-jest-flow-and-immutable-js/
https://www.apache.org/legal/resolved.html#category-x
---
class: center, middle
#The SCO troll (2003)
???
https://en.wikipedia.org/wiki/SCO–Linux_disputes
---
class: center, middle
#Trademark
![image](https://github.com/ploum/lingi2401/raw/master/images/iceweasel-firefox.png)
---
class: center, middle
# Discussion time
</textarea>
<script src="https://remarkjs.com/downloads/remark-latest.min.js">
</script>
<script>
var slideshow = remark.create();
</script>
</body>
</html>