Merged in cdesai/haikuports/fonts-2 (pull request #419)

Add 2 new font families, fix 2 fonts, and fix cabextract (in general and on x86_gcc2)
This commit is contained in:
Kacper Kasper
2015-01-05 19:41:47 +01:00
7 changed files with 345 additions and 13 deletions

View File

@@ -11,7 +11,7 @@ COPYRIGHT="2000-2011 Stuart Caie"
SRC_URI="http://www.cabextract.org.uk/cabextract-1.4.tar.gz"
CHECKSUM_SHA256="f7ba8ba2c2d71912846eaaa2bed9200a7722ef0addeec32db7471c350a48e41e"
REVISION="1"
ARCHITECTURES="x86 ?x86_gcc2 x86_64"
ARCHITECTURES="x86 x86_gcc2 x86_64"
PROVIDES="
cabextract = $portVersion
@@ -30,6 +30,8 @@ BUILD_PREREQUIRES="
cmd:make
cmd:gcc
cmd:awk
cmd:sed
cmd:grep
"
BUILD()

View File

@@ -3,12 +3,11 @@ DESCRIPTION="Open licensed fonts metrically compatible with MS corefonts.\
Included fonts are Arimo, Cousine and Timo. \
They are also called Chrome OS core fonts."
HOMEPAGE="http://en.wikipedia.org/wiki/Croscore_fonts"
# We don't list the checksums below intentionally as these archives are generated
# on the fly.
SRC_URI_1="http://www.google.com/fonts/download?kit=32ci3aiii8TFh9L2O_kK1w"
CHECKSUM_SHA256_1="800bbc41f20dce6c7f61dcd54489a8d8db5d701d9918a3a412d430d044eca2bb",
SRC_URI_2="http://www.google.com/fonts/download?kit=M2CeFoF86bDfqp_rSFi-T6CWcynf_cDxXwCLxiixG1c"
CHECKSUM_SHA256_2="bc0b9e33073e91d89abe6d780d0cff7a55d1cf05d9f792d5d221af426abb915f"
SRC_URI_3="http://www.google.com/fonts/download?kit=2Cuw8DPRXKIbXwFmqbUecA"
CHECKSUM_SHA256_3="89619d3f06b55495e94458eb8fbd69ae7c654db5782b2cecfdaffa2c8b291c1b"
SOURCE_DIR=""

View File

@@ -0,0 +1,36 @@
SUMMARY="The Fira font"
DESCRIPTION="
Designed to integrate with the character of Mozilla's Firefox OS, the \
Fira Sans typeface also aims to cover the legibility needs for a large range of \
handsets varying in screen quality and rendering. When working with Fira Sans \
it is recommended that micro font sizes that fall below our guidelines are avoided.
This also includes the Fira Mono typeface.
"
HOMEPAGE="http://www.carrois.com/fira-3-1/"
SRC_URI="http://www.carrois.com/wordpress/downloads/fira_3_1/FiraFonts3111.zip"
CHECKSUM_SHA256="3ced3df236b0b0eec1b390885c53ac02f3e3f830e9449414230717334a0b2457"
LICENSE="SIL Open Font License v1.1"
COPYRIGHT="2014, Mozilla Foundation, Telefonica S.A."
REVISION="1"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="fira_fonts = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"
SOURCE_DIR=""
BUILD()
{
true
}
INSTALL()
{
FONTDIR=$fontsDir/otfonts
mkdir -p ${FONTDIR}
cp */*/OTF/*.otf ${FONTDIR}
}

View File

@@ -0,0 +1,99 @@
Copyright (c) 2014, Mozilla Foundation https://mozilla.org/
with Reserved Font Name Fira Sans.
Copyright (c) 2014, Mozilla Foundation https://mozilla.org/
with Reserved Font Name Fira Mono.
Copyright (c) 2014, Telefonica S.A.
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.

View File

@@ -0,0 +1,94 @@
Microsoft TrueType Fonts
END-USER LICENSE AGREEMENT FOR MICROSOFT SOFTWARE
---------------------------------------------------
IMPORTANT - READ CAREFULLY: This Microsoft End-User License Agreement
("EULA") is a legal agreement between you (either an individual or a single
entity) and Microsoft Corporation for the Microsoft software accompanying
this EULA, which includes computer software and may include associated
media, printed materials, and "on-line" or electronic documentation
("SOFTWARE PRODUCT" or "SOFTWARE"). By exercising your rights to make and
use copies of the SOFTWARE PRODUCT, you agree to be bound by the terms of
this EULA. If you do not agree to the terms of this EULA, you may not use
the SOFTWARE PRODUCT.
SOFTWARE PRODUCT LICENSE
The SOFTWARE PRODUCT is protected by copyright laws and international
copyright treaties, as well as other intellectual property laws and
treaties. The SOFTWARE PRODUCT is licensed, not sold.
1. GRANT OF LICENSE. This EULA grants you the following rights:
· Installation and Use. You may install and use an unlimited number of
copies of the SOFTWARE PRODUCT.
· Reproduction and Distribution. You may reproduce and distribute an
unlimited number of copies of the SOFTWARE PRODUCT; provided that each copy
shall be a true and complete copy, including all copyright and trademark
notices, and shall be accompanied by a copy of this EULA. Copies of the
SOFTWARE PRODUCT may not be distributed for profit either on a standalone
basis or included as part of your own product.
2. DESCRIPTION OF OTHER RIGHTS AND LIMITATIONS.
· Limitations on Reverse Engineering, Decompilation, and Disassembly.
You may not reverse engineer, decompile, or disassemble the SOFTWARE
PRODUCT, except and only to the extent that such activity is expressly
permitted by applicable law notwithstanding this limitation.
· Restrictions on Alteration. You may not rename, edit or create any
derivative works from the SOFTWARE PRODUCT, other than subsetting when
embedding them in documents.
· Software Transfer. You may permanently transfer all of your rights
under this EULA, provided the recipient agrees to the terms of this EULA.
· Termination. Without prejudice to any other rights, Microsoft may
terminate this EULA if you fail to comply with the terms and conditions of
this EULA. In such event, you must destroy all copies of the SOFTWARE
PRODUCT and all of its component parts.
3. COPYRIGHT. All title and copyrights in and to the SOFTWARE PRODUCT
(including but not limited to any images, text, and "applets" incorporated
into the SOFTWARE PRODUCT), the accompanying printed materials, and any
copies of the SOFTWARE PRODUCT are owned by Microsoft or its suppliers. The
SOFTWARE PRODUCT is protected by copyright laws and international treaty
provisions. Therefore, you must treat the SOFTWARE PRODUCT like any other
copyrighted material.
4. U.S. GOVERNMENT RESTRICTED RIGHTS. The SOFTWARE PRODUCT and
documentation are provided with RESTRICTED RIGHTS. Use, duplication, or
disclosure by the Government is subject to restrictions as set forth in
subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer
Software clause at DFARS 252.227-7013 or subparagraphs (c)(1) and (2) of the
Commercial Computer Software-Restricted Rights at 48 CFR 52.227-19, as
applicable. Manufacturer is Microsoft Corporation/One Microsoft Way/Redmond,
WA 98052-6399.
LIMITED WARRANTY
NO WARRANTIES. Microsoft expressly disclaims any warranty for the SOFTWARE
PRODUCT. The SOFTWARE PRODUCT and any related documentation is provided "as
is" without warranty of any kind, either express or implied, including,
without limitation, the implied warranties or merchantability, fitness for a
particular purpose, or noninfringement. The entire risk arising out of use
or performance of the SOFTWARE PRODUCT remains with you.
NO LIABILITY FOR CONSEQUENTIAL DAMAGES. In no event shall Microsoft or its
suppliers be liable for any damages whatsoever (including, without
limitation, damages for loss of business profits, business interruption,
loss of business information, or any other pecuniary loss) arising out of
the use of or inability to use this Microsoft product, even if Microsoft has
been advised of the possibility of such damages. Because some
states/jurisdictions do not allow the exclusion or limitation of liability
for consequential or incidental damages, the above limitation may not apply
to you.
MISCELLANEOUS If you acquired this product in the United States, this EULA
is governed by the laws of the State of Washington. If this product was
acquired outside the United States, then local laws may apply. Should you
have any questions concerning this EULA, or if you desire to contact
Microsoft for any reason, please contact the Microsoft subsidiary serving
your country, or write: Microsoft Sales Information Center/One Microsoft
Way/Redmond, WA 98052-6399.

View File

@@ -0,0 +1,75 @@
SUMMARY="Microsoft's TrueType core fonts"
DESCRIPTION="A smart package of Microsoft's core fonts which were \
once available from http://www.microsoft.com/typography/fontpack/.
It includes:
Andale Mono
Arial Black
Arial (Bold, Italic, Bold Italic)
Comic Sans MS (Bold)
Courier New (Bold, Italic, Bold Italic)
Georgia (Bold, Italic, Bold Italic)
Impact
Times New Roman (Bold, Italic, Bold Italic)
Trebuchet (Bold, Italic, Bold Italic)
Verdana (Bold, Italic, Bold Italic)
Webdings
"
HOMEPAGE="http://corefonts.sourceforge.net"
SRC_URI="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/andale32.exe#noarchive"
SRC_URI_2="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/arial32.exe#noarchive"
SRC_URI_3="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/arialb32.exe#noarchive"
SRC_URI_4="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/comic32.exe#noarchive"
SRC_URI_5="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/courie32.exe#noarchive"
SRC_URI_6="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/georgi32.exe#noarchive"
SRC_URI_7="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/impact32.exe#noarchive"
SRC_URI_8="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/times32.exe#noarchive"
SRC_URI_9="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/trebuc32.exe#noarchive"
SRC_URI_10="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/verdan32.exe#noarchive"
SRC_URI_11="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/wd97vwr32.exe#noarchive"
SRC_URI_12="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/webdin32.exe#noarchive"
CHECKSUM_SHA256="0524fe42951adc3a7eb870e32f0920313c71f170c859b5f770d82b4ee111e970"
CHECKSUM_SHA256_2="85297a4d146e9c87ac6f74822734bdee5f4b2a722d7eaa584b7f2cbf76f478f6"
CHECKSUM_SHA256_3="a425f0ffb6a1a5ede5b979ed6177f4f4f4fdef6ae7c302a7b7720ef332fec0a8"
CHECKSUM_SHA256_4="9c6df3feefde26d4e41d4a4fe5db2a89f9123a772594d7f59afd062625cd204e"
CHECKSUM_SHA256_5="bb511d861655dde879ae552eb86b134d6fae67cb58502e6ff73ec5d9151f3384"
CHECKSUM_SHA256_6="2c2c7dcda6606ea5cf08918fb7cd3f3359e9e84338dc690013f20cd42e930301"
CHECKSUM_SHA256_7="6061ef3b7401d9642f5dfdb5f2b376aa14663f6275e60a51207ad4facf2fccfb"
CHECKSUM_SHA256_8="db56595ec6ef5d3de5c24994f001f03b2a13e37cee27bc25c58f6f43e8f807ab"
CHECKSUM_SHA256_9="5a690d9bb8510be1b8b4fe49f1f2319651fe51bbe54775ddddd8ef0bd07fdac9"
CHECKSUM_SHA256_10="c1cb61255e363166794e47664e2f21af8e3a26cb6346eb8d2ae2fa85dd5aad96"
CHECKSUM_SHA256_11="f61126a6d17b2d126a7f31b142504dce4934f7989c55f1c13c6477b3fe80b3d2"
CHECKSUM_SHA256_12="64595b5abc1080fba8610c5c34fab5863408e806aafe84653ca8575bed17d75a"
LICENSE="MSttfEULA"
COPYRIGHT="Microsoft Corporation"
REVISION="1"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="msttcorefonts = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="
coreutils
cmd:cabextract
cmd:find
"
SOURCE_DIR=""
BUILD()
{
for i in `ls -d ../sources*`; do
pushd $i
mkdir -p cabcontents
cabextract --lowercase --directory=cabcontents *.exe
popd
done
}
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cp `find ../sources* -type f -name \*.ttf` ${FONTDIR}
}

View File

@@ -1,24 +1,51 @@
SUMMARY="Arabic script font."
DESCRIPTION="
Arabic script font.
Scheherazade, named after the heroine of the classic Arabian Nights tale, \
is designed in a similar style to traditional typefaces such as Monotype Naskh, \
extended to cover the full Unicode Arabic repertoire
The goal for this product was to provide a single Unicode-based font family \
that would contain a comprehensive inventory of glyphs needed for almost any \
Arabic-based writing system. This font makes use of state-of-the-art font \
technologies to support complex typographic issues.
This font provides a simplified rendering of Arabic script, using basic \
connecting glyphs but not including a wide variety of additional ligatures \
or contextual alternates (only the required lam-alef ligatures). This \
simplified style is often preferred for clarity, especially in non-Arabic \
languages, but may be considered unattractive in more traditional and \
literate communities.
One font from this typeface family is included in this release:
* Scheherazade Regular
This release supports virtually all of the Unicode 5.0 Arabic character \
repertoire (excluding the Arabic Presentation Forms blocks, which are not \
recommended for normal use). Font smarts are implemented using OpenType \
technology.
"
HOMEPAGE="http://scripts.sil.org/ArabicFonts_Download"
SRC_URI="http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=Scheherazade_OT_1_005&filename=ScherazadeRegOT-1.005.zip"
REVISION="2"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="3c7e7d7f93802162effe2b517af98be0"
CHECKSUM_SHA256="5d621578fb946473492c3bd1f1a59fe55080dd7949e3bf28af01fa4fe2859e8b"
REVISION="3"
LICENSE="SIL Open Font License v1.1"
COPYRIGHT="2004-2011 SIL International"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="scheherazade_font = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"
SOURCE_DIR=""
BUILD()
{
echo "No building required."
true
}
INSTALL()
{
FONTDIR=${fontsDir}/ttfonts
mkdir -p ${FONTDIR}
cp -r *.ttf ${FONTDIR}
cp *.ttf ${FONTDIR}
}
LICENSE="SIL Open Font License v1.1"
COPYRIGHT="2004-2011 SIL International"