diff --git a/cagebreak.c b/cagebreak.c index df96831..0c5c247 100644 --- a/cagebreak.c +++ b/cagebreak.c @@ -1,10 +1,5 @@ -/* - * Cagebreak: A Wayland tiling compositor. - * - * Copyright (C) 2018-2020 Jente Hidskes - * - * See the LICENSE file accompanying this file. - */ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT #define _POSIX_C_SOURCE 200812L #define _DEFAULT_SOURCE diff --git a/config.h.in b/config.h.in index 53a167a..a79a80c 100644 --- a/config.h.in +++ b/config.h.in @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #ifndef CG_CONFIG_H #define CG_CONFIG_H diff --git a/example_scripts/cb_script_header.sh b/example_scripts/cb_script_header.sh index 0e7bda6..9533beb 100644 --- a/example_scripts/cb_script_header.sh +++ b/example_scripts/cb_script_header.sh @@ -1,4 +1,6 @@ #!/bin/bash +# Copyright 2023, project-repo and the cagebreak contributors +# SPDX -License-Identifier: MIT named_pipe_send="$(mktemp -u)" named_pipe_recv="$(mktemp -u)" diff --git a/example_scripts/focus_follows_cursor.sh b/example_scripts/focus_follows_cursor.sh index e193e28..79e2889 100644 --- a/example_scripts/focus_follows_cursor.sh +++ b/example_scripts/focus_follows_cursor.sh @@ -1,4 +1,6 @@ #!/bin/bash +# Copyright 2023, project-repo and the cagebreak contributors +# SPDX -License-Identifier: MIT # This script uses the cagebreak socket to modify the compositor's behaviour in # such a way that the currently focussed tile follows the cursor, i.e. that the diff --git a/example_scripts/show_workspace_views.sh b/example_scripts/show_workspace_views.sh index 0c86b56..3be9cbb 100644 --- a/example_scripts/show_workspace_views.sh +++ b/example_scripts/show_workspace_views.sh @@ -1,4 +1,6 @@ #!/bin/bash +# Copyright 2020 - 2023, project-repo and the cagebreak contributors +# SPDX -License-Identifier: MIT # This script displays the process names of the views on the current workspace. diff --git a/examples/config b/examples/config index 52cbecf..d79a792 100644 --- a/examples/config +++ b/examples/config @@ -1,3 +1,5 @@ +# Copyright 2020 - 2023, project-repo and the cagebreak contributors +# SPDX -License-Identifier: MIT ###################### # General settings an key bindings ###################### diff --git a/fuzz/execl_override.c b/fuzz/execl_override.c index 316cf1e..9fc9e6e 100644 --- a/fuzz/execl_override.c +++ b/fuzz/execl_override.c @@ -1,5 +1,7 @@ -/* This file is used by the fuzzer in order to prevent executing shell commands. - */ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT +// This file is used by the fuzzer in order to prevent executing shell commands. + #define _GNU_SOURCE #include "../output.h" #include diff --git a/fuzz/fuzz-lib.c b/fuzz/fuzz-lib.c index 4628187..c159538 100644 --- a/fuzz/fuzz-lib.c +++ b/fuzz/fuzz-lib.c @@ -1,10 +1,5 @@ -/* - * Cagebreak: A Wayland tiling compositor. - * - * Copyright (C) 2018-2020 Jente Hidskes - * - * See the LICENSE file accompanying this file. - */ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT #define _POSIX_C_SOURCE 200812L diff --git a/fuzz/fuzz-lib.h b/fuzz/fuzz-lib.h index 7182a50..950f455 100644 --- a/fuzz/fuzz-lib.h +++ b/fuzz/fuzz-lib.h @@ -1,10 +1,5 @@ -/* - * Cagebreak: A Wayland tiling compositor. - * - * Copyright (C) 2018-2020 Jente Hidskes - * - * See the LICENSE file accompanying this file. - */ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT #ifndef CG_FUZZ_LIB_H #define CG_FUZZ_LIB_H diff --git a/fuzz/fuzz-parse.c b/fuzz/fuzz-parse.c index ebc6535..0fc060c 100644 --- a/fuzz/fuzz-parse.c +++ b/fuzz/fuzz-parse.c @@ -1,10 +1,5 @@ -/* - * Cagebreak: A Wayland tiling compositor. - * - * Copyright (C) 2018-2020 Jente Hidskes - * - * See the LICENSE file accompanying this file. - */ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT #define _POSIX_C_SOURCE 200812L diff --git a/fuzz/meson.build b/fuzz/meson.build index b8448bc..01fdd3e 100644 --- a/fuzz/meson.build +++ b/fuzz/meson.build @@ -1,3 +1,6 @@ +# Copyright 2020 - 2023, project-repo and the cagebreak contributors +# SPDX -License-Identifier: MIT + fuzz_sources = [ 'fuzz-parse.c', 'fuzz-lib.c', diff --git a/idle_inhibit_v1.c b/idle_inhibit_v1.c index 8ebc768..9bc3f7a 100644 --- a/idle_inhibit_v1.c +++ b/idle_inhibit_v1.c @@ -1,11 +1,5 @@ -/* - * Cagebreak: A Wayland tiling compositor. - * - * Copyright (C) 2020-2022 The Cagebreak Authors - * Copyright (C) 2018-2019 Jente Hidskes - * - * See the LICENSE file accompanying this file. - */ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT #include #include diff --git a/idle_inhibit_v1.h b/idle_inhibit_v1.h index cd1a58d..f0dce64 100644 --- a/idle_inhibit_v1.h +++ b/idle_inhibit_v1.h @@ -1,3 +1,5 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT #ifndef CG_IDLE_INHIBIT_H #define CG_IDLE_INHIBIT_H diff --git a/input.h b/input.h index 22db599..f7877c5 100644 --- a/input.h +++ b/input.h @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #ifndef _CG_INPUT_H #define _CG_INPUT_H diff --git a/input_manager.c b/input_manager.c index 0d927e0..29e4d1d 100644 --- a/input_manager.c +++ b/input_manager.c @@ -1,11 +1,5 @@ -/* - * Cagebreak: A Wayland tiling compositor. - * - * Copyright (C) 2020-2022 The Cagebreak Authors - * Copyright (C) 2018-2020 Jente Hidskes - * - * See the LICENSE file accompanying this file. - */ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT #define _POSIX_C_SOURCE 200812L diff --git a/input_manager.h b/input_manager.h index 0dbbaad..1def1df 100644 --- a/input_manager.h +++ b/input_manager.h @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #ifndef CG_INPUT_MANAGER_H #define CG_INPUT_MANAGER_H diff --git a/ipc_server.c b/ipc_server.c index 825ddf2..c5295e7 100644 --- a/ipc_server.c +++ b/ipc_server.c @@ -1,11 +1,5 @@ -/* - * Cagebreak: A Wayland tiling compositor. - * - * Copyright (C) 2020-2022 The Cagebreak Authors - * Copyright (C) 2018-2020 Jente Hidskes - * - * See the LICENSE file accompanying this file. - */ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT #define _POSIX_C_SOURCE 200112L #define _DEFAULT_SOURCE diff --git a/ipc_server.h b/ipc_server.h index 7fc9d60..2c66b83 100644 --- a/ipc_server.h +++ b/ipc_server.h @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #ifndef CG_IPC_SERVER_H #define CG_IPC_SERVER_H diff --git a/keybinding.c b/keybinding.c index b1b8085..0c96d4b 100644 --- a/keybinding.c +++ b/keybinding.c @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #define _POSIX_C_SOURCE 200809L #include diff --git a/keybinding.h b/keybinding.h index 3c632c3..872f12d 100644 --- a/keybinding.h +++ b/keybinding.h @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #ifndef KEYBINDING_H #define KEYBINDING_H diff --git a/libinput.c b/libinput.c index ffaaada..dcb9d1f 100644 --- a/libinput.c +++ b/libinput.c @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #include "input.h" #include "input_manager.h" #include "output.h" diff --git a/man/cagebreak-config.5.md b/man/cagebreak-config.5.md index 14d2e00..a93734f 100644 --- a/man/cagebreak-config.5.md +++ b/man/cagebreak-config.5.md @@ -423,7 +423,7 @@ GPG Fingerprints: # LICENSE -Copyright (c) 2020-2022 The Cagebreak authors +Copyright (c) 2020-2023 The Cagebreak authors Copyright (c) 2018-2020 Jente Hidskes diff --git a/man/cagebreak-socket.7.md b/man/cagebreak-socket.7.md index 3723308..5d83f0b 100644 --- a/man/cagebreak-socket.7.md +++ b/man/cagebreak-socket.7.md @@ -557,7 +557,7 @@ GPG Fingerprints: # LICENSE -Copyright (c) 2022 The Cagebreak authors +Copyright (c) 2022 - 2023 The Cagebreak authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/man/cagebreak.1.md b/man/cagebreak.1.md index 0537367..7feccc1 100644 --- a/man/cagebreak.1.md +++ b/man/cagebreak.1.md @@ -87,7 +87,7 @@ GPG Fingerprints: # LICENSE -Copyright (c) 2020-2022 The Cagebreak authors +Copyright (c) 2020-2023 The Cagebreak authors Copyright (c) 2018-2020 Jente Hidskes diff --git a/meson.build b/meson.build index a2c5f50..61c6af1 100644 --- a/meson.build +++ b/meson.build @@ -1,3 +1,5 @@ +# Copyright 2020 - 2023, project-repo and the cagebreak contributors +# SPDX -License-Identifier: MIT project( 'cagebreak', 'c', diff --git a/meson_options.txt b/meson_options.txt index b6dcb79..6d4a787 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,3 +1,5 @@ +# Copyright 2020 - 2023, project-repo and the cagebreak contributors +# SPDX -License-Identifier: MIT option('xwayland', type: 'boolean', value: 'false', description: 'Enable support for X11 applications') option('man-pages', type: 'boolean', value: 'false', description: 'Build man pages (requires pandoc)') option('fuzz', type: 'boolean', value: 'false', description: 'Enable building fuzzer targets') diff --git a/message.c b/message.c index 9441ae5..f0c2c64 100644 --- a/message.c +++ b/message.c @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #include #include #include diff --git a/message.h b/message.h index e672f5d..25bf692 100644 --- a/message.h +++ b/message.h @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #ifndef MESSAGE_H #define MESSAGE_H diff --git a/output.c b/output.c index b31a4eb..b36d724 100644 --- a/output.c +++ b/output.c @@ -1,12 +1,5 @@ -/* - * Cagebreak: A Wayland tiling compositor. - * - * Copyright (C) 2020-2022 The Cagebreak Authors - * Copyright (C) 2018-2020 Jente Hidskes - * Copyright (C) 2019 The Sway authors - * - * See the LICENSE file accompanying this file. - */ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT #define _POSIX_C_SOURCE 200809L diff --git a/output.h b/output.h index 859c682..0a255df 100644 --- a/output.h +++ b/output.h @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #ifndef CG_OUTPUT_H #define CG_OUTPUT_H diff --git a/pango.c b/pango.c index e9d04d3..c513f97 100644 --- a/pango.c +++ b/pango.c @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #include #include #include diff --git a/pango.h b/pango.h index fed8371..30f2865 100644 --- a/pango.h +++ b/pango.h @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #ifndef _SWAY_PANGO_H #define _SWAY_PANGO_H #include diff --git a/parse.c b/parse.c index fd8e083..d250439 100644 --- a/parse.c +++ b/parse.c @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #define _POSIX_C_SOURCE 200812L #include diff --git a/parse.h b/parse.h index b1e6c59..4e38ea9 100644 --- a/parse.h +++ b/parse.h @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #ifndef PARSE_H #define PARSE_H diff --git a/seat.c b/seat.c index a1996c3..3ffd06b 100644 --- a/seat.c +++ b/seat.c @@ -1,11 +1,5 @@ -/* - * Cagebreak: A Wayland tiling compositor. - * - * Copyright (C) 2020-2022 The Cagebreak Authors - * Copyright (C) 2018-2020 Jente Hidskes - * - * See the LICENSE file accompanying this file. - */ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT #define _POSIX_C_SOURCE 200812L diff --git a/seat.h b/seat.h index 8c11866..e44d808 100644 --- a/seat.h +++ b/seat.h @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #ifndef CG_SEAT_H #define CG_SEAT_H diff --git a/util.c b/util.c index 95e1ea4..455f306 100644 --- a/util.c +++ b/util.c @@ -1,11 +1,5 @@ -/* - * Cagebreak: A Wayland tiling compositor. - * - * Copyright (C) 2020-2022 The Cagebreak Authors - * Copyright (C) 2019 The Sway authors - * - * See the LICENSE file accompanying this file. - */ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT #include diff --git a/util.h b/util.h index 01e403e..ef3f532 100644 --- a/util.h +++ b/util.h @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #ifndef CG_UTIL_H #define CG_UTIL_H diff --git a/view.c b/view.c index dee1ab8..74c31b8 100644 --- a/view.c +++ b/view.c @@ -1,11 +1,5 @@ -/* - * Cagebreak: A Wayland tiling compositor. - * - * Copyright (C) 2020-2022 The Cagebreak Authors - * Copyright (C) 2018-2020 Jente Hidskes - * - * See the LICENSE file accompanying this file. - */ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT #define _POSIX_C_SOURCE 200809L diff --git a/view.h b/view.h index 6c56d70..99e3e65 100644 --- a/view.h +++ b/view.h @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #ifndef CG_VIEW_H #define CG_VIEW_H diff --git a/workspace.c b/workspace.c index d99d3a4..1caff0d 100644 --- a/workspace.c +++ b/workspace.c @@ -1,11 +1,5 @@ -/* - * Cagebreak: A Wayland tiling compositor. - * - * Copyright (C) 2020-2022 The Cagebreak Authors - * Copyright (C) 2018-2019 Jente Hidskes - * - * See the LICENSE file accompanying this file. - */ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT #define _POSIX_C_SOURCE 200809L diff --git a/workspace.h b/workspace.h index 94cc989..e0f2473 100644 --- a/workspace.h +++ b/workspace.h @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #ifndef CG_WORKSPACE_H #define CG_WORKSPACE_H diff --git a/xdg_shell.c b/xdg_shell.c index 7662996..fc251c7 100644 --- a/xdg_shell.c +++ b/xdg_shell.c @@ -1,11 +1,5 @@ -/* - * Cagebreak: A Wayland tiling compositor. - * - * Copyright (C) 2020-2022 The Cagebreak Authors - * Copyright (C) 2018-2019 Jente Hidskes - * - * See the LICENSE file accompanying this file. - */ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT #define _POSIX_C_SOURCE 200809L diff --git a/xdg_shell.h b/xdg_shell.h index cb92b5a..e066208 100644 --- a/xdg_shell.h +++ b/xdg_shell.h @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #ifndef CG_XDG_SHELL_H #define CG_XDG_SHELL_H diff --git a/xwayland.c b/xwayland.c index d6ea9f7..f601a0f 100644 --- a/xwayland.c +++ b/xwayland.c @@ -1,11 +1,6 @@ -/* - * Cagebreak: A Wayland tiling compositor. - * - * Copyright (C) 2020-2022 The Cagebreak Authors - * Copyright (C) 2018-2020 Jente Hidskes - * - * See the LICENSE file accompanying this file. - */ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #include "config.h" #include diff --git a/xwayland.h b/xwayland.h index 71db92f..cde30c5 100644 --- a/xwayland.h +++ b/xwayland.h @@ -1,3 +1,6 @@ +// Copyright 2020 - 2023, project-repo and the cagebreak contributors +// SPDX -License-Identifier: MIT + #ifndef CG_XWAYLAND_H #define CG_XWAYLAND_H