Hello community,

here is the log from the commit of package google-noto-fonts for 
openSUSE:Factory checked in at 2017-03-05 17:57:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/google-noto-fonts (Old)
 and      /work/SRC/openSUSE:Factory/.google-noto-fonts.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "google-noto-fonts"

Sun Mar  5 17:57:25 2017 rev:15 rq:461740 version:20161025

Changes:
--------
--- /work/SRC/openSUSE:Factory/google-noto-fonts/google-noto-fonts.changes      
2016-09-25 14:29:13.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.google-noto-fonts.new/google-noto-fonts.changes 
2017-03-05 17:57:41.141474581 +0100
@@ -1,0 +2,33 @@
+Tue Feb 28 16:22:22 UTC 2017 - h...@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
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ google-noto-fonts.spec ++++++
++++ 971 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/google-noto-fonts/google-noto-fonts.spec
++++ and 
/work/SRC/openSUSE:Factory/.google-noto-fonts.new/google-noto-fonts.spec

++++++ Noto-hinted.zip ++++++
Binary files /var/tmp/diff_new_pack.C7NrYy/_old and 
/var/tmp/diff_new_pack.C7NrYy/_new differ


++++++ generate-specfile.sh ++++++
--- /var/tmp/diff_new_pack.C7NrYy/_old  2017-03-05 17:58:00.294763601 +0100
+++ /var/tmp/diff_new_pack.C7NrYy/_new  2017-03-05 17:58:00.438743221 +0100
@@ -15,9 +15,10 @@
 cp -f $pkg_name.spec.in $pkg_name.spec
 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 
-    serif=`echo $font | sed 's:\(Sans\|Serif\).*:\1:'`
     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"
     if [ ! -z $script ]; then
       packagename="$packagename-$script"
@@ -27,7 +28,9 @@
     fi
     packagename=`echo "$packagename" | tr [A-Z] [a-z]`
     if [ $serif == "Sans" ]; then
-      serif_dsc="Sans Serif"
+      serif_dsc="Sans Serif "
+    else
+      serif_dsc=""
     fi
     obsoletes=$packagename
     if [ "$script" == "CJK" ]; then
@@ -39,8 +42,11 @@
        done
     fi
     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@/Summary:        
$summary\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 @@
     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@/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_SCRIPTLETS@/%reconfigure_fonts_scriptlets -n 
$packagename\n\n@SUBPACKAGE_SCRIPTLETS@/" $pkg_name.spec

++++++ google-noto-fonts.spec.in ++++++
--- /var/tmp/diff_new_pack.C7NrYy/_old  2017-03-05 17:58:00.466739258 +0100
+++ /var/tmp/diff_new_pack.C7NrYy/_new  2017-03-05 17:58:00.466739258 +0100
@@ -15,9 +15,9 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define hyear     2015
-%define hmonth    12
-%define hday      15
+%define hyear     2016
+%define hmonth    10
+%define hday      25
 %define src_name  NotoFonts
 
 # DO NOT EDIT THIS SPECFILE DIRECTLY, edit google-noto-fonts.spec.in and run 
generate-specfile.sh scriptZZ


Reply via email to