summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-30 09:13:54 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-30 09:13:54 -0500
commit323d9b6373b1f63549244f53858d6b66bfa9aeaf (patch)
tree45e96dabb2486c4e3a1307174fc080d1999533dd
parentca366862ba6f5682b350d67e3f6d7a9fd961f660 (diff)
downloaduxp-323d9b6373b1f63549244f53858d6b66bfa9aeaf.tar.gz
Issue mcp-graveyard/UXP#1306 - Move bundled fonts to toolkit
-rw-r--r--application/basilisk/fonts/README.txt9
-rw-r--r--application/basilisk/fonts/moz.build11
-rw-r--r--application/basilisk/moz.build1
-rw-r--r--application/palemoon/fonts/TwemojiMozilla.ttfbin1244336 -> 0 bytes
-rw-r--r--application/palemoon/moz.build1
-rw-r--r--old-configure.in2
-rw-r--r--toolkit/fonts/README.txt (renamed from application/palemoon/fonts/README.txt)0
-rw-r--r--toolkit/fonts/TwemojiMozilla.ttf (renamed from application/basilisk/fonts/TwemojiMozilla.ttf)bin1244336 -> 1244336 bytes
-rw-r--r--toolkit/fonts/moz.build (renamed from application/palemoon/fonts/moz.build)1
-rw-r--r--toolkit/moz.build3
10 files changed, 5 insertions, 23 deletions
diff --git a/application/basilisk/fonts/README.txt b/application/basilisk/fonts/README.txt
deleted file mode 100644
index ac1f6d9de2..0000000000
--- a/application/basilisk/fonts/README.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Twemoji Mozilla
-================
-
-The upstream repository of Twemoji Mozilla can be found at
-
- https://github.com/mozilla/twemoji-colr
-
-Please refer commit history for the current version of the font.
-This file purposely omit the version, so there is no need to update it here.
diff --git a/application/basilisk/fonts/moz.build b/application/basilisk/fonts/moz.build
deleted file mode 100644
index 5cb98333b2..0000000000
--- a/application/basilisk/fonts/moz.build
+++ /dev/null
@@ -1,11 +0,0 @@
-# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
-# vim: set filetype=python:
-# 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 http://mozilla.org/MPL/2.0/.
-
-if CONFIG['OS_ARCH'] in ('WINNT', 'Linux'):
- DIST_SUBDIR = ''
- FINAL_TARGET_FILES.fonts += [
- 'TwemojiMozilla.ttf'
- ]
diff --git a/application/basilisk/moz.build b/application/basilisk/moz.build
index 7274f48fce..2c3c95fa2c 100644
--- a/application/basilisk/moz.build
+++ b/application/basilisk/moz.build
@@ -11,7 +11,6 @@ SPHINX_TREES['browser'] = 'docs'
DIRS += [
'base',
'components',
- 'fonts',
'locales',
'modules',
'themes',
diff --git a/application/palemoon/fonts/TwemojiMozilla.ttf b/application/palemoon/fonts/TwemojiMozilla.ttf
deleted file mode 100644
index d79250cb03..0000000000
--- a/application/palemoon/fonts/TwemojiMozilla.ttf
+++ /dev/null
Binary files differ
diff --git a/application/palemoon/moz.build b/application/palemoon/moz.build
index 72e37673cc..f04ad1c7d0 100644
--- a/application/palemoon/moz.build
+++ b/application/palemoon/moz.build
@@ -9,7 +9,6 @@ CONFIGURE_SUBST_FILES += ['installer/Makefile']
DIRS += [
'base',
'components',
- 'fonts',
'locales',
'modules',
'themes',
diff --git a/old-configure.in b/old-configure.in
index 49f45280ed..9398ef0fcc 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -3691,6 +3691,8 @@ if test -n "$MOZ_BUNDLED_FONTS"; then
AC_DEFINE(MOZ_BUNDLED_FONTS)
fi
+AC_SUBST(MOZ_BUNDLED_FONTS)
+
dnl ========================================================
dnl Verify MAR signatures
dnl ========================================================
diff --git a/application/palemoon/fonts/README.txt b/toolkit/fonts/README.txt
index bf5cb7e6ed..bf5cb7e6ed 100644
--- a/application/palemoon/fonts/README.txt
+++ b/toolkit/fonts/README.txt
diff --git a/application/basilisk/fonts/TwemojiMozilla.ttf b/toolkit/fonts/TwemojiMozilla.ttf
index d79250cb03..d79250cb03 100644
--- a/application/basilisk/fonts/TwemojiMozilla.ttf
+++ b/toolkit/fonts/TwemojiMozilla.ttf
Binary files differ
diff --git a/application/palemoon/fonts/moz.build b/toolkit/fonts/moz.build
index 8840a87f89..fb6a9b24c5 100644
--- a/application/palemoon/fonts/moz.build
+++ b/toolkit/fonts/moz.build
@@ -5,5 +5,4 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
if CONFIG['OS_ARCH'] in ('WINNT', 'Linux'):
- DIST_SUBDIR = ''
FINAL_TARGET_FILES.fonts += ['TwemojiMozilla.ttf']
diff --git a/toolkit/moz.build b/toolkit/moz.build
index 397444828a..b02d122cd7 100644
--- a/toolkit/moz.build
+++ b/toolkit/moz.build
@@ -19,6 +19,9 @@ DIRS += [
'themes',
]
+if CONFIG['MOZ_BUNDLED_FONTS']:
+ DIRS += ['fonts']
+
if CONFIG['MOZ_JETPACK']:
DIRS += ['jetpack']