Skip to content

Commit a9c7cc7

Browse files
committed
Use SPDX-License-Identifier
closes: flameshot-org#1374 . Use SPDX short-form identifiers instead of lengthy copyright header to document per-file license and copyright. This commit updates all files under src/ directory where applicable as well as org.flameshot.Flameshot.metainfo.xml.
1 parent 7c3c075 commit a9c7cc7

File tree

166 files changed

+336
-2581
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+336
-2581
lines changed

data/appdata/org.flameshot.Flameshot.metainfo.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
SPDX-FileCopyrightText: none
4+
SPDX-License-Identifier: CC0-1.0
5+
-->
26
<component type="desktop-application">
37
<id>org.flameshot.Flameshot</id>
48
<metadata_license>CC0-1.0</metadata_license>

src/cli/commandargument.cpp

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors
2-
//
3-
// This file is part of Flameshot.
4-
//
5-
// Flameshot is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
//
10-
// Flameshot is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
1+
// SPDX-License-Identifier: GPL-3.0-or-later
2+
// SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
173

184
#include "commandargument.h"
195

src/cli/commandargument.h

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors
2-
//
3-
// This file is part of Flameshot.
4-
//
5-
// Flameshot is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
//
10-
// Flameshot is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
1+
// SPDX-License-Identifier: GPL-3.0-or-later
2+
// SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
173

184
#pragma once
195

src/cli/commandlineparser.cpp

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors
2-
//
3-
// This file is part of Flameshot.
4-
//
5-
// Flameshot is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
//
10-
// Flameshot is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
1+
// SPDX-License-Identifier: GPL-3.0-or-later
2+
// SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
173

184
#include "commandlineparser.h"
195
#include <QApplication>

src/cli/commandlineparser.h

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors
2-
//
3-
// This file is part of Flameshot.
4-
//
5-
// Flameshot is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
//
10-
// Flameshot is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
1+
// SPDX-License-Identifier: GPL-3.0-or-later
2+
// SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
173

184
#pragma once
195

src/cli/commandoption.cpp

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors
2-
//
3-
// This file is part of Flameshot.
4-
//
5-
// Flameshot is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
//
10-
// Flameshot is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
1+
// SPDX-License-Identifier: GPL-3.0-or-later
2+
// SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
173

184
#include "commandoption.h"
195

src/cli/commandoption.h

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors
2-
//
3-
// This file is part of Flameshot.
4-
//
5-
// Flameshot is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
//
10-
// Flameshot is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
1+
// SPDX-License-Identifier: GPL-3.0-or-later
2+
// SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
173

184
#pragma once
195

src/config/buttonlistview.cpp

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors
2-
//
3-
// This file is part of Flameshot.
4-
//
5-
// Flameshot is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
//
10-
// Flameshot is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
1+
// SPDX-License-Identifier: GPL-3.0-or-later
2+
// SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
173

184
#include "buttonlistview.h"
195
#include "src/tools/toolfactory.h"

src/config/buttonlistview.h

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors
2-
//
3-
// This file is part of Flameshot.
4-
//
5-
// Flameshot is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
//
10-
// Flameshot is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
1+
// SPDX-License-Identifier: GPL-3.0-or-later
2+
// SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
173

184
#pragma once
195

src/config/clickablelabel.cpp

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors
2-
//
3-
// This file is part of Flameshot.
4-
//
5-
// Flameshot is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
//
10-
// Flameshot is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
1+
// SPDX-License-Identifier: GPL-3.0-or-later
2+
// SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
173

184
#include "clickablelabel.h"
195

0 commit comments

Comments
 (0)