diff --git a/Bugs.md b/Bugs.md index 25eeeca..c1792c4 100644 --- a/Bugs.md +++ b/Bugs.md @@ -1110,3 +1110,13 @@ Under these circumstances Cagebreak did not quit right after startup. * Fixed: 2.0.0 Cagebreak did not build with wlroots 0.16.1 and this was adjusted. + +## Issue 54 + + * github issue numer: #36 + * Fixed: 2.0.1 + +Cagebreak was not compatible with clang 15 and POSIX which was causing issues +with building under FreeBSD. + +Thanks to Jan Beich for pointing this out and providing a PR. diff --git a/Hashes.md b/Hashes.md index 627d428..1fe4b4a 100644 --- a/Hashes.md +++ b/Hashes.md @@ -1,5 +1,23 @@ # Hashes +2.0.1 cagebreak + + * sha 256: 3d7cdf511976248614617b1738246a3c5fa94543838e798c0c3a9aec325027b9 + * sha 512: 3b584e7a124e8b32b9d6584e82d256ca4a0b8c30423efc4678c8991d7a6f9b43edd29967eda7be6284e3583209e607b14d88e8ec65b19706849d0263a3188852 + +2.0.1 cagebreak.1 + + * sha 256: bb93d7d3af98b4b14a5b6968065ded51ad5006e6d81736ee1806ee62a99a137e + * sha 512: 90e8d4c5628cc556001da3b96194c5649cc948389697c4c70e10e5e259ce6a52150c6231b2fb9009d2834d52b64c0ebc5896403b9fd0c584d4c873e45846250f +2.0.1 cagebreak-config.5 + + * sha 256: 1870c1274848e6535edda170ec0349befb2aa78bc812c56bdc66df99600c86f0 + * sha 512: 4b546e77a722375cc6fd22562f3b4724e5cccc0907a935db5854fa4fe2a0eef16adbd2e7e2b35b023ac9609e5d97a341d62ade730c76acd6b3f80ba6f65d8a24 + +2.0.1 cagebreak-socket.7 + * sha 256: 1276c37af5cf32276b2f5bcb3f13d4d00c9a7957ef4d51cb2fa62d2fc3643c6f + * sha 512: 60b38a0b43d2a0d5026ecf2ec660538cd384b5a2e84f7a1a41ac916e67de54ae7a55e45492ed5654d3f248e1d6693ba7c4d596987b03082841a4c3c953c57846 + 2.0.0 cagebreak * sha 256: 45f88abdae03bbc7dad5734dd6fb1a00e1bf37d3e0c4016dad2fa3de832335cf diff --git a/README.md b/README.md index 1dba0b5..4c284b0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Cagebreak: A Wayland Tiling Compositor -[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/6532/badge)](https://bestpractices.coreinfrastructure.org/projects/6532) [![Packaging status](https://repology.org/badge/tiny-repos/cagebreak.svg)](https://repology.org/project/cagebreak/versions) [![AUR package](https://repology.org/badge/version-for-repo/aur/cagebreak.svg?minversion=2.0.0)](https://repology.org/project/cagebreak/versions) +[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/6532/badge)](https://bestpractices.coreinfrastructure.org/projects/6532) [![Packaging status](https://repology.org/badge/tiny-repos/cagebreak.svg)](https://repology.org/project/cagebreak/versions) [![AUR package](https://repology.org/badge/version-for-repo/aur/cagebreak.svg?minversion=2.0.1)](https://repology.org/project/cagebreak/versions) ## Quick Introduction diff --git a/cagebreak.c b/cagebreak.c index 0c5c247..28e363f 100644 --- a/cagebreak.c +++ b/cagebreak.c @@ -1,7 +1,6 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors // SPDX -License-Identifier: MIT -#define _POSIX_C_SOURCE 200812L #define _DEFAULT_SOURCE #include "config.h" diff --git a/input_manager.c b/input_manager.c index 29e4d1d..83cb966 100644 --- a/input_manager.c +++ b/input_manager.c @@ -89,7 +89,7 @@ input_manager_handle_device_destroy(struct wl_listener *listener, void *data) { } struct cg_input_config * -input_manager_create_empty_input_config() { +input_manager_create_empty_input_config(void) { struct cg_input_config *cfg = calloc(1, sizeof(struct cg_input_config)); if(cfg == NULL) { return NULL; diff --git a/input_manager.h b/input_manager.h index 1def1df..86dcf2e 100644 --- a/input_manager.h +++ b/input_manager.h @@ -16,7 +16,7 @@ input_manager_handle_device_destroy(struct wl_listener *listener, void *data); uint32_t input_manager_get_mouse_button(const char *name, char **error); struct cg_input_config * -input_manager_create_empty_input_config(); +input_manager_create_empty_input_config(void); struct cg_input_config * input_manager_merge_input_configs(struct cg_input_config *cfg1, struct cg_input_config *cfg2); diff --git a/ipc_server.c b/ipc_server.c index c5295e7..c28979d 100644 --- a/ipc_server.c +++ b/ipc_server.c @@ -1,7 +1,6 @@ // Copyright 2020 - 2023, project-repo and the cagebreak contributors // SPDX -License-Identifier: MIT -#define _POSIX_C_SOURCE 200112L #define _DEFAULT_SOURCE #include "ipc_server.h" diff --git a/keybinding.c b/keybinding.c index 0c96d4b..c2f29bb 100644 --- a/keybinding.c +++ b/keybinding.c @@ -126,7 +126,7 @@ keybinding_list_push(struct keybinding_list *list, } struct keybinding_list * -keybinding_list_init() { +keybinding_list_init(void) { struct keybinding_list *list = malloc(sizeof(struct keybinding_list)); list->keybindings = malloc(sizeof(struct keybinding *)); list->capacity = 1; diff --git a/keybinding.h b/keybinding.h index 872f12d..c11de23 100644 --- a/keybinding.h +++ b/keybinding.h @@ -133,7 +133,7 @@ struct keybinding ** find_keybinding(const struct keybinding_list *list, const struct keybinding *keybinding); struct keybinding_list * -keybinding_list_init(); +keybinding_list_init(void); int run_action(enum keybinding_action action, struct cg_server *server, diff --git a/man/cagebreak-config.5.md b/man/cagebreak-config.5.md index a93734f..9fa63e3 100644 --- a/man/cagebreak-config.5.md +++ b/man/cagebreak-config.5.md @@ -1,4 +1,4 @@ -cagebreak-config(5) "Version 2.0.0" "Cagebreak Manual" +cagebreak-config(5) "Version 2.0.1" "Cagebreak Manual" # NAME diff --git a/man/cagebreak-socket.7.md b/man/cagebreak-socket.7.md index d21ce84..66dd156 100644 --- a/man/cagebreak-socket.7.md +++ b/man/cagebreak-socket.7.md @@ -1,4 +1,4 @@ -cagebreak-socket(7) "Version 2.0.0" "Cagebreak Manual" +cagebreak-socket(7) "Version 2.0.1" "Cagebreak Manual" # NAME diff --git a/man/cagebreak.1.md b/man/cagebreak.1.md index 7feccc1..e05ae29 100644 --- a/man/cagebreak.1.md +++ b/man/cagebreak.1.md @@ -1,4 +1,4 @@ -cagebreak(1) "Version 2.0.0" "Cagebreak Manual" +cagebreak(1) "Version 2.0.1" "Cagebreak Manual" # NAME diff --git a/meson.build b/meson.build index 9d2913f..29dbcd1 100644 --- a/meson.build +++ b/meson.build @@ -3,7 +3,7 @@ project( 'cagebreak', 'c', -version : '2.0.0', +version : '2.0.1', license : 'MIT', default_options : ['c_std=c11', 'warning_level=3'] ) @@ -11,6 +11,7 @@ default_options : ['c_std=c11', 'warning_level=3'] add_project_arguments( [ '-DWLR_USE_UNSTABLE', + '-Werror=implicit-function-declaration', '-Wundef', '-Wno-unused-parameter', ], @@ -258,7 +259,7 @@ install_data('examples/config', install_dir : '/etc/xdg/cagebreak') if get_option('man-pages') scdoc = find_program('scdoc') - secssinceepoch = 1673193959 + secssinceepoch = 1673282376 shcommand = 'export SOURCE_DATE_EPOCH=' + secssinceepoch.to_string() + ' ; @0@ < @INPUT@'.format(scdoc.path()) sh = find_program('sh') mandir1 = join_paths(get_option('mandir'), 'man1') diff --git a/output.c b/output.c index b36d724..a75f532 100644 --- a/output.c +++ b/output.c @@ -332,7 +332,7 @@ output_apply_config(struct cg_server *server, struct cg_output *output, } struct cg_output_config * -empty_output_config() { +empty_output_config(void) { struct cg_output_config *cfg = calloc(1, sizeof(struct cg_output_config)); if(cfg == NULL) { wlr_log(WLR_ERROR, "Could not allocate output configuration."); diff --git a/signatures/2.0.0-cagebreak-config.5.sig b/signatures/2.0.0-cagebreak-config.5.sig new file mode 100644 index 0000000..0e839de Binary files /dev/null and b/signatures/2.0.0-cagebreak-config.5.sig differ diff --git a/signatures/2.0.0-cagebreak-socket.7.sig b/signatures/2.0.0-cagebreak-socket.7.sig new file mode 100644 index 0000000..6c5048b Binary files /dev/null and b/signatures/2.0.0-cagebreak-socket.7.sig differ diff --git a/signatures/2.0.0-cagebreak.1.sig b/signatures/2.0.0-cagebreak.1.sig new file mode 100644 index 0000000..3dfee28 Binary files /dev/null and b/signatures/2.0.0-cagebreak.1.sig differ diff --git a/signatures/2.0.0-cagebreak.sig b/signatures/2.0.0-cagebreak.sig new file mode 100644 index 0000000..93517d0 Binary files /dev/null and b/signatures/2.0.0-cagebreak.sig differ diff --git a/signatures/cagebreak-config.5.sig b/signatures/cagebreak-config.5.sig index 0e839de..c2c27ba 100644 Binary files a/signatures/cagebreak-config.5.sig and b/signatures/cagebreak-config.5.sig differ diff --git a/signatures/cagebreak-socket.7.sig b/signatures/cagebreak-socket.7.sig index 6c5048b..d7dfe41 100644 Binary files a/signatures/cagebreak-socket.7.sig and b/signatures/cagebreak-socket.7.sig differ diff --git a/signatures/cagebreak.1.sig b/signatures/cagebreak.1.sig index 3dfee28..02074e9 100644 Binary files a/signatures/cagebreak.1.sig and b/signatures/cagebreak.1.sig differ diff --git a/signatures/cagebreak.sig b/signatures/cagebreak.sig index 93517d0..f557280 100644 Binary files a/signatures/cagebreak.sig and b/signatures/cagebreak.sig differ