Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to MIT license #23

Merged
merged 2 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions Examples/Cassini/CassiniApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,7 @@
// Created by Adrian Schönig on 10/12/2022.
//
// GeoProjector - Native Swift library for drawing map projections
// Copyright (C) 2022 Corporoni Pty Ltd
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library 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
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
// USA
// Copyright (C) 2022 Corporoni Pty Ltd. See LICENSE.

import SwiftUI

Expand Down
17 changes: 1 addition & 16 deletions Examples/Cassini/ContentView+Model.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,7 @@
// Created by Adrian Schönig on 11/12/2022.
//
// GeoProjector - Native Swift library for drawing map projections
// Copyright (C) 2022 Corporoni Pty Ltd
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library 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
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
// USA
// Copyright (C) 2022 Corporoni Pty Ltd. See LICENSE.

import Foundation
import CoreGraphics
Expand Down
17 changes: 1 addition & 16 deletions Examples/Cassini/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,7 @@
// Created by Adrian Schönig on 10/12/2022.
//
// GeoProjector - Native Swift library for drawing map projections
// Copyright (C) 2022 Corporoni Pty Ltd
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library 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
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
// USA
// Copyright (C) 2022 Corporoni Pty Ltd. See LICENSE.

import SwiftUI

Expand Down
2 changes: 1 addition & 1 deletion Examples/LICENSE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
The example programs are public domain and can be adapted without restrictions. The rest of the library is available under the MPL-2.0.
The example programs are public domain and can be adapted without restrictions. The rest of the library is available under the MIT License.
179 changes: 21 additions & 158 deletions LICENSE

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ precious resources:

## License

