copyright 23.9 KB
Newer Older
Paul Eggert's avatar
Paul Eggert committed
1
Copyright (C) 2007-2017 Free Software Foundation, Inc.
Glenn Morris's avatar
Glenn Morris committed
2
See the end of the file for license conditions.
Glenn Morris's avatar
Glenn Morris committed
3 4


Glenn Morris's avatar
Glenn Morris committed
5 6 7 8 9 10 11 12 13 14 15
NOTES ON COPYRIGHTS AND LICENSES

Some terminology:

A "copyright notice" consists of one or a few lines of this format:
"Copyright (C) 2006, 2007 Free Software Foundation, Inc."

A "license notice" is a statement of permissions, and is usually much
longer, eg the text "GNU Emacs is free software...".


Glenn Morris's avatar
Glenn Morris committed
16 17
Summary for the impatient:

Glenn Morris's avatar
Glenn Morris committed
18
1. Don't add code to Emacs written by someone other than yourself
Glenn Morris's avatar
Glenn Morris committed
19 20 21 22 23 24
without thinking about the legal aspect. Even if the changes are
trivial, consider if they combine with previous changes by the same
author to make a non-trivial total. If so, make sure they have an
assignment. If adding a whole file adjust the copyright statements in
the file.

25
2. When installing code written by someone else, the commit
Glenn Morris's avatar
Glenn Morris committed
26
should be in the name of the author of the code, not the person who
27
installs it.  Also use commit's "--author" option.
Glenn Morris's avatar
Glenn Morris committed
28
Do not install any of your own changes in the same commit.
Glenn Morris's avatar
Glenn Morris committed
29 30

3. With images, add the legal info to a README file in the directory
Glenn Morris's avatar
Glenn Morris committed
31 32
containing the image.

Glenn Morris's avatar
Glenn Morris committed
33
4. If you add a lot of text to a previously trivial file that had no
Glenn Morris's avatar
Glenn Morris committed
34 35
legal notices, consider if you should add a copyright statement.

Glenn Morris's avatar
Glenn Morris committed
36
5. Please don't just add an FSF copyright without checking that is the
Glenn Morris's avatar
Glenn Morris committed
37 38
right thing to do.

Glenn Morris's avatar
Glenn Morris committed
39

40
Every non-trivial file distributed through the Emacs repository should be
Glenn Morris's avatar
Glenn Morris committed
41 42
self-explanatory in terms of copyright and license. This includes
files that are not distributed in Emacs releases (for example, the
43
admin/ directory), because the whole Emacs repository is publicly
Glenn Morris's avatar
Glenn Morris committed
44 45 46 47
available.

The definition of triviality is a little vague, but a rule of thumb is
that any file with less than 15 lines of actual content is trivial. If
48 49 50
a file is auto-generated (eg ldefs-boot.el) from another one in the
repository, then it does not really matter about adding a copyright
statement to the generated file.
Glenn Morris's avatar
Glenn Morris committed
51

Glenn Morris's avatar
Glenn Morris committed
52 53 54 55 56 57 58 59
Legal advice says that we could, if we wished, put a license notice
even in trivial files, because copyright law in general looks at the
overall work as a whole. It is not _necessary_ to do so, and rms
prefers that we do not. This means one needs to take care that trivial
files do not grow and become non-trivial without having a license
added. NB consequently, if you add a lot of text to a small file,
consider whether your changes have made the file worthy of a copyright
notice, and if so, please add one.
Glenn Morris's avatar
Glenn Morris committed
60

Glenn Morris's avatar
Glenn Morris committed
61 62 63
It can be helpful to put a reminder comment at the start of a trivial
file, eg: "add a license notice if this grows to > 10 lines of code".

Glenn Morris's avatar
Glenn Morris committed
64
The years in the copyright notice should be updated every year (see
Glenn Morris's avatar
Glenn Morris committed
65
file "years" in this directory). The PDF versions of refcards etc
Glenn Morris's avatar
Glenn Morris committed
66 67 68
should display copyright notices (an exception to the rule about
"generated" files), but these can just display the latest year. The
full list of years should be kept in comments in the source file. If
69 70
these are distributed in the repository, check in a regenerated
version when the tex files are updated.
Glenn Morris's avatar
Glenn Morris committed
71 72 73 74 75

Copyright changes should be propagated to any associated repositories
(eg Gnus, MH-E), but I think in every case this happens automatically
(?).

