Skip to content

Commit 1736d2a

Browse files
authored
Merge pull request #3077 from ann0see/licensing/addGPLHeader
Add GPL header to autobuild scripts
2 parents 02b06cc + c9ddad0 commit 1736d2a

15 files changed

+362
-2
lines changed

.github/autobuild/android.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
11
#!/bin/bash
2+
##############################################################################
3+
# Copyright (c) 2022-2023
4+
#
5+
# Author(s):
6+
# Christian Hoffmann
7+
# The Jamulus Development Team
8+
#
9+
##############################################################################
10+
#
11+
# This program is free software; you can redistribute it and/or modify it under
12+
# the terms of the GNU General Public License as published by the Free Software
13+
# Foundation; either version 2 of the License, or (at your option) any later
14+
# version.
15+
#
16+
# This program is distributed in the hope that it will be useful, but WITHOUT
17+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
19+
# details.
20+
#
21+
# You should have received a copy of the GNU General Public License along with
22+
# this program; if not, write to the Free Software Foundation, Inc.,
23+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24+
#
25+
##############################################################################
26+
227
set -eu
328

429
# Some of the following version pinnings are semi-automatically checked for

.github/autobuild/extractVersionChangelog.pl

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
11
#!/usr/bin/env perl
2+
##############################################################################
3+
# Copyright (c) 2021-2023
4+
#
5+
# Author(s):
6+
# ann0see
7+
# Christian Hoffmann
8+
# The Jamulus Development Team
9+
#
10+
##############################################################################
11+
#
12+
# This program is free software; you can redistribute it and/or modify it under
13+
# the terms of the GNU General Public License as published by the Free Software
14+
# Foundation; either version 2 of the License, or (at your option) any later
15+
# version.
16+
#
17+
# This program is distributed in the hope that it will be useful, but WITHOUT
18+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
19+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
20+
# details.
21+
#
22+
# You should have received a copy of the GNU General Public License along with
23+
# this program; if not, write to the Free Software Foundation, Inc.,
24+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
25+
#
26+
##############################################################################
227

328
use strict;
429
use warnings;

