Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1788 from reicast/skmp/bsdify
Browse files Browse the repository at this point in the history
BSDFY: License headers BSD3, license spam
  • Loading branch information
skmp committed Feb 4, 2020
2 parents fbc0a39 + 8f909a1 commit 11a02e5
Show file tree
Hide file tree
Showing 354 changed files with 2,068 additions and 573 deletions.
6 changes: 6 additions & 0 deletions libswirl/android/Android.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
This file is part of libswirl
*/
#include "license/bsd"


#include <jni.h>
#include <signal.h>
#include <string.h>
Expand Down
5 changes: 5 additions & 0 deletions libswirl/android/Android.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#pragma once

/*
This file is part of libswirl
*/
#include "license/bsd"

void android_RecreateView();
20 changes: 3 additions & 17 deletions libswirl/android/android_gamepad.h
Original file line number Diff line number Diff line change
@@ -1,21 +1,7 @@
/*
Copyright 2019 flyinghead
This file is part of reicast.
reicast is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
reicast is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with reicast. If not, see <https://www.gnu.org/licenses/>.
*/
This file is part of libswirl
*/
#include "license/bsd"

#include "input/gamepad_device.h"

Expand Down
6 changes: 6 additions & 0 deletions libswirl/android/utils.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
This file is part of libswirl
*/
#include "license/bsd"


#include "types.h"
#include "deps/libzip/zip.h"

Expand Down
11 changes: 7 additions & 4 deletions libswirl/android/utils.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#ifndef UTILS_H_
#define UTILS_H_
#pragma once

/*
This file is part of libswirl
*/
#include "license/bsd"

void setAPK (const char* apkPath);

#endif /* UTILS_H_ */
void setAPK (const char* apkPath);
20 changes: 3 additions & 17 deletions libswirl/archive/7zArchive.cpp
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
/*
Created on: Nov 22, 2018
This file is part of libswirl
*/
#include "license/bsd"

Copyright 2018 flyinghead

This file is part of reicast.
reicast is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
reicast is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with reicast. If not, see <https://www.gnu.org/licenses/>.
*/
#include "7zArchive.h"
#include "deps/lzma/7z.h"
#include "deps/lzma/7zCrc.h"
Expand Down
21 changes: 3 additions & 18 deletions libswirl/archive/7zArchive.h
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
/*
Created on: Nov 23, 2018
This file is part of libswirl
*/
#include "license/bsd"

Copyright 2018 flyinghead
This file is part of reicast.
reicast is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
reicast is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with reicast. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef CORE_ARCHIVE_7ZARCHIVE_H_
#define CORE_ARCHIVE_7ZARCHIVE_H_
Expand Down
20 changes: 3 additions & 17 deletions libswirl/archive/ZipArchive.cpp
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
/*
Created on: Nov 23, 2018
This file is part of libswirl
*/
#include "license/bsd"

Copyright 2018 flyinghead

This file is part of reicast.
reicast is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
reicast is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with reicast. If not, see <https://www.gnu.org/licenses/>.
*/
#include "ZipArchive.h"

ZipArchive::~ZipArchive()
Expand Down
20 changes: 3 additions & 17 deletions libswirl/archive/ZipArchive.h
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
/*
Created on: Nov 23, 2018
This file is part of libswirl
*/
#include "license/bsd"

Copyright 2018 flyinghead

This file is part of reicast.
reicast is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
reicast is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with reicast. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef CORE_ARCHIVE_ZIPARCHIVE_H_
#define CORE_ARCHIVE_ZIPARCHIVE_H_
Expand Down
22 changes: 3 additions & 19 deletions libswirl/archive/archive.cpp
Original file line number Diff line number Diff line change
@@ -1,23 +1,7 @@
/*
Created on: Nov 23, 2018
Copyright 2018 flyinghead
This file is part of reicast.
reicast is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
reicast is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with reicast. If not, see <https://www.gnu.org/licenses/>.
*/
This file is part of libswirl
*/
#include "license/bsd"

#include "archive.h"
#include "7zArchive.h"
Expand Down
27 changes: 4 additions & 23 deletions libswirl/archive/archive.h
Original file line number Diff line number Diff line change
@@ -1,26 +1,9 @@
/*
Created on: Nov 23, 2018
Copyright 2018 flyinghead
This file is part of reicast.
reicast is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
reicast is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with reicast. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef CORE_ARCHIVE_ARCHIVE_H_
#define CORE_ARCHIVE_ARCHIVE_H_
This file is part of libswirl
*/
#include "license/bsd"

#pragma once
#include "types.h"

class ArchiveFile
Expand All @@ -43,5 +26,3 @@ class Archive
};

Archive *OpenArchive(const char *path);

#endif
12 changes: 12 additions & 0 deletions libswirl/build.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/*
This file is part of libswirl
#include "license/bsd"
reicast build options
Reicast can support a lot of stuff, and this is an attempt
Expand Down Expand Up @@ -162,9 +167,16 @@
#define DYNAREC_JIT 0x40000002
#define DYNAREC_CPP 0x40000003

//TARGET_LICENSE
#define LICENSE_BSD 0x50000001
#define LICENSE_GPL 0x50000002

//automatic

#if !defined(TARGET_LICENSE)
#define TARGET_LICENSE LICENSE_GPL
#endif

#ifndef CMAKE_BUILD

#if defined(_WIN32) && !defined(TARGET_WIN86) && !defined(TARGET_WIN64)
Expand Down
5 changes: 5 additions & 0 deletions libswirl/cfg/cfg.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
/*
This file is part of libswirl
Config file crap
Supports various things, as virtual config entries and such crap
Works surprisingly well considering how old it is ...
*/
#include "license/bsd"



#define _CRT_SECURE_NO_DEPRECATE (1)
#include <errno.h>
Expand Down
5 changes: 5 additions & 0 deletions libswirl/cfg/cfg.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
This file is part of libswirl
*/
#include "license/bsd"

#pragma once

#include "types.h"
Expand Down
3 changes: 3 additions & 0 deletions libswirl/cfg/cl.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
/*
This file is part of libswirl
Command line parsing
~yay~
Nothing too interesting here, really
*/
#include "license/bsd"

#include <stdio.h>
#include <ctype.h>
Expand Down
6 changes: 6 additions & 0 deletions libswirl/cfg/ini.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
This file is part of libswirl
*/
#include "license/bsd"


#include "ini.h"
#include <sstream>

Expand Down
6 changes: 6 additions & 0 deletions libswirl/cfg/ini.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
This file is part of libswirl
*/
#include "license/bsd"


#pragma once
#include "types.h"
#include <map>
Expand Down
6 changes: 6 additions & 0 deletions libswirl/dispframe.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
This file is part of libswirl
*/
#include "license/bsd"


#include <signal.h>
#include "cfg/cfg.h"
#include "rend/TexCache.h"
Expand Down
17 changes: 3 additions & 14 deletions libswirl/gui/gui.cpp
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
/*
Copyright 2019 flyinghead
This file is part of libswirl
*/
#include "license/bsd"

This file is part of reicast.

reicast is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

reicast is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with reicast. If not, see <https://www.gnu.org/licenses/>.
*/
#include "gui.h"

#include <algorithm>
Expand Down
17 changes: 3 additions & 14 deletions libswirl/gui/gui.h
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
/*
Copyright 2019 flyinghead
This file is part of libswirl
*/
#include "license/bsd"

This file is part of reicast.

reicast is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

reicast is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with reicast. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include <memory>
#include <functional>
Expand Down
Loading

0 comments on commit 11a02e5

Please sign in to comment.