[arch-commits] Commit in noto-fonts/repos (8 files)

Antonio Rojas arojas at gemini.archlinux.org
Sun May 29 11:50:26 UTC 2022


    Date: Sunday, May 29, 2022 @ 11:50:25
  Author: arojas
Revision: 446923

archrelease: copy trunk to testing-any

Added:
  noto-fonts/repos/testing-any/
  noto-fonts/repos/testing-any/46-noto-mono.conf
    (from rev 446920, noto-fonts/trunk/46-noto-mono.conf)
  noto-fonts/repos/testing-any/46-noto-sans.conf
    (from rev 446920, noto-fonts/trunk/46-noto-sans.conf)
  noto-fonts/repos/testing-any/46-noto-serif.conf
    (from rev 446920, noto-fonts/trunk/46-noto-serif.conf)
  noto-fonts/repos/testing-any/66-noto-mono.conf
    (from rev 446920, noto-fonts/trunk/66-noto-mono.conf)
  noto-fonts/repos/testing-any/66-noto-sans.conf
    (from rev 446920, noto-fonts/trunk/66-noto-sans.conf)
  noto-fonts/repos/testing-any/66-noto-serif.conf
    (from rev 446920, noto-fonts/trunk/66-noto-serif.conf)
  noto-fonts/repos/testing-any/PKGBUILD
    (from rev 446922, noto-fonts/trunk/PKGBUILD)

--------------------+
 46-noto-mono.conf  |   10 ++++++
 46-noto-sans.conf  |   10 ++++++
 46-noto-serif.conf |   10 ++++++
 66-noto-mono.conf  |   10 ++++++
 66-noto-sans.conf  |   10 ++++++
 66-noto-serif.conf |   10 ++++++
 PKGBUILD           |   76 +++++++++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 136 insertions(+)

Copied: noto-fonts/repos/testing-any/46-noto-mono.conf (from rev 446920, noto-fonts/trunk/46-noto-mono.conf)
===================================================================
--- testing-any/46-noto-mono.conf	                        (rev 0)
+++ testing-any/46-noto-mono.conf	2022-05-29 11:50:25 UTC (rev 446923)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+  <alias>
+    <family>Noto Sans Mono</family>
+    <default>
+      <family>monospace</family>
+    </default>
+  </alias>
+</fontconfig>

Copied: noto-fonts/repos/testing-any/46-noto-sans.conf (from rev 446920, noto-fonts/trunk/46-noto-sans.conf)
===================================================================
--- testing-any/46-noto-sans.conf	                        (rev 0)
+++ testing-any/46-noto-sans.conf	2022-05-29 11:50:25 UTC (rev 446923)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+  <alias>
+    <family>Noto Sans</family>
+    <default>
+      <family>sans-serif</family>
+    </default>
+  </alias>
+</fontconfig>

Copied: noto-fonts/repos/testing-any/46-noto-serif.conf (from rev 446920, noto-fonts/trunk/46-noto-serif.conf)
===================================================================
--- testing-any/46-noto-serif.conf	                        (rev 0)
+++ testing-any/46-noto-serif.conf	2022-05-29 11:50:25 UTC (rev 446923)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+  <alias>
+    <family>Noto Serif</family>
+    <default>
+      <family>serif</family>
+    </default>
+  </alias>
+</fontconfig>

Copied: noto-fonts/repos/testing-any/66-noto-mono.conf (from rev 446920, noto-fonts/trunk/66-noto-mono.conf)
===================================================================
--- testing-any/66-noto-mono.conf	                        (rev 0)
+++ testing-any/66-noto-mono.conf	2022-05-29 11:50:25 UTC (rev 446923)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+  <alias>
+    <family>monospace</family>
+    <prefer>
+      <family>Noto Sans Mono</family>
+    </prefer>
+  </alias>
+</fontconfig>

Copied: noto-fonts/repos/testing-any/66-noto-sans.conf (from rev 446920, noto-fonts/trunk/66-noto-sans.conf)
===================================================================
--- testing-any/66-noto-sans.conf	                        (rev 0)
+++ testing-any/66-noto-sans.conf	2022-05-29 11:50:25 UTC (rev 446923)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+  <alias>
+    <family>sans-serif</family>
+    <prefer>
+      <family>Noto Sans</family>
+    </prefer>
+  </alias>
+</fontconfig>

Copied: noto-fonts/repos/testing-any/66-noto-serif.conf (from rev 446920, noto-fonts/trunk/66-noto-serif.conf)
===================================================================
--- testing-any/66-noto-serif.conf	                        (rev 0)
+++ testing-any/66-noto-serif.conf	2022-05-29 11:50:25 UTC (rev 446923)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+  <alias>
+    <family>serif</family>
+    <prefer>
+      <family>Noto Serif</family>
+    </prefer>
+  </alias>
+</fontconfig>