Glenn Morris's avatar
Glenn Morris committed
76 77
All README (and other such text files) that are non-trivial should
contain copyright statements and GPL license notices, exactly as .el
Glenn Morris's avatar
Glenn Morris committed
78
files do (see e.g. README in the top-level directory). Before 2007,
Glenn Morris's avatar
Glenn Morris committed
79 80
we used a simple, short statement permitting copying and modification
provided legal notices were retained. In Feb 2007 we switched to the
Glenn Morris's avatar
Glenn Morris committed
81 82
standard GPL text, on legal advice. Some older text files in etc/
should, however, keep their current licenses (see below for list).
Glenn Morris's avatar
Glenn Morris committed
83

Glenn Morris's avatar
Glenn Morris committed
84 85 86
For image files, the copyright and license details should be recorded
in a README file in each directory with images. (Legal advice says
that we need not add notices to each image file individually, if they
Glenn Morris's avatar
Glenn Morris committed
87 88 89 90
allow for that.). It is recommended to use the word "convert" to
describe the automatic process of changing an image from one format to
another (http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00618.html).

Glenn Morris's avatar
Glenn Morris committed
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

When installing a file with an "unusual" license (after checking first
it is ok), put a copy of the copyright and license in the file (if
possible. It's ok if this makes the file incompatible with its
original format, if it can still be used by Emacs), or in a README
file in the relevant directory.

The vast majority of files are copyright FSF and distributed under the
GPL. A few files (mainly related to language and charset support) are
copyright AIST alone, or both AIST and FSF. (Contact Kenichi Handa
with questions about legal issues in such files.) In all these cases,
the copyright years in each file should be updated each year.

There are some exceptions to the points in the previous paragraph, and
these are listed below for reference, together with any files where
the copyright needs to be updated in "unusual" ways.

If you find any other such cases, please consult to check they are ok,
and note them in this file. This includes missing copyright notices,
and "odd" copyright holders. In most cases, individual authors should
not appear in copyright statements. Either the copyright has been
assigned (check copyright.list) to the FSF (in which case the original
author should be removed and the year(s) transferred to the FSF); or
else it is possible the file should not be in Emacs at all (please
report!).

117
Note that it seems painfully clear that one cannot rely on commit logs,
118 119
or even change log entries, for older changes. People often installed
changes from others, without recording the true authorship.
Glenn Morris's avatar
Glenn Morris committed
120

Glenn Morris's avatar
Glenn Morris committed
121
[For reference, most of these points were established via email with
122 123 124 125
rms, 2007/1, "Copyright years".

In March 2011, information on some files no longer included was removed.
Consult older versions of this document if interested.]
Glenn Morris's avatar
Glenn Morris committed
126 127


128 129
lisp/version.el           # emacs-copyright
lib-src/ebrowse.c         # version
Glenn Morris's avatar
Glenn Morris committed
130 131
lib-src/etags.c           # print_version
lib-src/rcs2log           # Copyright
132 133 134
Cocoa/Emacs.base/Contents/Info.plist
Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings
GNUstep/Emacs.base/Resources/Info-gnustep.plist
135
   'set-copyright' in admin.el will do all the above.
Glenn Morris's avatar
Glenn Morris committed
136

