Skip to content

Commit 8150857

Browse files
committed
Ensure proper licensing headers across Wabi Swift source.
* All Wabi Swift code in this repo is licensed under Apache 2.0. * All code in this repo is licensed under each of the existing libraries original licenses. Signed-off-by: furby™ <devs@wabi.foundation>
1 parent 73fcb0d commit 8150857

File tree

12 files changed

+275
-216
lines changed

12 files changed

+275
-216
lines changed

Package.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -719,10 +719,10 @@ let package = Package(
719719
]
720720
),
721721

722-
/**
723-
* Run this from the command line via:
724-
*
725-
* swift bundler run -p macOS MetaversalDemo */
722+
/*
723+
* Run this from the command line via:
724+
*
725+
* swift bundler run -p macOS MetaversalDemo */
726726
.executableTarget(
727727
name: "MetaversalDemo",
728728
dependencies: [

Sources/CosmoGraph/CGXCore.swift

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,32 @@
1-
/* --------------------------------------------------------------
2-
* :: : C O S M O G R A P H : ::
3-
* --------------------------------------------------------------
4-
* @wabiverse :: metaversekit :: cosmograph
1+
/* ----------------------------------------------------------------
2+
* :: : M E T A V E R S E : ::
3+
* ----------------------------------------------------------------
4+
* This software is Licensed under the terms of the Apache License,
5+
* version 2.0 (the "Apache License") with the following additional
6+
* modification; you may not use this file except within compliance
7+
* of the Apache License and the following modification made to it.
8+
* Section 6. Trademarks. is deleted and replaced with:
59
*
6-
* This program is free software; you can redistribute it, and/or
7-
* modify it under the terms of the GNU General Public License as
8-
* published by the Free Software Foundation; either version 2 of
9-
* the License, or (at your option) any later version.
10+
* Trademarks. This License does not grant permission to use any of
11+
* its trade names, trademarks, service marks, or the product names
12+
* of this Licensor or its affiliates, except as required to comply
13+
* with Section 4(c.) of this License, and to reproduce the content
14+
* of the NOTICE file.
1015
*
11-
* This program is distributed in the hope that it will be useful
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Check out
14-
* the GNU General Public License for more details.
16+
* This software is distributed in the hope that it will be useful,
17+
* but WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND without even an
18+
* implied warranty of MERCHANTABILITY, or FITNESS FOR A PARTICULAR
19+
* PURPOSE. See the Apache License for more details.
1520
*
16-
* You should have received a copy for this software license, the
17-
* GNU General Public License along with this program; or, if not
18-
* write to the Free Software Foundation, Inc., to the address of
21+
* You should have received a copy for this software license of the
22+
* Apache License along with this program; or, if not, please write
23+
* to the Free Software Foundation Inc., with the following address
1924
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2025
*
21-
* Copyright (C) 2023 Wabi Foundation.
22-
* All Rights Reserved.
23-
* --------------------------------------------------------------
26+
* Copyright (C) 2024 Wabi Foundation. All Rights Reserved.
27+
* ----------------------------------------------------------------
2428
* . x x x . o o o . x x x . : : : . o x o . : : : .
25-
* -------------------------------------------------------------- */
29+
* ---------------------------------------------------------------- */
2630

2731
import Foundation
2832

Sources/CosmoGraph/Foundation/NSString.swift

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,32 @@
1-
/* --------------------------------------------------------------
2-
* :: : C O S M O G R A P H : ::
3-
* --------------------------------------------------------------
4-
* @wabiverse :: metaversekit :: cosmograph
1+
/* ----------------------------------------------------------------
2+
* :: : M E T A V E R S E : ::
3+
* ----------------------------------------------------------------
4+
* This software is Licensed under the terms of the Apache License,
5+
* version 2.0 (the "Apache License") with the following additional
6+
* modification; you may not use this file except within compliance
7+
* of the Apache License and the following modification made to it.
8+
* Section 6. Trademarks. is deleted and replaced with:
59
*
6-
* This program is free software; you can redistribute it, and/or
7-
* modify it under the terms of the GNU General Public License as
8-
* published by the Free Software Foundation; either version 2 of
9-
* the License, or (at your option) any later version.
10+
* Trademarks. This License does not grant permission to use any of
11+
* its trade names, trademarks, service marks, or the product names
12+
* of this Licensor or its affiliates, except as required to comply
13+
* with Section 4(c.) of this License, and to reproduce the content
14+
* of the NOTICE file.
1015
*
11-
* This program is distributed in the hope that it will be useful
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Check out
14-
* the GNU General Public License for more details.
16+
* This software is distributed in the hope that it will be useful,
17+
* but WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND without even an
18+
* implied warranty of MERCHANTABILITY, or FITNESS FOR A PARTICULAR
19+
* PURPOSE. See the Apache License for more details.
1520
*
16-
* You should have received a copy for this software license, the
17-
* GNU General Public License along with this program; or, if not
18-
* write to the Free Software Foundation, Inc., to the address of
21+
* You should have received a copy for this software license of the
22+
* Apache License along with this program; or, if not, please write
23+
* to the Free Software Foundation Inc., with the following address
1924
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2025
*
21-
* Copyright (C) 2023 Wabi Foundation.
22-
* All Rights Reserved.
23-
* --------------------------------------------------------------
26+
* Copyright (C) 2024 Wabi Foundation. All Rights Reserved.
27+
* ----------------------------------------------------------------
2428
* . x x x . o o o . x x x . : : : . o x o . : : : .
25-
* -------------------------------------------------------------- */
29+
* ---------------------------------------------------------------- */
2630

2731
#if os(macOS) || os(visionOS) || os(iOS) || os(watchOS) || os(tvOS)
2832

Sources/CosmoGraph/Metal/MTLArchitecture.swift

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,32 @@
1-
/* --------------------------------------------------------------
2-
* :: : C O S M O G R A P H : ::
3-
* --------------------------------------------------------------
4-
* @wabiverse :: metaversekit :: cosmograph
1+
/* ----------------------------------------------------------------
2+
* :: : M E T A V E R S E : ::
3+
* ----------------------------------------------------------------
4+
* This software is Licensed under the terms of the Apache License,
5+
* version 2.0 (the "Apache License") with the following additional
6+
* modification; you may not use this file except within compliance
7+
* of the Apache License and the following modification made to it.
8+
* Section 6. Trademarks. is deleted and replaced with:
59
*
6-
* This program is free software; you can redistribute it, and/or
7-
* modify it under the terms of the GNU General Public License as
8-
* published by the Free Software Foundation; either version 2 of
9-
* the License, or (at your option) any later version.
10+
* Trademarks. This License does not grant permission to use any of
11+
* its trade names, trademarks, service marks, or the product names
12+
* of this Licensor or its affiliates, except as required to comply
13+
* with Section 4(c.) of this License, and to reproduce the content
14+
* of the NOTICE file.
1015
*
11-
* This program is distributed in the hope that it will be useful
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Check out
14-
* the GNU General Public License for more details.
16+
* This software is distributed in the hope that it will be useful,
17+
* but WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND without even an
18+
* implied warranty of MERCHANTABILITY, or FITNESS FOR A PARTICULAR
19+
* PURPOSE. See the Apache License for more details.
1520
*
16-
* You should have received a copy for this software license, the
17-
* GNU General Public License along with this program; or, if not
18-
* write to the Free Software Foundation, Inc., to the address of
21+
* You should have received a copy for this software license of the
22+
* Apache License along with this program; or, if not, please write
23+
* to the Free Software Foundation Inc., with the following address
1924
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2025
*
21-
* Copyright (C) 2023 Wabi Foundation.
22-
* All Rights Reserved.
23-
* --------------------------------------------------------------
26+
* Copyright (C) 2024 Wabi Foundation. All Rights Reserved.
27+
* ----------------------------------------------------------------
2428
* . x x x . o o o . x x x . : : : . o x o . : : : .
25-
* -------------------------------------------------------------- */
29+
* ---------------------------------------------------------------- */
2630

2731
#if canImport(Metal)
2832

Sources/CosmoGraph/Metal/MTLDevice.swift

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,32 @@
1-
/* --------------------------------------------------------------
2-
* :: : C O S M O G R A P H : ::
3-
* --------------------------------------------------------------
4-
* @wabiverse :: metaversekit :: cosmograph
1+
/* ----------------------------------------------------------------
2+
* :: : M E T A V E R S E : ::
3+
* ----------------------------------------------------------------
4+
* This software is Licensed under the terms of the Apache License,
5+
* version 2.0 (the "Apache License") with the following additional
6+
* modification; you may not use this file except within compliance
7+
* of the Apache License and the following modification made to it.
8+
* Section 6. Trademarks. is deleted and replaced with:
59
*
6-
* This program is free software; you can redistribute it, and/or
7-
* modify it under the terms of the GNU General Public License as
8-
* published by the Free Software Foundation; either version 2 of
9-
* the License, or (at your option) any later version.
10+
* Trademarks. This License does not grant permission to use any of
11+
* its trade names, trademarks, service marks, or the product names
12+
* of this Licensor or its affiliates, except as required to comply
13+
* with Section 4(c.) of this License, and to reproduce the content
14+
* of the NOTICE file.
1015
*
11-
* This program is distributed in the hope that it will be useful
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Check out
14-
* the GNU General Public License for more details.
16+
* This software is distributed in the hope that it will be useful,
17+
* but WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND without even an
18+
* implied warranty of MERCHANTABILITY, or FITNESS FOR A PARTICULAR
19+
* PURPOSE. See the Apache License for more details.
1520
*
16-
* You should have received a copy for this software license, the
17-
* GNU General Public License along with this program; or, if not
18-
* write to the Free Software Foundation, Inc., to the address of
21+
* You should have received a copy for this software license of the
22+
* Apache License along with this program; or, if not, please write
23+
* to the Free Software Foundation Inc., with the following address
1924
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2025
*
21-
* Copyright (C) 2023 Wabi Foundation.
22-
* All Rights Reserved.
23-
* --------------------------------------------------------------
26+
* Copyright (C) 2024 Wabi Foundation. All Rights Reserved.
27+
* ----------------------------------------------------------------
2428
* . x x x . o o o . x x x . : : : . o x o . : : : .
25-
* -------------------------------------------------------------- */
29+
* ---------------------------------------------------------------- */
2630

2731
#if canImport(Metal)
2832

Sources/GPUShaders/GPUShaders.swift

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,32 @@
1-
/* --------------------------------------------------------------
2-
* :: : M E T A V E R S E : ::
3-
* --------------------------------------------------------------
4-
* This program is free software; you can redistribute it, and/or
5-
* modify it under the terms of the GNU General Public License as
6-
* published by the Free Software Foundation; either version 2 of
7-
* the License, or (at your option) any later version.
1+
/* ----------------------------------------------------------------
2+
* :: : M E T A V E R S E : ::
3+
* ----------------------------------------------------------------
4+
* This software is Licensed under the terms of the Apache License,
5+
* version 2.0 (the "Apache License") with the following additional
6+
* modification; you may not use this file except within compliance
7+
* of the Apache License and the following modification made to it.
8+
* Section 6. Trademarks. is deleted and replaced with:
89
*
9-
* This program is distributed in the hope that it will be useful
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Check out
12-
* the GNU General Public License for more details.
10+
* Trademarks. This License does not grant permission to use any of
11+
* its trade names, trademarks, service marks, or the product names
12+
* of this Licensor or its affiliates, except as required to comply
13+
* with Section 4(c.) of this License, and to reproduce the content
14+
* of the NOTICE file.
1315
*
14-
* You should have received a copy for this software license, the
15-
* GNU General Public License along with this program; or, if not
16-
* write to the Free Software Foundation, Inc., to the address of
16+
* This software is distributed in the hope that it will be useful,
17+
* but WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND without even an
18+
* implied warranty of MERCHANTABILITY, or FITNESS FOR A PARTICULAR
19+
* PURPOSE. See the Apache License for more details.
20+
*
21+
* You should have received a copy for this software license of the
22+
* Apache License along with this program; or, if not, please write
23+
* to the Free Software Foundation Inc., with the following address
1724
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1825
*
19-
* Copyright (C) 2023 Wabi Foundation. All Rights Reserved.
20-
* --------------------------------------------------------------
26+
* Copyright (C) 2024 Wabi Foundation. All Rights Reserved.
27+
* ----------------------------------------------------------------
2128
* . x x x . o o o . x x x . : : : . o x o . : : : .
22-
* -------------------------------------------------------------- */
29+
* ---------------------------------------------------------------- */
2330

2431
#if canImport(Metal)
2532
import Metal
@@ -36,10 +43,10 @@ public class GPUShaders
3643
}
3744

3845
#if canImport(Metal)
39-
/* A metal device for access to the GPU. */
46+
/** A metal device for access to the GPU. */
4047
public var device: MTLDevice!
4148

42-
/* A metal library. */
49+
/** A metal library. */
4350
public var metalLib: MTLLibrary!
4451
#endif /* canImport(Metal) */
4552
}

