summaryrefslogtreecommitdiffstats
path: root/src/trace
diff options
context:
space:
mode:
Diffstat (limited to 'src/trace')
-rw-r--r--src/trace/CMakeLists.txt1
-rw-r--r--src/trace/autotrace/inkscape-autotrace.cpp6
-rw-r--r--src/trace/autotrace/inkscape-autotrace.h8
-rw-r--r--src/trace/filterset.cpp3
-rw-r--r--src/trace/filterset.h3
-rw-r--r--src/trace/imagemap-gdk.cpp9
-rw-r--r--src/trace/imagemap-gdk.h9
-rw-r--r--src/trace/imagemap.cpp9
-rw-r--r--src/trace/imagemap.h9
-rw-r--r--src/trace/pool.h3
-rw-r--r--src/trace/potrace/bitmap.h4
-rw-r--r--src/trace/potrace/inkscape-potrace.cpp3
-rw-r--r--src/trace/potrace/inkscape-potrace.h3
-rw-r--r--src/trace/quantize.cpp3
-rw-r--r--src/trace/quantize.h3
-rw-r--r--src/trace/siox.cpp5
-rw-r--r--src/trace/siox.h3
-rw-r--r--src/trace/trace.cpp3
-rw-r--r--src/trace/trace.h3
19 files changed, 73 insertions, 17 deletions
diff --git a/src/trace/CMakeLists.txt b/src/trace/CMakeLists.txt
index 43cc5f76d..02bb6a05d 100644
--- a/src/trace/CMakeLists.txt
+++ b/src/trace/CMakeLists.txt
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
if (${HAVE_POTRACE})
set(trace_SRC
diff --git a/src/trace/autotrace/inkscape-autotrace.cpp b/src/trace/autotrace/inkscape-autotrace.cpp
index 68b49a0cb..6a1758ccf 100644
--- a/src/trace/autotrace/inkscape-autotrace.cpp
+++ b/src/trace/autotrace/inkscape-autotrace.cpp
@@ -1,12 +1,14 @@
-/*
+// SPDX-License-Identifier: GPL-2.0-or-later
+/** @file
* This is the C++ glue between Inkscape and Autotrace
+ *//*
*
* Authors:
* Marc Jeanmougin
*
* Copyright (C) 2018 Authors
*
- * Released under GNU GPL v2 and later, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*
*/
diff --git a/src/trace/autotrace/inkscape-autotrace.h b/src/trace/autotrace/inkscape-autotrace.h
index 62a73c9c3..eea5b3678 100644
--- a/src/trace/autotrace/inkscape-autotrace.h
+++ b/src/trace/autotrace/inkscape-autotrace.h
@@ -1,12 +1,14 @@
-/*
+// SPDX-License-Identifier: GPL-2.0-or-later
+/** @file
* This is the C++ glue between Inkscape and Autotrace
+ *//*
*
* Authors:
- * Marc Jeanmougin
+ * Marc Jeanmougin
*
* Copyright (C) 2018 Authors
*
- * Released under GNU GPL v2 and later, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*
* Autotrace is available at http://github.com/autotrace/autotrace.
*
diff --git a/src/trace/filterset.cpp b/src/trace/filterset.cpp
index cfe120324..fae6d66a6 100644
--- a/src/trace/filterset.cpp
+++ b/src/trace/filterset.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Some filters for Potrace in Inkscape
*
@@ -7,7 +8,7 @@
*
* Copyright (C) 2004-2006 Authors
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#include <cstdio>
diff --git a/src/trace/filterset.h b/src/trace/filterset.h
index 820d225c3..d8da650de 100644
--- a/src/trace/filterset.h
+++ b/src/trace/filterset.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Some filters for Potrace in Inkscape
*
@@ -7,7 +8,7 @@
*
* Copyright (C) 2004-2006 Authors
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#ifndef __FILTERSET_H__
diff --git a/src/trace/imagemap-gdk.cpp b/src/trace/imagemap-gdk.cpp
index 7ce0d3baf..d1c1c4ed5 100644
--- a/src/trace/imagemap-gdk.cpp
+++ b/src/trace/imagemap-gdk.cpp
@@ -1,3 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/** @file
+ * TODO: insert short description here
+ *//*
+ * Authors: see git history
+ *
+ * Copyright (C) 2018 Authors
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
+ */
#include <cstdlib>
#include "imagemap-gdk.h"
diff --git a/src/trace/imagemap-gdk.h b/src/trace/imagemap-gdk.h
index 63281658a..d0eaf2377 100644
--- a/src/trace/imagemap-gdk.h
+++ b/src/trace/imagemap-gdk.h
@@ -1,3 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/** @file
+ * TODO: insert short description here
+ *//*
+ * Authors: see git history
+ *
+ * Copyright (C) 2013 Authors
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
+ */
#ifndef __GRAYMAP_GDK_H__
#define __GRAYMAP_GDK_H__
diff --git a/src/trace/imagemap.cpp b/src/trace/imagemap.cpp
index 1b5b4b791..cd4690944 100644
--- a/src/trace/imagemap.cpp
+++ b/src/trace/imagemap.cpp
@@ -1,3 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/** @file
+ * TODO: insert short description here
+ *//*
+ * Authors: see git history
+ *
+ * Copyright (C) 2018 Authors
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
+ */
#include <cstdlib>
#include "imagemap.h"
diff --git a/src/trace/imagemap.h b/src/trace/imagemap.h
index d99517757..9da057a5b 100644
--- a/src/trace/imagemap.h
+++ b/src/trace/imagemap.h
@@ -1,3 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/** @file
+ * TODO: insert short description here
+ *//*
+ * Authors: see git history
+ *
+ * Copyright (C) 2018 Authors
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
+ */
#ifndef __IMAGEMAP_H__
#define __IMAGEMAP_H__
diff --git a/src/trace/pool.h b/src/trace/pool.h
index 6ed49b552..1b7ad5821 100644
--- a/src/trace/pool.h
+++ b/src/trace/pool.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Pool memory allocation
*
@@ -6,7 +7,7 @@
*
* Copyright (C) 2004-2006 Authors
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
// not thread safe (a pool cannot be shared by threads safely)
diff --git a/src/trace/potrace/bitmap.h b/src/trace/potrace/bitmap.h
index 679209cf8..bb50b2dff 100644
--- a/src/trace/potrace/bitmap.h
+++ b/src/trace/potrace/bitmap.h
@@ -1,3 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/** @file
+ * inline macros for accessing bitmaps
+ */
/* Copyright (C) 2001-2015 Peter Selinger.
This file is part of Potrace. It is free software and it is covered
by the GNU General Public License. See the file COPYING for details. */
diff --git a/src/trace/potrace/inkscape-potrace.cpp b/src/trace/potrace/inkscape-potrace.cpp
index ac26edcd4..4b50b1e1d 100644
--- a/src/trace/potrace/inkscape-potrace.cpp
+++ b/src/trace/potrace/inkscape-potrace.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* This is the C++ glue between Inkscape and Potrace
*
@@ -7,7 +8,7 @@
*
* Copyright (C) 2004-2006 Authors
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*
* Potrace, the wonderful tracer located at http://potrace.sourceforge.net,
* is provided by the generosity of Peter Selinger, to whom we are grateful.
diff --git a/src/trace/potrace/inkscape-potrace.h b/src/trace/potrace/inkscape-potrace.h
index e1ce37fcd..bed5bf457 100644
--- a/src/trace/potrace/inkscape-potrace.h
+++ b/src/trace/potrace/inkscape-potrace.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* This is the C++ glue between Inkscape and Potrace
*
@@ -7,7 +8,7 @@
*
* Copyright (C) 2004-2006 Authors
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*
* Potrace, the wonderful tracer located at http://potrace.sourceforge.net,
* is provided by the generosity of Peter Selinger, to whom we are grateful.
diff --git a/src/trace/quantize.cpp b/src/trace/quantize.cpp
index 9601219e2..6ba62eb88 100644
--- a/src/trace/quantize.cpp
+++ b/src/trace/quantize.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Quantization for Inkscape
*
@@ -6,7 +7,7 @@
*
* Copyright (C) 2006 Authors
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#include <cassert>
diff --git a/src/trace/quantize.h b/src/trace/quantize.h
index fa4340877..43942f515 100644
--- a/src/trace/quantize.h
+++ b/src/trace/quantize.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Quantization for Inkscape
*
@@ -6,7 +7,7 @@
*
* Copyright (C) 2006 Authors
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#ifndef __QUANTIZE_H__
diff --git a/src/trace/siox.cpp b/src/trace/siox.cpp
index c04be69fe..f3bf50f55 100644
--- a/src/trace/siox.cpp
+++ b/src/trace/siox.cpp
@@ -1,9 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
Copyright 2005, 2006 by Gerald Friedland, Kristian Jantz and Lars Knipping
Conversion to C++ for Inkscape by Bob Jamison
-
- Released under GNU GPL, read the file 'COPYING' for more information
+
+ Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#include "siox.h"
diff --git a/src/trace/siox.h b/src/trace/siox.h
index 49e398397..e6012e953 100644
--- a/src/trace/siox.h
+++ b/src/trace/siox.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef SEEN_SIOX_H
#define SEEN_SIOX_H
/*
@@ -5,7 +6,7 @@
*
* Conversion to C++ for Inkscape by Bob Jamison
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
/*
diff --git a/src/trace/trace.cpp b/src/trace/trace.cpp
index 026bbeed7..41380443c 100644
--- a/src/trace/trace.cpp
+++ b/src/trace/trace.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* A generic interface for plugging different
* autotracers into Inkscape.
@@ -9,7 +10,7 @@
*
* Copyright (C) 2004-2006 Bob Jamison
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#include "trace/potrace/inkscape-potrace.h"
diff --git a/src/trace/trace.h b/src/trace/trace.h
index 82bd672d4..ddc4b961f 100644
--- a/src/trace/trace.h
+++ b/src/trace/trace.h
@@ -1,10 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Authors:
* Bob Jamison <rjamison@titan.com>
*
* Copyright (C) 2004-2006 Bob Jamison
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#ifndef SEEN_TRACE_H
#define SEEN_TRACE_H