summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Dominik Drobek2020-02-08 02:54:24 +0100
committer Willy Sudiarto Raharjo2020-02-08 07:39:33 +0100
commit1f41684be9f1e00f7153721be1896c5c616feaf7 (patch)
treef1c62c6dd2ce975264a7be2b56f90abc7e2b625e
parentddb7e59b58e8fc49a9423e29da581b1dc029a3e8 (diff)
downloadslackbuilds-1f41684be9f1e00f7153721be1896c5c616feaf7.tar.gz
system/ttf-paratype-pt-fonts: Added (ParaType free fonts).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/ttf-paratype-pt-fonts/OFL.txt90
-rw-r--r--system/ttf-paratype-pt-fonts/README25
-rw-r--r--system/ttf-paratype-pt-fonts/slack-desc14
-rw-r--r--system/ttf-paratype-pt-fonts/ttf-paratype-pt-fonts.SlackBuild22
-rw-r--r--system/ttf-paratype-pt-fonts/ttf-paratype-pt-fonts.info18
5 files changed, 135 insertions, 34 deletions
diff --git a/system/ttf-paratype-pt-fonts/OFL.txt b/system/ttf-paratype-pt-fonts/OFL.txt
new file mode 100644
index 0000000000..18c908ba35
--- /dev/null
+++ b/system/ttf-paratype-pt-fonts/OFL.txt
@@ -0,0 +1,90 @@
+This Font Software is licensed under the Open Font License, Version 1.1
+This license is copied below, and is also available with a FAQ at:
+https://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-paratype-pt-fonts/README b/system/ttf-paratype-pt-fonts/README
index 551e37c317..2a3da2c685 100644
--- a/system/ttf-paratype-pt-fonts/README
+++ b/system/ttf-paratype-pt-fonts/README
@@ -1,18 +1,27 @@
-The Public Type (PT) fonts are free OFL licensed fonts released in
-2009-2011 by the ParaType company. They consists of PT Sans (includes 8
-styles), PT Serif (6 styles), and PT Mono (2 styles) families.
+This package contains free OFL licensed fonts released in 2009-2019 by
+the ParaType company. They consist of 7 families:
+
+* PT Sans (includes 8 styles)
+* PT Serif (6 styles)
+* PT Mono (2 styles)
+* PT Astra Sans (4 styles)
+* PT Astra Serif (4 styles)
+* PT Root UI (5 styles)
+* Golos Text (6 styles)
The fonts cover a long list of Eurasian languages based on Latin and
Cyrillic scripts.
-The PT fonts were primarily designed by Alexandra Korolkova.
+PT Astra Sans and PT Astra Serif fonts metrically compatible with
+Times New Roman.
-The texlive-fonts package contains a different variant of PT fonts in
+The texlive-fonts package contains earlier versions of PT Sans, PT
+Serif, and PT Mono fonts in
/usr/share/texmf-dist/fonts/truetype/paratype/
-The present package contains fonts with the truetype specific
-hhea-metrics adapted for linux environment.
+In this package these families have the truetype specific hhea-metrics
+adapted for linux environment.
-PT fonts are primarily designed to be used with subpixel hinting (aka
+These fonts are primarily designed to be used with subpixel hinting (aka
ClearType) activated.
When using subpixel hinting, it is recommended to disable embedded
diff --git a/system/ttf-paratype-pt-fonts/slack-desc b/system/ttf-paratype-pt-fonts/slack-desc
index 887ca2238d..9d00d224db 100644
--- a/system/ttf-paratype-pt-fonts/slack-desc
+++ b/system/ttf-paratype-pt-fonts/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-ttf-paratype-pt-fonts: ttf-paratype-pt-fonts (Public Type (PT)
+ttf-paratype-pt-fonts: ttf-paratype-pt-fonts (ParaType free fonts)
ttf-paratype-pt-fonts:
-ttf-paratype-pt-fonts: The Public Type (PT) fonts are free OFL licensed fonts released in
-ttf-paratype-pt-fonts: 2009-2011 by the ParaType company. They consists of PT Sans (includes
-ttf-paratype-pt-fonts: 8 styles), PT Serif (6 styles), and PT Mono (2 styles) families.
+ttf-paratype-pt-fonts: This package contains 7 free OFL licensed fonts released in 2009-2019
+ttf-paratype-pt-fonts: by the ParaType company. The fonts include 35 styles and cover a long
+ttf-paratype-pt-fonts: list of Eurasian languages based on Latin and Cyrillic scripts.
+ttf-paratype-pt-fonts:
+ttf-paratype-pt-fonts:
+ttf-paratype-pt-fonts: Homepage: https://www.paratype.com/catalog?freefonts=true
ttf-paratype-pt-fonts:
-ttf-paratype-pt-fonts: The fonts cover a long list of Eurasian languages based on Latin and
-ttf-paratype-pt-fonts: Cyrillic scripts.
ttf-paratype-pt-fonts:
-ttf-paratype-pt-fonts: Homepage: https://company.paratype.com/pt-sans-pt-serif
ttf-paratype-pt-fonts:
diff --git a/system/ttf-paratype-pt-fonts/ttf-paratype-pt-fonts.SlackBuild b/system/ttf-paratype-pt-fonts/ttf-paratype-pt-fonts.SlackBuild
index b55b37fbea..206f546920 100644
--- a/system/ttf-paratype-pt-fonts/ttf-paratype-pt-fonts.SlackBuild
+++ b/system/ttf-paratype-pt-fonts/ttf-paratype-pt-fonts.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ttf-paratype-pt-fonts
-# Copyright 2016, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2016-2020, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ttf-paratype-pt-fonts
-VERSION=${VERSION:-2.5_1.2_1.3} # Sans_Serif_Mono
+VERSION=${VERSION:-2019}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -38,15 +38,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir -p $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-unzip $CWD/PTSansOFL.zip
-rm PTSSM_OFL.txt
-unzip $CWD/PTSerifOFL.zip
-rm PTSSM_OFL.txt
-unzip $CWD/PTMonoOFL.zip
+mkdir -p $PKG/usr/share/fonts/TTF
+unzip -j "$CWD/*.zip" *.ttf -d $PKG/usr/share/fonts/TTF
+
+cd $PKG/usr/share/fonts/TTF
chown -R root:root .
find -L . \
@@ -55,11 +50,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -p $PKG/usr/share/fonts/TTF
-cp -a *.ttf $PKG/usr/share/fonts/TTF
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a PTSSM_OFL.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $CWD/OFL.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/etc/fonts/conf.{d,avail}
diff --git a/system/ttf-paratype-pt-fonts/ttf-paratype-pt-fonts.info b/system/ttf-paratype-pt-fonts/ttf-paratype-pt-fonts.info
index 622b61443d..27da7a2807 100644
--- a/system/ttf-paratype-pt-fonts/ttf-paratype-pt-fonts.info
+++ b/system/ttf-paratype-pt-fonts/ttf-paratype-pt-fonts.info
@@ -1,12 +1,22 @@
PRGNAM="ttf-paratype-pt-fonts"
-VERSION="2.5_1.2_1.3"
-HOMEPAGE="https://company.paratype.com/pt-sans-pt-serif"
+VERSION="2019"
+HOMEPAGE="https://www.paratype.com/catalog?freefonts=true"
DOWNLOAD="https://downloads.sourceforge.net/slackbuildsdirectlinks/ttf-paratype-pt-fonts/PTSansOFL.zip \
https://downloads.sourceforge.net/slackbuildsdirectlinks/ttf-paratype-pt-fonts/PTSerifOFL.zip \
- https://downloads.sourceforge.net/slackbuildsdirectlinks/ttf-paratype-pt-fonts/PTMonoOFL.zip"
+ https://downloads.sourceforge.net/slackbuildsdirectlinks/ttf-paratype-pt-fonts/PTMonoOFL.zip \
+ https://downloads.sourceforge.net/slackbuildsdirectlinks/ttf-paratype-pt-fonts/PT%20Astra%20Sans_OtTt.zip \
+ https://downloads.sourceforge.net/slackbuildsdirectlinks/ttf-paratype-pt-fonts/PT%20Astra%20Serif_OtTt.zip \
+ https://downloads.sourceforge.net/slackbuildsdirectlinks/ttf-paratype-pt-fonts/PT%20Root%20UI_OtTt.zip \
+ https://downloads.sourceforge.net/slackbuildsdirectlinks/ttf-paratype-pt-fonts/PT%20Root%20UI%20VF_OtTt.zip \
+ https://downloads.sourceforge.net/slackbuildsdirectlinks/ttf-paratype-pt-fonts/Golos%20Text_OtTt.zip"
MD5SUM="e5b99133d3b72cd35400b5aa810ad0ee \
4dd07baa86fd30977cdfabd82bf2ad1d \
- 1c6d5c30fca24130b2888b9427a75134"
+ 1c6d5c30fca24130b2888b9427a75134 \
+ 1033f9d5a25ff79e13f9f5fc68ed6cbc \
+ da2896d7d602090dc14af9c7da0dde24 \
+ 43ca19bdada4b1287b162fb098ebbe9d \
+ 0387e570db7f99f77bf5d76dbfcb8242 \
+ 98dd266db0d1e1e66b54df53e61e2223"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""