This library is available under the [Mozilla Public License 2.0](https://www.mozilla.org/en-US/MPL/2.0/).
This means that if you use and modify this library, you have to make your changes also available under the
same license (or a compatible one). As long as you comply with this and keep copyright notices
intact, you can however use the library in closed source projects.
This library is available under the [MIT License](https://mit-license.org). Use it as you please according to those terms.

The [examples](Examples/) are public domain and can be adapted freely.
6 changes: 1 addition & 5 deletions Sources/GeoDrawer/GeoDrawer+CoreGraphics.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
// Created by Adrian Schönig on 2/12/2022.
//
// GeoProjector - Native Swift library for drawing map projections
// Copyright (C) 2022 Corporoni Pty Ltd
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Copyright (C) 2022 Corporoni Pty Ltd. See LICENSE.

#if canImport(CoreGraphics)
import CoreGraphics
Expand Down
6 changes: 1 addition & 5 deletions Sources/GeoDrawer/GeoDrawer+UIKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
// Created by Adrian Schönig on 2/12/2022.
//
// GeoProjector - Native Swift library for drawing map projections
// Copyright (C) 2022 Corporoni Pty Ltd
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Copyright (C) 2022 Corporoni Pty Ltd. See LICENSE.

#if canImport(UIKit)
import UIKit
Expand Down
6 changes: 1 addition & 5 deletions Sources/GeoDrawer/GeoDrawer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
// Created by Adrian Schönig on 2/12/2022.
//
// GeoProjector - Native Swift library for drawing map projections
// Copyright (C) 2022 Corporoni Pty Ltd
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Copyright (C) 2022 Corporoni Pty Ltd. See LICENSE.

#if canImport(CoreGraphics)
import CoreGraphics
Expand Down
6 changes: 1 addition & 5 deletions Sources/GeoDrawer/GeoJSON+Continents.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
// Created by Adrian Schönig on 2/12/2022.
//
// GeoProjector - Native Swift library for drawing map projections
// Copyright (C) 2022 Corporoni Pty Ltd
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Copyright (C) 2022 Corporoni Pty Ltd. See LICENSE.

import GeoJSONKit

Expand Down
6 changes: 1 addition & 5 deletions Sources/GeoDrawer/GeoMap+AppKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
// Created by Adrian Schönig on 10/12/2022.
//
// GeoProjector - Native Swift library for drawing map projections
// Copyright (C) 2022 Corporoni Pty Ltd
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Copyright (C) 2022 Corporoni Pty Ltd. See LICENSE.

#if canImport(AppKit) && !targetEnvironment(macCatalyst)
import AppKit
Expand Down
7 changes: 1 addition & 6 deletions Sources/GeoDrawer/GeoMap+UIKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@
//
// Created by Adrian Schönig on 24/2/2023.
//
//
// GeoProjector - Native Swift library for drawing map projections
// Copyright (C) 2022 Corporoni Pty Ltd
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Copyright (C) 2022 Corporoni Pty Ltd. See LICENSE.

#if canImport(UIKit)
import UIKit
Expand Down
6 changes: 1 addition & 5 deletions Sources/GeoProjector/Interpolator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
// Created by Adrian Schönig on 9/12/2022.
//
// GeoProjector - Native Swift library for drawing map projections
// Copyright (C) 2022 Corporoni Pty Ltd
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Copyright (C) 2022 Corporoni Pty Ltd. See LICENSE.

import Foundation

Expand Down
6 changes: 1 addition & 5 deletions Sources/GeoProjector/Projection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
// Created by Adrian Schönig on 2/12/2022.
//
// GeoProjector - Native Swift library for drawing map projections
// Copyright (C) 2022 Corporoni Pty Ltd
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Copyright (C) 2022 Corporoni Pty Ltd. See LICENSE.

import Foundation

Expand Down
6 changes: 1 addition & 5 deletions Sources/GeoProjector/Projections+Azimuthal.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
// Created by Adrian Schönig on 2/12/2022.
//
// GeoProjector - Native Swift library for drawing map projections
// Copyright (C) 2022 Corporoni Pty Ltd
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Copyright (C) 2022 Corporoni Pty Ltd. See LICENSE.

import Foundation

Expand Down
6 changes: 1 addition & 5 deletions Sources/GeoProjector/Projections+Cylindrical.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
// Created by Adrian Schönig on 2/12/2022.
//
// GeoProjector - Native Swift library for drawing map projections
// Copyright (C) 2022 Corporoni Pty Ltd
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Copyright (C) 2022 Corporoni Pty Ltd. See LICENSE.

import Foundation

Expand Down
6 changes: 1 addition & 5 deletions Sources/GeoProjector/Projections+Orthographic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
// Created by Adrian Schönig on 2/12/2022.
//
// GeoProjector - Native Swift library for drawing map projections
// Copyright (C) 2022 Corporoni Pty Ltd
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Copyright (C) 2022 Corporoni Pty Ltd. See LICENSE.

import Foundation

Expand Down
6 changes: 1 addition & 5 deletions Sources/GeoProjector/Projections+Pseudocylindrical.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
// Created by Adrian Schönig on 3/12/2022.
//
// GeoProjector - Native Swift library for drawing map projections
// Copyright (C) 2022 Corporoni Pty Ltd
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Copyright (C) 2022 Corporoni Pty Ltd. See LICENSE.

import Foundation

Expand Down
6 changes: 1 addition & 5 deletions Sources/GeoProjector/Projections.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
// Created by Adrian Schönig on 4/12/2022.
//
// GeoProjector - Native Swift library for drawing map projections
// Copyright (C) 2022 Corporoni Pty Ltd
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Copyright (C) 2022 Corporoni Pty Ltd. See LICENSE.

import Foundation

Expand Down
6 changes: 1 addition & 5 deletions Sources/GeoProjector/Structs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
// Created by Adrian Schönig on 21/12/2022.
//
// GeoProjector - Native Swift library for drawing map projections
// Copyright (C) 2022 Corporoni Pty Ltd
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Copyright (C) 2022 Corporoni Pty Ltd. See LICENSE.

import Foundation

Expand Down