treewide: change license to MPL-2.0

Adjust the license to be able to upstream adjustments from this
repository to upstream Firefox. I've asked all contributors if they are
fine with the license change in the related issue.

Fixes: https://gitlab.com/postmarketOS/mobile-config-firefox/-/issues/31
This commit is contained in:
Oliver Smith 2022-01-30 11:48:42 +01:00
parent 16a4471b73
commit 75c57aa3aa
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
27 changed files with 403 additions and 704 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh -e
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: MPL-2.0
#
# As of writing, it seems that every existing CSS linter is either written in
# JS or ruby and has tons of dependencies... so instead of that let's use this

1047
LICENSE

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,5 @@
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: MPL-2.0
HEADER_FILE := src/common/header.css
USERCHROME_FILES := $(HEADER_FILE) $(sort $(wildcard src/userChrome/*.css))

View file

@ -1,6 +1,6 @@
#!/bin/sh -e
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: MPL-2.0
#
# Extract the search engine names found in your current Firefox installation,
# and create a list suitable for policies.json that removes all of them except

View file

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="addon">
<id>org.postmarketos.mobile_config_firefox</id>
<name>Mobile Config for Firefox</name>
<summary>Mobile and privacy friendly configuration for Firefox (distro-independent)</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-only</project_license>
<project_license>MPL-2.0</project_license>
<extends>
<id>org.mozilla.firefox</id>
</extends>
<description>
<p>
UI optimizations to allow using Firefox on mobile devices (i.e. small touch screen), including two finger zoom and enforcing of mobile user agent. Privacy enhancements such as disabled search suggestions, disabled Firefox studies, disabled Telemetry and DuckDuckGo as default search engine.

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Oliver Smith, Arnaud Ferraris
* SPDX-License-Identifier: GPL-3.0-or-later
* SPDX-License-Identifier: MPL-2.0
* _ _ _ __ _
* _ __ ___ ___ | |__ (_) | ___ ___ ___ _ __ / _(_) __ _
* | '_ ` _ \ / _ \| '_ \| | |/ _ \_____ / __/ _ \| '_ \| |_| |/ _` |

View file

@ -1,5 +1,5 @@
// Copyright 2021 Arnaud Ferraris, Oliver Smith
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-License-Identifier: MPL-2.0
// This is a Firefox autoconfig file:
// https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig

View file

@ -1,5 +1,5 @@
// Copyright 2021 Oliver Smith, Martijn Braam
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-License-Identifier: MPL-2.0
// Set up autoconfig (we use it to copy/update userChrome.css into profile dir)
pref('general.config.filename', "mobile-config-autoconfig.js");

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Oliver Smith
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
@media (max-width: 700px) {
/* Spawn the menu above the navigation bar (now that we've moved it to the

View file

@ -1,5 +1,5 @@
/* Copyright 2021 plata
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
/* Move navigation bar to bottom */
@media (max-width: 700px) {

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Oliver Smith
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
@media (max-width: 700px) {
/* The only way I (ollieparanoid) found to make this not glitchy, was to

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Oliver Smith
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
@media (max-width: 700px) {
.findbar-container {

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Oliver Smith
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
@media (max-width: 700px) {
/* Hack to prevent popups from flickering around. It looks like e.g. the

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Oliver Smith
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
/* Reduce minimum window width */
:root {

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Peter Mack, Oliver Smith
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
@media (max-width: 700px) {
/* Even when not in private browsing mode, reserve space to the right of

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Oliver Smith
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
/* Reduce minimum window width */
#urlbar-container {

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Anri Dellal
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
@-moz-document url("about:addons"), url-prefix("about:addons") {
:root {

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Anri Dellal
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
@-moz-document url("about:config") {
#search-container,

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Oliver Smith
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
@namespace url("http://www.w3.org/1999/xhtml");

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Anri Dellal
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
@-moz-document url("about:license") {
@media (max-width: 500px) {

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Anri Dellal
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
@-moz-document url("about:logins") {
.container {

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Anri Dellal
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
@-moz-document url("about:policies"), url-prefix("about:policies") {
@media (max-width: 830px) {

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Anri Dellal
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
@-moz-document regexp("about:preferences.*") {
.sticky-container {

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Anri Dellal
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
@-moz-document url("about:protections") {
#report-content {

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Tim Magee
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
@-moz-document url-prefix("about:reader") {
@media (max-width: 800px) {

View file

@ -1,5 +1,5 @@
/* Copyright 2021 Anri Dellal
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
@-moz-document url("about:rights") {
@media (max-width: 500px) {

View file

@ -1,5 +1,5 @@
/* Copyright 2021 plata, Anri Dellal
* SPDX-License-Identifier: GPL-3.0-or-later */
* SPDX-License-Identifier: MPL-2.0 */
@-moz-document regexp("about:(preferences|addons|policies).*") {
.category-icon {