[ghex] hex-buffer-*: correct copyright headers and add GPL
- From: Logan Rathbone <larathbone src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ghex] hex-buffer-*: correct copyright headers and add GPL
- Date: Mon, 20 Dec 2021 23:43:01 +0000 (UTC)
commit fb705c3901bd3d7c53fad6e62dbd08d2c4101311
Author: Logan Rathbone <poprocks gmail com>
Date: Mon Dec 20 09:53:42 2021 -0500
hex-buffer-*: correct copyright headers and add GPL
src/hex-buffer-iface.c | 17 +++++++++++++++--
src/hex-buffer-iface.h | 15 ++++++++++++++-
src/hex-buffer-malloc.c | 18 ++++++++++++++++++
src/hex-buffer-malloc.h | 23 +++++++++++++++++------
src/hex-buffer-mmap.c | 15 +++++++++++++++
src/hex-buffer-mmap.h | 15 +++++++++++++++
6 files changed, 94 insertions(+), 9 deletions(-)
---
diff --git a/src/hex-buffer-iface.c b/src/hex-buffer-iface.c
index efaa1a9..9fb5f98 100644
--- a/src/hex-buffer-iface.c
+++ b/src/hex-buffer-iface.c
@@ -1,12 +1,25 @@
/* vim: ts=4 sw=4 colorcolumn=80
* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- *
*/
-/* hex-buffer-iface.h - Generic buffer interface intended for use with the
+/* hex-buffer-iface.c - Generic buffer interface intended for use with the
* HexDocument API
*
* Copyright © 2021 Logan Rathbone
*
- * Original GHex author: Jaka Mocnik
+ * GHex 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 of the
+ * License, or (at your option) any later version.
+ *
+ * GHex 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 GHex; see the file COPYING.
+ * If not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "hex-buffer-iface.h"
diff --git a/src/hex-buffer-iface.h b/src/hex-buffer-iface.h
index ef69b71..f9e50f9 100644
--- a/src/hex-buffer-iface.h
+++ b/src/hex-buffer-iface.h
@@ -6,7 +6,20 @@
*
* Copyright © 2021 Logan Rathbone
*
- * Original GHex author: Jaka Mocnik
+ * GHex 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 of the
+ * License, or (at your option) any later version.
+ *
+ * GHex 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 GHex; see the file COPYING.
+ * If not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef HEX_BUFFER_IFACE_H
diff --git a/src/hex-buffer-malloc.c b/src/hex-buffer-malloc.c
index d079416..dc8ee78 100644
--- a/src/hex-buffer-malloc.c
+++ b/src/hex-buffer-malloc.c
@@ -4,6 +4,24 @@
/* hex-document-malloc.c - `malloc` implementation of the HexBuffer iface.
*
* Copyright © 2021 Logan Rathbone
+ *
+ * Adapted from code originally contained in hex-document.c (see copyright
+ * notices therein for prior authorship).
+ *
+ * GHex 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 of the
+ * License, or (at your option) any later version.
+ *
+ * GHex 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 GHex; see the file COPYING.
+ * If not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "hex-buffer-malloc.h"
diff --git a/src/hex-buffer-malloc.h b/src/hex-buffer-malloc.h
index f44c81b..7f504c9 100644
--- a/src/hex-buffer-malloc.h
+++ b/src/hex-buffer-malloc.h
@@ -3,14 +3,25 @@
*/
/* hex-document-malloc.h - `malloc` implementation of the HexBuffer iface.
*
- * Based on code from aoeui, Copyright © 2007, 2008 Peter Klausler,
- * licensed by the author/copyright-holder under GPLv2 only.
+ * Copyright © 2021 Logan Rathbone
*
- * Source as adapted herein licensed for GHex to GPLv2+ with written
- * permission from Peter Klausler dated December 13, 2021 (see
- * associated git log).
+ * Adapted from code originally contained in hex-document.c (see copyright
+ * notices therein for prior authorship).
*
- * Copyright © 2021 Logan Rathbone
+ * GHex 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 of the
+ * License, or (at your option) any later version.
+ *
+ * GHex 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 GHex; see the file COPYING.
+ * If not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef HEX_DOCUMENT_MALLOC_H
diff --git a/src/hex-buffer-mmap.c b/src/hex-buffer-mmap.c
index fd37449..90d1704 100644
--- a/src/hex-buffer-mmap.c
+++ b/src/hex-buffer-mmap.c
@@ -11,6 +11,21 @@
* associated git log).
*
* Copyright © 2021 Logan Rathbone
+ *
+ * GHex 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 of the
+ * License, or (at your option) any later version.
+ *
+ * GHex 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 GHex; see the file COPYING.
+ * If not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "hex-buffer-mmap.h"
diff --git a/src/hex-buffer-mmap.h b/src/hex-buffer-mmap.h
index 9b63309..0afd4dd 100644
--- a/src/hex-buffer-mmap.h
+++ b/src/hex-buffer-mmap.h
@@ -11,6 +11,21 @@
* associated git log).
*
* Copyright © 2021 Logan Rathbone
+ *
+ * GHex 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 of the
+ * License, or (at your option) any later version.
+ *
+ * GHex 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 GHex; see the file COPYING.
+ * If not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef HEX_DOCUMENT_MMAP_H
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]