aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-04 11:02:26 -0500
committerDavid Robillard <d@drobilla.net>2023-01-04 11:02:26 -0500
commit0da2b2695face3321e0e39c50b47f6156dfed4e2 (patch)
tree2631c592f0140b5ecda741f5eee9fcf10d1e4d7a
parent091a547a481fc5fb4698303520970ecbed19bd3f (diff)
downloadpugl-0da2b2695face3321e0e39c50b47f6156dfed4e2.tar.gz
pugl-0da2b2695face3321e0e39c50b47f6156dfed4e2.tar.bz2
pugl-0da2b2695face3321e0e39c50b47f6156dfed4e2.zip
Clean up licensing metadata
-rw-r--r--.clang-format3
-rw-r--r--.clang-tidy3
-rw-r--r--.gitignore3
-rw-r--r--.reuse/dep518
-rw-r--r--bindings/cpp/include/.clang-tidy3
-rw-r--r--doc/c/Doxyfile.in3
-rw-r--r--doc/conf.py.in3
-rw-r--r--doc/cpp/Doxyfile.in3
-rw-r--r--examples/.clang-tidy3
-rw-r--r--examples/meson.build2
-rw-r--r--examples/pugl_cairo_demo.app/MacOS/meson.build3
-rw-r--r--examples/pugl_cairo_demo.app/meson.build3
-rw-r--r--examples/pugl_clipboard_demo.app/MacOS/meson.build2
-rw-r--r--examples/pugl_clipboard_demo.app/meson.build2
-rw-r--r--examples/pugl_cpp_demo.app/MacOS/meson.build3
-rw-r--r--examples/pugl_cpp_demo.app/meson.build3
-rw-r--r--examples/pugl_cursor_demo.app/MacOS/meson.build3
-rw-r--r--examples/pugl_cursor_demo.app/meson.build3
-rw-r--r--examples/pugl_embed_demo.app/MacOS/meson.build3
-rw-r--r--examples/pugl_embed_demo.app/meson.build3
-rw-r--r--examples/pugl_shader_demo.app/MacOS/meson.build3
-rw-r--r--examples/pugl_shader_demo.app/Resources/meson.build3
-rw-r--r--examples/pugl_shader_demo.app/meson.build3
-rw-r--r--examples/pugl_vulkan_cpp_demo.app/MacOS/meson.build3
-rw-r--r--examples/pugl_vulkan_cpp_demo.app/meson.build3
-rw-r--r--examples/pugl_vulkan_demo.app/MacOS/meson.build3
-rw-r--r--examples/pugl_vulkan_demo.app/meson.build3
-rw-r--r--examples/pugl_window_demo.app/MacOS/meson.build3
-rw-r--r--examples/pugl_window_demo.app/meson.build3
-rw-r--r--examples/shaders/meson.build2
-rw-r--r--meson_options.txt3
-rw-r--r--src/.clang-tidy3
-rw-r--r--test/.clang-tidy3
33 files changed, 103 insertions, 7 deletions
diff --git a/.clang-format b/.clang-format
index 4c1027c..26ada71 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,3 +1,6 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
---
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
diff --git a/.clang-tidy b/.clang-tidy
index dacb9df..24d749b 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,3 +1,6 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
Checks: >
*,
-*-magic-numbers,
diff --git a/.gitignore b/.gitignore
index 41c45d2..ddbadd0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
+# Copyright 2021-2023 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
build/
__pycache__
*.pyc
diff --git a/.reuse/dep5 b/.reuse/dep5
index 54de0c9..7fea6b9 100644
--- a/.reuse/dep5
+++ b/.reuse/dep5
@@ -3,14 +3,26 @@ Upstream-Name: pugl
Upstream-Contact: David Robillard <d@drobilla.net>
Source: https://gitlab.com/lv2/pugl
-Files: **/meson.build *.md */.clang* .clang* .clant.json .editorconfig .git* .includes.imp AUTHORS doc/*.in meson_options.txt resources/Info.plist.in
+Files: *.md .clant.json .editorconfig .includes.imp
Copyright: 2021 David Robillard <d@drobilla.net>
+Comment: Contributed to the Commons as a tool configuration
License: 0BSD OR ISC
-Files: doc/*.rst examples/glad/glad.c examples/glad/glad.h resources/pugl.ipe resources/pugl.png resources/pugl.svg
-Copyright: 2021 David Robillard <d@drobilla.net>
+Files: AUTHORS resources/Info.plist.in
+Copyright: 2012-2022 David Robillard <d@drobilla.net>
+Comment: Contributed to the Commons as a representation of simple facts
+License: 0BSD OR ISC
+
+Files: examples/glad/glad.c examples/glad/glad.h
+Copyright: 2019 David Robillard <d@drobilla.net>
+Comment: Generated code
License: ISC
Files: examples/glad/khrplatform.h
Copyright: 2008-2018 The Khronos Group Inc.
License: MIT
+
+Files: doc/*.rst resources/pugl.ipe resources/pugl.png resources/pugl.svg
+Copyright: 2021-2023 David Robillard <d@drobilla.net>
+Comment: Documentation
+License: ISC
diff --git a/bindings/cpp/include/.clang-tidy b/bindings/cpp/include/.clang-tidy
index 53e1b08..4437bd8 100644
--- a/bindings/cpp/include/.clang-tidy
+++ b/bindings/cpp/include/.clang-tidy
@@ -1,3 +1,6 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
Checks: >
*,
-altera*,
diff --git a/doc/c/Doxyfile.in b/doc/c/Doxyfile.in
index f0b8236..6676873 100644
--- a/doc/c/Doxyfile.in
+++ b/doc/c/Doxyfile.in
@@ -1,3 +1,6 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
PROJECT_NAME = Pugl
PROJECT_BRIEF = "A minimal portable API for embeddable GUIs"
diff --git a/doc/conf.py.in b/doc/conf.py.in
index b2669be..1bda2bc 100644
--- a/doc/conf.py.in
+++ b/doc/conf.py.in
@@ -1,3 +1,6 @@
+# Copyright 2020-2023 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
# Project information
project = "Pugl"
diff --git a/doc/cpp/Doxyfile.in b/doc/cpp/Doxyfile.in
index 5e1be1c..e4fc9ca 100644
--- a/doc/cpp/Doxyfile.in
+++ b/doc/cpp/Doxyfile.in
@@ -1,3 +1,6 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
PROJECT_NAME = Pugl
PROJECT_BRIEF = "A minimal portable API for embeddable GUIs"
diff --git a/examples/.clang-tidy b/examples/.clang-tidy
index 819a16d..7d87f3d 100644
--- a/examples/.clang-tidy
+++ b/examples/.clang-tidy
@@ -1,3 +1,6 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
Checks: >
-*-named-parameter,
-*-non-private-member-variables-in-classes,
diff --git a/examples/meson.build b/examples/meson.build
index d9ba483..70a2384 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -1,4 +1,4 @@
-# Copyright 2021 David Robillard <d@drobilla.net>
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
data_dir = get_option('prefix') / get_option('datadir') / 'pugl-0'
diff --git a/examples/pugl_cairo_demo.app/MacOS/meson.build b/examples/pugl_cairo_demo.app/MacOS/meson.build
index 5a6941a..21277a5 100644
--- a/examples/pugl_cairo_demo.app/MacOS/meson.build
+++ b/examples/pugl_cairo_demo.app/MacOS/meson.build
@@ -1,3 +1,6 @@
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
executable(
'pugl_cairo_demo',
['../../pugl_cairo_demo.c'],
diff --git a/examples/pugl_cairo_demo.app/meson.build b/examples/pugl_cairo_demo.app/meson.build
index 59793e1..875229d 100644
--- a/examples/pugl_cairo_demo.app/meson.build
+++ b/examples/pugl_cairo_demo.app/meson.build
@@ -1,3 +1,6 @@
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
config = configuration_data()
config.set('NAME', 'pugl_cairo_demo')
diff --git a/examples/pugl_clipboard_demo.app/MacOS/meson.build b/examples/pugl_clipboard_demo.app/MacOS/meson.build
index 28d9b13..f27ce56 100644
--- a/examples/pugl_clipboard_demo.app/MacOS/meson.build
+++ b/examples/pugl_clipboard_demo.app/MacOS/meson.build
@@ -1,4 +1,4 @@
-# Copyright 2021 David Robillard <d@drobilla.net>
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
executable(
diff --git a/examples/pugl_clipboard_demo.app/meson.build b/examples/pugl_clipboard_demo.app/meson.build
index 9ccd0a1..f62f56c 100644
--- a/examples/pugl_clipboard_demo.app/meson.build
+++ b/examples/pugl_clipboard_demo.app/meson.build
@@ -1,4 +1,4 @@
-# Copyright 2021 David Robillard <d@drobilla.net>
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
config = configuration_data()
diff --git a/examples/pugl_cpp_demo.app/MacOS/meson.build b/examples/pugl_cpp_demo.app/MacOS/meson.build
index 5b9ba3b..9b5393b 100644
--- a/examples/pugl_cpp_demo.app/MacOS/meson.build
+++ b/examples/pugl_cpp_demo.app/MacOS/meson.build
@@ -1,3 +1,6 @@
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
executable(
'pugl_cpp_demo',
'../../pugl_cpp_demo.cpp',
diff --git a/examples/pugl_cpp_demo.app/meson.build b/examples/pugl_cpp_demo.app/meson.build
index d9d47ba..8156f8d 100644
--- a/examples/pugl_cpp_demo.app/meson.build
+++ b/examples/pugl_cpp_demo.app/meson.build
@@ -1,3 +1,6 @@
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
config = configuration_data()
config.set('NAME', 'pugl_cpp_demo')
diff --git a/examples/pugl_cursor_demo.app/MacOS/meson.build b/examples/pugl_cursor_demo.app/MacOS/meson.build
index 8ab6f6a..4de8b40 100644
--- a/examples/pugl_cursor_demo.app/MacOS/meson.build
+++ b/examples/pugl_cursor_demo.app/MacOS/meson.build
@@ -1,3 +1,6 @@
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
executable(
'pugl_cursor_demo',
'../../pugl_cursor_demo.c',
diff --git a/examples/pugl_cursor_demo.app/meson.build b/examples/pugl_cursor_demo.app/meson.build
index dfbb30c..83ee934 100644
--- a/examples/pugl_cursor_demo.app/meson.build
+++ b/examples/pugl_cursor_demo.app/meson.build
@@ -1,3 +1,6 @@
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
config = configuration_data()
config.set('NAME', 'pugl_cursor_demo')
diff --git a/examples/pugl_embed_demo.app/MacOS/meson.build b/examples/pugl_embed_demo.app/MacOS/meson.build
index ba7f875..13df15e 100644
--- a/examples/pugl_embed_demo.app/MacOS/meson.build
+++ b/examples/pugl_embed_demo.app/MacOS/meson.build
@@ -1,3 +1,6 @@
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
executable(
'pugl_embed_demo',
'../../pugl_embed_demo.c',
diff --git a/examples/pugl_embed_demo.app/meson.build b/examples/pugl_embed_demo.app/meson.build
index 3913bad..6902ba3 100644
--- a/examples/pugl_embed_demo.app/meson.build
+++ b/examples/pugl_embed_demo.app/meson.build
@@ -1,3 +1,6 @@
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
config = configuration_data()
config.set('NAME', 'pugl_embed_demo')
diff --git a/examples/pugl_shader_demo.app/MacOS/meson.build b/examples/pugl_shader_demo.app/MacOS/meson.build
index a2b0974..ea35862 100644
--- a/examples/pugl_shader_demo.app/MacOS/meson.build
+++ b/examples/pugl_shader_demo.app/MacOS/meson.build
@@ -1,3 +1,6 @@
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
executable(
'pugl_shader_demo',
[
diff --git a/examples/pugl_shader_demo.app/Resources/meson.build b/examples/pugl_shader_demo.app/Resources/meson.build
index 87e3a71..ddbdcbe 100644
--- a/examples/pugl_shader_demo.app/Resources/meson.build
+++ b/examples/pugl_shader_demo.app/Resources/meson.build
@@ -1,3 +1,6 @@
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
shaders = [
'header_330.glsl',
'header_420.glsl',
diff --git a/examples/pugl_shader_demo.app/meson.build b/examples/pugl_shader_demo.app/meson.build
index 82b4a34..6885920 100644
--- a/examples/pugl_shader_demo.app/meson.build
+++ b/examples/pugl_shader_demo.app/meson.build
@@ -1,3 +1,6 @@
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
config = configuration_data()
config.set('NAME', 'pugl_shader_demo')
diff --git a/examples/pugl_vulkan_cpp_demo.app/MacOS/meson.build b/examples/pugl_vulkan_cpp_demo.app/MacOS/meson.build
index b120b32..abecfb5 100644
--- a/examples/pugl_vulkan_cpp_demo.app/MacOS/meson.build
+++ b/examples/pugl_vulkan_cpp_demo.app/MacOS/meson.build
@@ -1,3 +1,6 @@
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
executable(
'pugl_vulkan_cpp_demo',
[
diff --git a/examples/pugl_vulkan_cpp_demo.app/meson.build b/examples/pugl_vulkan_cpp_demo.app/meson.build
index 58a943c..f7ffacb 100644
--- a/examples/pugl_vulkan_cpp_demo.app/meson.build
+++ b/examples/pugl_vulkan_cpp_demo.app/meson.build
@@ -1,3 +1,6 @@
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
config = configuration_data()
config.set('NAME', 'pugl_vulkan_cpp_demo')
diff --git a/examples/pugl_vulkan_demo.app/MacOS/meson.build b/examples/pugl_vulkan_demo.app/MacOS/meson.build
index a6560a6..fb7273f 100644
--- a/examples/pugl_vulkan_demo.app/MacOS/meson.build
+++ b/examples/pugl_vulkan_demo.app/MacOS/meson.build
@@ -1,3 +1,6 @@
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
executable(
'pugl_vulkan_demo',
[
diff --git a/examples/pugl_vulkan_demo.app/meson.build b/examples/pugl_vulkan_demo.app/meson.build
index 240c129..b984dd8 100644
--- a/examples/pugl_vulkan_demo.app/meson.build
+++ b/examples/pugl_vulkan_demo.app/meson.build
@@ -1,3 +1,6 @@
+# Copyright 2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
config = configuration_data()
config.set('NAME', 'pugl_vulkan_demo')
diff --git a/examples/pugl_window_demo.app/MacOS/meson.build b/examples/pugl_window_demo.app/MacOS/meson.build
index 729e1a4..9794cd4 100644
--- a/examples/pugl_window_demo.app/MacOS/meson.build
+++ b/examples/pugl_window_demo.app/MacOS/meson.build
@@ -1,3 +1,6 @@
+# Copyright 2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
executable(
'pugl_window_demo',
'../../pugl_window_demo.c',
diff --git a/examples/pugl_window_demo.app/meson.build b/examples/pugl_window_demo.app/meson.build
index 2d1cd9a..71518aa 100644
--- a/examples/pugl_window_demo.app/meson.build
+++ b/examples/pugl_window_demo.app/meson.build
@@ -1,3 +1,6 @@
+# Copyright 2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
config = configuration_data()
config.set('NAME', 'pugl_window_demo')
diff --git a/examples/shaders/meson.build b/examples/shaders/meson.build
index 8f0b1dc..54e9235 100644
--- a/examples/shaders/meson.build
+++ b/examples/shaders/meson.build
@@ -1,4 +1,4 @@
-# Copyright 2021 David Robillard <d@drobilla.net>
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
shader_files = [
diff --git a/meson_options.txt b/meson_options.txt
index 641be76..6437b33 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,3 +1,6 @@
+# Copyright 2021-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
option('cairo', type: 'feature', value: 'auto',
description : 'Enable support for the Cairo graphics API')
diff --git a/src/.clang-tidy b/src/.clang-tidy
index 4415bd2..d57b1a8 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -1,3 +1,6 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
Checks: >
-bugprone-easily-swappable-parameters,
-hicpp-multiway-paths-covered,
diff --git a/test/.clang-tidy b/test/.clang-tidy
index c018d1f..f8a23aa 100644
--- a/test/.clang-tidy
+++ b/test/.clang-tidy
@@ -1,3 +1,6 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
Checks: >
-bugprone-suspicious-include,
-cert-err33-c,