Skip to content

Commit

Permalink
- Updated copyright headers into the New Year. (bis)
Browse files Browse the repository at this point in the history
  • Loading branch information
rncbc committed Jan 2, 2024
1 parent 2b677c2 commit 2387106
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 15 deletions.
8 changes: 5 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
cmake_minimum_required (VERSION 3.15)

project (qjackctl
project (QjackCtl
VERSION 0.9.13
DESCRIPTION "JACK Audio Connection Kit - Qt GUI Interface"
HOMEPAGE_URL "https://qjackctl.sourceforge.io"
LANGUAGES C CXX)

set (PROJECT_TITLE "${PROJECT_NAME}")
string (TOLOWER "${PROJECT_TITLE}" PROJECT_NAME)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")

execute_process (
Expand Down Expand Up @@ -285,8 +288,7 @@ macro (SHOW_OPTION text value)
endif ()
endmacro ()


message ("\n ${PACKAGE_NAME} ${PACKAGE_VERSION} (Qt ${QT_VERSION})")
message ("\n ${PROJECT_TITLE} ${PROJECT_VERSION} (Qt ${QT_VERSION})")
message ("\n Build target . . . . . . . . . . . . . . . . . . .: ${CONFIG_BUILD_TYPE}\n")
show_option (" JACK Audio Connection Kit support . . . . . . . ." CONFIG_JACK)
show_option (" JACK Realtime support . . . . . . . . . . . . . ." CONFIG_JACK_REALTIME)
Expand Down
3 changes: 3 additions & 0 deletions src/config.h.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#ifndef CONFIG_H
#define CONFIG_H

/* Define to the title of this package. */
#cmakedefine PROJECT_TITLE "@PROJECT_TITLE@"

/* Define to the name of this package. */
#cmakedefine PROJECT_NAME "@PROJECT_NAME@"

Expand Down
2 changes: 1 addition & 1 deletion src/qjackctlAbout.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include "config.h"

#define QJACKCTL_TITLE "QjackCtl"
#define QJACKCTL_TITLE PROJECT_TITLE

#define QJACKCTL_SUBTITLE0 "JACK"
#define QJACKCTL_SUBTITLE1 QJACKCTL_SUBTITLE0 " Audio Connection Kit"
Expand Down
4 changes: 2 additions & 2 deletions src/qjackctlAboutForm.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// qjackctlAboutForm.cpp
//
/****************************************************************************
Copyright (C) 2003-2023, rncbc aka Rui Nuno Capela. All rights reserved.
Copyright (C) 2003-2024, rncbc aka Rui Nuno Capela. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
Expand Down Expand Up @@ -84,7 +84,7 @@ qjackctlAboutForm::qjackctlAboutForm ( QWidget *pParent )
QString sText = "<p align=\"center\"><br />\n";
sText += "<b><big>" QJACKCTL_TITLE "</big> - " + tr(QJACKCTL_SUBTITLE) + "</b><br />\n";
sText += "<br />\n";
sText += tr("Version") + ": <b>" CONFIG_BUILD_VERSION "</b><br />\n";
sText += tr("Version") + ": <b>" PROJECT_VERSION "</b><br />\n";
// sText += "<small>" + tr("Build") + ": " CONFIG_BUILD_DATE "<small><br />\n";
if (!list.isEmpty()) {
sText += "<small><font color=\"red\">";
Expand Down
2 changes: 1 addition & 1 deletion src/qjackctlAboutForm.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// qjackctlAboutForm.h
//
/****************************************************************************
Copyright (C) 2003-2023, rncbc aka Rui Nuno Capela. All rights reserved.
Copyright (C) 2003-2024, rncbc aka Rui Nuno Capela. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
Expand Down
2 changes: 1 addition & 1 deletion src/qjackctlAboutForm.ui
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<author>rncbc aka Rui Nuno Capela</author>
<comment>JACK Audio Connection Kit - Qt GUI Interface.

Copyright (C) 2003-2023, rncbc aka Rui Nuno Capela. All rights reserved.
Copyright (C) 2003-2024, rncbc aka Rui Nuno Capela. All rights reserved.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
Expand Down
4 changes: 2 additions & 2 deletions src/qjackctlPatchbayFile.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// qjackctlPatchbayFile.cpp
//
/****************************************************************************
Copyright (C) 2003-2020, rncbc aka Rui Nuno Capela. All rights reserved.
Copyright (C) 2003-2024, rncbc aka Rui Nuno Capela. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
Expand Down Expand Up @@ -222,7 +222,7 @@ bool qjackctlPatchbayFile::save ( qjackctlPatchbayRack *pPatchbay,
QDomDocument doc("patchbay");
QDomElement eRoot = doc.createElement("patchbay");
eRoot.setAttribute("name", fi.baseName());
eRoot.setAttribute("version", CONFIG_BUILD_VERSION);
eRoot.setAttribute("version", PROJECT_VERSION);
doc.appendChild(eRoot);

// Save output-sockets spec...
Expand Down
2 changes: 1 addition & 1 deletion src/qjackctlPatchbayFile.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// qjackctlPatchbayFile.h
//
/****************************************************************************
Copyright (C) 2003-2020, rncbc aka Rui Nuno Capela. All rights reserved.
Copyright (C) 2003-2024, rncbc aka Rui Nuno Capela. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
Expand Down
6 changes: 3 additions & 3 deletions src/qjackctlSetup.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// qjackctlSetup.cpp
//
/****************************************************************************
Copyright (C) 2003-2023, rncbc aka Rui Nuno Capela. All rights reserved.
Copyright (C) 2003-2024, rncbc aka Rui Nuno Capela. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
Expand Down Expand Up @@ -204,7 +204,7 @@ void qjackctlSetup::saveSetup (void)
{
// Save all settings and options...
m_settings.beginGroup("/Program");
m_settings.setValue("/Version", CONFIG_BUILD_VERSION);
m_settings.setValue("/Version", PROJECT_VERSION);
m_settings.endGroup();

m_settings.beginGroup("/Presets");
Expand Down Expand Up @@ -786,7 +786,7 @@ bool qjackctlSetup::parse_args ( const QStringList& args )
#endif
out << QString("%1: %2\n")
.arg(QJACKCTL_TITLE)
.arg(CONFIG_BUILD_VERSION);
.arg(PROJECT_VERSION);
return false;
} // FIXME: Avoid auto-start jackd stuffed args!
else if (sArg != "-T" && sArg != "-ndefault") {
Expand Down
2 changes: 1 addition & 1 deletion src/qjackctlSetup.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// qjackctlSetup.h
//
/****************************************************************************
Copyright (C) 2003-2023, rncbc aka Rui Nuno Capela. All rights reserved.
Copyright (C) 2003-2024, rncbc aka Rui Nuno Capela. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
Expand Down

0 comments on commit 2387106

Please sign in to comment.