Copied: noto-fonts/repos/testing-any/PKGBUILD (from rev 446922, noto-fonts/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2022-05-29 11:50:25 UTC (rev 446923)
@@ -0,0 +1,76 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgbase=noto-fonts
+pkgname=(noto-fonts noto-fonts-extra ttf-croscore)
+pkgver=20220502
+_commit=c5481f3a1b57d54190a4e7881103033fbbbcec0c
+pkgrel=3
+pkgdesc='Google Noto TTF fonts'
+arch=(any)
+url='https://www.google.com/get/noto/'
+license=(custom:SIL)
+makedepends=(git python-fonttools)
+source=(git+https://github.com/googlefonts/noto-fonts#commit=$_commit
+        66-noto-sans.conf 66-noto-serif.conf 66-noto-mono.conf
+        46-noto-sans.conf 46-noto-serif.conf 46-noto-mono.conf)
+sha256sums=('SKIP'
+            '52684bebf6447be22618d2a04ff37623ec92f9d8ccf6b6f972e5bcbcfee90d69'
+            '4459944b63dc083107280f5d7375c69746bf80a09416a4a4909a100e58e5a33a'
+            '4526289f59654e2a81dc734669a1ae4e416f9a56d0896ec3741c6bf065baf8a8'
+            '83a8faf6a47954075f97a2d555048e2a6689c38603b2ca00150157bf645f4593'
+            'c94368b24506770767d003e5bcba589a8e402e489c240ee52453bf3ac7e9b5fa'
+            'f5c09b37280d7569b6c99a78511639be4ae25b8c5406464422fe0421fe13a884')
+
+prepare() {
+# Fix weight of Arimo-BoldItalic.ttf https://github.com/googlefonts/noto-fonts/issues/2350
+  cd $pkgbase/hinted/ttf/Arimo
+  ttx Arimo-BoldItalic.ttf
+  sed -e 's|usWeightClass value=\"400\"|usWeightClass value=\"700\"|' -i Arimo-BoldItalic.ttx
+  ttx -f Arimo-BoldItalic.ttx
+}
+
+package_noto-fonts() {
+  optdepends=('noto-fonts-cjk: CJK characters' 'noto-fonts-emoji: Emoji characters'
+              'noto-fonts-extra: additional variants (condensed, semi-bold, extra-light)')
+  provides=(ttf-font)
+
+  cd $pkgbase
+  # Remove duplicated fonts
+  rm {un,}hinted/ttf/NotoSansTifinagh/NotoSansTifinagh[AGHRST]*.ttf
+
+  install -Dm644 unhinted/ttf/Noto*/*.tt[fc] -t "$pkgdir"/usr/share/fonts/noto
+  install -Dm644 hinted/ttf/Noto*/*.tt[fc] -t "$pkgdir"/usr/share/fonts/noto
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/noto-fonts
+
+  # Move to noto-fonts-extra
+  rm -f "$pkgdir"/usr/share/fonts/noto/Noto*{Condensed,SemiBold,Extra}*.ttf
+
+  # Install fontconfig files
+  install -Dm644 "$srcdir"/*.conf -t "$pkgdir"/usr/share/fontconfig/conf.avail/
+  install -d "$pkgdir"/usr/share/fontconfig/conf.default
+  ln -rs "$pkgdir"/usr/share/fontconfig/conf.avail/* "$pkgdir"/usr/share/fontconfig/conf.default
+
+  # Remove duplicate Display fonts https://github.com/googlefonts/noto-fonts/issues/2315
+  rm "$pkgdir"/usr/share/fonts/noto/NotoSans-Display*
+}
+
+package_noto-fonts-extra() {
+  pkgdesc+=' - additional variants'
+  depends=(noto-fonts)
+  
+  cd $pkgbase
+  mkdir -p "$pkgdir"/usr/share/fonts/noto
+  cp hinted/ttf/Noto*/*{Condensed,SemiBold,Extra}*.tt[fc] "$pkgdir"/usr/share/fonts/noto
+
+  # Remove duplicate Display fonts https://github.com/googlefonts/noto-fonts/issues/2315
+  rm "$pkgdir"/usr/share/fonts/noto/NotoSans-Display*
+}
+
+package_ttf-croscore() {
+  pkgdesc='Chrome OS core fonts'
+  provides=(ttf-font)
+
+  cd $pkgbase
+  install -Dm644 hinted/ttf/{Arimo,Cousine,Tinos}/*.ttf -t "$pkgdir"/usr/share/fonts/croscore
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/ttf-croscore
+}



More information about the arch-commits mailing list