137
aclocal.m4
138
configure
139
m4/*.m4
140 141 142 143
 - These files are copyright FSF, with unlimited permission to copy,
   distribute and modify, so long as the copyright notice is preserved.
   Exception: m4/pkg.m4 is copyright Scott James Remnant; it is
   distributed under the same terms as for the rest of Emacs.
144

145
lib/Makefile.in
146 147
 - copyright FSF, with MIT-like license

148
build-aux/install-sh
Glenn Morris's avatar
Glenn Morris committed
149 150
 - this file is copyright MIT, which is OK. Leave the copyright alone.

Glenn Morris's avatar
Glenn Morris committed
151 152 153
etc/refcards/*.tex
  also update the \def\year macro for the latest year.

Glenn Morris's avatar
Glenn Morris committed
154
etc/future-bug
Glenn Morris's avatar
Glenn Morris committed
155
 - doesn't need a humorless disclaimer, because Karl Fogel says we
Glenn Morris's avatar
Glenn Morris committed
156 157 158 159
 can consider it part of Emacs, and he has a blanker disclaimer for
 Emacs changes. (email to rgm "[Emacs-commit] emacs/etc future-bug",
 2007028)

Glenn Morris's avatar
Glenn Morris committed
160
etc/letter.pbm,letter.xpm
Glenn Morris's avatar
Glenn Morris committed
161
  - trivial, no notice needed.
Glenn Morris's avatar
Glenn Morris committed
162 163
<http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00324.html>

Glenn Morris's avatar
Glenn Morris committed
164 165 166
etc/FTP, ORDERS
  - trivial (at time of writing), no license needed

Glenn Morris's avatar
Glenn Morris committed
167 168
etc/HELLO
  standard notices. Just a note that although the file itself is not
Glenn Morris's avatar
Glenn Morris committed
169
  really copyrightable, in the wider context of it being part of
Glenn Morris's avatar
Glenn Morris committed
170 171 172
  Emacs (and written by those with assignments), a standard notice is
  fine.

Glenn Morris's avatar
Glenn Morris committed
173 174
etc/MAILINGLISTS
  rms: simple license is fine for this file
Glenn Morris's avatar
Glenn Morris committed
175

Glenn Morris's avatar
Glenn Morris committed
176 177 178
leim/CXTERM-DIC/4Corner.tit, ARRAY30.tit, CCDOSPY.tit, ECDICT.tit,
ETZY.tit, PY-b5.tit, Punct-b5.tit, Punct.tit, QJ-b5.tit, QJ.tit,
SW.tit, TONEPY.tit, ZOZY.tit
Glenn Morris's avatar
Glenn Morris committed
179 180 181
  - leave the copyrights alone.

leim/MISC-DIC/CTLau-b5.html, CTLau.html, cangjie-table.b5, cangjie-table.cns,
Glenn Morris's avatar
Glenn Morris committed
182
pinyin.map, ziranma.cin
Glenn Morris's avatar
Glenn Morris committed
183
  - leave the copyright alone.
Glenn Morris's avatar
Glenn Morris committed
184 185
Note that pinyin.map, ziranma.cin (and hence the generated
leim/quail/PY.el, ZIRANMA.el) are under GPLv1 or later.
Glenn Morris's avatar
Glenn Morris committed
186 187 188 189 190 191

leim/SKK-DIC/SKK-JISYO.L
ja-dic/ja-dic.el
  (the latter is auto-generated from the former). Leave the copyright alone.

lib-src/etags.c
Glenn Morris's avatar
Glenn Morris committed
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
  Copyright information is duplicated in etc/ETAGS.README. Update that
  file too.

  Until 2007 etags.c was described as being copyright FSF and Ken Arnold.
  After some investigation in Feb 2007, then to the best of our
  knowledge we believe that the original 1984 Emacs version was based
  on the version in BSD4.2. See for example this 1985 post from Ken Arnold:
  <http://groups.google.com/group/mod.sources/browse_thread/thread/ffe5c55845a640a9>
    I have received enough requests for the current source to ctags
    to post it. Here is the latest version (what will go out with
    4.3, modulo any bugs fixed during the beta period). It is the
    4.2 ctags with recognition of yacc and lex tags added.

  See also a 1984 version of ctags (no copyright) posted to net.sources:
  <http://groups.google.com/group/net.sources/msg/a21b6c21be12a98d>
  Version of etags.c in emacs-16.56 duplicates comment typos.

  Accordingly, in Feb 2007 we added a 1984 copyright for the
  University of California and a revised BSD license. The terms of
  this require that the full license details be available in binary
Glenn Morris's avatar
Glenn Morris committed
212 213 214
  distributions - hence the file etc/ETAGS.README. The fact that the
  --version output just says "Copyright <year> FSF" is apparently OK
  from a legal point of view.
Glenn Morris's avatar
Glenn Morris committed
215

216 217 218 219 220
lisp/cedet/semantic/imenu.el
  - See http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00410.html
   in which Eric Ludlam established that the remaining contributions
   from authors other than himself were negligible.

Glenn Morris's avatar
Glenn Morris committed
221 222 223 224 225 226
lisp/play/tetris.el
  - no special rules about the copyright. We note here that we believe
  (2007/1) there is no problem with our use of the name "tetris" or
  the concept.
  rms: "My understanding is that game rules as such are not copyrightable."
  <http://lists.gnu.org/archive/html/emacs-devel/2007-01/msg00960.html>
227
  rms: Legal advice is that we are ok and need not worry about this.
Glenn Morris's avatar
Glenn Morris committed
228

Glenn Morris's avatar
Glenn Morris committed
229 230 231 232

lisp/net/tramp.el
  - there are also copyrights in the body of the file. Update these too.

Glenn Morris's avatar
Glenn Morris committed
233

Glenn Morris's avatar
Glenn Morris committed
234 235 236 237
lwlib/
rms (2007/02/17): "lwlib is not assigned to the FSF; we don't consider
it part of Emacs. [...] Therefore non-FSF copyrights are ok in lwlib."

Glenn Morris's avatar
Glenn Morris committed
238 239 240
NB don't change the GPL version used for lwlib .c and .h files (see
below).

Glenn Morris's avatar
Glenn Morris committed
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
FSF copyrights should only appear in files which have undergone
non-trivial cumulative changes from the original versions in the Lucid
Widget Library. NB this means that if you make non-trivial changes to
a file with no FSF copyright, you should add one. Also, if changes are
reverted to the extent that a file becomes basically the same as the
original version, the FSF copyright should be removed.

In my (rgm) opinion, as of Feb 2007, all the non-trivial files differ
significantly from the original versions, with the exception of
lwlib-Xm.h. Most of the changes that were made to this file have
subsequently been reverted. Therefore I removed the FSF copyright from
this file (which is arguably too trivial to merit a notice anyway). I
added FSF copyright to the following files which did not have them
already: Makefile.in, lwlib-Xaw.c, lwlib-int.h (borderline),
lwlib-utils.c (borderline), lwlib.c, lwlib.h.

Copyright years before the advent of public CVS in 2001 were those
when I judged (from the CVS logs) that non-trivial amounts of change
had taken place. I also adjusted the existing FSF years in xlwmenu.c,
xlwmenu.h, and xlwmenuP.h on the same basis.

Note that until Feb 2007, the following files in lwlib were lacking
notices: lwlib-int.h, lwlib.h, lwlib-Xaw.h, lwlib-Xlw.h, lwlib-utils.h

The following files did not list a Lucid copyright: xlwmenu.h,
xlwmenuP.h.

To the best of our knowledge, all the code files in lwlib were
originally part of the Lucid Widget Library, even if they did not say
so explicitly. For example, they were all present in Lucid Emacs 19.1
in 1992. The exceptions are the two Xaw files, which did not appear
till Lucid Emacs 19.9 in 1994. The file lwlib-Xaw.h is too trivial to
merit a copyright notice, but would presumably have the same one as
lwlib-Xaw.c. We have been unable to find a true standalone version of
LWL, if there was such a thing, to check definitively.

To clarify the situation, in Feb 2007 we added Lucid copyrights and
GPL notices to those files lacking either that were non-trivial,
namely: lwlib-int.h, lwlib.h, xlwmenu.h, xlwmenuP.h. This represents
our best understanding of the legal status of these files. We also
clarified the notices in Makefile.in, which was originally the
Makefile auto-generated from Lucid's Imakefile.

As of Feb 2007, the following files are considered too trivial for
notices: lwlib-Xaw.h, lwlib-Xlw.h, lwlib-utils.h.

Glenn Morris's avatar
Glenn Morris committed
287 288 289 290 291 292 293 294 295 296 297 298 299 300 301
The version of lwlib/ first installed in Emacs seems to be the same as
that used in Lucid Emacs 19.8 (released 6-sep-93); except the two Xaw
files, which did not appear till Athena support was added in Lucid
Emacs 19.9. In Lucid Emacs 19.1, all files were under GPLv1 or later,
but by Lucid Emacs 19.8, lwlib.c and xlwmenu.c had been switched to v2
or later. These are the versions that were first installed in Emacs.
So in GNU Emacs, these two files have been under v2 or later since
1994.

It seems that it was the intention of Lucid to use v1 or later
(excepting the two files mentioned previously); so this is the license
we have used when adding notices to code that did not have notices
originally. Although we have the legal right to switch to v2 or later,
rms prefers that we do not do so.

Glenn Morris's avatar
Glenn Morris committed
302

Glenn Morris's avatar
Glenn Morris committed
303 304 305 306 307 308 309
doc/*/doclicense.texi
  - leave the copyright alone in this imported file.

