From 523652f88f39c092ec27b73a1c429d4cd9654667 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Wed, 10 May 2023 15:54:00 +0900 Subject: [PATCH] Drop the font unification which causes a lot of problems. Resolves: rhbz#2186711, rhbz#2144373, rhbz#2096153, rhbz#517789 --- 60-google-droid-sans-mono-fonts.conf | 18 +++++ 60-google-droid-sans-mono-fonts.xml | 13 ---- 66-google-droid-sans-fonts.conf | 18 +++++ 66-google-droid-sans-fonts.xml | 82 ---------------------- 66-google-droid-serif-fonts.conf | 18 +++++ 66-google-droid-serif-fonts.xml | 30 -------- 69-google-droid-arabic-kufi-fonts.conf | 18 +++++ 69-google-droid-arabic-naskh-fonts.conf | 18 +++++ 69-google-droid-sans-armenian-fonts.conf | 18 +++++ 69-google-droid-sans-devanagari-fonts.conf | 18 +++++ 69-google-droid-sans-ethiopic-fonts.conf | 18 +++++ 69-google-droid-sans-fallback-fonts.conf | 18 +++++ 69-google-droid-sans-georgian-fonts.conf | 18 +++++ 69-google-droid-sans-hebrew-fonts.conf | 18 +++++ 69-google-droid-sans-japanese-fonts.conf | 18 +++++ 69-google-droid-sans-tamil-fonts.conf | 18 +++++ 69-google-droid-sans-thai-fonts.conf | 18 +++++ google-droid-fonts.spec | 31 ++++++-- 18 files changed, 276 insertions(+), 132 deletions(-) create mode 100644 60-google-droid-sans-mono-fonts.conf delete mode 100644 60-google-droid-sans-mono-fonts.xml create mode 100644 66-google-droid-sans-fonts.conf delete mode 100644 66-google-droid-sans-fonts.xml create mode 100644 66-google-droid-serif-fonts.conf delete mode 100644 66-google-droid-serif-fonts.xml create mode 100644 69-google-droid-arabic-kufi-fonts.conf create mode 100644 69-google-droid-arabic-naskh-fonts.conf create mode 100644 69-google-droid-sans-armenian-fonts.conf create mode 100644 69-google-droid-sans-devanagari-fonts.conf create mode 100644 69-google-droid-sans-ethiopic-fonts.conf create mode 100644 69-google-droid-sans-fallback-fonts.conf create mode 100644 69-google-droid-sans-georgian-fonts.conf create mode 100644 69-google-droid-sans-hebrew-fonts.conf create mode 100644 69-google-droid-sans-japanese-fonts.conf create mode 100644 69-google-droid-sans-tamil-fonts.conf create mode 100644 69-google-droid-sans-thai-fonts.conf diff --git a/60-google-droid-sans-mono-fonts.conf b/60-google-droid-sans-mono-fonts.conf new file mode 100644 index 0000000..8127b98 --- /dev/null +++ b/60-google-droid-sans-mono-fonts.conf @@ -0,0 +1,18 @@ + + + + + + monospace + + + Droid Sans Mono + + + + Droid Sans Mono + + monospace + + + diff --git a/60-google-droid-sans-mono-fonts.xml b/60-google-droid-sans-mono-fonts.xml deleted file mode 100644 index a812a3f..0000000 --- a/60-google-droid-sans-mono-fonts.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - Droid Sans Mono - - Noto Sans Mono - monospace - - - - diff --git a/66-google-droid-sans-fonts.conf b/66-google-droid-sans-fonts.conf new file mode 100644 index 0000000..d51e834 --- /dev/null +++ b/66-google-droid-sans-fonts.conf @@ -0,0 +1,18 @@ + + + + + + sans-serif + + + Droid Sans + + + + Droid Sans + + sans-serif + + + diff --git a/66-google-droid-sans-fonts.xml b/66-google-droid-sans-fonts.xml deleted file mode 100644 index 962c727..0000000 --- a/66-google-droid-sans-fonts.xml +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - Droid Sans - - Droid Sans Hebrew - he - yi - - - Droid Sans Armenian - hy - - - Droid Sans Georgian - ka - - - Droid Sans Ethiopic - am - byn - gez - sid - ti-er - ti-et - tig - wal - - - Droid Sans Devanagari - bh - bho - brx - doi - hi - hne - kok - mai - mr - ne - sa - sat - - - Droid Sans Tamil - ta - - - Droid Sans Thai - th - - - Droid Arabic Kufi - ar - az-ir - fa - ku-iq - ku-ir - lah - ota - pa-pk - ps-af - ps-pk - sd - ug - ur - - - Droid Sans Japanese - ja - - Droid Sans Fallback - - Droid Sans Arabic - Open Sans - sans-serif - - - - diff --git a/66-google-droid-serif-fonts.conf b/66-google-droid-serif-fonts.conf new file mode 100644 index 0000000..a9d3ac3 --- /dev/null +++ b/66-google-droid-serif-fonts.conf @@ -0,0 +1,18 @@ + + + + + + serif + + + Droid Serif + + + + Droid Serif + + serif + + + diff --git a/66-google-droid-serif-fonts.xml b/66-google-droid-serif-fonts.xml deleted file mode 100644 index a8e3998..0000000 --- a/66-google-droid-serif-fonts.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - Droid Serif - - Droid Arabic Naskh - ar - az-ir - fa - ku-iq - ku-ir - lah - ota - pa-pk - ps-af - ps-pk - sd - ug - ur - - - Noto Serif - Droid Naskh Shift Alt - serif - - - - diff --git a/69-google-droid-arabic-kufi-fonts.conf b/69-google-droid-arabic-kufi-fonts.conf new file mode 100644 index 0000000..aa0ace2 --- /dev/null +++ b/69-google-droid-arabic-kufi-fonts.conf @@ -0,0 +1,18 @@ + + + + + + sans-serif + + + Droid Arabic Kufi + + + + Droid Arabic Kufi + + sans-serif + + + diff --git a/69-google-droid-arabic-naskh-fonts.conf b/69-google-droid-arabic-naskh-fonts.conf new file mode 100644 index 0000000..75832c3 --- /dev/null +++ b/69-google-droid-arabic-naskh-fonts.conf @@ -0,0 +1,18 @@ + + + + + + serif + + + Droid Arabic Naskh + + + + Droid Arabic Naskh + + serif + + + diff --git a/69-google-droid-sans-armenian-fonts.conf b/69-google-droid-sans-armenian-fonts.conf new file mode 100644 index 0000000..2f74787 --- /dev/null +++ b/69-google-droid-sans-armenian-fonts.conf @@ -0,0 +1,18 @@ + + + + + + sans-serif + + + Droid Sans Armenian + + + + Droid Sans Armenian + + sans-serif + + + diff --git a/69-google-droid-sans-devanagari-fonts.conf b/69-google-droid-sans-devanagari-fonts.conf new file mode 100644 index 0000000..2447069 --- /dev/null +++ b/69-google-droid-sans-devanagari-fonts.conf @@ -0,0 +1,18 @@ + + + + + + sans-serif + + + Droid Sans Devanagari + + + + Droid Sans Devanagari + + sans-serif + + + diff --git a/69-google-droid-sans-ethiopic-fonts.conf b/69-google-droid-sans-ethiopic-fonts.conf new file mode 100644 index 0000000..d2b4773 --- /dev/null +++ b/69-google-droid-sans-ethiopic-fonts.conf @@ -0,0 +1,18 @@ + + + + + + sans-serif + + + Droid Sans Ethiopic + + + + Droid Sans Ethiopic + + sans-serif + + + diff --git a/69-google-droid-sans-fallback-fonts.conf b/69-google-droid-sans-fallback-fonts.conf new file mode 100644 index 0000000..d8848d5 --- /dev/null +++ b/69-google-droid-sans-fallback-fonts.conf @@ -0,0 +1,18 @@ + + + + + + sans-serif + + + Droid Sans Fallback + + + + Droid Sans Fallback + + sans-serif + + + diff --git a/69-google-droid-sans-georgian-fonts.conf b/69-google-droid-sans-georgian-fonts.conf new file mode 100644 index 0000000..0945471 --- /dev/null +++ b/69-google-droid-sans-georgian-fonts.conf @@ -0,0 +1,18 @@ + + + + + + sans-serif + + + Droid Sans Georgian + + + + Droid Sans Georgian + + sans-serif + + + diff --git a/69-google-droid-sans-hebrew-fonts.conf b/69-google-droid-sans-hebrew-fonts.conf new file mode 100644 index 0000000..e436157 --- /dev/null +++ b/69-google-droid-sans-hebrew-fonts.conf @@ -0,0 +1,18 @@ + + + + + + sans-serif + + + Droid Sans Hebrew + + + + Droid Sans Hebrew + + sans-serif + + + diff --git a/69-google-droid-sans-japanese-fonts.conf b/69-google-droid-sans-japanese-fonts.conf new file mode 100644 index 0000000..dab0a4c --- /dev/null +++ b/69-google-droid-sans-japanese-fonts.conf @@ -0,0 +1,18 @@ + + + + + + sans-serif + + + Droid Sans Japanese + + + + Droid Sans Japanese + + sans-serif + + + diff --git a/69-google-droid-sans-tamil-fonts.conf b/69-google-droid-sans-tamil-fonts.conf new file mode 100644 index 0000000..eb53adf --- /dev/null +++ b/69-google-droid-sans-tamil-fonts.conf @@ -0,0 +1,18 @@ + + + + + + sans-serif + + + Droid Sans Tamil + + + + Droid Sans Tamil + + sans-serif + + + diff --git a/69-google-droid-sans-thai-fonts.conf b/69-google-droid-sans-thai-fonts.conf new file mode 100644 index 0000000..cca736a --- /dev/null +++ b/69-google-droid-sans-thai-fonts.conf @@ -0,0 +1,18 @@ + + + + + + sans-serif + + + Droid Sans Thai + + + + Droid Sans Thai + + sans-serif + + + diff --git a/google-droid-fonts.spec b/google-droid-fonts.spec index 61cbcae..90372e3 100644 --- a/google-droid-fonts.spec +++ b/google-droid-fonts.spec @@ -3,7 +3,7 @@ BuildArch: noarch # No sane versionning upstream, use git clone timestamp Version: 20200215 -Release: 14%{?dist} +Release: 15%{?dist} License: ASL 2.0 URL: https://android.googlesource.com/ @@ -31,7 +31,7 @@ Suggests: font(notosans) } %global fonts1 DroidSans*ttf DroidKufi*ttf %global fontsex1 DroidSansMono*ttf DroidSansFallback.ttf DroidSansHebrew.ttf -%global fontconfngs1 %{SOURCE11} +%global fontconfs1 %{SOURCE11} %{SOURCE14} %{SOURCE16} %{SOURCE17} %{SOURCE18} %{SOURCE19} %{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23} %{SOURCE24} %global fontdescription1 %{expand: %{common_description} @@ -47,7 +47,7 @@ finalize the font family.} Suggests: font(notosansmono) } %global fonts2 DroidSansMono*ttf -%global fontconfngs2 %{SOURCE12} +%global fontconfs2 %{SOURCE12} %global fontdescription2 %{expand: %{common_description} @@ -61,7 +61,7 @@ Suggests: font(notoserif) } %global fonts3 DroidSerif*ttf DroidNaskh*ttf %global fontsex3 DroidNaskhUI-Regular.ttf DroidNaskh-Regular-Shift.ttf -%global fontconfngs3 %{SOURCE13} +%global fontconfs3 %{SOURCE13} %{SOURCE15} %global fontdescription3 %{expand: %{common_description} @@ -75,15 +75,28 @@ The Arabic block was designed by Pascal Zoghbi of 29ArabicLetters under the Droid Naskh name.} %global archivename google-droid-fonts-%{version} +%global googledroid google-droid +%global googledroidsans %{googledroid}-sans Source0: %{archivename}.tar.xz # Brutal script used to pull sources from upstream git # Needs at least 2 Gib of space in /var/tmp Source1: getdroid.sh -Source11: 66-%{fontpkgname1}.xml -Source12: 60-%{fontpkgname2}.xml -Source13: 66-%{fontpkgname3}.xml +Source11: 66-%{fontpkgname1}.conf +Source12: 60-%{fontpkgname2}.conf +Source13: 66-%{fontpkgname3}.conf +Source14: 69-%{googledroid}-arabic-kufi-fonts.conf +Source15: 69-%{googledroid}-arabic-naskh-fonts.conf +Source16: 69-%{googledroidsans}-armenian-fonts.conf +Source17: 69-%{googledroidsans}-devanagari-fonts.conf +Source18: 69-%{googledroidsans}-ethiopic-fonts.conf +Source19: 69-%{googledroidsans}-georgian-fonts.conf +Source20: 69-%{googledroidsans}-hebrew-fonts.conf +Source21: 69-%{googledroidsans}-japanese-fonts.conf +Source22: 69-%{googledroidsans}-tamil-fonts.conf +Source23: 69-%{googledroidsans}-thai-fonts.conf +Source24: 69-%{googledroidsans}-fallback-fonts.conf Name: google-droid-fonts Summary: A set of general-purpose font families released by Google as part of Android @@ -109,6 +122,10 @@ Summary: A set of general-purpose font families released by Google as part of A %fontfiles -a %changelog +* Wed May 10 2023 Akira TAGOH - 20200215-15 +- Drop the font unification which causes a lot of problems. + Resolves: rhbz#2186711, rhbz#2144373, rhbz#2096153, rhbz#517789 + * Thu Jan 19 2023 Fedora Release Engineering - 20200215-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild