diff options
| author | Jonathan Liu <net147@gmail.com> | 2015-07-02 00:08:57 +1000 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-07-16 21:09:10 +0200 |
| commit | 85b77d67cd37ddd755782158d058416607852edc (patch) | |
| tree | 848550c9638291be9f05d0e2b9eb721d760b1b7a | |
| parent | bad783e4601fcc2647a2728f56e1681299ea3d90 (diff) | |
| download | meta-openembedded-85b77d67cd37ddd755782158d058416607852edc.tar.gz | |
ttf-tlwg: new recipe
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | meta-oe/licenses/TLWG | 150 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb | 27 |
2 files changed, 177 insertions, 0 deletions
diff --git a/meta-oe/licenses/TLWG b/meta-oe/licenses/TLWG new file mode 100644 index 0000000000..a124184ad0 --- /dev/null +++ b/meta-oe/licenses/TLWG | |||
| @@ -0,0 +1,150 @@ | |||
| 1 | This package collects Thai scalable fonts available in free licenses, and | ||
| 2 | maintains and distributes them under GNU General Public License with | ||
| 3 | original authors' permissions. | ||
| 4 | |||
| 5 | Some fonts cannot be GPL, because they are based on fonts with different | ||
| 6 | licenses. See the list of such fonts at the end of this file. | ||
| 7 | |||
| 8 | Copyright: | ||
| 9 | |||
| 10 | - Kinnari: | ||
| 11 | |||
| 12 | Copyright (C) 1999 Db Type. All Rights Reserved. | ||
| 13 | Copyright (C) 2007 National Electronics and Computer Technology Center. | ||
| 14 | All Rights Reserved. | ||
| 15 | |||
| 16 | - Garuda: | ||
| 17 | |||
| 18 | Generated by NECTEC for Public Domain. | ||
| 19 | Modified under GNU General Public License by TLWG. | ||
| 20 | |||
| 21 | - Norasi: | ||
| 22 | |||
| 23 | Copyright (C) 1999, The National Font Project (v.beta). | ||
| 24 | Yannis Haralambous, Virach Sornlertlamvanich and Anutara Tantraporn. | ||
| 25 | All rights reserved. | ||
| 26 | Modified under GNU General Public License, with creators' permission, | ||
| 27 | by Thai Linux Working Group (TLWG). | ||
| 28 | |||
| 29 | - Loma: | ||
| 30 | |||
| 31 | Copyright (C) 2003, NECTEC. All rights reserved. | ||
| 32 | |||
| 33 | - TlwgMono: | ||
| 34 | |||
| 35 | Copyright (C) 2003 Poonlap Veerathanabutr <poonlap@linux.thai.net> | ||
| 36 | |||
| 37 | - Tlwg Typewriter: | ||
| 38 | |||
| 39 | Copyright (C) 2003, 2004 Poonlap Veerathanabutr <poonlap@linux.thai.net> | ||
| 40 | |||
| 41 | - Tlwg Typist: | ||
| 42 | |||
| 43 | Tlwg Typist, based on Poonlap Veerathanabutr's Tlwg Typewriter. | ||
| 44 | |||
| 45 | Copyright (C) 2005-2006 Theppitak Karoonboonyanan. Tlwg Typewriter, | ||
| 46 | Free Thai Pseudo Monospace outline font. | ||
| 47 | |||
| 48 | Copyright (C) 2003, 2004 Poonlap Veerathanabutr <poonlap@linux.thai.net> | ||
| 49 | |||
| 50 | - Purisa: | ||
| 51 | |||
| 52 | Copyright (C) 2003, 2004 Poonlap Veerathanabutr | ||
| 53 | <poonlap@linux.thai.net>, GPL license | ||
| 54 | |||
| 55 | - Sawasdee: | ||
| 56 | |||
| 57 | Copyright (C) 2007 Pol Udomwittayanukul <webnaipol@gmail.com>. | ||
| 58 | All rights reserved. | ||
| 59 | |||
| 60 | - Umpush: | ||
| 61 | |||
| 62 | Copyright (C) 2003 NECTEC. All rights reserved. | ||
| 63 | Copyright (c) 2007 Widhaya Trisarnwadhana <widhaya3@gmail.com>. | ||
| 64 | All rights reserved. | ||
| 65 | |||
| 66 | License: | ||
| 67 | |||
| 68 | This font is free software; you can redistribute it and/or modify it | ||
| 69 | under the terms of the GNU General Public License as published by the | ||
| 70 | Free Software Foundation; either version 2 of the License, or (at your | ||
| 71 | option) any later version. | ||
| 72 | |||
| 73 | This font is distributed in the hope that it will be useful, but | ||
| 74 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 75 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 76 | General Public License for more details. | ||
| 77 | |||
| 78 | You should have received a copy of the GNU General Public License | ||
| 79 | along with this font; if not, write to the Free Software Foundation, | ||
| 80 | Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 81 | |||
| 82 | As a special exception, if you create a document which uses this font, | ||
| 83 | and embed this font or unaltered portions of this font into the | ||
| 84 | document, this font does not by itself cause the resulting document | ||
| 85 | to be covered by the GNU General Public License. This exception does | ||
| 86 | not however invalidate any other reasons why the document might be | ||
| 87 | covered by the GNU General Public License. If you modify this font, | ||
| 88 | you may extend this exception to your version of the font, but you | ||
| 89 | are not obligated to do so. If you do not wish to do so, delete this | ||
| 90 | exception statement from your version. | ||
| 91 | |||
| 92 | See included GPL file for the GNU General Public License (GPL) terms. | ||
| 93 | |||
| 94 | |||
| 95 | * Non-GPL Fonts: | ||
| 96 | |||
| 97 | - Waree: | ||
| 98 | |||
| 99 | Copyright: | ||
| 100 | |||
| 101 | Copyright (C) 2003 by Bitstream, Inc. All Rights Reserved. | ||
| 102 | TLWG changes are in public domain. | ||
| 103 | |||
| 104 | Bitstream Vera is a trademark of Bitstream, Inc. | ||
| 105 | |||
| 106 | License: | ||
| 107 | |||
| 108 | Permission is hereby granted, free of charge, to any person obtaining | ||
| 109 | a copy of the fonts accompanying this license ("Fonts") and associated | ||
| 110 | documentation files (the "Font Software"), to reproduce and distribute | ||
| 111 | the Font Software, including without limitation the rights to use, | ||
| 112 | copy, merge, publish, distribute, and/or sell copies of the Font | ||
| 113 | Software, and to permit persons to whom the Font Software is furnished | ||
| 114 | to do so, subject to the following conditions: | ||
| 115 | |||
| 116 | The above copyright and trademark notices and this permission notice | ||
| 117 | shall be included in all copies of one or more of the Font Software | ||
| 118 | typefaces. | ||
| 119 | |||
| 120 | The Font Software may be modified, altered, or added to, and in | ||
| 121 | particular the designs of glyphs or characters in the Fonts may be | ||
| 122 | modified and additional glyphs or characters may be added to the | ||
| 123 | Fonts, only if the fonts are renamed to names not containing either | ||
| 124 | the words "Bitstream" or the word "Vera". | ||
| 125 | |||
| 126 | This License becomes null and void to the extent applicable to Fonts | ||
| 127 | or Font Software that has been modified and is distributed under the | ||
| 128 | "Bitstream Vera" names. | ||
| 129 | |||
| 130 | The Font Software may be sold as part of a larger software package | ||
| 131 | but no copy of one or more of the Font Software typefaces may be sold | ||
| 132 | by itself. | ||
| 133 | |||
| 134 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
| 135 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF | ||
| 136 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT | ||
| 137 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL | ||
| 138 | BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR | ||
| 139 | OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, | ||
| 140 | OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR | ||
| 141 | OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT | ||
| 142 | SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. | ||
| 143 | |||
| 144 | Except as contained in this notice, the names of Gnome, the Gnome | ||
| 145 | Foundation, and Bitstream Inc., shall not be used in advertising or | ||
| 146 | otherwise to promote the sale, use or other dealings in this Font | ||
| 147 | Software without prior written authorization from the Gnome Foundation | ||
| 148 | or Bitstream Inc., respectively. For further information, contact: | ||
| 149 | fonts at gnome dot org. | ||
| 150 | |||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb new file mode 100644 index 0000000000..06a3fe5338 --- /dev/null +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | require ttf.inc | ||
| 2 | |||
| 3 | SUMMARY = "Thai Linux Working Group Fonts" | ||
| 4 | AUTHOR = "Thai Linux Working Group" | ||
| 5 | HOMEPAGE = "http://linux.thai.net/projects/fonts-tlwg" | ||
| 6 | LICENSE = "GPLv2 & TLWG" | ||
| 7 | LIC_FILES_CHKSUM = "file://../fonts-tlwg-${PV}/COPYING;md5=3d20cd7eadf4afd5460c0adb32e387fd" | ||
| 8 | |||
| 9 | SRC_URI = "http://linux.thai.net/pub/ThaiLinux/software/fonts-tlwg/fonts-tlwg-${PV}.tar.xz;name=source \ | ||
| 10 | http://linux.thai.net/pub/ThaiLinux/software/ttf-tlwg/ttf-tlwg-${PV}.tar.xz;name=ttf" | ||
| 11 | SRC_URI[source.md5sum] = "5ea5bc964d992df0428f2e0b85f48400" | ||
| 12 | SRC_URI[source.sha256sum] = "77fb9832221fde60c9f683ac3fdce7d45ab6e9c0d83df83da969a3fe9faba537" | ||
| 13 | SRC_URI[ttf.md5sum] = "1bc51f45a7b661404a944fab6911261c" | ||
| 14 | SRC_URI[ttf.sha256sum] = "aa9cd68969b6f704df3e5b1a2e11204c47f118c8ab052f04c111bd5f299f77c8" | ||
| 15 | |||
| 16 | do_install_append () { | ||
| 17 | install -d ${D}${sysconfdir}/fonts/conf.d | ||
| 18 | |||
| 19 | for x in ${S}/etc/fonts/conf.avail/*.conf; do | ||
| 20 | install -m 0644 $x ${D}${sysconfdir}/fonts/conf.d/ | ||
| 21 | done | ||
| 22 | } | ||
| 23 | |||
| 24 | PACKAGES = "${PN}" | ||
| 25 | FONT_PACKAGES = "${PN}" | ||
| 26 | |||
| 27 | FILES_${PN} = "${datadir}/fonts ${sysconfdir}" | ||