Sources/MXResources/MXResources.swift

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,32 @@
1-
/* --------------------------------------------------------------
2-
* :: : M E T A V E R S E : ::
3-
* --------------------------------------------------------------
4-
* This program is free software; you can redistribute it, and/or
5-
* modify it under the terms of the GNU General Public License as
6-
* published by the Free Software Foundation; either version 2 of
7-
* the License, or (at your option) any later version.
1+
/* ----------------------------------------------------------------
2+
* :: : M E T A V E R S E : ::
3+
* ----------------------------------------------------------------
4+
* This software is Licensed under the terms of the Apache License,
5+
* version 2.0 (the "Apache License") with the following additional
6+
* modification; you may not use this file except within compliance
7+
* of the Apache License and the following modification made to it.
8+
* Section 6. Trademarks. is deleted and replaced with:
89
*
9-
* This program is distributed in the hope that it will be useful
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Check out
12-
* the GNU General Public License for more details.
10+
* Trademarks. This License does not grant permission to use any of
11+
* its trade names, trademarks, service marks, or the product names
12+
* of this Licensor or its affiliates, except as required to comply
13+
* with Section 4(c.) of this License, and to reproduce the content
14+
* of the NOTICE file.
1315
*
14-
* You should have received a copy for this software license, the
15-
* GNU General Public License along with this program; or, if not
16-
* write to the Free Software Foundation, Inc., to the address of
16+
* This software is distributed in the hope that it will be useful,
17+
* but WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND without even an
18+
* implied warranty of MERCHANTABILITY, or FITNESS FOR A PARTICULAR
19+
* PURPOSE. See the Apache License for more details.
20+
*
21+
* You should have received a copy for this software license of the
22+
* Apache License along with this program; or, if not, please write
23+
* to the Free Software Foundation Inc., with the following address
1724
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1825
*
19-
* Copyright (C) 2023 Wabi Foundation. All Rights Reserved.
20-
* --------------------------------------------------------------
26+
* Copyright (C) 2024 Wabi Foundation. All Rights Reserved.
27+
* ----------------------------------------------------------------
2128
* . x x x . o o o . x x x . : : : . o x o . : : : .
22-
* -------------------------------------------------------------- */
29+
* ---------------------------------------------------------------- */
2330

2431
#if canImport(Metal)
2532
import Metal

0 commit comments

Comments
 (0)