From 5d4999257ca90b056bcc97dc87ae171aa49b140c Mon Sep 17 00:00:00 2001 From: rncbc Date: Wed, 3 Jan 2024 09:05:59 +0000 Subject: [PATCH] - Updated copyright headers into the New Year. (final) --- CMakeLists.txt | 3 +++ src/config.h.cmake | 8 ++++++++ src/qjackctlAbout.h | 4 ++-- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 06acd3fd..810c6b66 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,6 +36,9 @@ if (GIT_DESCRIBE_RESULT EQUAL 0) set (PROJECT_VERSION "${GIT_VERSION}") endif () +set (PROJECT_COPYRIGHT "Copyright (C) 2003-2024, rncbc aka Rui Nuno Capela. All rights reserved.") +set (PROJECT_DOMAIN "rncbc.org") + if (CMAKE_BUILD_TYPE MATCHES "Debug") set (CONFIG_DEBUG 1) diff --git a/src/config.h.cmake b/src/config.h.cmake index 63211f2e..7b990098 100644 --- a/src/config.h.cmake +++ b/src/config.h.cmake @@ -16,6 +16,13 @@ /* Define to the homepage of this package. */ #cmakedefine PROJECT_HOMEPAGE_URL "@PROJECT_HOMEPAGE_URL@" +/* Define to the copyright of this package. */ +#cmakedefine PROJECT_COPYRIGHT "@PROJECT_COPYRIGHT@" + +/* Define to the domain of this package. */ +#cmakedefine PROJECT_DOMAIN "@PROJECT_DOMAIN@" + + /* Default installation prefix. */ #cmakedefine CONFIG_PREFIX "@CONFIG_PREFIX@" @@ -100,4 +107,5 @@ /* Define if Wayland is supported */ #cmakedefine CONFIG_WAYLAND @CONFIG_WAYLAND@ + #endif /* CONFIG_H */ diff --git a/src/qjackctlAbout.h b/src/qjackctlAbout.h index 6cb928a8..a3508b2d 100644 --- a/src/qjackctlAbout.h +++ b/src/qjackctlAbout.h @@ -33,8 +33,8 @@ #define QJACKCTL_SUBTITLE PROJECT_DESCRIPTION #define QJACKCTL_WEBSITE PROJECT_HOMEPAGE_URL -#define QJACKCTL_COPYRIGHT "Copyright (C) 2003-2024, rncbc aka Rui Nuno Capela. All rights reserved." -#define QJACKCTL_DOMAIN "rncbc.org" +#define QJACKCTL_COPYRIGHT PROJECT_COPYRIGHT +#define QJACKCTL_DOMAIN PROJECT_DOMAIN #endif // __qjackctlAbout_h