From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/ttf-fonts/ttf-arphic-uming_20080216.bb | 15 +++ recipes/ttf-fonts/ttf-bitstream-vera_1.10.bb | 26 ++++ .../ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf | 16 +++ recipes/ttf-fonts/ttf-dejavu_2.23.bb | 29 +++++ recipes/ttf-fonts/ttf-gentium/OFL.gz | Bin 0 -> 1963 bytes recipes/ttf-fonts/ttf-gentium_1.02.bb | 132 +++++++++++++++++++++ recipes/ttf-fonts/ttf-hunkyfonts_0.3.0.bb | 15 +++ recipes/ttf-fonts/ttf-liberation_0.2.bb | 16 +++ recipes/ttf-fonts/ttf-sazanami_20040629.bb | 30 +++++ recipes/ttf-fonts/ttf-wqy-zenhei_0.6.26.bb | 19 +++ recipes/ttf-fonts/ttf.inc | 22 ++++ 11 files changed, 320 insertions(+) create mode 100644 recipes/ttf-fonts/ttf-arphic-uming_20080216.bb create mode 100644 recipes/ttf-fonts/ttf-bitstream-vera_1.10.bb create mode 100644 recipes/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf create mode 100644 recipes/ttf-fonts/ttf-dejavu_2.23.bb create mode 100644 recipes/ttf-fonts/ttf-gentium/OFL.gz create mode 100644 recipes/ttf-fonts/ttf-gentium_1.02.bb create mode 100644 recipes/ttf-fonts/ttf-hunkyfonts_0.3.0.bb create mode 100644 recipes/ttf-fonts/ttf-liberation_0.2.bb create mode 100644 recipes/ttf-fonts/ttf-sazanami_20040629.bb create mode 100644 recipes/ttf-fonts/ttf-wqy-zenhei_0.6.26.bb create mode 100644 recipes/ttf-fonts/ttf.inc (limited to 'recipes/ttf-fonts') diff --git a/recipes/ttf-fonts/ttf-arphic-uming_20080216.bb b/recipes/ttf-fonts/ttf-arphic-uming_20080216.bb new file mode 100644 index 0000000000..172dba2db2 --- /dev/null +++ b/recipes/ttf-fonts/ttf-arphic-uming_20080216.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Unicode Mingti (printed) TrueType Font" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/CJKUnifonts" +LICENSE = "${PN}" +SRC_DISTRIBUTE_LICENSES += "${PN}" +RPROVIDES = "virtual/chinese-font" +PR = "r1" + +SRC_URI = \ +"http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_0.2.${PV}.1.orig.tar.gz" +S = "${WORKDIR}" + +require ttf.inc + +FILES_${PN} = "${datadir}" + diff --git a/recipes/ttf-fonts/ttf-bitstream-vera_1.10.bb b/recipes/ttf-fonts/ttf-bitstream-vera_1.10.bb new file mode 100644 index 0000000000..a19d879d0f --- /dev/null +++ b/recipes/ttf-fonts/ttf-bitstream-vera_1.10.bb @@ -0,0 +1,26 @@ +require ttf.inc + +DESCRIPTION = "The Bitstream Vera fonts - TTF Edition" +LICENSE = "Bitstream Vera" +PR = "r6" + +SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-${PV}.tar.bz2" + +do_install () { + install -d ${D}${prefix}/share/fonts/ttf/ + for i in *.ttf; do + install -m 644 $i ${D}${prefix}/share/fonts/ttf/${i} + done + + # fontconfig ships this too. not sure what to do about it. + #install -d ${D}${sysconfdir}/fonts + #install -m 644 local.conf ${D}${sysconfdir}/fonts/local.conf + + + install -d ${D}${prefix}/share/doc/${PN}/ + for i in *.TXT; do + install -m 644 $i ${D}${prefix}/share/doc/${PN}/$i + done +} + +FILES_${PN} = "/etc ${datadir}/fonts" diff --git a/recipes/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf b/recipes/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf new file mode 100644 index 0000000000..9c6e56bf7c --- /dev/null +++ b/recipes/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf @@ -0,0 +1,16 @@ + + + + + DejaVu Serif + serif + + + DejaVu Sans + sans-serif + + + DejaVu Sans Mono + monospace + + diff --git a/recipes/ttf-fonts/ttf-dejavu_2.23.bb b/recipes/ttf-fonts/ttf-dejavu_2.23.bb new file mode 100644 index 0000000000..d0ca64a3bd --- /dev/null +++ b/recipes/ttf-fonts/ttf-dejavu_2.23.bb @@ -0,0 +1,29 @@ +require ttf.inc + +DESCRIPTION = "DejaVu font - TTF Edition" +HOMEPAGE = "http://dejavu.sourceforge.net/wiki/" +LICENSE = "Bitstream Vera" +RDEPENDS = "ttf-dejavu-common" +RDEPENDS_ttf-dejavu-common = "" +PR = "r2" + +SRC_URI = "${SOURCEFORGE_MIRROR}/dejavu/dejavu-fonts-ttf-${PV}.tar.bz2 \ + file://30-dejavu-aliases.conf" + +S = "${WORKDIR}/dejavu-fonts-ttf-${PV}/ttf" + +do_install_append () { + install -d ${D}${sysconfdir}/fonts/conf.d/ + install -m 0644 ${WORKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/ +} + +PACKAGES = "${PN}-dbg ttf-dejavu-sans ttf-dejavu-sans-mono ttf-dejavu-sans-condensed \ + ttf-dejavu-serif ttf-dejavu-serif-condensed ttf-dejavu-common" +RRECOMMENDS_${PN}-dbg = "" + +FILES_ttf-dejavu-sans = "${datadir}/fonts/truetype/DejaVuSans.ttf ${datadir}/fonts/truetype/DejaVuSans-*.ttf" +FILES_ttf-dejavu-sans-mono = "${datadir}/fonts/truetype/DejaVuSansMono*.ttf" +FILES_ttf-dejavu-sans-condensed = "${datadir}/fonts/truetype/DejaVuSansCondensed*.ttf" +FILES_ttf-dejavu-serif = "${datadir}/fonts/truetype/DejaVuSerif.ttf ${datadir}/fonts/truetype/DejaVuSerif-*.ttf" +FILES_ttf-dejavu-serif-condensed = "${datadir}/fonts/truetype/DejaVuSerifCondensed*.ttf" +FILES_ttf-dejavu-common = "${sysconfdir}" diff --git a/recipes/ttf-fonts/ttf-gentium/OFL.gz b/recipes/ttf-fonts/ttf-gentium/OFL.gz new file mode 100644 index 0000000000..7ebada7572 Binary files /dev/null and b/recipes/ttf-fonts/ttf-gentium/OFL.gz differ diff --git a/recipes/ttf-fonts/ttf-gentium_1.02.bb b/recipes/ttf-fonts/ttf-gentium_1.02.bb new file mode 100644 index 0000000000..873ba1638f --- /dev/null +++ b/recipes/ttf-fonts/ttf-gentium_1.02.bb @@ -0,0 +1,132 @@ +require ttf.inc + +DESCRIPTION = "Gentium fonts - TTF Version" +HOMEPAGE = "http://scripts.sil.org/gentium" +LICENSE = "SIL Open Font License" +LICENSE_URL = "http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=OFL" +PR = "r3" + +SRC_URI = "${DEBIAN_MIRROR}/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz \ + file://OFL.gz" + +S = "${WORKDIR}/ttf-sil-gentium-${PV}" + +do_install_append() { + + install -d ${D}${datadir}/doc/ttf-gentium/ + install -d ${D}${datadir}/doc/ttf-gentium-alt/ + + install -m 0644 ${WORKDIR}/OFL ${D}${datadir}/doc/ttf-gentium/ + install -m 0644 ${WORKDIR}/OFL ${D}${datadir}/doc/ttf-gentium-alt/ + +} + +PACKAGES = "${PN}-dbg ${PN} ${PN}-alt" + +FILES_ttf-gentium-alt = "${datadir}/fonts/truetype/GenAI*.ttf \ + ${datadir}/fonts/truetype/GenAR*.ttf \ + ${datadir}/doc/ttf-gentium-alt/*" + +FILES_${PN} = "${datadir}/fonts/truetype/GenI*.ttf \ + ${datadir}/fonts/truetype/GenR*.ttf \ + ${datadir}/doc/ttf-gentium/*" + +# +# License +# +# Gentium is released under the SIL Open Font License - please read it carefully +# and do not download the fonts unless you agree to the terms of the license: +# +# This Font Software is Copyright (c) 2003-2005, SIL International +# (http://scripts.sil.org/). All Rights Reserved. +# +# "Gentium" is a Reserved Font Name for this Font Software. "SIL" is a Reserved +# Font Name for this Font Software. +# +# This Font Software is licensed under the SIL Open Font License, Version 1.0. No +# modification of the license is permitted, only verbatim copy is allowed. This +# license is copied below, and is also available with a FAQ +# at:http://scripts.sil.org/OFL SIL OPEN FONT LICENSE +# +# Version 1.0 - 22 November 2005 +# +# PREAMBLE +# +# The goals of the Open Font License (OFL) are to stimulate worldwide development +# of cooperative font projects, to support the font creation efforts of academic +# and linguistic communities, and to provide an open framework in which fonts may +# be shared and improved in partnership with others. +# +# The OFL allows the licensed fonts to be used, studied, modified and +# redistributed freely as long as they are not sold by themselves. The fonts, +# including any derivative works, can be bundled, embedded, redistributed and +# sold with any software provided that the font names of derivative works are +# changed. The fonts and derivatives, however, cannot be released under any other +# type of license. +# +# DEFINITIONS +# +# "Font Software" refers to any and all of the following: +# +# * font files data files source code build scripts documentation +# +# "Reserved Font Name" refers to the Font Software name as seen by users and any +# other names as specified after the copyright statement. +# +# "Standard Version" refers to the collection of Font Software components as +# distributed by the Copyright Holder. +# +# "Modified Version" refers to any derivative font software made by adding to, +# deleting, or substituting -- in part or in whole -- any of the components of +# the Standard Version, by changing formats or by porting the Font Software to a +# new environment. +# +# "Author" refers to any designer, engineer, programmer, technical writer or +# other person who contributed to the Font Software. +# +# PERMISSION & CONDITIONS +# +# Permission is hereby granted, free of charge, to any person obtaining a copy of +# the Font Software, to use, study, copy, merge, embed, modify, redistribute, and +# sell modified and unmodified copies of the Font Software, subject to the +# following conditions: +# +# 1) Neither the Font Software nor any of its individual components, in Standard +# or Modified Versions, may be sold by itself. +# +# 2) Standard or Modified Versions of the Font Software may be bundled, +# redistributed and sold with any software, provided that each copy contains the +# above copyright notice and this license. 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. +# +# 3) No Modified Version of the Font Software may use the Reserved Font Name(s), +# in part or in whole, unless explicit written permission is granted by the +# Copyright Holder. This restriction applies to all references stored in the Font +# Software, such as the font menu name and other font description fields, which +# are used to differentiate the font from others. +# +# 4) The name(s) of the Copyright Holder or the Author(s) of the Font Software +# shall not be used to promote, endorse or advertise any Modified Version, except +# to acknowledge the contribution(s) of the Copyright Holder and the Author(s) or +# with their explicit written permission. +# +# 5) The Font Software, modified or unmodified, in part or in whole, must be +# distributed using this license, and may not be distributed under any other +# license. +# +# TERMINATION +# +# This license 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. diff --git a/recipes/ttf-fonts/ttf-hunkyfonts_0.3.0.bb b/recipes/ttf-fonts/ttf-hunkyfonts_0.3.0.bb new file mode 100644 index 0000000000..0987af58ee --- /dev/null +++ b/recipes/ttf-fonts/ttf-hunkyfonts_0.3.0.bb @@ -0,0 +1,15 @@ +require ttf.inc + +DESCRIPTION = "Hunky fonts - TTF Version" +HOMEPAGE = "http://sourceforge.net/projects/hunkyfonts" +LICENSE = "LGPL" +PR = "r3" + +SRC_URI = "${SOURCEFORGE_MIRROR}/hunkyfonts/hunkyfonts-${PV}.tar.bz2" + +S = "${WORKDIR}/hunkyfonts-${PV}/TTF/" + +PACKAGES = "${PN}-dbg ttf-hunky-sans ttf-hunky-serif" +RRECOMMENDS_${PN}-dbg = "" +FILES_ttf-hunky-sans = "${datadir}/fonts/truetype/HunkySans*.ttf" +FILES_ttf-hunky-serif = "${datadir}/fonts/truetype/HunkySerif*.ttf" diff --git a/recipes/ttf-fonts/ttf-liberation_0.2.bb b/recipes/ttf-fonts/ttf-liberation_0.2.bb new file mode 100644 index 0000000000..c9737152da --- /dev/null +++ b/recipes/ttf-fonts/ttf-liberation_0.2.bb @@ -0,0 +1,16 @@ +require ttf.inc + +DESCRIPTION = "Liberation fonts - TTF Version" +HOMEPAGE = "https://www.redhat.com/promo/fonts/" +LICENSE = "Liberation" +PR = "r3" + +SRC_URI = "http://fedorahosted.org/liberation-fonts/export/807b6dfd069b998cd9b4d3158da98817ef23c79d/F-9/liberation-fonts-ttf-3.tar.gz" +S = "${WORKDIR}/liberation-fonts-${PV}" + +PACKAGES = "${PN}-dbg ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif" +RRECOMMENDS_${PN}-dbg = "" + +FILES_ttf-liberation-mono = "${datadir}/fonts/truetype/*Mono*" +FILES_ttf-liberation-sans = "${datadir}/fonts/truetype/*Sans*" +FILES_ttf-liberation-serif = "${datadir}/fonts/truetype/*Serif*" diff --git a/recipes/ttf-fonts/ttf-sazanami_20040629.bb b/recipes/ttf-fonts/ttf-sazanami_20040629.bb new file mode 100644 index 0000000000..852966ac58 --- /dev/null +++ b/recipes/ttf-fonts/ttf-sazanami_20040629.bb @@ -0,0 +1,30 @@ +require ttf.inc + +DESCRIPTION = "Sazanami Gothic/Mincho Japanese TrueType fonts" +DESCRIPTION_ttf-sazanami-gothic = "Sazanami Gothic Japanese TrueType font" +DESCRIPTION_ttf-sazanami-mincho = "Sazanami Mincho Japanese TrueType font" +AUTHOR = "Electronic Font Open Laboratory (/efont/)" +HOMEPAGE = "http://sourceforge.jp/projects/efont/" +LICENSE = "${PN}" +SRC_DISTRIBUTE_LICENSES += "${PN}" +RPROVIDES = "virtual/japanese-font" +PR = "r4" + +SRC_URI = "http://download.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2" +S = "${WORKDIR}/sazanami-20040629" + +PACKAGES = "${PN}-dbg ttf-sazanami-gothic ttf-sazanami-mincho" +RRECOMMENDS_${PN}-dbg = "" +FILES_ttf-sazanami-gothic = "${datadir}/fonts/truetype/sazanami-gothic.ttf \ + ${datadir}/doc/ttf-sazanami-gothic/README" +FILES_ttf-sazanami-mincho = "${datadir}/fonts/truetype/sazanami-mincho.ttf \ + ${datadir}/doc/ttf-sazanami-mincho/README" + +do_install_append() { + # README contains the redistribution license + install -d ${D}${datadir}/doc/ + install -d ${D}${datadir}/doc/ttf-sazanami-gothic + install -d ${D}${datadir}/doc/ttf-sazanami-mincho + install -m 0644 ${S}/README ${D}${datadir}/doc/ttf-sazanami-gothic + install -m 0644 ${S}/README ${D}${datadir}/doc/ttf-sazanami-mincho +} diff --git a/recipes/ttf-fonts/ttf-wqy-zenhei_0.6.26.bb b/recipes/ttf-fonts/ttf-wqy-zenhei_0.6.26.bb new file mode 100644 index 0000000000..873179d6a6 --- /dev/null +++ b/recipes/ttf-fonts/ttf-wqy-zenhei_0.6.26.bb @@ -0,0 +1,19 @@ +require ttf.inc + +DESCRIPTION = "WenQuanYi Zen Hei - A Hei-Ti Style Chinese font" +AUTHOR = "Qianqian Fang and The WenQuanYi Project Contributors" +HOMEPAGE = "http://wqy.sourceforge.net/en/" +LICENSE = "GPLv2" + +SRC_URI = "${SOURCEFORGE_MIRROR}/wqy/wqy-zenhei-${PV}-0.tar.gz" +S = "${WORKDIR}/wqy-zenhei" + +do_install_append () { + install -d ${D}${sysconfdir}/fonts/conf.d/ + install -m 0644 ${S}/44-wqy-zenhei.conf ${D}${sysconfdir}/fonts/conf.d/ + install -m 0644 ${S}/66-wqy-zenhei-sharp.conf ${D}${sysconfdir}/fonts/conf.d/ +} + +PACKAGES = "${PN}" + +FILES_${PN} = "${datadir}/fonts ${sysconfdir}" diff --git a/recipes/ttf-fonts/ttf.inc b/recipes/ttf-fonts/ttf.inc new file mode 100644 index 0000000000..3c04f1b320 --- /dev/null +++ b/recipes/ttf-fonts/ttf.inc @@ -0,0 +1,22 @@ +DESCRIPTION ?= "TrueType font package ${PN}" +SECTION = "fonts" +PRIORITY = "optional" +RRECOMMENDS += "font-update-common" + +# we don't need a compiler nor a c library for these fonts +INHIBIT_DEFAULT_DEPS = "1" + +do_install() { + install -d ${D}${datadir}/fonts/truetype/ + find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \; +} + +pkg_postinst_append() { + update-fonts +} + +pkg_postrm_append() { + update-fonts +} + +PACKAGE_ARCH = "all" -- cgit v1.2.3