Merge from emacs-24; up to 2014-05-29T17:16:00Z!dmantipov@yandex.ru
[bpt/emacs.git] / admin / notes / copyright
CommitLineData
ba318903 1Copyright (C) 2007-2014 Free Software Foundation, Inc.
e3e14128 2See the end of the file for license conditions.
b05db979
GM
3
4
571975c0
GM
5NOTES ON COPYRIGHTS AND LICENSES
6
7Some terminology:
8
9A "copyright notice" consists of one or a few lines of this format:
10"Copyright (C) 2006, 2007 Free Software Foundation, Inc."
11
12A "license notice" is a statement of permissions, and is usually much
13longer, eg the text "GNU Emacs is free software...".
14
15
71428fe7
GM
16Summary for the impatient:
17
a4734fbd 181. Don't add code to Emacs written by someone other than yourself
c6fe6289
GM
19without thinking about the legal aspect. Even if the changes are
20trivial, consider if they combine with previous changes by the same
21author to make a non-trivial total. If so, make sure they have an
22assignment. If adding a whole file adjust the copyright statements in
23the file.
24
252. When installing code written by someone else, the ChangeLog entry
26should be in the name of the author of the code, not the person who
c9eb8bd1
GM
27installs it. Also use bzr commit's "--author" option.
28Do not install any of your own changes in the same commit.
a4734fbd
GM
29
303. With images, add the legal info to a README file in the directory
71428fe7
GM
31containing the image.
32
a4734fbd 334. If you add a lot of text to a previously trivial file that had no
71428fe7
GM
34legal notices, consider if you should add a copyright statement.
35
a4734fbd 365. Please don't just add an FSF copyright without checking that is the
f199f76c
GM
37right thing to do.
38
71428fe7 39
bd9776d1 40Every non-trivial file distributed through the Emacs repository should be
571975c0
GM
41self-explanatory in terms of copyright and license. This includes
42files that are not distributed in Emacs releases (for example, the
bd9776d1 43admin/ directory), because the whole Emacs repository is publicly
571975c0
GM
44available.
45
46The definition of triviality is a little vague, but a rule of thumb is
47that any file with less than 15 lines of actual content is trivial. If
48a file is auto-generated (eg ldefs-boot.el) from another one in the
bd9776d1
GM
49repository, then it does not really matter about adding a copyright
50statement to the generated file.
571975c0 51
d502a3da
GM
52Legal advice says that we could, if we wished, put a license notice
53even in trivial files, because copyright law in general looks at the
54overall work as a whole. It is not _necessary_ to do so, and rms
55prefers that we do not. This means one needs to take care that trivial
56files do not grow and become non-trivial without having a license
57added. NB consequently, if you add a lot of text to a small file,
58consider whether your changes have made the file worthy of a copyright
59notice, and if so, please add one.
c320d3b8 60
9bfceb2b
GM
61It can be helpful to put a reminder comment at the start of a trivial
62file, eg: "add a license notice if this grows to > 10 lines of code".
63
571975c0 64The years in the copyright notice should be updated every year (see
0e73efce 65file "years" in this directory). The PDF versions of refcards etc
571975c0
GM
66should display copyright notices (an exception to the rule about
67"generated" files), but these can just display the latest year. The
68full list of years should be kept in comments in the source file. If
bd9776d1
GM
69these are distributed in the repository, check in a regenerated
70version when the tex files are updated.
571975c0
GM
71
72Copyright changes should be propagated to any associated repositories
73(eg Gnus, MH-E), but I think in every case this happens automatically
74(?).
75
e3e14128
GM
76All README (and other such text files) that are non-trivial should
77contain copyright statements and GPL license notices, exactly as .el
bf5e9393 78files do (see e.g. README in the top-level directory). Before 2007,
e3e14128
GM
79we used a simple, short statement permitting copying and modification
80provided legal notices were retained. In Feb 2007 we switched to the
bf5e9393
GM
81standard GPL text, on legal advice. Some older text files in etc/
82should, however, keep their current licenses (see below for list).
571975c0 83
e3e14128
GM
84For image files, the copyright and license details should be recorded
85in a README file in each directory with images. (Legal advice says
86that we need not add notices to each image file individually, if they
5aa27cc9
GM
87allow for that.). It is recommended to use the word "convert" to
88describe the automatic process of changing an image from one format to
89another (http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00618.html).
90
571975c0
GM
91
92When installing a file with an "unusual" license (after checking first
93it is ok), put a copy of the copyright and license in the file (if
94possible. It's ok if this makes the file incompatible with its
95original format, if it can still be used by Emacs), or in a README
96file in the relevant directory.
97
98The vast majority of files are copyright FSF and distributed under the
99GPL. A few files (mainly related to language and charset support) are
100copyright AIST alone, or both AIST and FSF. (Contact Kenichi Handa
101with questions about legal issues in such files.) In all these cases,
102the copyright years in each file should be updated each year.
103
104There are some exceptions to the points in the previous paragraph, and
105these are listed below for reference, together with any files where
106the copyright needs to be updated in "unusual" ways.
107
108If you find any other such cases, please consult to check they are ok,
109and note them in this file. This includes missing copyright notices,
110and "odd" copyright holders. In most cases, individual authors should
111not appear in copyright statements. Either the copyright has been
112assigned (check copyright.list) to the FSF (in which case the original
113author should be removed and the year(s) transferred to the FSF); or
114else it is possible the file should not be in Emacs at all (please
115report!).
116
bd9776d1 117Note that it seems painfully clear that one cannot rely on commit logs,
c14dd816
GM
118or even ChangeLogs, for older changes. People often installed changes
119from others, without recording the true authorship.
120
571975c0 121[For reference, most of these points were established via email with
577c4ec0
GM
122rms, 2007/1, "Copyright years".
123
124In March 2011, information on some files no longer included was removed.
125Consult older versions of this document if interested.]
571975c0
GM
126
127
61425a8e
GM
128lisp/version.el # emacs-copyright
129lib-src/ebrowse.c # version
b05db979
GM
130lib-src/etags.c # print_version
131lib-src/rcs2log # Copyright
61425a8e
GM
132Cocoa/Emacs.base/Contents/Info.plist
133Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings
134GNUstep/Emacs.base/Resources/Info-gnustep.plist
03e30ce8 135 `set-copyright' in admin.el will do all the above.
b05db979 136
e8c53d3a 137aclocal.m4
dfa36fa1 138configure
e8c53d3a 139m4/*.m4
c56327b5
PE
140 - These files are copyright FSF, with unlimited permission to copy,
141 distribute and modify, so long as the copyright notice is preserved.
142 Exception: m4/pkg.m4 is copyright Scott James Remnant; it is
143 distributed under the same terms as for the rest of Emacs.
dfa36fa1 144
e8c53d3a 145lib/Makefile.in
dfa36fa1
PE
146 - copyright FSF, with MIT-like license
147
24e0f6b1 148build-aux/install-sh
571975c0
GM
149 - this file is copyright MIT, which is OK. Leave the copyright alone.
150
0e73efce
GM
151etc/refcards/*.tex
152 also update the \def\year macro for the latest year.
153
fb89a85b 154etc/future-bug
6772c8e1 155 - doesn't need a humorless disclaimer, because Karl Fogel says we
fb89a85b
GM
156 can consider it part of Emacs, and he has a blanker disclaimer for
157 Emacs changes. (email to rgm "[Emacs-commit] emacs/etc future-bug",
158 2007028)
159
5aa27cc9 160etc/letter.pbm,letter.xpm
c14dd816 161 - trivial, no notice needed.
5aa27cc9
GM
162<http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00324.html>
163
c320d3b8
GM
164etc/FTP, ORDERS
165 - trivial (at time of writing), no license needed
166
8d54e3a1
GM
167etc/HELLO
168 standard notices. Just a note that although the file itself is not
f23764dc 169 really copyrightable, in the wider context of it being part of
8d54e3a1
GM
170 Emacs (and written by those with assignments), a standard notice is
171 fine.
172
5aa27cc9
GM
173etc/MAILINGLISTS
174 rms: simple license is fine for this file
c14dd816 175
d4c2a0cc
GM
176leim/CXTERM-DIC/4Corner.tit, ARRAY30.tit, CCDOSPY.tit, ECDICT.tit,
177ETZY.tit, PY-b5.tit, Punct-b5.tit, Punct.tit, QJ-b5.tit, QJ.tit,
178SW.tit, TONEPY.tit, ZOZY.tit
571975c0
GM
179 - leave the copyrights alone.
180
181leim/MISC-DIC/CTLau-b5.html, CTLau.html, cangjie-table.b5, cangjie-table.cns,
d4c2a0cc 182pinyin.map, ziranma.cin
571975c0 183 - leave the copyright alone.
fb89a85b
GM
184Note that pinyin.map, ziranma.cin (and hence the generated
185leim/quail/PY.el, ZIRANMA.el) are under GPLv1 or later.
571975c0
GM
186
187leim/SKK-DIC/SKK-JISYO.L
188ja-dic/ja-dic.el
189 (the latter is auto-generated from the former). Leave the copyright alone.
190
191lib-src/etags.c
f199f76c
GM
192 Copyright information is duplicated in etc/ETAGS.README. Update that
193 file too.
194
195 Until 2007 etags.c was described as being copyright FSF and Ken Arnold.
196 After some investigation in Feb 2007, then to the best of our
197 knowledge we believe that the original 1984 Emacs version was based
198 on the version in BSD4.2. See for example this 1985 post from Ken Arnold:
199 <http://groups.google.com/group/mod.sources/browse_thread/thread/ffe5c55845a640a9>
200 I have received enough requests for the current source to ctags
201 to post it. Here is the latest version (what will go out with
202 4.3, modulo any bugs fixed during the beta period). It is the
203 4.2 ctags with recognition of yacc and lex tags added.
204
205 See also a 1984 version of ctags (no copyright) posted to net.sources:
206 <http://groups.google.com/group/net.sources/msg/a21b6c21be12a98d>
207 Version of etags.c in emacs-16.56 duplicates comment typos.
208
209 Accordingly, in Feb 2007 we added a 1984 copyright for the
210 University of California and a revised BSD license. The terms of
211 this require that the full license details be available in binary
018a95ed
GM
212 distributions - hence the file etc/ETAGS.README. The fact that the
213 --version output just says "Copyright <year> FSF" is apparently OK
214 from a legal point of view.
571975c0 215
9496bea8
GM
216lisp/cedet/semantic/imenu.el
217 - See http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00410.html
218 in which Eric Ludlam established that the remaining contributions
219 from authors other than himself were negligible.
220
1fbfb0b5
GM
221lisp/play/tetris.el
222 - no special rules about the copyright. We note here that we believe
223 (2007/1) there is no problem with our use of the name "tetris" or
224 the concept.
225 rms: "My understanding is that game rules as such are not copyrightable."
226 <http://lists.gnu.org/archive/html/emacs-devel/2007-01/msg00960.html>
2f7ab554 227 rms: Legal advice is that we are ok and need not worry about this.
1fbfb0b5 228
571975c0
GM
229
230lisp/net/tramp.el
231 - there are also copyrights in the body of the file. Update these too.
232
f199f76c 233
59098cd6
GM
234lwlib/
235rms (2007/02/17): "lwlib is not assigned to the FSF; we don't consider
236it part of Emacs. [...] Therefore non-FSF copyrights are ok in lwlib."
237
6b00dced
GM
238NB don't change the GPL version used for lwlib .c and .h files (see
239below).
240
f199f76c
GM
241FSF copyrights should only appear in files which have undergone
242non-trivial cumulative changes from the original versions in the Lucid
243Widget Library. NB this means that if you make non-trivial changes to
244a file with no FSF copyright, you should add one. Also, if changes are
245reverted to the extent that a file becomes basically the same as the
246original version, the FSF copyright should be removed.
247
248In my (rgm) opinion, as of Feb 2007, all the non-trivial files differ
249significantly from the original versions, with the exception of
250lwlib-Xm.h. Most of the changes that were made to this file have
251subsequently been reverted. Therefore I removed the FSF copyright from
252this file (which is arguably too trivial to merit a notice anyway). I
253added FSF copyright to the following files which did not have them
254already: Makefile.in, lwlib-Xaw.c, lwlib-int.h (borderline),
255lwlib-utils.c (borderline), lwlib.c, lwlib.h.
256
257Copyright years before the advent of public CVS in 2001 were those
258when I judged (from the CVS logs) that non-trivial amounts of change
259had taken place. I also adjusted the existing FSF years in xlwmenu.c,
260xlwmenu.h, and xlwmenuP.h on the same basis.
261
262Note that until Feb 2007, the following files in lwlib were lacking
263notices: lwlib-int.h, lwlib.h, lwlib-Xaw.h, lwlib-Xlw.h, lwlib-utils.h
264
265The following files did not list a Lucid copyright: xlwmenu.h,
266xlwmenuP.h.
267
268To the best of our knowledge, all the code files in lwlib were
269originally part of the Lucid Widget Library, even if they did not say
270so explicitly. For example, they were all present in Lucid Emacs 19.1
271in 1992. The exceptions are the two Xaw files, which did not appear
272till Lucid Emacs 19.9 in 1994. The file lwlib-Xaw.h is too trivial to
273merit a copyright notice, but would presumably have the same one as
274lwlib-Xaw.c. We have been unable to find a true standalone version of
275LWL, if there was such a thing, to check definitively.
276
277To clarify the situation, in Feb 2007 we added Lucid copyrights and
278GPL notices to those files lacking either that were non-trivial,
279namely: lwlib-int.h, lwlib.h, xlwmenu.h, xlwmenuP.h. This represents
280our best understanding of the legal status of these files. We also
281clarified the notices in Makefile.in, which was originally the
282Makefile auto-generated from Lucid's Imakefile.
283
284As of Feb 2007, the following files are considered too trivial for
285notices: lwlib-Xaw.h, lwlib-Xlw.h, lwlib-utils.h.
286
6b00dced
GM
287The version of lwlib/ first installed in Emacs seems to be the same as
288that used in Lucid Emacs 19.8 (released 6-sep-93); except the two Xaw
289files, which did not appear till Athena support was added in Lucid
290Emacs 19.9. In Lucid Emacs 19.1, all files were under GPLv1 or later,
291but by Lucid Emacs 19.8, lwlib.c and xlwmenu.c had been switched to v2
292or later. These are the versions that were first installed in Emacs.
293So in GNU Emacs, these two files have been under v2 or later since
2941994.
295
296It seems that it was the intention of Lucid to use v1 or later
297(excepting the two files mentioned previously); so this is the license
298we have used when adding notices to code that did not have notices
299originally. Although we have the legal right to switch to v2 or later,
300rms prefers that we do not do so.
301
f199f76c 302
f11d52b5
GM
303doc/*/doclicense.texi
304 - leave the copyright alone in this imported file.
305
306doc/*/*.texi - All manuals should be under GFDL (but see below), and
307should include a copy of it, so that they can be distributed
308separately. faq.texi has a different license, for some reason no-one
309can remember.
a20becf3
GM
310http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg00583.html
311http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg00618.html
312
f11d52b5
GM
313doc/misc/mh-e.texi is dual-licensed (GPL and GFDL) per agreement with
314FSF (reconfirmed by rms Aug 25 2008). Discussion with
315licensing@fsf.org starting on Thu, 07 Aug 2003 with subject:
316"[gnu.org #58812] Changing license of MH-E manual"
317
a20becf3 318
6b00dced
GM
319msdos/is_exec.c, sigaction.c - these files are copyright DJ Delorie.
320Leave the copyrights alone. Leave the Eli Zaretskii copyright in
321is_exec.c alone. See the msdos/README file for the legal history of
322these files.
571975c0 323
dfa36fa1
PE
324msdos/sed*.inp - These files are copyright FSF and distributed under
325an MIT-like license.
326
f199f76c
GM
327
328oldXMenu/
329 Keep the "copyright.h" method used by X11, rather than moving the
330 licenses into the files. Note that the original X10.h did not use
331 copyright.h, but had an explicit notice, which we retain.
332
333If you make non-trivial changes to a file which does not have an FSF
334notice, add one and a GPL notice (as per Activate.c). If changes to a
335file are reverted such that it becomes essentially the same as the
336original X11 version, remove the FSF notice and GPL.
337
338Only the files which differ significantly from the original X11
339versions should have FSF copyright and GPL notices. At time of writing
340(Feb 2007), this is: Activate.c, Create.c, Internal.c. I (rgm)
341established this by diff'ing the current files against those in X11R1,
342and when I found significant differences looking in the ChangeLog for
343the years they originated (the CVS logs are truncated before 1999). I
344therefore removed the FSF notices (added in 200x) from the other
345files. There are some borderline cases IMO: AddSel.c, InsSel.c,
346XMakeAssoc.c, XMenu.h. For these I erred on the side of NOT adding FSF
347notices.
348
349With regards to whether the files we have changed should have GPL
350added or not, rms says (2007-02-25, "oldXmenu issues"):
351
352 It does not make much difference, because oldXmenu is obsolete
353 except for use in Emacs (and it is not normally used in Emacs any
354 more either).
355
356 So, to make things simple, please put our changes under the GPL.
357
358insque.c had no copyright notice until 2005. The version of insque.c
359added to Emacs 1992-01-27 is essentially the same as insremque.c added
360to glic three days later by Roland McGrath, with an FSF copyright and
361GPL, but no ChangeLog entry:
362<http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/libc/misc/insremque.c?\
363rev=1.1&cvsroot=glibc>
364To the best of his recollection, McGrath (who has a copyright
365assignment) was the author of this file (email from roland at frob.com
366to rms, 2007-02-23, "Where did insque.c come from?"). The FSF
367copyright and GPL in this file are therefore correct as far as we
368understand it.
369
370Imakefile had no legal info in Feb 2007, but was obviously based on
371the X11 version (which also had no explicit legal info). As it was
372unused, I removed it. It would have the same MIT copyright as
373Makefile.in does now.
374
375
571975c0 376src/gmalloc.c
d4c2a0cc
GM
377 - contains numerous copyrights from the GNU C library. Leave them alone.
378
95ef7787 379nt/inc/dirent.h
577c4ec0
GM
380 - see comments below. This file is OK to be released with Emacs
381 22, but we may want to revisit it afterwards.
f5f4e20d 382
571975c0 383
c320d3b8
GM
384** Some notes on resolved issues, for historical information only
385
dc9332a6
GM
386etc/TERMS
387rms: "surely written either by me or by ESR. (If you can figure out
388which year, I can probably tell you which.) Either way, we have papers
bcc21331
CY
389for it." It was present in Emacs-16.56 (15-jul-85). rms: "Then I
390conclude it was written by me."
dc9332a6 391
bf5e9393
GM
392lisp/term/README
393 - had no copyright notice till Feb 2007. ChangeLog.3 suggests it was
394 written by Eric Raymond. When asked by rms on 14 Feb 2007 he said:
395
396 I don't remember writing it, but it reads like my prose and I believe
397 I wrote the feature(s) it's describing. So I would have been the
398 likeliest person to write it.
399
400 Odds are that I did, but I'm not certain.
401
402 Accordingly, FSF copyright was added.
403
f3041af1 404src/unexhp9k800.c
41cf03b0 405 http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00138.html
deac6bc5
GM
406 - briefly removed due to legal uncertainly Jan-Mar 2007. The
407 relevant assignment is under "hp9k800" in copyright.list. File was
408 written by John V. Morris at HP, and disclaimed by the author and
409 HP. So this file is public domain.
410
c320d3b8 411
3683c27d
GM
412lisp/progmodes/python.el
413Dave Love alerted us to a potential legal problem:
414http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-04/msg00459.html
415
416On consultation with a lawyer, we found there was no problem:
417http://lists.gnu.org/archive/html/emacs-devel/2007-05/msg00466.html
418
419
1354eff6
GM
420** Issues that are "fixed" for the release of Emacs 22, but we may
421 wish to revisit later in more detail
422
423
474d2d60
GM
424admin/check-doc-strings
425 File says it's in the public domain, but that might not make it so.
426
b83813ec 427etc/e/eterm-color.ti
95ef7787 428nt/inc/dirent.h
1354eff6 429 On legal advice from Matt Norwood, the following comment was added
8d54e3a1 430 to these files in Feb/Mar 2007:
1354eff6
GM
431
432 The code here is forced by the interface, and is not subject to
433 copyright, constituting the only possible expression of the
434 algorithm in this format.
435
436 With the addition of this notice, these files are OK for the
437 upcoming Emacs-22 release. Post-release, we can revisit this issue
438 and possibly add a list of all authors who have changed these files.
439 (details in email from Matt Norwood to rms, 2007/02/03).
440
abd57f59
GM
441src/s/aix3-2.h, hpux8.h, hpux9.h, irix5-0.h, netbsd.h, usg5-4-2.h
442 [note some of these have since been merged into other files]
1354eff6
GM
443 - all these (not obviously trivial) files were missing copyrights
444 till Feb 2007, when FSF copyright was added. Matt Norwood advised:
445
446 For now, I think the best policy is to assume that we do have
447 assignments from the authors (I recall many of these header files
448 as having been originally written by rms), and to attach an FSF
449 copyright with GPL notice. We can amend this if and when we
450 complete the code audit. Any additions to these files by
451 non-assigned authors are arguably "de minimis" contributions to
452 Emacs: small changes or suggestions to a work that are subsumed in
453 the main authors' copyright in the entire work.
454
455Here is my (rgm) take on the details of the above files:
456
1354eff6
GM
457? irix5-0.h
458 I would say started non-trivial (1993, jimb, heavily based
459 on irix4-0.h). A few borderline non-tiny changes since.
460
1354eff6
GM
461usg5-4-2.h
462 started non-trivial, but was heavily based on usg5-4.h, which was and is
463 copyright FSF. only tiny changes since installed.
464
abd57f59 465aix3-2.h, hpux8.h, hpux9.h, netbsd.h
1354eff6
GM
466 started trivial, grown in tiny changes.
467
d502a3da
GM
468netbsd.h:
469Roland McGrath said to rms (2007/02/17): "I don't really remember
470anything about it. If I put it in without other comment, then probably
471I wrote it myself."
472
1354eff6 473
6ce26337
GM
474Someone might want to tweak the copyright years (for dates before
4752001) that I used in all these files.
476
477Note: erring on the side of caution, I also added notices to some
478files I thought might be considered non-trivial (if one includes
479comment) in s/:
abd57f59
GM
480 aix4-1.h hpux10.h irix6-5.h
481 sol2.h
6ce26337
GM
482
483(everything with > 30 non-blank lines, which at least is _some_ kind of
484system)
485
486
f5f4e20d
GM
487*** These are copyright issues that need not be fixed until after
488 Emacs 22 is released (though if they can be fixed before, that is
489 obviously good):
05630abe
GM
490
491
bd9776d1 492Is it OK to just `bzr remove' a file for legal reasons, or is
d4c2a0cc 493something more drastic needed? A removed file is still available from
bd9776d1
GM
494the repository, if suitable options are applied. (This issue obviously
495does not affect a release).
42285fc4 496 rms: will ask lawyer
d4c2a0cc
GM
497
498
5aa27cc9
GM
499Make sure that all files with non-standard copyrights or licenses are
500noted in this file.
501
502
0971f887
GM
503REMOVED etc/gnu.xpm, nt/icons/emacs21.ico, nt/icons/sink.ico
504 - Restore if find legal info. emacs21.ico is not due to Davenport.
88b27a03
GM
505 Geoff Voelker checked but could not find a record of where it came
506 from.
474d2d60 507
0971f887 508
c14dd816
GM
509etc/images
510 Image files from GTK, Gnome are under GPLv2 (no "or later"?). RMS will
511 contact image authors in regards to future switch to v3.
512
f5f4e20d 513
6a5ed1a3
GM
514etc/TUTORIAL* (translations)
515 switch to GPL (see english TUTORIAL)
516 rms: "We can leave the TUTORIAL translations alone until their
517 maintainers update them."
518 Can adapt short license text from end of GPL translations at:
519 http://www.gnu.org/licenses/translations.html
520 Only a few sentences around the license notice need changing from
521 previous version.
522Done: TUTORIAL.eo
523
524
f5f4e20d
GM
525*** These are copyright issues still to be addressed:
526
3683c27d
GM
527None known.
528
529
19a4c0dd
GM
530** NOTES ON RELICENSING TO GPL3
531
532The EMACS_22_BASE branch was changed to GPLv3 (or later) 2007/07/25.
533
534Some notes:
535(see http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg01431.html)
536
bd9776d1 5371. There are some files in the Emacs tree which are not part of Emacs (eg
19a4c0dd
GM
538those included from Gnulib). These are all copyright FSF and (at time
539of writing) GPL >= 2. rms says may as well leave the licenses of these
540alone (may import them from Gnulib again). These are:
541
542 Gnulib:
24e0f6b1
PE
543 build-aux/compile
544 build-aux/config.guess
545 build-aux/config.sub
546 build-aux/depcomp
547 build-aux/missing
548 build-aux/move-if-change
549 build-aux/snippet/_Noreturn.h
550 build-aux/snippet/arg-nonnull.h
551 build-aux/snippet/c++defs.h
552 build-aux/snippet/warn-on-use.h
e8c53d3a 553 doc/man/texinfo.tex
e8c53d3a
PE
554 lib/*.[ch]
555 lib/gnulib.mk
19a4c0dd 556 src/gmalloc.c
19a4c0dd
GM
557 src/termcap.c
558 src/tparam.c
559
19a4c0dd
GM
560Note _not_ included in the above are src/regex.{c,h} (rms: "That
561forked version is only in Emacs, so definitely relicense that."), and
562oldXMenu/insque.c (rms: "We wrote that specifically for Emacs, so
563definitely relicense that.").
564
5652. The files that are copyright FSF and AIST, or AIST alone, should be
566and were updated, ditto the oldXMenu files with FSF copyright, and
567msdos/is_exec.c and sigaction.c.
568
5693. lwlib/
570
571Files originally in Lucid Widget Library were left alone (excludes
572ChangeLog, etc), ie remain under GPL v1 or later, or v2 or later.
573(rms: "We may as well leave this alone, since we are never going to
574change it much.")
575
5764. There are some files where the FSF holds no copyright. These were
577left alone:
578
579 leim/MISC-DIC/CTLau-b5.html >= v2
580 leim/MISC-DIC/CTLau.html >= v2
581 (above included in lisp/international/titdic-cnv.el)
582 leim/MISC-DIC/pinyin.map >= v1
583 leim/MISC-DIC/ziranma.cin >= v1
584 leim/SKK-DIC/SKK-JISYO.L >= v2
585 leim/SKK-DIC/README >= v2
586 leim/ja-dic/ja-dic.el >= v2
587
5885. At time of writing, some non-Emacs icons included from Gnome remain
589under GPLv2 (no "or later"). See:
590
591 etc/images/gnus/README
592 etc/images/mail/README
593 etc/images/README
594 nt/icons/README
595
e3e14128
GM
596\f
597This file is part of GNU Emacs.
598
9ad5de0c 599GNU Emacs is free software: you can redistribute it and/or modify
e3e14128 600it under the terms of the GNU General Public License as published by
9ad5de0c
GM
601the Free Software Foundation, either version 3 of the License, or
602(at your option) any later version.
e3e14128
GM
603
604GNU Emacs is distributed in the hope that it will be useful,
605but WITHOUT ANY WARRANTY; without even the implied warranty of
606MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
607GNU General Public License for more details.
608
609You should have received a copy of the GNU General Public License
9ad5de0c 610along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.