From 8e66b59a30d2f9e85f1439ca15d03d6d70f379f5 Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Mon, 6 Feb 2023 18:44:55 +0000 Subject: system/ttf-open-sans: Updated for version 20210927. Signed-off-by: bedlam Signed-off-by: Willy Sudiarto Raharjo --- system/ttf-open-sans/README.Source | 61 --------------------------- system/ttf-open-sans/changelog | 5 --- system/ttf-open-sans/copyright | 29 ------------- system/ttf-open-sans/slack-desc | 2 +- system/ttf-open-sans/ttf-open-sans.SlackBuild | 16 +++---- system/ttf-open-sans/ttf-open-sans.info | 6 +-- 6 files changed, 12 insertions(+), 107 deletions(-) delete mode 100644 system/ttf-open-sans/README.Source delete mode 100644 system/ttf-open-sans/changelog delete mode 100644 system/ttf-open-sans/copyright (limited to 'system/ttf-open-sans') diff --git a/system/ttf-open-sans/README.Source b/system/ttf-open-sans/README.Source deleted file mode 100644 index 440f2c69c8..0000000000 --- a/system/ttf-open-sans/README.Source +++ /dev/null @@ -1,61 +0,0 @@ -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 - - -Replace with the new upstream version, as determined above, -or increment 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_.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 deleted file mode 100644 index ecce744114..0000000000 --- a/system/ttf-open-sans/changelog +++ /dev/null @@ -1,5 +0,0 @@ -fonts-open-sans (1.11-1) unstable; urgency=medium - - * Initial release. (Closes: #754785) - - -- Gregor Riepl Tue, 18 Apr 2017 19:02:54 +0200 diff --git a/system/ttf-open-sans/copyright b/system/ttf-open-sans/copyright deleted file mode 100644 index 00a4d88b1a..0000000000 --- a/system/ttf-open-sans/copyright +++ /dev/null @@ -1,29 +0,0 @@ -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 -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 5d3c1dd6a1..ed3075cc6e 100644 --- a/system/ttf-open-sans/slack-desc +++ b/system/ttf-open-sans/slack-desc @@ -12,7 +12,7 @@ ttf-open-sans: Open Sans is a clean and modern sans-serif typeface designed by S 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://www.opensans.com/ +ttf-open-sans: Home page: https://github.com/googlefonts/opensans/ 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 d9ad5c4c34..54200534fb 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-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2023 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ttf-open-sans -VERSION=${VERSION:-1.11} +VERSION=${VERSION:-20210927} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -44,7 +44,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -SRCNAM="fonts-open-sans" +SRCNAM="opensans" +SRCVER="27d060e1aad6886daeda67629ee28189f795f534" set -e @@ -52,8 +53,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/${SRCNAM}_${VERSION}.orig.tar.xz -mv ${SRCNAM}-${VERSION} $PRGNAM-$VERSION +unzip $CWD/${SRCVER}.zip +mv ${SRCNAM}-${SRCVER} $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -66,11 +67,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/share/fonts/TTF/ -install -m644 OpenSans-*.ttf $PKG/usr/share/fonts/TTF/ +install -m644 fonts/ttf/*.ttf $PKG/usr/share/fonts/TTF/ mkdir -p $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/ +cp -a CONTRIBUTORS.md FONTLOG.txt OFL.txt README.md $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 80bea0fbba..0d2ca58636 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.11" +VERSION="20210927" 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="https://github.com/googlefonts/opensans/archive/27d060e1aad6886daeda67629ee28189f795f534.zip" +MD5SUM="c780a4557a14c7786b147ff111a973aa" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3-80-g2a13