doc/*/*.texi - All manuals should be under GFDL (but see below), and
should include a copy of it, so that they can be distributed
separately. faq.texi has a different license, for some reason no-one
can remember.
Glenn Morris's avatar
Glenn Morris committed
310 311 312
http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg00583.html
http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg00618.html

Glenn Morris's avatar
Glenn Morris committed
313 314 315 316 317
doc/misc/mh-e.texi is dual-licensed (GPL and GFDL) per agreement with
FSF (reconfirmed by rms Aug 25 2008).  Discussion with
licensing@fsf.org starting on Thu, 07 Aug 2003 with subject:
"[gnu.org #58812] Changing license of MH-E manual"

Glenn Morris's avatar
Glenn Morris committed
318

319 320 321
msdos/sed*.inp - These files are copyright FSF and distributed under
an MIT-like license.

Glenn Morris's avatar
Glenn Morris committed
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

oldXMenu/
  Keep the "copyright.h" method used by X11, rather than moving the
  licenses into the files. Note that the original X10.h did not use
  copyright.h, but had an explicit notice, which we retain.

If you make non-trivial changes to a file which does not have an FSF
notice, add one and a GPL notice (as per Activate.c). If changes to a
file are reverted such that it becomes essentially the same as the
original X11 version, remove the FSF notice and GPL.

Only the files which differ significantly from the original X11
versions should have FSF copyright and GPL notices. At time of writing
(Feb 2007), this is: Activate.c, Create.c, Internal.c. I (rgm)
established this by diff'ing the current files against those in X11R1,
and when I found significant differences looking in the ChangeLog for
the years they originated (the CVS logs are truncated before 1999). I
therefore removed the FSF notices (added in 200x) from the other
files. There are some borderline cases IMO: AddSel.c, InsSel.c,
XMakeAssoc.c, XMenu.h. For these I erred on the side of NOT adding FSF
notices.

With regards to whether the files we have changed should have GPL
added or not, rms says (2007-02-25, "oldXmenu issues"):

    It does not make much difference, because oldXmenu is obsolete
    except for use in Emacs (and it is not normally used in Emacs any
    more either).

    So, to make things simple, please put our changes under the GPL.

insque.c had no copyright notice until 2005. The version of insque.c
added to Emacs 1992-01-27 is essentially the same as insremque.c added
to glic three days later by Roland McGrath, with an FSF copyright and
GPL, but no ChangeLog entry:
<http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/libc/misc/insremque.c?\
rev=1.1&cvsroot=glibc>
To the best of his recollection, McGrath (who has a copyright
assignment) was the author of this file (email from roland at frob.com
to rms, 2007-02-23, "Where did insque.c come from?"). The FSF
copyright and GPL in this file are therefore correct as far as we
understand it.

Imakefile had no legal info in Feb 2007, but was obviously based on
the X11 version (which also had no explicit legal info). As it was
unused, I removed it. It would have the same MIT copyright as
Makefile.in does now.


Glenn Morris's avatar
Glenn Morris committed
371
src/gmalloc.c
Glenn Morris's avatar
Glenn Morris committed
372 373
  - contains numerous copyrights from the GNU C library. Leave them alone.

374
nt/inc/dirent.h
375 376
  - see comments below. This file is OK to be released with Emacs
  22, but we may want to revisit it afterwards.
Glenn Morris's avatar
Glenn Morris committed
377

Glenn Morris's avatar
Glenn Morris committed
378

Glenn Morris's avatar
Glenn Morris committed
379 380
** Some notes on resolved issues, for historical information only

Glenn Morris's avatar
Glenn Morris committed
381 382 383
etc/TERMS
rms: "surely written either by me or by ESR. (If you can figure out
which year, I can probably tell you which.) Either way, we have papers
384 385
for it." It was present in Emacs-16.56 (15-jul-85). rms: "Then I
conclude it was written by me."
Glenn Morris's avatar
Glenn Morris committed
386

Glenn Morris's avatar
Glenn Morris committed
387 388 389 390 391 392 393 394 395 396 397 398
lisp/term/README
  - had no copyright notice till Feb 2007. ChangeLog.3 suggests it was
  written by Eric Raymond. When asked by rms on 14 Feb 2007 he said:

    I don't remember writing it, but it reads like my prose and I believe
    I wrote the feature(s) it's describing.  So I would have been the
    likeliest person to write it.

    Odds are that I did, but I'm not certain.

  Accordingly, FSF copyright was added.

399
src/unexhp9k800.c
Glenn Morris's avatar
Glenn Morris committed
400
  http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00138.html
Glenn Morris's avatar
Glenn Morris committed
401 402 403 404 405
  - briefly removed due to legal uncertainly Jan-Mar 2007. The
  relevant assignment is under "hp9k800" in copyright.list. File was
  written by John V. Morris at HP, and disclaimed by the author and
  HP. So this file is public domain.

Glenn Morris's avatar
Glenn Morris committed
406

Glenn Morris's avatar
Glenn Morris committed
407 408 409 410 411 412 413 414
lisp/progmodes/python.el
Dave Love alerted us to a potential legal problem:
http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-04/msg00459.html

On consultation with a lawyer, we found there was no problem:
http://lists.gnu.org/archive/html/emacs-devel/2007-05/msg00466.html


Glenn Morris's avatar
Glenn Morris committed
415 416 417 418
** Issues that are "fixed" for the release of Emacs 22, but we may
   wish to revisit later in more detail


Glenn Morris's avatar
Glenn Morris committed
419 420 421
admin/check-doc-strings
  File says it's in the public domain, but that might not make it so.

Glenn Morris's avatar
Glenn Morris committed
422
etc/e/eterm-color.ti
423
nt/inc/dirent.h
Glenn Morris's avatar
Glenn Morris committed
424
  On legal advice from Matt Norwood, the following comment was added
Glenn Morris's avatar
Glenn Morris committed
425
  to these files in Feb/Mar 2007:
Glenn Morris's avatar
Glenn Morris committed
426 427 428 429 430 431 432 433 434 435

    The code here is forced by the interface, and is not subject to
    copyright, constituting the only possible expression of the
    algorithm in this format.

  With the addition of this notice, these files are OK for the
  upcoming Emacs-22 release. Post-release, we can revisit this issue
  and possibly add a list of all authors who have changed these files.
  (details in email from Matt Norwood to rms, 2007/02/03).

436 437
src/s/aix3-2.h, hpux8.h, hpux9.h, irix5-0.h, netbsd.h, usg5-4-2.h
  [note some of these have since been merged into other files]
Glenn Morris's avatar
Glenn Morris committed
438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459
  - all these (not obviously trivial) files were missing copyrights
  till Feb 2007, when FSF copyright was added. Matt Norwood advised:

    For now, I think the best policy is to assume that we do have
    assignments from the authors (I recall many of these header files
    as having been originally written by rms), and to attach an FSF
    copyright with GPL notice. We can amend this if and when we
    complete the code audit. Any additions to these files by
    non-assigned authors are arguably "de minimis" contributions to
    Emacs: small changes or suggestions to a work that are subsumed in
    the main authors' copyright in the entire work.

Here is my (rgm) take on the details of the above files:

? irix5-0.h
  I would say started non-trivial (1993, jimb, heavily based
  on irix4-0.h). A few borderline non-tiny changes since.

usg5-4-2.h
 started non-trivial, but was heavily based on usg5-4.h, which was and is
 copyright FSF. only tiny changes since installed.

460
aix3-2.h, hpux8.h, hpux9.h, netbsd.h
Glenn Morris's avatar
Glenn Morris committed
461 462
  started trivial, grown in tiny changes.

Glenn Morris's avatar
Glenn Morris committed
463 464 465 466 467
netbsd.h:
Roland McGrath said to rms (2007/02/17): "I don't really remember
anything about it. If I put it in without other comment, then probably
I wrote it myself."

Glenn Morris's avatar
Glenn Morris committed
468

Glenn Morris's avatar
Glenn Morris committed
469 470 471 472 473 474
Someone might want to tweak the copyright years (for dates before
2001) that I used in all these files.

Note: erring on the side of caution, I also added notices to some
files I thought might be considered non-trivial (if one includes
comment) in s/:
475 476
  aix4-1.h hpux10.h irix6-5.h
  sol2.h
Glenn Morris's avatar
Glenn Morris committed
477 478 479 480 481

(everything with > 30 non-blank lines, which at least is _some_ kind of
system)


Glenn Morris's avatar
Glenn Morris committed
482 483 484
*** These are copyright issues that need not be fixed until after
    Emacs 22 is released (though if they can be fixed before, that is
    obviously good):
Glenn Morris's avatar
Glenn Morris committed
485 486


487 488 489 490
Is it OK to just remove a file for legal reasons, or is something more
drastic (excision from the entire repository history) needed? A
removed file is still available from the repository, if suitable
options are applied. (This issue obviously does not affect a release).
Glenn Morris's avatar
Glenn Morris committed
491
  rms: will ask lawyer
Glenn Morris's avatar
Glenn Morris committed
492 493


Glenn Morris's avatar
Glenn Morris committed
494 495 496 497
Make sure that all files with non-standard copyrights or licenses are
noted in this file.


Glenn Morris's avatar
Glenn Morris committed
498 499
REMOVED etc/gnu.xpm, nt/icons/emacs21.ico, nt/icons/sink.ico
  - Restore if find legal info. emacs21.ico is not due to Davenport.
Glenn Morris's avatar
Glenn Morris committed
500 501
  Geoff Voelker checked but could not find a record of where it came
  from.
Glenn Morris's avatar
Glenn Morris committed
502

Glenn Morris's avatar
Glenn Morris committed
503

Glenn Morris's avatar
Glenn Morris committed
504 505 506 507
etc/images
  Image files from GTK, Gnome are under GPLv2 (no "or later"?). RMS will
  contact image authors in regards to future switch to v3.

Glenn Morris's avatar
Glenn Morris committed
508

Glenn Morris's avatar
Glenn Morris committed
509 510 511 512 513 514 515 516 517 518 519
etc/TUTORIAL* (translations)
  switch to GPL (see english TUTORIAL)
  rms: "We can leave the TUTORIAL translations alone until their
  maintainers update them."
  Can adapt short license text from end of GPL translations at:
  http://www.gnu.org/licenses/translations.html
  Only a few sentences around the license notice need changing from
  previous version.
Done: TUTORIAL.eo


Glenn Morris's avatar
Glenn Morris committed
520 521
*** These are copyright issues still to be addressed:

Glenn Morris's avatar
Glenn Morris committed
522 523 524
None known.


525 526 527 528 529 530 531
** NOTES ON RELICENSING TO GPL3

The EMACS_22_BASE branch was changed to GPLv3 (or later) 2007/07/25.

Some notes:
(see http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg01431.html)

532
1. There are some files in the Emacs tree which are not part of Emacs (eg
533 534 535 536 537
those included from Gnulib). These are all copyright FSF and (at time
of writing) GPL >= 2. rms says may as well leave the licenses of these
alone (may import them from Gnulib again). These are:

    Gnulib:
538 539 540 541 542 543
    build-aux/compile
    build-aux/config.guess
    build-aux/config.sub
    build-aux/depcomp
    build-aux/missing
    build-aux/move-if-change
544 545 546
    doc/man/texinfo.tex
    lib/*.[ch]
    lib/gnulib.mk
547 548 549 550 551 552 553 554 555 556
    src/gmalloc.c
    src/termcap.c
    src/tparam.c

Note _not_ included in the above are src/regex.{c,h} (rms: "That
forked version is only in Emacs, so definitely relicense that."), and
oldXMenu/insque.c (rms: "We wrote that specifically for Emacs, so
definitely relicense that.").

2. The files that are copyright FSF and AIST, or AIST alone, should be
557
and were updated, ditto the oldXMenu files with FSF copyright.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585

3. lwlib/

Files originally in Lucid Widget Library were left alone (excludes
ChangeLog, etc), ie remain under GPL v1 or later, or v2 or later.
(rms: "We may as well leave this alone, since we are never going to
change it much.")

4. There are some files where the FSF holds no copyright. These were
left alone:

   leim/MISC-DIC/CTLau-b5.html  >= v2
   leim/MISC-DIC/CTLau.html     >= v2
     (above included in lisp/international/titdic-cnv.el)
   leim/MISC-DIC/pinyin.map     >= v1
   leim/MISC-DIC/ziranma.cin    >= v1
   leim/SKK-DIC/SKK-JISYO.L     >= v2
   leim/SKK-DIC/README          >= v2
   leim/ja-dic/ja-dic.el        >= v2

5. At time of writing, some non-Emacs icons included from Gnome remain
under GPLv2 (no "or later"). See:

   etc/images/gnus/README
   etc/images/mail/README
   etc/images/README
   nt/icons/README

Glenn Morris's avatar
Glenn Morris committed
586 587 588

This file is part of GNU Emacs.

589
GNU Emacs is free software: you can redistribute it and/or modify
Glenn Morris's avatar
Glenn Morris committed
590
it under the terms of the GNU General Public License as published by
591 592
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Glenn Morris's avatar
Glenn Morris committed
593 594 595 596 597 598 599

GNU Emacs 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
600
along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.