Skip to content

Commit

Permalink
Clarify license; closes greghendershott#294
Browse files Browse the repository at this point in the history
Add a LICENSE file.

Use copyright plus `SPDX-License-Identifier: GPL-3.0-or-later` in
each source file.

The SPDX line replaces the license summary prose in Elisp files.

Racket files previously lacked a copyright or license.
  • Loading branch information
greghendershott committed Oct 15, 2022
1 parent 0071a3c commit 8077ab7
Show file tree
Hide file tree
Showing 71 changed files with 826 additions and 325 deletions.
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions doc/arch-pict.rkt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
;; Copyright (c) 2013-2022 by Greg Hendershott.
;; SPDX-License-Identifier: GPL-3.0-or-later

#lang racket/base

(require pict
Expand Down
11 changes: 1 addition & 10 deletions doc/generate.el
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
;;; generate.el -*- lexical-binding: t -*-

;; Copyright (c) 2013-2022 by Greg Hendershott.

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

;;; Generate a reference.org file from doc strings

Expand Down
9 changes: 9 additions & 0 deletions doc/racket-mode.org
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@

#+TEXINFO_PRINTED_TITLE: Racket Mode

* Copying
:PROPERTIES:
:COPYING: t
:END:

Copyright (C) 2013-2022 by Greg Hendershott.

SPDX-License-Identifier: GPL-3.0-or-later

* Introduction

The [[https://www.racket-mode.com/][Racket Mode]] package consists of a variety of Emacs major and minor modes, including:
Expand Down
11 changes: 11 additions & 0 deletions doc/racket-mode.texi
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
@syncodeindex pg cp
@c %**end of header

@copying

Copyright (C) 2013-2022 by Greg Hendershott.

SPDX-License-Identifier: GPL-3.0-or-later
@end copying

@dircategory Emacs
@direntry
* Racket Mode: (racket-mode). Edit and REPL major modes for Racket lang.
Expand All @@ -16,13 +23,17 @@
@titlepage
@title Racket Mode
@author Greg Hendershott (@email{racket@@greghendershott.com})
@page
@vskip 0pt plus 1filll
@insertcopying
@end titlepage

@contents

@ifnottex
@node Top
@top Racket Mode
@insertcopying
@end ifnottex

@menu
Expand Down
10 changes: 1 addition & 9 deletions racket-back-end.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

;;; Back end: configuration

Expand Down
10 changes: 1 addition & 9 deletions racket-browse-url.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

(require 'racket-custom)
(require 'racket-cmd)
Expand Down
10 changes: 1 addition & 9 deletions racket-bug-report.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

(require 'cl-lib)
(require 'package)
Expand Down
10 changes: 1 addition & 9 deletions racket-cmd.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

;;; Back end: process and commands

Expand Down
10 changes: 1 addition & 9 deletions racket-collection.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

(require 'tq)
(require 'racket-back-end)
Expand Down
10 changes: 1 addition & 9 deletions racket-common.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

;; Things used by both racket-mode and racket-repl-mode

Expand Down
10 changes: 1 addition & 9 deletions racket-company-doc.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

(require 'shr)
(require 'racket-describe)
Expand Down
10 changes: 1 addition & 9 deletions racket-complete.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

(require 'racket-common)

Expand Down
10 changes: 1 addition & 9 deletions racket-custom.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

;;; All `defcustom's and `defface's go here.
;;; This makes it easier to provide a consistent UI.
Expand Down
10 changes: 1 addition & 9 deletions racket-debug.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

(require 'racket-back-end)
(require 'racket-repl)
Expand Down
10 changes: 1 addition & 9 deletions racket-describe.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

(require 'shr)
(require 'subr-x)
Expand Down
10 changes: 1 addition & 9 deletions racket-doc.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

(require 'url-util)
(require 'racket-browse-url)
Expand Down
10 changes: 1 addition & 9 deletions racket-edit.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

;; racket-mode per se, i.e. the mode for .rkt file buffers

Expand Down
10 changes: 1 addition & 9 deletions racket-eldoc.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

(require 'racket-cmd)
(require 'racket-back-end)
Expand Down
10 changes: 1 addition & 9 deletions racket-font-lock.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

(require 'cl-lib)
(require 'color)
Expand Down
10 changes: 1 addition & 9 deletions racket-imenu.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

(require 'cl-lib)
(require 'imenu)
Expand Down
10 changes: 1 addition & 9 deletions racket-indent.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

(require 'cl-lib)
(require 'subr-x)
Expand Down
10 changes: 1 addition & 9 deletions racket-keywords-and-builtins.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

(defconst racket-type-list
;; This list was generated using keywords.rkt -- don't edit
Expand Down
10 changes: 1 addition & 9 deletions racket-logger.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@
;; Author: Greg Hendershott
;; URL: https://github.com/greghendershott/racket-mode

;; License:
;; This 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 2, or (at your option)
;; any later version. This 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. See
;; http://www.gnu.org/licenses/ for details.
;; SPDX-License-Identifier: GPL-3.0-or-later

(require 'easymenu)
(require 'rx)
Expand Down
Loading

0 comments on commit 8077ab7

Please sign in to comment.