Moved distributed files to build/distributed and stop placing the binary in build/bin (have binned that directory).
Also updated installation rules
This commit is contained in:
96
build/distributed/fonts/Ubuntu/LICENCE.txt
Normal file
96
build/distributed/fonts/Ubuntu/LICENCE.txt
Normal file
@@ -0,0 +1,96 @@
|
||||
-------------------------------
|
||||
UBUNTU FONT LICENCE Version 1.0
|
||||
-------------------------------
|
||||
|
||||
PREAMBLE
|
||||
This licence allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely. The fonts, including any derivative works, can be
|
||||
bundled, embedded, and redistributed provided the terms of this licence
|
||||
are met. The fonts and derivatives, however, cannot be released under
|
||||
any other licence. The requirement for fonts to remain under this
|
||||
licence does not require any document created using the fonts or their
|
||||
derivatives to be published under this licence, as long as the primary
|
||||
purpose of the document is not to be a vehicle for the distribution of
|
||||
the fonts.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this licence and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Original Version" refers to the collection of Font Software components
|
||||
as received under this licence.
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to
|
||||
a new environment.
|
||||
|
||||
"Copyright Holder(s)" refers to all individuals and companies who have a
|
||||
copyright ownership of the Font Software.
|
||||
|
||||
"Substantially Changed" refers to Modified Versions which can be easily
|
||||
identified as dissimilar to the Font Software by users of the Font
|
||||
Software comparing the Original Version with the Modified Version.
|
||||
|
||||
To "Propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification and with or without charging
|
||||
a redistribution fee), making available to the public, and in some
|
||||
countries other activities as well.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
This licence does not grant any rights under trademark law and all such
|
||||
rights are reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of the Font Software, to propagate the Font Software, subject to
|
||||
the below conditions:
|
||||
|
||||
1) Each copy of the Font Software must contain the above copyright
|
||||
notice and this licence. These can be included either as stand-alone
|
||||
text files, human-readable headers or in the appropriate machine-
|
||||
readable metadata fields within text or binary files as long as those
|
||||
fields can be easily viewed by the user.
|
||||
|
||||
2) The font name complies with the following:
|
||||
(a) The Original Version must retain its name, unmodified.
|
||||
(b) Modified Versions which are Substantially Changed must be renamed to
|
||||
avoid use of the name of the Original Version or similar names entirely.
|
||||
(c) Modified Versions which are not Substantially Changed must be
|
||||
renamed to both (i) retain the name of the Original Version and (ii) add
|
||||
additional naming elements to distinguish the Modified Version from the
|
||||
Original Version. The name of such Modified Versions must be the name of
|
||||
the Original Version, with "derivative X" where X represents the name of
|
||||
the new work, appended to that name.
|
||||
|
||||
3) The name(s) of the Copyright Holder(s) and any contributor to the
|
||||
Font Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except (i) as required by this licence, (ii) to
|
||||
acknowledge the contribution(s) of the Copyright Holder(s) or (iii) with
|
||||
their explicit written permission.
|
||||
|
||||
4) The Font Software, modified or unmodified, in part or in whole, must
|
||||
be distributed entirely under this licence, and must not be distributed
|
||||
under any other licence. The requirement for fonts to remain under this
|
||||
licence does not affect any document created using the Font Software,
|
||||
except any version of the Font Software extracted from a document
|
||||
created using the Font Software may only be distributed under this
|
||||
licence.
|
||||
|
||||
TERMINATION
|
||||
This licence becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
||||
COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER
|
||||
DEALINGS IN THE FONT SOFTWARE.
|
||||
4
build/distributed/fonts/Ubuntu/TRADEMARKS.txt
Normal file
4
build/distributed/fonts/Ubuntu/TRADEMARKS.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Ubuntu and Canonical are registered trademarks of Canonical Ltd.
|
||||
|
||||
The licence accompanying these works does not grant any rights
|
||||
under trademark law and all such rights are reserved.
|
||||
BIN
build/distributed/fonts/Ubuntu/Ubuntu-B.ttf
Normal file
BIN
build/distributed/fonts/Ubuntu/Ubuntu-B.ttf
Normal file
Binary file not shown.
BIN
build/distributed/fonts/Ubuntu/Ubuntu-BI.ttf
Normal file
BIN
build/distributed/fonts/Ubuntu/Ubuntu-BI.ttf
Normal file
Binary file not shown.
BIN
build/distributed/fonts/Ubuntu/Ubuntu-C.ttf
Normal file
BIN
build/distributed/fonts/Ubuntu/Ubuntu-C.ttf
Normal file
Binary file not shown.
BIN
build/distributed/fonts/Ubuntu/Ubuntu-L.ttf
Normal file
BIN
build/distributed/fonts/Ubuntu/Ubuntu-L.ttf
Normal file
Binary file not shown.
BIN
build/distributed/fonts/Ubuntu/Ubuntu-LI.ttf
Normal file
BIN
build/distributed/fonts/Ubuntu/Ubuntu-LI.ttf
Normal file
Binary file not shown.
BIN
build/distributed/fonts/Ubuntu/Ubuntu-M.ttf
Normal file
BIN
build/distributed/fonts/Ubuntu/Ubuntu-M.ttf
Normal file
Binary file not shown.
BIN
build/distributed/fonts/Ubuntu/Ubuntu-MI.ttf
Normal file
BIN
build/distributed/fonts/Ubuntu/Ubuntu-MI.ttf
Normal file
Binary file not shown.
BIN
build/distributed/fonts/Ubuntu/Ubuntu-R.ttf
Normal file
BIN
build/distributed/fonts/Ubuntu/Ubuntu-R.ttf
Normal file
Binary file not shown.
BIN
build/distributed/fonts/Ubuntu/Ubuntu-RI.ttf
Normal file
BIN
build/distributed/fonts/Ubuntu/Ubuntu-RI.ttf
Normal file
Binary file not shown.
BIN
build/distributed/fonts/Ubuntu/Ubuntu-Th.ttf
Normal file
BIN
build/distributed/fonts/Ubuntu/Ubuntu-Th.ttf
Normal file
Binary file not shown.
BIN
build/distributed/fonts/Ubuntu/UbuntuMono-B.ttf
Normal file
BIN
build/distributed/fonts/Ubuntu/UbuntuMono-B.ttf
Normal file
Binary file not shown.
BIN
build/distributed/fonts/Ubuntu/UbuntuMono-BI.ttf
Normal file
BIN
build/distributed/fonts/Ubuntu/UbuntuMono-BI.ttf
Normal file
Binary file not shown.
BIN
build/distributed/fonts/Ubuntu/UbuntuMono-R.ttf
Normal file
BIN
build/distributed/fonts/Ubuntu/UbuntuMono-R.ttf
Normal file
Binary file not shown.
BIN
build/distributed/fonts/Ubuntu/UbuntuMono-RI.ttf
Normal file
BIN
build/distributed/fonts/Ubuntu/UbuntuMono-RI.ttf
Normal file
Binary file not shown.
5
build/distributed/fonts/Ubuntu/copyright.txt
Normal file
5
build/distributed/fonts/Ubuntu/copyright.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Copyright 2010,2011 Canonical Ltd.
|
||||
|
||||
This Font Software is licensed under the Ubuntu Font Licence, Version
|
||||
1.0. https://launchpad.net/ubuntu-font-licence
|
||||
|
||||
33
build/distributed/udevrules/99-bloom.rules
Normal file
33
build/distributed/udevrules/99-bloom.rules
Normal file
@@ -0,0 +1,33 @@
|
||||
# Linux udev rules for Bloom - see https://bloom.oscillate.io.
|
||||
# THIS IS AN AUTOMATICALLY GENERATED FILE - ANY CHANGES MADE WILL LIKELY BE LOST!
|
||||
|
||||
SUBSYSTEM=="usb_device", GOTO="bloom_add_usb_device_rules"
|
||||
SUBSYSTEM!="usb", GOTO="bloom_end"
|
||||
|
||||
LABEL="bloom_add_usb_device_rules"
|
||||
|
||||
# Microchip Atmel-ICE
|
||||
ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2141", MODE="0666"
|
||||
|
||||
# Microchip Power Debugger
|
||||
ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2144", MODE="0666"
|
||||
|
||||
# JTAGICE3
|
||||
ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2140", MODE="0666"
|
||||
|
||||
# EDBG - debugger on Xplained Pro
|
||||
ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2111", MODE="0666"
|
||||
|
||||
# mEDBG - debugger on Xplained Mini
|
||||
ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2145", MODE="0666"
|
||||
|
||||
# PKOB nano (nEDBG) - debugger on Curiosity Nano
|
||||
ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2175", MODE="0666"
|
||||
|
||||
# MPLAB PICkit 4 In-Circuit Debugger
|
||||
ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2177", MODE="0666"
|
||||
|
||||
# MPLAB Snap In-Circuit Debugger
|
||||
ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2180", MODE="0666"
|
||||
|
||||
LABEL="bloom_end"
|
||||
@@ -9,11 +9,17 @@
|
||||
|
||||
namespace Bloom\BuildScripts;
|
||||
|
||||
$buildPath = $argv[1] ?? null;
|
||||
if (empty($buildPath)) {
|
||||
print "Missing build path. Aborting\n";
|
||||
die;
|
||||
}
|
||||
|
||||
require_once __DIR__ . "/TargetDescriptionFiles/Factory.php";
|
||||
|
||||
CONST AVR_TDF_DEST_FILE_PATH = __DIR__ . "/../resources/TargetDescriptionFiles/AVR";
|
||||
CONST AVR_TDF_DEST_RELATIVE_FILE_PATH = "../resources/TargetDescriptionFiles/AVR";
|
||||
CONST AVR_TDF_MAPPING_FILE_PATH = AVR_TDF_DEST_FILE_PATH . "/Mapping.json";
|
||||
define("AVR_TDF_DEST_FILE_PATH", $buildPath . "/resources/TargetDescriptionFiles/AVR");
|
||||
define("AVR_TDF_DEST_RELATIVE_FILE_PATH", "../resources/TargetDescriptionFiles/AVR");
|
||||
define("AVR_TDF_MAPPING_FILE_PATH", AVR_TDF_DEST_FILE_PATH . "/Mapping.json");
|
||||
|
||||
// Empty destination directory
|
||||
if (file_exists(AVR_TDF_DEST_FILE_PATH)) {
|
||||
@@ -43,19 +49,19 @@ foreach ($avrTdfs as $avrTdf) {
|
||||
$id = strtolower($strippedTargetName);
|
||||
|
||||
if (in_array($id, $processedTargetIds)) {
|
||||
print "\033[31m" . PHP_EOL;
|
||||
print "FATAL ERROR: duplicate AVR8 target ID detected: " . $id . PHP_EOL . PHP_EOL
|
||||
print "\033[31m" . "\n";
|
||||
print "FATAL ERROR: duplicate AVR8 target ID detected: " . $id . "\n\n"
|
||||
. "TDF Path: " . realpath($avrTdf->filePath);
|
||||
print "\033[0m" . PHP_EOL;
|
||||
print "\033[0m" . "\n";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (!empty(($validationFailures = $avrTdf->validate()))) {
|
||||
print "\033[31m" . PHP_EOL;
|
||||
print "FATAL ERROR: AVR8 TDF failed validation - failure reasons:" . PHP_EOL
|
||||
. implode(PHP_EOL, $validationFailures) . PHP_EOL . PHP_EOL . "TDF Path: "
|
||||
print "\033[31m" . "\n";
|
||||
print "FATAL ERROR: AVR8 TDF failed validation - failure reasons:" . "\n"
|
||||
. implode("\n", $validationFailures) . "\n\n" . "TDF Path: "
|
||||
. realpath($avrTdf->filePath);
|
||||
print "\033[0m" . PHP_EOL;
|
||||
print "\033[0m" . "\n";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user