summaryrefslogtreecommitdiffstats
path: root/package/googlefontdirectory
Commit message (Collapse)AuthorAgeFilesLines
* package/googlefontdirectory: better solution to avoid check-package warningYann E. MORIN2019-02-111-5/+4
| | | | | | | | | | Rather than tell check-package to ignore a false-positive issue, just avoid the issue to begin with, by using an intermediate variable to construct the list of licenses. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/googlefontdirectory: silence false positive check-package warningThomas Petazzoni2019-02-071-0/+1
| | | | | | | | | | | | check-package OverriddenVariable check believes we are overriding the value of GOOGLEFONTDIRECTORY_LICENSE, but in fact we are not. Let's tell check-package not to complain about this. Fixes: package/googlefontdirectory/googlefontdirectory.mk:28: unconditional override of variable GOOGLEFONTDIRECTORY_LICENSE previously conditionally set Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/googlefontdirectory: change to Google Fonts repoBartosz Bilas2019-02-063-14/+1023
| | | | | | | | | | | | | | | | | | | | | | | | | | | The current repository doesn't include new fonts, so this commit changes the package to use the new official google github repository which contains a lot of new available fonts. The fonts are now organized in sub-folders per license, so we have to take into this into account, and the BR2_PACKAGE_GOOGLEFONTDIRECTORY_FONTS should now contain values such as ufl/ubuntu or ofl/marvel. Because the different fonts have different license files, we really need to use each per-font license file, which explains why we have so many hashes in the .hash file. The list of licenses and license files is automatically derived from the list of fonts in BR2_PACKAGE_GOOGLEFONTDIRECTORY_FONTS. Note that a very small set of fonts (~15 among 1000+ fonts) lack a license file, so if those fonts are used, legal-info will fail because the expected license file doesn't exist. We consider this as a bug that should be reported upstream, because each font should have a license file. While we're at it, we use a foreach loop to install the fonts. Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package: use SPDX short identifier for OFL licenseRahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for OFLv1.0/OFLv1.1 is OFL-1.0/OFL-1.1. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/OFLv([1]\.[0-1])/OFL-\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* googlefontdirectory: add hash fileFabio Porcedda2016-04-131-0/+2
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* googlefontdirectory: add error handling to for loopThomas Petazzoni2014-12-011-1/+1
| | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: use if/endif instead of 'depends on' for main symbolThomas De Schampheleire2013-12-251-1/+4
| | | | | | | | | | | | | | | | | | | | | | | In the Config.in file of package foo, it often happens that there are other symbols besides BR2_PACKAGE_FOO. Typically, these symbols only make sense when foo itself is enabled. There are two ways to express this: with depends on BR2_PACKAGE_FOO in each extra symbol, or with if BR2_PACKAGE_FOO ... endif around the entire set of extra symbols. The if/endif approach avoids the repetition of 'depends on' statements on multiple symbols, so this is clearly preferred. But even when there is only one extra symbol, if/endif is a more logical choice: - it is future-proof for when extra symbols are added - it allows to have just one strategy instead of two (less confusion) This patch modifies the Config.in files accordingly. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove uninstall commandsThomas De Schampheleire2013-12-061-4/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* googlefontdirectory: new packageSimon Dawson2012-10-112-0/+40
Note that the Google code project does not provide an archive containing just the font files. This package uses the third party archive provided at http://joemaller.com/1856/download-google-fonts/ Further information is available at the following URL. http://code.google.com/p/googlefontdirectory/issues/detail?id=2 [Peter: drop version, fix install and simplify uninstall] Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud