Accepting request 461022 from home:frispete:fonts

Here's a RFC SR

The changelog isn't complete, but I haven't found a real changelog 
apart from git, and the zip doesn't tell, which git branch/tag/date 
it is generated from... I filed an issue because of this.

I also noticed, that some fonts are gone:

  noto-sans-hans                     20140716-1.4
  noto-sans-hant                     20140716-1.4
  noto-sans-jp                       20140716-1.4
  noto-sans-kr                       20140716-1.4
  noto-sans-pahlavi                  20140716-1.4
  noto-sans-parthian                 20140716-1.4
  noto-sans-sumeroakkadiancuneiform  20140716-1.4

Don't know, if this is to be expected?

The generate-specfile.sh had to be adjusted due to some new fonts.
The serif variable naming/handling is questionable still..

Anyway, here it is:

- update to version 20161025
  - new: Mono Font
  - new: Naskh Arabic Font
  - new: Bengali Sans Serif Font
  - new: Devanagari Sans Serif Font
  - new: Gujarati Sans Serif Font
  - new: Gurmukhi Sans Serif Font
  - new: Kannada Sans Serif Font
  - new: Khmer Sans Serif Font
  - new: Lao Sans Serif Font
  - new: Malayalam Sans Serif Font
  - new: Myanmar Sans Serif Font
  - new: Oriya Sans Serif Font
  - new: Tamil Sans Serif Font
  - new: Telugu Sans Serif Font
  - new: Thai Sans Serif Font
  - new: Sans UI Font
  - new: Bengali Font
  - new: Devanagari Font
  - new: Gujarati Font
  - new: Kannada Font
  - new: Malayalam Font
  - new: Tamil Font
  - new: Telugu Font
- fix generate-specfile.sh:
  - handle UI fonts, that do not start with Sans ot Serif
  - fix description of fonts, that do not start with Sans ot Serif
  - flag sans fonts only, that really deserve it

OBS-URL: https://build.opensuse.org/request/show/461022
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-noto-fonts?expand=0&rev=30
This commit is contained in:
Marguerite Su 2017-03-02 01:35:55 +00:00 committed by Git OBS Bridge
parent 2b97677c56
commit a931008cb4
5 changed files with 629 additions and 126 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:a979d9837d4223bcbe55497e3b5c545e0e554a78584f60915f1e620d3fbe508e oid sha256:77decb00e17677b0f8182a9eeae7ddfaadfed064c926433bcc0c8617cd52899e
size 494039413 size 500352958

View File

