From 42dee2de78fda2bf5228dc8efd407ad74d829664 Mon Sep 17 00:00:00 2001 From: rexy712 Date: Sun, 3 Jan 2021 10:01:25 -0800 Subject: [PATCH] Update to version 1.5.2 --- CMakeLists.txt | 4 ++-- README.md | 8 ++++++-- include/cmd.h | 2 +- include/common.h | 2 +- include/config.h | 2 +- include/globals.h | 2 +- include/restore.h | 2 +- include/rexbacklight.h | 2 +- src/cmd.c | 2 +- src/common.c | 4 ++-- src/restore.c | 2 +- src/rexbacklight.c | 2 +- 12 files changed, 19 insertions(+), 15 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ae59cdb..ee74629 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ if(PYTHONINTERP_FOUND) add_custom_command( OUTPUT ${GIT_VERSION_TMP_FILE} COMMAND ${CMAKE_COMMAND} -E echo "//File generated by CMake. Do not edit!" > ${GIT_VERSION_TMP_FILE} - COMMAND ${CMAKE_COMMAND} -E echo "#define GIT_TAG_NAME \"v1.5.1\"" > ${GIT_VERSION_TMP_FILE} + COMMAND ${CMAKE_COMMAND} -E echo "#define GIT_TAG_NAME \"v1.5.2\"" > ${GIT_VERSION_TMP_FILE} COMMAND ${CMAKE_COMMAND} -E copy_if_different ${GIT_VERSION_TMP_FILE} ${GIT_VERSION_FILE} COMMAND ${CMAKE_COMMAND} -E remove ${GIT_VERSION_TMP_FILE} WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} @@ -35,7 +35,7 @@ elseif(UNIX) add_custom_command( OUTPUT ${GIT_VERSION_TMP_FILE} COMMAND ${CMAKE_COMMAND} -E echo "//File generated by CMake. Do not edit!" > ${GIT_VERSION_TMP_FILE} - COMMAND ${CMAKE_COMMAND} -E echo "#define GIT_TAG_NAME \"v1.5.1\"" > ${GIT_VERSION_TMP_FILE} + COMMAND ${CMAKE_COMMAND} -E echo "#define GIT_TAG_NAME \"v1.5.2\"" > ${GIT_VERSION_TMP_FILE} COMMAND ${CMAKE_COMMAND} -E copy_if_different ${GIT_VERSION_TMP_FILE} ${GIT_VERSION_FILE} COMMAND ${CMAKE_COMMAND} -E remove ${GIT_VERSION_TMP_FILE} WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} diff --git a/README.md b/README.md index d28c887..e8b142c 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,11 @@ I've also since added a program to control LED devices, rexledctl (best name I c Either program can be built alone or both together. This is configured using some cmake magic. -Current version is 1.3.1 as of writing this, so if the version is much newer, remind me to update this readme. +Current version is 1.5.2 as of writing this, so if the version is much newer, remind me to update this readme. ``` +rexbacklight version v1.5.2 + Usage: rexbacklight [argument] [options] [argument] Options: @@ -25,6 +27,8 @@ Options: print device names to stdout and exit --restore|-R reassign previously saved device values +--no-save|-N + do not write any data to the restore file --help|-h print this help message and exit --version @@ -38,7 +42,7 @@ Arguments: max min -rexbacklight Copyright (C) 2018 rexy712 +rexbacklight Copyright (C) 2018-2021 rexy712 This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; see the GNU GPLv3 for details. diff --git a/include/cmd.h b/include/cmd.h index ad5fa1b..4fee030 100644 --- a/include/cmd.h +++ b/include/cmd.h @@ -1,6 +1,6 @@ /** rexbacklight - Copyright (C) 2018 rexy712 + Copyright (C) 2018-2021 rexy712 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/include/common.h b/include/common.h index c751fa0..fcc564e 100644 --- a/include/common.h +++ b/include/common.h @@ -1,6 +1,6 @@ /** rexbacklight - Copyright (C) 2018 rexy712 + Copyright (C) 2018-2021 rexy712 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/include/config.h b/include/config.h index 6abf809..8d6ccfa 100644 --- a/include/config.h +++ b/include/config.h @@ -1,6 +1,6 @@ /** rexbacklight - Copyright (C) 2018 rexy712 + Copyright (C) 2018-2021 rexy712 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/include/globals.h b/include/globals.h index bc38dd0..5b6046e 100644 --- a/include/globals.h +++ b/include/globals.h @@ -1,6 +1,6 @@ /** rexbacklight - Copyright (C) 2018 rexy712 + Copyright (C) 2018-2021 rexy712 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/include/restore.h b/include/restore.h index 51f0935..6891770 100644 --- a/include/restore.h +++ b/include/restore.h @@ -1,6 +1,6 @@ /** rexbacklight - Copyright (C) 2018 rexy712 + Copyright (C) 2018-2021 rexy712 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/include/rexbacklight.h b/include/rexbacklight.h index 5c21082..b4f11a1 100644 --- a/include/rexbacklight.h +++ b/include/rexbacklight.h @@ -1,6 +1,6 @@ /** rexbacklight - Copyright (C) 2018 rexy712 + Copyright (C) 2018-2021 rexy712 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/cmd.c b/src/cmd.c index ca847a4..62fff26 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -1,6 +1,6 @@ /** rexbacklight - Copyright (C) 2018 rexy712 + Copyright (C) 2018-2021 rexy712 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/common.c b/src/common.c index 8fbf34e..a2af8a5 100644 --- a/src/common.c +++ b/src/common.c @@ -1,6 +1,6 @@ /** rexbacklight - Copyright (C) 2018 rexy712 + Copyright (C) 2018-2021 rexy712 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -94,7 +94,7 @@ _Noreturn void usage(int exit_val){ printf(" max\n"); printf(" min\n"); - printf("\n%s Copyright (C) 2018 rexy712\n", executable_name()); + printf("\n%s Copyright (C) 2018-2021 rexy712\n", executable_name()); printf("This program comes with ABSOLUTELY NO WARRANTY.\n"); printf("This is free software, and you are welcome to redistribute it\n"); printf("under certain conditions; see the GNU GPLv3 for details.\n"); diff --git a/src/restore.c b/src/restore.c index 7b54e7b..c1f382a 100644 --- a/src/restore.c +++ b/src/restore.c @@ -1,6 +1,6 @@ /** rexbacklight - Copyright (C) 2018 rexy712 + Copyright (C) 2018-2021 rexy712 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/rexbacklight.c b/src/rexbacklight.c index 033c260..6272921 100644 --- a/src/rexbacklight.c +++ b/src/rexbacklight.c @@ -1,6 +1,6 @@ /** rexbacklight - Copyright (C) 2018 rexy712 + Copyright (C) 2018-2021 rexy712 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by