summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Edinaldo P. Silva2018-11-17 04:51:00 +0100
committer Willy Sudiarto Raharjo2018-11-17 12:42:50 +0100
commitfeaf9078adddf7d431dec1367342e5a5923cbe7a (patch)
treee065da7e7b24e934abd3ba0576b1339cf5ea61bf
parent7b9ef071e76253dcd93ed8d08118d03ac5fec7d2 (diff)
downloadslackbuilds-feaf9078adddf7d431dec1367342e5a5923cbe7a.tar.gz
system/ttf-open-sans: Updated for version 1.11.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--system/ttf-open-sans/README20
-rw-r--r--system/ttf-open-sans/README.Source61
-rw-r--r--system/ttf-open-sans/changelog5
-rw-r--r--system/ttf-open-sans/copyright29
-rw-r--r--system/ttf-open-sans/slack-desc8
-rw-r--r--system/ttf-open-sans/ttf-open-sans.SlackBuild25
-rw-r--r--system/ttf-open-sans/ttf-open-sans.info8
7 files changed, 123 insertions, 33 deletions
diff --git a/system/ttf-open-sans/README b/system/ttf-open-sans/README
index 8a8ca5c589..eec3be4e38 100644
--- a/system/ttf-open-sans/README
+++ b/system/ttf-open-sans/README
@@ -1,13 +1,15 @@
ttf-open-sans (True Type font)
-Open Sans is a humanist sans serif typeface designed by Steve Matteson,
-Type Director of Ascender Corp.
+Open Sans is a clean and modern sans-serif typeface designed by Steve
+Matteson and commissioned by Google. It is especially designed for
+legibility across print, web, and mobile interfaces.
-This version contains the complete 897 character set, which includes
-the standard ISO Latin 1, Latin CE, Greek and Cyrillic character sets.
-Open Sans was designed with an upright stress, open forms and a neutral,
-yet friendly appearance.
+Open Sans is excellent for any type of use. It's incredibly readable
+in small sizes and also works great when printed in huge letters.
+The best thing of all, it's a free font! You are free to use and
+download it for your next design project.
-It was optimized for print, web, and mobile interfaces, and has excellent
-legibility characteristics in its letterforms. A few condensed styles
-are also available.
+It's a well known and modern font that is being used more and more
+on new websites. Because of its simplicity it really makes your
+content easily readable. The same thing goes for offline content.
+When printed it will make your documents amazing.
diff --git a/system/ttf-open-sans/README.Source b/system/ttf-open-sans/README.Source
new file mode 100644
index 0000000000..440f2c69c8
--- /dev/null
+++ b/system/ttf-open-sans/README.Source
@@ -0,0 +1,61 @@
+fonts-open-sans
+---------------
+
+The upstream website (http://www.opensans.com) does not publish
+any version information, and it is unclear if and how the font
+will ever be updated.
+
+The font is distributed in the form of a two zip files, open-sans.zip and
+open-sans-condensed.zip. These need to be repackaged to comply
+with debian source package standards.
+
+To find out if an update was released, you should download and
+unpack the fonts manually, then use otfdump to find out if they
+have a new version.
+
+
+Download the current font packages first:
+
+$ wget http://www.opensans.com/download/open-sans.zip http://www.opensans.com/download/open-sans-condensed.zip
+
+Unpack them into the source repository:
+
+$ unzip -o open-sans.zip
+$ unzip -o open-sans-condensed.zip
+
+
+Test if any of the files are tagged with a new version:
+
+$ for i in *.ttf; do echo $i; otfdump $i | grep '(nameID 5 "Version' ; done
+
+This should print something like:
+
+OpenSans-CondBold.ttf
+ (nameID 5 "Version 1.11")
+
+for each of the fonts. Note that they may not all have the same version.
+
+If any of the versions differ from the current package version, or if
+
+$ git status
+
+shows that a file has changed, it is recommended to prepare a new release.
+
+
+To accomplish this, debian/rules includes a script that does most of
+the work for you. Update the changelog first:
+
+$ dch -v <NEW_VERSION>-<PATCHLEVEL>
+
+Replace <NEW_VERSION> with the new upstream version, as determined above,
+or increment <PATCHLEVEL> if only some fonts have changed and the highest
+font version is still the same.
+Add a suitable changelog line. For example: New upstream release
+
+Then save and run the tarball script (it uses wget and unzip):
+
+$ debian/rules get-orig-source
+
+This should produce a new ../fonts-open-sans_<version>.tar.xz file.
+
+Commit the updated TTFs and Debian changelog, then release the new package.
diff --git a/system/ttf-open-sans/changelog b/system/ttf-open-sans/changelog
new file mode 100644
index 0000000000..ecce744114
--- /dev/null
+++ b/system/ttf-open-sans/changelog
@@ -0,0 +1,5 @@
+fonts-open-sans (1.11-1) unstable; urgency=medium
+
+ * Initial release. (Closes: #754785)
+
+ -- Gregor Riepl <onitake@gmail.com> Tue, 18 Apr 2017 19:02:54 +0200
diff --git a/system/ttf-open-sans/copyright b/system/ttf-open-sans/copyright
new file mode 100644
index 0000000000..00a4d88b1a
--- /dev/null
+++ b/system/ttf-open-sans/copyright
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Open Sans
+Source: http://www.opensans.com/
+
+Files: *
+Copyright:
+ Digitized data copyright (c) 2010-2011, Google Corporation.
+License: Apache-2.0
+
+Files: debian/*
+Copyright:
+ Copyright (c) 2017, Gregor Riepl <onitake@gmail.com>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache License Version 2.0
+ can be found in `/usr/share/common-licenses/Apache-2.0'.
diff --git a/system/ttf-open-sans/slack-desc b/system/ttf-open-sans/slack-desc
index 48803b95df..5d3c1dd6a1 100644
--- a/system/ttf-open-sans/slack-desc
+++ b/system/ttf-open-sans/slack-desc
@@ -8,11 +8,11 @@
|-----handy-ruler------------------------------------------------------|
ttf-open-sans: ttf-open-sans (True Type Font)
ttf-open-sans:
-ttf-open-sans: Open Sans a humanist sans serif typeface designed by Steve Matteson
-ttf-open-sans: This version contains the complete 897 character set, which includes
-ttf-open-sans: the standard ISO Latin 1, Latin CE, Greek and Cyrillic character sets.
+ttf-open-sans: Open Sans is a clean and modern sans-serif typeface designed by Steve
+ttf-open-sans: Matteson and commissioned by Google. It is especially designed for
+ttf-open-sans: legibility across print, web, and mobile interfaces.
ttf-open-sans:
-ttf-open-sans: Home page: https://fonts.google.com/specimen/Open+Sans
+ttf-open-sans: Home page: https://www.opensans.com/
ttf-open-sans:
ttf-open-sans:
ttf-open-sans:
diff --git a/system/ttf-open-sans/ttf-open-sans.SlackBuild b/system/ttf-open-sans/ttf-open-sans.SlackBuild
index a6f74b0a78..ed86241753 100644
--- a/system/ttf-open-sans/ttf-open-sans.SlackBuild
+++ b/system/ttf-open-sans/ttf-open-sans.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for ttf-open-sans.
#
-# Copyright 2015-2016 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# 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-open-sans
-VERSION=${VERSION:-1.0}
+VERSION=${VERSION:-1.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,7 +34,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-SRCNAM="open-sans"
+SRCNAM="fonts-open-sans"
set -e
@@ -42,8 +42,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-unzip $CWD/$SRCNAM.zip -d $PRGNAM-$VERSION/
+tar xvf $CWD/${SRCNAM}_${VERSION}.orig.tar.xz
+mv ${SRCNAM}-${VERSION} $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -55,19 +55,12 @@ find -L . \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/share/fonts/TTF
-
-FONTS="OpenSans-Bold.ttf OpenSans-BoldItalic.ttf OpenSans-ExtraBold.ttf \
-OpenSans-ExtraBoldItalic.ttf OpenSans-Italic.ttf OpenSans-Light.ttf \
-OpenSans-LightItalic.ttf OpenSans-Regular.ttf OpenSans-Semibold.ttf \
-OpenSans-SemiboldItalic.ttf"
-
-for i in $FONTS; do
- cp -a $i $PKG/usr/share/fonts/TTF/
-done
+mkdir -p $PKG/usr/share/fonts/TTF/
+install -m644 OpenSans-*.ttf $PKG/usr/share/fonts/TTF/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE.txt $PKG/usr/doc/$PRGNAM-$VERSION
+install -m644 Apache\ License.txt $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE
+install -m644 $CWD/{changelog,copyright,README.Source} $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/ttf-open-sans/ttf-open-sans.info b/system/ttf-open-sans/ttf-open-sans.info
index af5dd862d4..80bea0fbba 100644
--- a/system/ttf-open-sans/ttf-open-sans.info
+++ b/system/ttf-open-sans/ttf-open-sans.info
@@ -1,8 +1,8 @@
PRGNAM="ttf-open-sans"
-VERSION="1.0"
-HOMEPAGE="https://fonts.google.com/specimen/Open+Sans"
-DOWNLOAD="http://dl.1001fonts.com/open-sans.zip"
-MD5SUM="e628ed23fb53515a0d26644dd15c96be"
+VERSION="1.11"
+HOMEPAGE="https://www.opensans.com/"
+DOWNLOAD="http://deb.debian.org/debian/pool/main/f/fonts-open-sans/fonts-open-sans_1.11.orig.tar.xz"
+MD5SUM="95ffb3776bf8a9e8b2ebd7a44c4d7869"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""