From 6157ca5c878a28623dc07401ffce839051afe36a Mon Sep 17 00:00:00 2001 From: Bruce D'Arcus Date: Tue, 5 Jul 2022 19:04:53 -0400 Subject: [PATCH] Revise headers to use SPDX license and copyright Because they're machine-readable, and can remove some human-readable text. Also update the dates and such. --- citar-cache.el | 20 +++----------------- citar-capf.el | 5 ++--- citar-citeproc.el | 16 ++-------------- citar-embark.el | 5 +++-- citar-file.el | 18 +++--------------- citar-format.el | 18 ++---------------- citar-latex.el | 20 +++----------------- citar-markdown.el | 25 +++++-------------------- citar-org.el | 18 +++--------------- citar.el | 20 ++------------------ 10 files changed, 28 insertions(+), 137 deletions(-) diff --git a/citar-cache.el b/citar-cache.el index 78dc4dab..73453c1f 100644 --- a/citar-cache.el +++ b/citar-cache.el @@ -1,22 +1,8 @@ ;;; citar-cache.el --- Cache functions for citar -*- lexical-binding: t; -*- ;; -;; Copyright (C) 2022 Bruce D'Arcus, Roshan Shariff -;; -;; This file is not part of GNU Emacs. -;; -;; 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 . -;; +;; SPDX-FileCopyrightText: 2022 Bruce D'Arcus, Roshan Shariff +;; SPDX-License-Identifier: GPL-3.0-or-later + ;;; Commentary: ;; ;; Functions for caching bibliography files. diff --git a/citar-capf.el b/citar-capf.el index fc5f5bfb..83f533c6 100644 --- a/citar-capf.el +++ b/citar-capf.el @@ -1,11 +1,10 @@ ;;; citar-capf.el --- citar completion-at-point -*- lexical-binding: t; -*- ;; -;; Copyright (C) 2022 Bruce D'Arcus, Colin McLear +;; SPDX-FileCopyrightText: 2021-2022 Bruce D'Arcus, Colin McLear +;; SPDX-License-Identifier: GPL-3.0-or-later ;; ;; This file is not part of GNU Emacs. ;; -;; SPDX-License-Identifier: GPL-3.0-or-later -;; ;;; Commentary: ;; ;; Citation key 'completion-at-point' for org, markdown, or latex. diff --git a/citar-citeproc.el b/citar-citeproc.el index 02d96bbb..9537b6e7 100644 --- a/citar-citeproc.el +++ b/citar-citeproc.el @@ -1,19 +1,7 @@ ;;; citar-citeproc.el --- Citeproc reference support for citar -*- lexical-binding: t; -*- ;; -;; This file is not part of GNU Emacs. -;; -;; 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 . +;; SPDX-FileCopyrightText: 2021-2022 Bruce D'Arcus +;; SPDX-License-Identifier: GPL-3.0-or-later ;;; Commentary: diff --git a/citar-embark.el b/citar-embark.el index f3cee0b5..f9ab0910 100644 --- a/citar-embark.el +++ b/citar-embark.el @@ -1,12 +1,13 @@ ;;; citar-embark.el --- Citar/Embark integration -*- lexical-binding: t; -*- ;; -;; Copyright (C) 2022 Bruce D'Arcus -;; ;; Author: Bruce D'Arcus ;; Maintainer: Bruce D'Arcus ;; Created: June 22, 2022 ;; Modified: June 22, 2022 +;; +;; SPDX-FileCopyrightText: 2021-2022 Bruce D'Arcus ;; SPDX-License-Identifier: GPL-3.0-or-later +;; ;; Version: 1.0 ;; Keywords: bib extensions ;; Homepage: https://github.com/emacs-citar/citar-embark diff --git a/citar-file.el b/citar-file.el index 7e68759b..59dc64ed 100644 --- a/citar-file.el +++ b/citar-file.el @@ -1,22 +1,10 @@ ;;; citar-file.el --- File functions for citar -*- lexical-binding: t; -*- ;; -;; Copyright (C) 2021 Bruce D'Arcus -;; +;; SPDX-FileCopyrightText: 2021-2022 Bruce D'Arcus +;; SPDX-License-Identifier: GPL-3.0-or-later + ;; This file is not part of GNU Emacs. ;; -;; 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 . -;; ;;; Commentary: ;; ;; Functions for opening and creating bibliographic files related to a source. diff --git a/citar-format.el b/citar-format.el index f7a5ca82..44b97fd7 100644 --- a/citar-format.el +++ b/citar-format.el @@ -1,21 +1,7 @@ ;;; citar-format.el --- Formatting functions for citar -*- lexical-binding: t; -*- ;; -;; Copyright (C) 2022 Bruce D'Arcus, Roshan Shariff -;; -;; This file is not part of GNU Emacs. -;; -;; 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 . +;; SPDX-FileCopyrightText: 2021-2022 Bruce D'Arcus, Roshan Shariff +;; SPDX-License-Identifier: GPL-3.0-or-later ;; ;;; Commentary: ;; diff --git a/citar-latex.el b/citar-latex.el index 8b1ba3a8..3b62a859 100644 --- a/citar-latex.el +++ b/citar-latex.el @@ -1,28 +1,14 @@ ;;; citar-latex.el --- Latex adapter for citar -*- lexical-binding: t; -*- -;; Copyright (C) 2021 Bruce D'Arcus - -;; This file is not part of GNU Emacs. - -;; 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 . +;; SPDX-FileCopyrightText: 2021-2022 Bruce D'Arcus +;; SPDX-License-Identifier: GPL-3.0-or-later ;;; Commentary: ;; A small package that provides the functions required to use citar ;; with latex. -;; Simply loading this file will enable manipulating the citations with +;; Loading this file will enable manipulating the citations with ;; commands provided by citar. ;;; Code: diff --git a/citar-markdown.el b/citar-markdown.el index f10300c2..54e7b325 100644 --- a/citar-markdown.el +++ b/citar-markdown.el @@ -1,29 +1,14 @@ ;;; citar-markdown.el --- Markdown adapter for citar -*- lexical-binding: t; -*- -;; Copyright (C) 2021 Bruce D'Arcus - -;; This file is not part of GNU Emacs. - -;; 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 . +;; SPDX-FileCopyrightText: 2021-2022 Bruce D'Arcus +;; SPDX-License-Identifier: GPL-3.0-or-later ;;; Commentary: -;; A small package that provides the functions required to use citar -;; with markdown. +;; A small package that provides functions required to use citar with markdown. -;; Simply loading this file will enable manipulating the citations with -;; commands provided by citar. +;; Loading this file will enable manipulating the citations with commands +;; provided by citar. ;;; Code: diff --git a/citar-org.el b/citar-org.el index 3e621bfb..3eaf52a7 100644 --- a/citar-org.el +++ b/citar-org.el @@ -1,22 +1,10 @@ ;;; citar-org.el --- Org-cite support for citar -*- lexical-binding: t; -*- -;; Copyright (C) 2021 Bruce D'Arcus +;; SPDX-FileCopyrightText: 2021-2022 Bruce D'Arcus +;; SPDX-License-Identifier: GPL-3.0-or-later ;; This file is not part of GNU Emacs. - -;; 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 . - +;; ;;; Commentary: ;; This is a small package that integrates citar and org-cite. It diff --git a/citar.el b/citar.el index ae6c9394..34ba179c 100644 --- a/citar.el +++ b/citar.el @@ -7,33 +7,17 @@ ;; Created: February 27, 2021 ;; SPDX-License-Identifier: GPL-3.0-or-later ;; Version: 0.9.7 -;; Homepage: https://github.com/bdarcus/citar +;; Homepage: https://github.com/emacs-citar/citar ;; Package-Requires: ((emacs "27.1") (parsebib "3.0") (org "9.5") (citeproc "0.9")) ;; This file is not part of GNU Emacs. - -;; 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 . - +;; ;;; Commentary: ;; A completing-read front-end to browse, filter and act on BibTeX, BibLaTeX, ;; and CSL JSON bibliographic data, including LaTeX, markdown, and org-cite ;; citation editing support. ;; -;; With embark, it also provides access to contextual actions, both in the -;; minibuffer, and in the buffer at-point. - ;;; Code: (eval-when-compile