mjakeman / text-engine

A lightweight rich text framework for GTK
Other
21 stars 2 forks source link

Dual license under MPL-2.0 and LGPL-2.1-or-later #10

Closed mjakeman closed 2 years ago

mjakeman commented 2 years ago

To avoid introducing a license incompatibility with GTK and libadwaita, let's use the LGPL-2.1-or-later such that it can be relicensed to any later version. Additionally, the library will be dual-licensed under the MPL-2.0, primarily for static linking purposes, but also to make it easier to incorporate in non-GPL'd applications.

The new (final, not-changing-again) license header is as follows:

/* filename.c
 *
 * Copyright 2022 Matthew Jakeman <mjakeman26@outlook.co.nz>
 *
 * This file is dual-licensed under the terms of the Mozilla Public
 * License 2.0 and the Lesser General Public License 2.1 (or any
 * later version).
 *
 * SPDX-License-Identifier: MPL-2.0 OR LGPL-2.1-or-later
 */