.github/autobuild/get_build_vars.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
11
#!/usr/bin/env python3
2+
##############################################################################
3+
# Copyright (c) 2022-2023
4+
#
5+
# Author(s):
6+
# Christian Hoffmann
7+
# The Jamulus Development Team
8+
#
9+
##############################################################################
10+
#
11+
# This program is free software; you can redistribute it and/or modify it under
12+
# the terms of the GNU General Public License as published by the Free Software
13+
# Foundation; either version 2 of the License, or (at your option) any later
14+
# version.
15+
#
16+
# This program is distributed in the hope that it will be useful, but WITHOUT
17+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
19+
# details.
20+
#
21+
# You should have received a copy of the GNU General Public License along with
22+
# this program; if not, write to the Free Software Foundation, Inc.,
23+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24+
#
25+
##############################################################################
26+
227
"""
328
This script is triggered from the GitHub Autobuild workflow.
429
It analyzes Jamulus.pro and git push details (tag vs. branch, etc.) to decide

.github/autobuild/ios.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
11
#!/bin/bash
2+
##############################################################################
3+
# Copyright (c) 2022-2023
4+
#
5+
# Author(s):
6+
# Christian Hoffmann
7+
# The Jamulus Development Team
8+
#
9+
##############################################################################
10+
#
11+
# This program is free software; you can redistribute it and/or modify it under
12+
# the terms of the GNU General Public License as published by the Free Software
13+
# Foundation; either version 2 of the License, or (at your option) any later
14+
# version.
15+
#
16+
# This program is distributed in the hope that it will be useful, but WITHOUT
17+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
19+
# details.
20+
#
21+
# You should have received a copy of the GNU General Public License along with
22+
# this program; if not, write to the Free Software Foundation, Inc.,
23+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24+
#
25+
##############################################################################
26+
227
set -eu
328

429
QT_DIR=/usr/local/opt/qt

.github/autobuild/linux_deb.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
11
#!/bin/bash
2+
##############################################################################
3+
# Copyright (c) 2022-2023
4+
#
5+
# Author(s):
6+
# Christian Hoffmann
7+
# The Jamulus Development Team
8+
#
9+
##############################################################################
10+
#
11+
# This program is free software; you can redistribute it and/or modify it under
12+
# the terms of the GNU General Public License as published by the Free Software
13+
# Foundation; either version 2 of the License, or (at your option) any later
14+
# version.
15+
#
16+
# This program is distributed in the hope that it will be useful, but WITHOUT
17+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
19+
# details.
20+
#
21+
# You should have received a copy of the GNU General Public License along with
22+
# this program; if not, write to the Free Software Foundation, Inc.,
23+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24+
#
25+
##############################################################################
26+
227
set -eu
328

429
if [[ ! ${JAMULUS_BUILD_VERSION:-} =~ [0-9]+\.[0-9]+\.[0-9]+ ]]; then

.github/autobuild/mac.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
11
#!/bin/bash
2+
##############################################################################
3+
# Copyright (c) 2022-2023
4+
#
5+
# Author(s):
6+
# Christian Hoffmann
7+
# The Jamulus Development Team
8+
#
9+
##############################################################################
10+
#
11+
# This program is free software; you can redistribute it and/or modify it under
12+
# the terms of the GNU General Public License as published by the Free Software
13+
# Foundation; either version 2 of the License, or (at your option) any later
14+
# version.
15+
#
16+
# This program is distributed in the hope that it will be useful, but WITHOUT
17+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
19+
# details.
20+
#
21+
# You should have received a copy of the GNU General Public License along with
22+
# this program; if not, write to the Free Software Foundation, Inc.,
23+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24+
#
25+
##############################################################################
26+
227
set -eu
328

429
QT_DIR=/usr/local/opt/qt

.github/autobuild/windows.ps1

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
##############################################################################
2+
# Copyright (c) 2022-2023
3+
#
4+
# Author(s):
5+
# Christian Hoffmann
6+
# The Jamulus Development Team
7+
#
8+
##############################################################################
9+
#
10+
# This program is free software; you can redistribute it and/or modify it under
11+
# the terms of the GNU General Public License as published by the Free Software
12+
# Foundation; either version 2 of the License, or (at your option) any later
13+
# version.
14+
#
15+
# This program is distributed in the hope that it will be useful, but WITHOUT
16+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
18+
# details.
19+
#
20+
# You should have received a copy of the GNU General Public License along with
21+
# this program; if not, write to the Free Software Foundation, Inc.,
22+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23+
#
24+
##############################################################################
25+
126
# Steps for generating Windows artifacts via Github Actions
227
# See README.md in this folder for details.
328
# See windows/deploy_windows.ps1 for standalone builds.

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ Please install and use [pylint](https://pylint.org/) to scan any Python code.
4646
There is a configuration file that defines some overrides,
4747
and note the [Editorconfig file](.editorconfig) in the project too.
4848

49+
### Licensing
50+
51+
If you add new (source code) files, please add a header with the license to the file. This clarifies how your work is licensed. Please use the same format as in e.g. the source files in the `src/` directory. A license header must include:
52+
53+
* A Legal copyright line
54+
* The Author(s)/Copyright holder(s) list
55+
* A Declaration of the licence, indicating how to refer to the full text if not provided
4956

5057
### Supported platforms
5158

tools/changelog-helper.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
11
#!/bin/bash
2+
##############################################################################
3+
# Copyright (c) 2022-2023
4+
#
5+
# Author(s):
6+
# Christian Hoffmann
7+
# The Jamulus Development Team
8+
#
9+
##############################################################################
10+
#
11+
# This program is free software; you can redistribute it and/or modify it under
12+
# the terms of the GNU General Public License as published by the Free Software
13+
# Foundation; either version 2 of the License, or (at your option) any later
14+
# version.
15+
#
16+
# This program is distributed in the hope that it will be useful, but WITHOUT
17+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
19+
# details.
20+
#
21+
# You should have received a copy of the GNU General Public License along with
22+
# this program; if not, write to the Free Software Foundation, Inc.,
23+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24+
#
25+
##############################################################################
26+
227
# Requirements: git, Github CLI (gh), jq
328
set -eu -o pipefail
429

tools/check-wininstaller-translations.sh

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,33 @@
11
#!/bin/bash
2+
##############################################################################
3+
# Copyright (c) 2021-2023
4+
#
5+
# Author(s):
6+
# Christian Hoffmann
7+
# The Jamulus Development Team
8+
#
9+
##############################################################################
10+
#
11+
# This program is free software; you can redistribute it and/or modify it under
12+
# the terms of the GNU General Public License as published by the Free Software
13+
# Foundation; either version 2 of the License, or (at your option) any later
14+
# version.
15+
#
16+
# This program is distributed in the hope that it will be useful, but WITHOUT
17+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
19+
# details.
20+
#
21+
# You should have received a copy of the GNU General Public License along with
22+
# this program; if not, write to the Free Software Foundation, Inc.,
23+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24+
#
25+
##############################################################################
26+
27+
# This script compares Windows installer translations with the English version,
28+
# checks for consistency and common mistakes.
29+
# This is helpful for reviewing installer translation PRs.
30+
231
set -eu -o pipefail
332

433
BASE_DIR=src/translation/wininstaller/

tools/checkkeys.pl

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,28 @@
11
#!/usr/bin/perl
2+
##############################################################################
3+
# Copyright (c) 2021-2023
4+
#
5+
# Author(s):
6+
# Tony Mountifield
7+
# The Jamulus Development Team
8+
#
9+
##############################################################################
10+
#
11+
# This program is free software; you can redistribute it and/or modify it under
12+
# the terms of the GNU General Public License as published by the Free Software
13+
# Foundation; either version 2 of the License, or (at your option) any later
14+
# version.
15+
#
16+
# This program is distributed in the hope that it will be useful, but WITHOUT
17+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
19+
# details.
20+
#
21+
# You should have received a copy of the GNU General Public License along with
22+
# this program; if not, write to the Free Software Foundation, Inc.,
23+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24+
#
25+
##############################################################################
226

327
use open qw(:std :utf8);
428
use XML::Simple qw(:strict);

tools/create-translation-issues.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
11
#!/bin/bash
2+
##############################################################################
3+
# Copyright (c) 2021-2023
4+
#
5+
# Author(s):
6+
# Christian Hoffmann
7+
# The Jamulus Development Team
8+
#
9+
##############################################################################
10+
#
11+
# This program is free software; you can redistribute it and/or modify it under
12+
# the terms of the GNU General Public License as published by the Free Software
13+
# Foundation; either version 2 of the License, or (at your option) any later
14+
# version.
15+
#
16+
# This program is distributed in the hope that it will be useful, but WITHOUT
17+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
19+
# details.
20+
#
21+
# You should have received a copy of the GNU General Public License along with
22+
# this program; if not, write to the Free Software Foundation, Inc.,
23+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24+
#
25+
##############################################################################
26+
227
# This script opens translation issues for all languages via the Github API.
328
# The script is idempotent and can be run multiple times. It will not create
429
# multiple issues if milestone and title remain the same. Instead, it will

tools/generate_json_rpc_docs.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
11
#!/usr/bin/env python3
2+
##############################################################################
3+
# Copyright (c) 2022-2023
4+
#
5+
# Author(s):
6+
# Christian Hoffmann
7+
# The Jamulus Development Team
8+
#
9+
##############################################################################
10+
#
11+
# This program is free software; you can redistribute it and/or modify it under
12+
# the terms of the GNU General Public License as published by the Free Software
13+
# Foundation; either version 2 of the License, or (at your option) any later
14+
# version.
15+
#
16+
# This program is distributed in the hope that it will be useful, but WITHOUT
17+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
19+
# details.
20+
#
21+
# You should have received a copy of the GNU General Public License along with
22+
# this program; if not, write to the Free Software Foundation, Inc.,
23+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24+
#
25+
##############################################################################
26+
227
"""
328
Generates the JSON RPC documentation from the source code and writes it into
429
../docs/JSON-RPC.md.

0 commit comments

Comments
 (0)