aboutsummaryrefslogtreecommitdiff
path: root/clectio.c
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-29 10:19:43 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-29 10:19:43 +0200
commit8d7d3ac6f2b365342aa25ecb31f8e76d18090a22 (patch)
tree04c37bc61a0aca6499699943b875f09631c679b4 /clectio.c
parentd17262c10fc24557741a5b571f40dfd9625fdb2e (diff)
downloadclectio-8d7d3ac6f2b365342aa25ecb31f8e76d18090a22.tar.gz
clectio-8d7d3ac6f2b365342aa25ecb31f8e76d18090a22.zip
license: relicense clectio's own code under GPL-3.0-or-later
Replace the ISC licence with GPL-3.0-or-later (Łukasz Kasprzak is sole copyright holder, so relicensing is unencumbered): - LICENSE: verbatim GNU GPL v3 text. - Add "Copyright (C) 2026 Łukasz Kasprzak. SPDX-License-Identifier: GPL-3.0-or-later" headers to the project-authored sources (clectio.c with the full grant, plus mktext.c and bin2h.c), replacing their old public-domain notes. - puff.c/.h keep Mark Adler's public-domain notice unchanged: third-party, not ours to relicense, and public domain is GPL-compatible. - README and man page LICENSE sections updated to GPL-3.0-or-later, noting puff's PD status; the scripture-text carve-out (Vulgate public domain, corpora under their own terms) is preserved. Code/comment change only; builds clean under -Wall -Wextra. Claude-Session: https://claude.ai/code/session_01S1CD1u3tgSS4xNu6WHfp5a
Diffstat (limited to 'clectio.c')
-rw-r--r--clectio.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/clectio.c b/clectio.c
index 469d074..61d25a0 100644
--- a/clectio.c
+++ b/clectio.c
@@ -5,8 +5,15 @@
* date it does a table lookup and prints the day and its readings. Configuration
* is compile-time (config.h), suckless-style: edit and recompile.
*
- * Public domain. The compiled scripture corpus is NOT part of this program's
- * licence (see README): the default is the public-domain Latin Vulgate.
+ * Copyright (C) 2026 Łukasz Kasprzak. SPDX-License-Identifier: GPL-3.0-or-later
+ *
+ * clectio is free software: you may redistribute 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, and WITHOUT ANY WARRANTY. See the LICENSE file for the full text.
+ *
+ * The compiled scripture text is a separate work under its own terms; the
+ * default Latin Vulgate is public domain (see README).
*/
#define _POSIX_C_SOURCE 200809L /* localtime_r, isatty under -std=c99 */
#define _DEFAULT_SOURCE /* struct winsize / TIOCGWINSZ under -std=c99 */