From b8894652c8b9160c959410bc2c8f796eff366204 Mon Sep 17 00:00:00 2001 From: Vijay Marcel Date: Fri, 29 Sep 2023 22:50:19 +0700 Subject: system/ttf-babelstone-cjk: Added (Babelstone CJK Fonts). Signed-off-by: Willy Sudiarto Raharjo --- system/ttf-babelstone-cjk/APL.txt | 58 ++++++++ system/ttf-babelstone-cjk/BabelStoneOFL.txt | 94 +++++++++++++ system/ttf-babelstone-cjk/README | 5 + system/ttf-babelstone-cjk/copyright | 13 ++ system/ttf-babelstone-cjk/copyright2 | 6 + system/ttf-babelstone-cjk/doinst.sh | 13 ++ system/ttf-babelstone-cjk/readme_fonts | 147 +++++++++++++++++++++ system/ttf-babelstone-cjk/slack-desc | 19 +++ .../ttf-babelstone-cjk.SlackBuild | 88 ++++++++++++ system/ttf-babelstone-cjk/ttf-babelstone-cjk.info | 56 ++++++++ 10 files changed, 499 insertions(+) create mode 100644 system/ttf-babelstone-cjk/APL.txt create mode 100644 system/ttf-babelstone-cjk/BabelStoneOFL.txt create mode 100644 system/ttf-babelstone-cjk/README create mode 100644 system/ttf-babelstone-cjk/copyright create mode 100644 system/ttf-babelstone-cjk/copyright2 create mode 100644 system/ttf-babelstone-cjk/doinst.sh create mode 100644 system/ttf-babelstone-cjk/readme_fonts create mode 100644 system/ttf-babelstone-cjk/slack-desc create mode 100644 system/ttf-babelstone-cjk/ttf-babelstone-cjk.SlackBuild create mode 100644 system/ttf-babelstone-cjk/ttf-babelstone-cjk.info (limited to 'system') diff --git a/system/ttf-babelstone-cjk/APL.txt b/system/ttf-babelstone-cjk/APL.txt new file mode 100644 index 0000000000000..c1aba41d3f5f3 --- /dev/null +++ b/system/ttf-babelstone-cjk/APL.txt @@ -0,0 +1,58 @@ +ARPHIC PUBLIC LICENSE + +Copyright (C) 1999 Arphic Technology Co., Ltd. +11Fl. No.168, Yung Chi Rd., Taipei, 110 Taiwan +All rights reserved except as specified below. + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is forbidden. + +Preamble + + The licenses for most software are designed to take away your freedom to share and change it. By contrast, the ARPHIC PUBLIC LICENSE specifically permits and encourages you to use this software, provided that you give the recipients all the rights that we gave you and make sure they can get the modifications of this software. + +Legal Terms + +0. Definitions: + Throughout this License, "Font" means the TrueType fonts "AR PL Mingti2L Big5", "AR PL KaitiM Big5" (BIG-5 character set) and "AR PL SungtiL GB", "AR PL KaitiM GB" (GB character set) which are originally distributed by Arphic, and the derivatives of those fonts created through any modification including modifying glyph, reordering glyph, converting format, changing font name, or adding/deleting some characters in/from glyph table. + + "PL" means "Public License". + + "Copyright Holder" means whoever is named in the copyright or copyrights for the Font. + + "You" means the licensee, or person copying, redistributing or modifying the Font. + + "Freely Available" means that you have the freedom to copy or modify the Font as well as redistribute copies of the Font under the same conditions you received, not price. If you wish, you can charge for this service. + +1. Copying & Distribution + You may copy and distribute verbatim copies of this Font in any medium, without restriction, provided that you retain this license file (ARPHICPL.TXT) unaltered in all copies. + +2. Modification + You may otherwise modify your copy of this Font in any way, including modifying glyph, reordering glyph, converting format, changing font name, or adding/deleting some characters in/from glyph table, and copy and distribute such modifications under the terms of Section 1 above, provided that the following conditions are met: + + a) You must insert a prominent notice in each modified file stating how and when you changed that file. + + b) You must make such modifications Freely Available as a whole to all third parties under the terms of this License, such as by offering access to copy the modifications from a designated place, or distributing the modifications on a medium customarily used for software interchange. + + c) If the modified fonts normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the Font under these conditions, and telling the user how to view a copy of this License. + + These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Font, and can be reasonably considered independent and separate works in themselves, then this License and its terms, do not apply to those sections when you distribute them as separate works. Therefore, mere aggregation of another work not based on the Font with the Font on a volume of a storage or distribution medium does not bring the other work under the scope of this License. + +3. Condition Subsequent + You may not copy, modify, sublicense, or distribute the Font except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Font will automatically retroactively void your rights under this License. However, parties who have received copies or rights from you under this License will keep their licenses valid so long as such parties remain in full compliance. + +4. Acceptance + You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to copy, modify, sublicense or distribute the Font. These actions are prohibited by law if you do not accept this License. Therefore, by copying, modifying, sublicensing or distributing the Font, you indicate your acceptance of this License and all its terms and conditions. + +5. Automatic Receipt + Each time you redistribute the Font, the recipient automatically receives a license from the original licensor to copy, distribute or modify the Font subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. + +6. Contradiction + If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Font at all. For example, if a patent license would not permit royalty-free redistribution of the Font by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Font. + + If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. + +7. NO WARRANTY + BECAUSE THE FONT IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE FONT, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS OR OTHER PARTIES PROVIDE THE FONT "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE FONT IS WITH YOU. SHOULD THE FONT PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +8. DAMAGES WAIVER + UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, IN NO EVENT WILL ANY COPYRIGHTT HOLDERS, OR OTHER PARTIES WHO MAY COPY, MODIFY OR REDISTRIBUTE THE FONT AS PERMITTED ABOVE, BE LIABLE TO YOU FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, INCIDENTAL, SPECIAL OR EXEMPLARY DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE FONT (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA OR PROFITS; OR BUSINESS INTERRUPTION), EVEN IF SUCH HOLDERS OR OTHER PARTIES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. diff --git a/system/ttf-babelstone-cjk/BabelStoneOFL.txt b/system/ttf-babelstone-cjk/BabelStoneOFL.txt new file mode 100644 index 0000000000000..ef758932abad8 --- /dev/null +++ b/system/ttf-babelstone-cjk/BabelStoneOFL.txt @@ -0,0 +1,94 @@ +Copyright (c) 2013, Andrew West (www.babelstone.co.uk), +with Reserved Font Name BabelStone. + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +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/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"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. + +"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 Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or 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) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) 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(s) 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 entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +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/system/ttf-babelstone-cjk/README b/system/ttf-babelstone-cjk/README new file mode 100644 index 0000000000000..849bc0af07681 --- /dev/null +++ b/system/ttf-babelstone-cjk/README @@ -0,0 +1,5 @@ +Babelstone fonts is created by Andrew West. This package +contains the chinese fonts along with regional variants. +It covers Han,Jurchen,Khitan,Tangut,Sui,Naxi Dongba and Yi +scripts.It also covers Hanzi,Kanji and Hanja. + diff --git a/system/ttf-babelstone-cjk/copyright b/system/ttf-babelstone-cjk/copyright new file mode 100644 index 0000000000000..0a7deeeffd779 --- /dev/null +++ b/system/ttf-babelstone-cjk/copyright @@ -0,0 +1,13 @@ +Tangut Yinchuan v. 15.102 copyright Prof. Jing Yongshi + +Tangut yinchuan Font is made available for free download +and use with the permission of Prof. Jing Yongshi, who +reserves the copyright to the font. This font may not be +modified, sold or redistributed for profit without the express +permission of the copyright holders. If you use this font in +a publication you are requested to +acknowledge Prof. Jing Yongshi's copyright of the font. + +The font is maintained by Andrew West, and any feature requests +or bug reports should be directed to Andrew West by email +Email: babelstone@gmail.com diff --git a/system/ttf-babelstone-cjk/copyright2 b/system/ttf-babelstone-cjk/copyright2 new file mode 100644 index 0000000000000..91eea19f45788 --- /dev/null +++ b/system/ttf-babelstone-cjk/copyright2 @@ -0,0 +1,6 @@ +BabelStone Fonts Copyright Andrew West + +These fonts are free to use for personal or commercial purposes, +and you are also free to redistribute them by themself or as part +of a free or commercial software package, just as long as you +do not sell the fonts on its own. diff --git a/system/ttf-babelstone-cjk/doinst.sh b/system/ttf-babelstone-cjk/doinst.sh new file mode 100644 index 0000000000000..5941fa3c7dc7b --- /dev/null +++ b/system/ttf-babelstone-cjk/doinst.sh @@ -0,0 +1,13 @@ +# Update the X font indexes: +if [ -x /usr/bin/mkfontdir ]; then + ( cd /usr/share/fonts/TTF + mkfontscale . + mkfontdir . + ) +fi + +[ "$DISPLAY" != "" ] && xset fp rehash 2>/dev/null + +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi diff --git a/system/ttf-babelstone-cjk/readme_fonts b/system/ttf-babelstone-cjk/readme_fonts new file mode 100644 index 0000000000000..473b73a9ea4cb --- /dev/null +++ b/system/ttf-babelstone-cjk/readme_fonts @@ -0,0 +1,147 @@ +ttf-babelstone-cjk contains the following fonts: + +Babelstonehan: + +It is a free Unicode CJK font with over 56,000 Han +characters (hanzi, kanji, hanja), and 64,973 Unicode +characters in total. It is a Song/Ming style font. +with glyphs modelled on the official character forms +used in the People's Republic of China, and is primarily +intended for writing Modern Standard Chinese, +Classical Chinese, and various Sinitic languages and dialects. +The font also includes many rare or archaic characters that are +not found in most CJK fonts, as well as many characters used for +the scholarly transcription of Early Chinese texts written on +bone, bronze, wood, bamboo, and silk. + +Babelstonehan PUA: + +it includes 4,444 unencoded CJK ideographs and ideographic +components in the PUA, in the range U+E080 through U+F8DF. + +BabelStone Erijan 1 and 2: + +BabelStone Erjian 1 and 2 are two Unicode Han fonts +using the draft second stage simplified forms of characters. +Both fonts cover 8,157 high-frequency Hanzi, comprising +8,105 Level 1, Level 2 and Level 3 characters listed in +Tōngyòng Guīfàn Hànzì Zìdiǎn.and 52 other characters. +"BabelStone Erjian 1" uses second stage simplified glyph +forms for the characters listed in Table 1 only; whereas +"BabelStone Erjian 2" uses second stage simplified glyph +forms for the characters listed in Table 1 and Table 2 +(where the glyph for the same character differs between +Table 1 and Table 2, the form given in Table 2 is used). + +Babelstone Jurchen Scan PUA fonts: + +urchen Berlin, Jurchen Tianyige, and Jurchen Toyo Bunko +are three Jurchen fonts with glyphs scanned from the +Jurchen section of three copies of the Ming dynasty Huáyí Yìyǔ. + "Sino-Foreign Vocabulary" (i.e. the Sino-Jurchen Vocabulary). +Jurchen Berlin is derived from the manuscript copy held at the +Berlin State Library (Staatsbibliothek zu Berlin) +(pressmark Libri sin. Hirth Ms. 1); +Jurchen Tianyige is derived from the Ming dynasty +woodblock printed edition held at the Tiānyīgé +library in Níngbō (pressmark 善0376); +Jurchen Toyo Bunko is the manuscript copy held at the +Tōyō Bunko (東洋文庫) in Tokyo (presssmark XI-5-2). +There is currently no scan font for the manuscript +copy held at the National Library of China +in Běijīng (pressmark 10507). The characters are mapped +non-contiguously to the PUA at E000..E6FA +(matching the code points in my private Jurchen font). + +Babelstone Khitan Large scropt PUA fonts: + +it is an experimental font containing 1,469 Khitan +Large Script glyphs, mapped to the PUA at E000..E5BC. +This font is being developed as I slowly go through +all Khitan Large Script sources, and will continue to grow. +The glyphs are not ordered in the font, +but have been added sequentially as I encounter +each new character form. In addition, very many of the +glyphs are variant forms of the same character, +often trivial variants. + +Babelstone Khitan small script fonts: + +It is a Unicode font supporting the 470 Khitan Small Script +characters which were encoded in Unicode version 13.0 (March 2020). +This font does not support cluster composition, but is intended +for displaying individual glyphs in horizontal linear layout +as used in Daniel Kane's The Kitan Language and Script (Brill, 2009). +This font uses a Chinese (Song/Ming) style of glyphs which is +not attested in surviving examples of Khitan +small script text (mostly epitaphs engraved on stone tablets). + +It also contains font for for the thirty-six seal script style +Khitan small script characters which are engraved on the covers +for the eulogies for Emperor Daozong and Empress Xuanyi + +BabelStone Naxi Dongba PUA Fonts: + +It is a scan font covering 2,162 glyphs for the +Naxi Dongba (Naxi Tomba) script. The glyphs are +derived from Lǐ Líncàn's 李霖灿 Nàxīzú +xiàngxíng biāo yīn wénzì zìdiǎn 纳西族象形标音文字字典 +[Naxi Pictographic Symbols Dictionary] +(Kunming: Yunnan minzu chubanshe, 2001) +[ISBN 7-5367-2126-9]. The 2,120 glyphs at E000..E849 are the main +entries in the dictionary, and the 42 glyphs at +F000..F029 are variant glyphs for some of the main entries. + +Babelstone Sui (Shuishu) PUA Fonts: + +These are a set of scan fonts covering Sui +(Shuishu 水书) characters listed in various +printed sources, with characters mapped to +the Unicode Private Use Area (PUA). + +Babelstone Tangut Scan Fonts: + +These are a set of fonts covering Tangut glyphs from +various sources, mapped to the PUA. The fonts were created +from scanned images of the source glyphs, and the quality +of the resultant font glyphs is generally quite poor. These fonts +are not intended for use in typesetting Tangut text, but were +created in order to facilitate mapping of Tangut characters +between sources. + +BabelStone Tangut Wenhai Font: + +BabelStone Tangut Wenhai is a Unicode Tangut font covering +3,061 of the 6,125 Tangut ideographs encoded in Unicode version 9.0 +(released in June 2016). The glyphs are derived from the +3,064 head characters in the calligraphic facsimile reproduction of the +Sea of Writing [Wénhǎi 文海] text in +Wénhǎi Yánjiū 文海研究 [Study of the Sea of Writing] (Beijing, 1983) by +Shi Bojin 史金波 et al. This font also includes 442 of the 755 +encoded Tangut components, but these are poorer quality compared with +the Tangut ideographs, and may be replaced with glyphs derived from the +Tangut ideographs in the future. +NB This font does not cover many common Tangut characters, +and so is not suitable for use in typesetting Tangut text in academic works. + +Tangut Yinchuan Font: + +Tangut Yinchuan v. 15.102 is a font for the Tangut script +that supports the full set of Tangut characters defined in +Unicode version 15.0 (Tangut, Tangut Supplement, Tangut Components code charts). +It is based on a font named XXZT (西夏字体 in Chinese) that was +designed by Prof. Jǐng Yǒngshí 景永时 of the +Beifang Ethnic University (北方民族大学) in Yinchuan. The original +font was used for typesetting the revised 2nd edition of the +Tangut-Chinese dictionary Xià-Hàn Zìdiǎn 夏漢字典 (Beijing, 2008) +by Prof. Li Fanwen + +BabelStone Sani Yi PUA Font: + +BabelStone Sani Yi is a PUA font covering characters in the Sani Yi script. +The font was created from scanned images of the hand-written characters in +Yí-Hàn Jiǎnmíng Cídiǎn 彝汉简明词典 [Concise Yi-Chinese Dictionary] +(Kunming: Yunnan Minzu Chubanshe, 1984). The quality of the resultant font +glyphs is generally quite poor. This font is not intended for use in typesetting +Yi text, but was created in order to facilitate work on the encoding of the +Sani Yi script in Unicode. diff --git a/system/ttf-babelstone-cjk/slack-desc b/system/ttf-babelstone-cjk/slack-desc new file mode 100644 index 0000000000000..1bcd514ce32d2 --- /dev/null +++ b/system/ttf-babelstone-cjk/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +ttf-babelstone-cjk: ttf-babelstone-cjk (BabelStone CJK Fonts) +ttf-babelstone-cjk: +ttf-babelstone-cjk: Babelstone fonts is created by Andrew West. This package +ttf-babelstone-cjk: contains the chinese fonts along with regional variants. +ttf-babelstone-cjk: It covers Han,Jurchen,Khitan,Tangut,Sui,Naxi Dongba and Yi +ttf-babelstone-cjk: scripts.It also covers Hanzi,Kanji and Hanja. +ttf-babelstone-cjk: +ttf-babelstone-cjk: Homepage:https://www.babelstone.co.uk +ttf-babelstone-cjk: +ttf-babelstone-cjk: +ttf-babelstone-cjk: diff --git a/system/ttf-babelstone-cjk/ttf-babelstone-cjk.SlackBuild b/system/ttf-babelstone-cjk/ttf-babelstone-cjk.SlackBuild new file mode 100644 index 0000000000000..fe2458ce8f5b4 --- /dev/null +++ b/system/ttf-babelstone-cjk/ttf-babelstone-cjk.SlackBuild @@ -0,0 +1,88 @@ +#!/bin/bash + +# Slackware build script for ttf-babelstone-cjk + +# Copyright 2023 Vijay Marcel +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=ttf-babelstone-cjk +VERSION=${VERSION:-1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +ARCH=noarch +SRCH=${SRCH:-BabelStoneHan} +SRCS=${SRCS:-BabelStoneShuishu} +SRCT=${SRCT:-TangutScanFonts} + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +mkdir -pv $TMP/han +mkdir -pv $TMP/sui +mkdir -pv $TMP/tangut +mkdir -pv $PKG/usr/share/fonts/TTF + +unzip -d $TMP/han $CWD/$SRCH.zip +unzip -d $TMP/sui $CWD/$SRCS.zip +unzip -d $TMP/tangut $CWD/$SRCT.zip + +install -D -m0644 -v $CWD/*.ttf -t $PKG/usr/share/fonts/TTF +install -D -m0644 -v $TMP/han/*.ttf -t $PKG/usr/share/fonts/TTF +install -D -m0644 -v $TMP/sui/*.ttf -t $PKG/usr/share/fonts/TTF +install -D -m0644 -v $TMP/tangut/*.ttf -t $PKG/usr/share/fonts/TTF + +mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/APL.txt > $PKG/usr/doc/$PRGNAM-$VERSION/APL.txt +cat $CWD/BabelStoneOFL.txt > $PKG/usr/doc/$PRGNAM-$VERSION/babelstoneOFL.txt +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cat $CWD/copyright > $PKG/usr/doc/$PRGNAM-$VERSION/copyright +cat $CWD/copyright2 > $PKG/usr/doc/$PRGNAM-$VERSION/copyright2 +cat $CWD/readme_fonts > $PKG/usr/doc/$PRGNAM-$VERSION/readme_fonts +find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \+ + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/system/ttf-babelstone-cjk/ttf-babelstone-cjk.info b/system/ttf-babelstone-cjk/ttf-babelstone-cjk.info new file mode 100644 index 0000000000000..64123b7445cde --- /dev/null +++ b/system/ttf-babelstone-cjk/ttf-babelstone-cjk.info @@ -0,0 +1,56 @@ +PRGNAM="ttf-babelstone-cjk" +VERSION="1.0" +HOMEPAGE="https://www/babelstone.co.uk" +DOWNLOAD="https://www.babelstone.co.uk/Fonts/Download/BabelStoneHan.zip \ + https://www.babelstone.co.uk/Fonts/Download/BabelStoneHanPUA.ttf \ + https://www.babelstone.co.uk/Fonts/Download/BabelStoneErjian1.ttf \ + https://www.babelstone.co.uk/Fonts/Download/BabelStoneErjian2.ttf \ + https://www.babelstone.co.uk/Fonts/Download/JurchenBerlin.ttf \ + https://www.babelstone.co.uk/Fonts/Download/JurchenTianyige.ttf \ + https://www.babelstone.co.uk/Fonts/Download/JurchenToyoBunko.ttf \ + https://www.babelstone.co.uk/Fonts/Download/JurchenSmall.ttf \ + https://www.babelstone.co.uk/Fonts/Download/BabelStoneKhitanLargeGlyphs.ttf \ + https://www.babelstone.co.uk/Fonts/Download/BabelStoneKhitanSeals.ttf \ + https://www.babelstone.co.uk/Fonts/Download/BabelStoneKhitanSealGlyphs.ttf \ + https://www.babelstone.co.uk/Fonts/Download/BabelStoneKhitanSmallLinear.ttf \ + https://www.babelstone.co.uk/Fonts/Download/BabelStoneKhitanSmallSeal.ttf \ + https://www.babelstone.co.uk/Fonts/Download/KhitanSmallLinear.ttf \ + https://www.babelstone.co.uk/Fonts/Download/KhitanSmallRotated.ttf \ + https://www.babelstone.co.uk/Fonts/Download/KhitanSmallVertical.ttf \ + https://www.babelstone.co.uk/Fonts/Download/BabelStoneNaxiLLC.ttf \ + https://www.babelstone.co.uk/Fonts/Download/BabelStoneShuishu.zip \ + https://www.babelstone.co.uk/Fonts/Download/TangutScanFonts.zip \ + https://www.babelstone.co.uk/Fonts/Download/BabelStoneTangutWenhai.ttf \ + https://www.babelstone.co.uk/Fonts/Download/TangutYinchuan.ttf \ + https://www.babelstone.co.uk/Fonts/Download/TangutYinchuanInverse.ttf \ + https://www.babelstone.co.uk/Fonts/Download/BabelStoneTangutRadicals.ttf \ + https://www.babelstone.co.uk/Fonts/Download/BabelStoneSaniYi.ttf" +MD5SUM="7cd5d58bc5ba3e636cf43e5bb609aece \ + e55efb563e794e17f8b20bb42e92fc73 \ + 3dac88173ade093d945ccdae7d1f2fce \ + fa33f8875b032c1d6bb70a203e418dd4 \ + 4baf9e3a67a8ad3c002e348f9d5b6bf7 \ + 6fde3b3dd390c66e79719eba0388a7d4 \ + 1214b2722a2ebf128d8138edc3b0209d \ + a540c2fa397ae2b41191792c6023db80 \ + 5a528a3a699ab870a1ac52ffff5e5978 \ + 0d07928f544c3d873389412d1d04a94b \ + e5764f3d5e0d5540e40190d8ccf4a2cd \ + a1f9cda6991c3b0dc25afe9c98015f63 \ + 7867caf246b3f1f2f1824cd6024a44fa \ + 7ff6a2c4f32ef03343436bf4050feda5 \ + 7a3e2bd8aefdd0bb594f0f0e4b751bb7 \ + 3f80fb811bb14334f5c79f432a065445 \ + b4d2f92f9b7e3ec375b9b2b1260d267c \ + 2e46a52a13f1c37b6d4f0956e8547618 \ + 75dd9971a19f12a1a3f5cef4d0990657 \ + 3d7fb66f97e5fe530504ef8736debb47 \ + 8e86de9342b2ee3f910a0e741360360a \ + 245974d3c32f688a2ad4c0c4074a6d52 \ + b55128a55c2200c995f1cfe60e390867 \ + b3c6baa077e7c3f4b5a75bd55c4ee650" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Vijay Marcel" +EMAIL="vijaymarcel@outlook.com" -- cgit v1.2.3