@ -15,9 +15,10 @@ rm -f $pkg_name/NotoSans*CJK*.otf
cp -f $pkg_name.spec.in $pkg_name.spec cp -f $pkg_name.spec.in $pkg_name.spec
for h in hinted; do for h in hinted; do
ls $pkg_name/ | sed -e 's:Noto::' -e 's:-.*\..tf::' -e 's:\..tf::' -e 's:\.ttc::' | sort -f | uniq | while read font; do ls $pkg_name/ | sed -e 's:Noto::' -e 's:-.*\..tf::' -e 's:\..tf::' -e 's:\.ttc::' | sort -f | uniq | while read font; do
serif=`echo $font | sed 's:\(Sans\|Serif\).*:\1:'`
ui=`(echo $font | grep -q UI) && echo UI` ui=`(echo $font | grep -q UI) && echo UI`
script=`echo $font | sed "s:$serif\(.*\)$ui:\1:"` font=${font%%$ui}
serif=`echo $font | sed 's:\(Sans\|Serif\).*:\1:'`
script=`echo $font | sed "s:$serif\(.*\):\1:"`
packagename="noto-$serif" packagename="noto-$serif"
if [ ! -z $script ]; then if [ ! -z $script ]; then
packagename="$packagename-$script" packagename="$packagename-$script"
@ -27,7 +28,9 @@ for h in hinted; do
fi fi
packagename=`echo "$packagename" | tr [A-Z] [a-z]` packagename=`echo "$packagename" | tr [A-Z] [a-z]`
if [ $serif == "Sans" ]; then if [ $serif == "Sans" ]; then
serif_dsc="Sans Serif" serif_dsc="Sans Serif "
else
serif_dsc=""
fi fi
obsoletes=$packagename obsoletes=$packagename
if [ "$script" == "CJK" ]; then if [ "$script" == "CJK" ]; then
@ -39,8 +42,11 @@ for h in hinted; do
done done
fi fi
packagename="$packagename-fonts" packagename="$packagename-fonts"
summary=`echo "Noto $script $serif_dsc Font" | sed 's:\([a-z]\)\([A-Z]\):\1 \2:'` if [ ! -z "$script" ]; then
summary=`echo "Noto $script ${serif_dsc}Font" | sed 's:\([a-z]\)\([A-Z]\):\1 \2:g'`
else
summary=`echo "Noto $serif Font" | sed 's:\([a-z]\)\([A-Z]\):\1 \2:g'`
fi
sed -i "s/@SUBPACKAGE_HEADERS@/%package -n $packagename\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec sed -i "s/@SUBPACKAGE_HEADERS@/%package -n $packagename\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
sed -i "s/@SUBPACKAGE_HEADERS@/Summary: $summary\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec sed -i "s/@SUBPACKAGE_HEADERS@/Summary: $summary\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
sed -i "s;@SUBPACKAGE_HEADERS@;Group: System/X11/Fonts\n@SUBPACKAGE_HEADERS@;" $pkg_name.spec sed -i "s;@SUBPACKAGE_HEADERS@;Group: System/X11/Fonts\n@SUBPACKAGE_HEADERS@;" $pkg_name.spec
@ -60,7 +66,11 @@ for h in hinted; do
sed -i "s/@SUBPACKAGE_HEADERS@/%description -n $packagename\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec sed -i "s/@SUBPACKAGE_HEADERS@/%description -n $packagename\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
sed -i "s/@SUBPACKAGE_HEADERS@/Noto's design goal is to achieve visual harmonization (e.g., compatible\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec sed -i "s/@SUBPACKAGE_HEADERS@/Noto's design goal is to achieve visual harmonization (e.g., compatible\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
sed -i "s/@SUBPACKAGE_HEADERS@/heights and stroke thicknesses) across languages. This package contains\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec sed -i "s/@SUBPACKAGE_HEADERS@/heights and stroke thicknesses) across languages. This package contains\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
sed -i "s/@SUBPACKAGE_HEADERS@/$script $serif_dsc font, $h.\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec if [ ! -z "$script" ]; then
sed -i "s/@SUBPACKAGE_HEADERS@/$script ${serif_dsc}font, $h.\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
else
sed -i "s/@SUBPACKAGE_HEADERS@/$serif font, $h.\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
fi
sed -i "s/@SUBPACKAGE_HEADERS@/\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec sed -i "s/@SUBPACKAGE_HEADERS@/\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
sed -i "s/@SUBPACKAGE_SCRIPTLETS@/%reconfigure_fonts_scriptlets -n $packagename\n\n@SUBPACKAGE_SCRIPTLETS@/" $pkg_name.spec sed -i "s/@SUBPACKAGE_SCRIPTLETS@/%reconfigure_fonts_scriptlets -n $packagename\n\n@SUBPACKAGE_SCRIPTLETS@/" $pkg_name.spec

View File

@ -1,3 +1,36 @@
-------------------------------------------------------------------
Tue Feb 28 16:22:22 UTC 2017 - hpj@urpla.net
- update to version 20161025
- new: Mono Font
- new: Naskh Arabic Font
- new: Bengali Sans Serif Font
- new: Devanagari Sans Serif Font
- new: Gujarati Sans Serif Font
- new: Gurmukhi Sans Serif Font
- new: Kannada Sans Serif Font
- new: Khmer Sans Serif Font
- new: Lao Sans Serif Font
- new: Malayalam Sans Serif Font
- new: Myanmar Sans Serif Font
- new: Oriya Sans Serif Font
- new: Tamil Sans Serif Font
- new: Telugu Sans Serif Font
- new: Thai Sans Serif Font
- new: Sans UI Font
- new: Bengali Font
- new: Devanagari Font
- new: Gujarati Font
- new: Kannada Font
- new: Malayalam Font
- new: Tamil Font
- new: Telugu Font
- fix generate-specfile.sh:
- handle UI fonts, that do not start with Sans ot Serif
- fix description of fonts, that do not start with Sans ot Serif
- flag sans fonts only, that really deserve it
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Sep 11 07:59:49 UTC 2016 - ftake@geeko.jp Sun Sep 11 07:59:49 UTC 2016 - ftake@geeko.jp

File diff suppressed because it is too large Load Diff

View File

@ -15,9 +15,9 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%define hyear 2015 %define hyear 2016
%define hmonth 12 %define hmonth 10
%define hday 15 %define hday 25
%define src_name NotoFonts %define src_name NotoFonts
# DO NOT EDIT THIS SPECFILE DIRECTLY, edit google-noto-fonts.spec.in and run generate-specfile.sh scriptZZ # DO NOT EDIT THIS SPECFILE DIRECTLY, edit google-noto-fonts.spec.in and run generate-specfile.sh scriptZZ