culmus-fonts was removed due to minimization efforts prior to public launch

This commit is contained in:
Yaakov Selkowitz 2024-02-26 11:47:03 -05:00
parent a7815d7038
commit bd977fb2d6
28 changed files with 1 additions and 1545 deletions

12
.gitignore vendored
View File

@ -1,12 +0,0 @@
culmus-0.102.tar.gz
culmus-0.103.tar.gz
david-type1-0.103.tar.gz
culmus-0.104.tar.gz
culmus-type1-0.104.tar.gz
/culmus-0.105.tar.gz
/culmus-type1-0.105.tar.gz
/culmus-0.120.tar.gz
/culmus-0.121.tar.gz
/culmus-type1-0.121.tar.gz
/culmus-0.130.tar.gz
/culmus-0.133.tar.gz

View File

@ -1,58 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<!-- WINDOWS ALIASES -->
<!-- Guttman Adii is replaced with David Medium Italic -->
<match target="pattern" >
<test name="family" >
<string>Guttman Adii</string>
</test>
<edit mode="prepend" binding="same" name="family" >
<string>David CLM</string>
</edit>
<edit mode="prepend" binding="same" name="style" >
<string>Medium Italic</string>
</edit>
</match>
<alias>
<family>David Transparent</family>
<accept><family>David CLM</family></accept>
</alias>
<alias>
<family>Guttman David</family>
<accept><family>David CLM</family></accept>
</alias>
<!-- CULMUS ALIASES -->
<alias> <family>David</family> <accept><family>David CLM</family></accept> </alias>
<alias> <family>David OT</family> <accept><family>David CLM</family></accept> </alias>
<!-- MAC ALIASES -->
<alias> <family>Raanana</family> <accept><family>David CLM</family></accept> </alias>
<!-- generic names -->
<alias>
<family>David CLM</family>
<default>
<family>serif</family>
</default>
</alias>
<!-- locale-specific overrides -->
<match>
<test name="lang">
<string>he-il</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>David CLM</string>
</edit>
</match>
</fontconfig>

View File

@ -1,44 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<!-- WINDOWS ALIASES -->
<!-- font substitution -->
<alias binding="same">
<family>Guttman Aharoni</family>
<accept><family>Aharoni CLM</family></accept>
</alias>
<alias binding="same">
<family>Guttman-Aharoni</family>
<accept><family>Aharoni CLM</family></accept>
</alias>
<!-- CULMUS ALIASES -->
<alias binding="same">
<family>Aharoni</family>
<accept><family>Aharoni CLM</family></accept>
</alias>
<!-- generic names -->
<alias>
<family>Aharoni CLM</family>
<default>
<family>sans-serif</family>
</default>
</alias>
<!-- locale-specific overrides -->
<match>
<test name="lang">
<string>he-il</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Aharoni CLM</string>
</edit>
</match>
</fontconfig>

View File

@ -1,16 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<!-- CULMUS ALIASES -->
<alias> <family>Caladings</family> <accept><family>Caladings CLM</family></accept> </alias>
<!-- generic names -->
<alias>
<family>Caladings CLM</family>
<default>
<family>fantasy</family>
</default>
</alias>
</fontconfig>

View File

@ -1,39 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<!-- WINDOWS ALIASES -->
<alias>
<family>Guttman Drogolin</family>
<accept><family>Drugulin CLM</family></accept>
</alias>
<alias>
<family>Guttman Vilna</family>
<accept><family>Drugulin CLM</family></accept>
</alias>
<!-- CULMUS ALIASES -->
<alias> <family>Drugulin</family> <accept><family>Drugulin CLM</family></accept> </alias>
<!-- generic names -->
<alias>
<family>Drugulin CLM</family>
<default>
<family>serif</family>
</default>
</alias>
<!-- locale-specific overrides -->
<match>
<test name="lang">
<string>he-il</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Drugulin CLM</string>
</edit>
</match>
</fontconfig>

View File

@ -1,29 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<!-- CULMUS ALIASES -->
<alias> <family>Ellinia</family> <accept><family>Ellinia CLM</family></accept> </alias>
<!-- generic names -->
<alias>
<family>Ellinia CLM</family>
<default>
<family>sans-serif</family>
</default>
</alias>
<!-- locale-specific overrides -->
<match>
<test name="lang">
<string>he-il</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Ellinia CLM</string>
</edit>
</match>
</fontconfig>

View File

@ -1,47 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<!-- WINDOWS ALIASES -->
<alias>
<family>FrankRuehl</family>
<accept><family>Frank Ruehl CLM</family></accept>
</alias>
<alias>
<family>Guttman Frank</family>
<accept><family>Frank Ruehl CLM</family></accept>
</alias>
<alias>
<family>Guttman Frnew</family>
<accept><family>Frank Ruehl CLM</family></accept>
</alias>
<!-- CULMUS ALIASES -->
<alias> <family>Frank Ruehl</family> <accept><family>Frank Ruehl CLM</family></accept></alias>
<!-- MAC ALIASES -->
<alias> <family>New Peninim MT</family> <accept><family>Frank Ruehl CLM</family></accept></alias>
<!-- generic names -->
<alias>
<family>Frank Ruehl CLM</family>
<default>
<family>serif</family>
</default>
</alias>
<!-- locale-specific overrides -->
<match>
<test name="lang">
<string>he-il</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Frank Ruehl CLM</string>
</edit>
</match>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Hadasim CLM</family>
</prefer>
</alias>
<alias>
<family>Hadasim CLM</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Keter YG</family>
</prefer>
</alias>
<alias>
<family>Keter YG</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,46 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<!-- WINDOWS ALIASES -->
<alias>
<family>Guttman Miryam</family>
<accept><family>Miriam CLM</family></accept>
</alias>
<alias>
<family>Levenim MT</family>
<accept><family>Miriam CLM</family></accept>
</alias>
<alias>
<family>Miriam</family>
<accept><family>Miriam CLM</family></accept>
</alias>
<alias>
<family>Miriam Transparent</family>
<accept><family>Miriam CLM</family></accept>
</alias>
<!-- generic names -->
<alias>
<family>Miriam CLM</family>
<default>
<family>sans-serif</family>
</default>
</alias>
<!-- locale-specific overrides -->
<match>
<test name="lang">
<string>he-il</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Miriam CLM</string>
</edit>
</match>
</fontconfig>

View File

@ -1,50 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<!-- WINDOWS ALIASES -->
<alias>
<family>Fixed Miriam Transparent</family>
<accept><family>Miriam Mono CLM</family></accept>
</alias>
<alias>
<family>Guttman Myamfix</family>
<accept><family>Miriam Mono CLM</family></accept>
</alias>
<alias>
<family>Guttman-CourMir</family>
<accept><family>Miriam Mono CLM</family></accept>
</alias>
<alias>
<family>Miriam Fixed</family>
<accept><family>Miriam Mono CLM</family></accept>
</alias>
<!-- CULMUS ALIASES -->
<alias> <family>Miriam Mono</family> <accept><family>Miriam Mono CLM</family></accept></alias>
<!-- generic names -->
<alias>
<family>Miriam Mono CLM</family>
<default>
<family>sans-serif</family>
</default>
</alias>
<!-- locale-specific overrides -->
<match>
<test name="lang">
<string>he-il</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Miriam Mono CLM</string>
</edit>
</match>
</fontconfig>

View File

@ -1,33 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<!-- CULMUS ALIASES -->
<alias> <family>Nachlieli</family> <accept><family>Nachlieli CLM</family></accept> </alias>
<!-- MAC ALIASES -->
<alias> <family>ArialHB</family> <accept><family>Nachlieli CLM</family></accept> </alias>
<!-- generic names -->
<alias>
<family>Nachlieli CLM</family>
<default>
<family>sans-serif</family>
</default>
</alias>
<!-- locale-specific overrides -->
<match>
<test name="lang">
<string>he-il</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Nachlieli CLM</string>
</edit>
</match>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Shofar</family>
</prefer>
</alias>
<alias>
<family>Shofar</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Simple CLM</family>
</prefer>
</alias>
<alias>
<family>Simple CLM</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Stam Ashkenaz CLM</family>
</prefer>
</alias>
<alias>
<family>Stam Ashkenaz CLM</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Stam Sefarad CLM</family>
</prefer>
</alias>
<alias>
<family>Stam Sefarad CLM</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Yehuda CLM</family>
</prefer>
</alias>
<alias>
<family>Yehuda CLM</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,483 +0,0 @@
BuildArch: noarch
BuildRequires: /usr/bin/makeotfexe
BuildRequires: fontforge
Version: 0.133
Release: 8%{?dist}
License: GPL-2.0-only
URL: http://culmus.sourceforge.net
%global common_description %{expand:
The culmus-fonts package contains fonts for the display of
Hebrew from the Culmus project.}
%global foundry CLM
%global fontlicenses LICENSE GNU-GPL LICENSE LICENSE-BITSTREAM
%global fontdocs CHANGES
%global fontdocsex %{fontlicenses}
Source0: http://downloads.sourceforge.net/culmus/culmus-%{version}.tar.gz
Source17: modify-font-metadata.pe
Name: culmus-fonts
Summary: Fonts for Hebrew from Culmus project
%description
%wordwrap -v common_description
%global fontfamily1 Aharoni CLM
%global fontsummary1 Aharoni CLM, a sans-serif font family
%global fontpkgheader1 %{expand:
Obsoletes: culmus-aharoni-clm-fonts < 0.133-1
Provides: culmus-aharoni-clm-fonts = %{version}-%{release}
}
%global fonts1 AharoniCLM-*.otf
%global fontconfs1 %{SOURCE1}
%global fontdescription1 %{expand:
%{common_description}
This package provides Aharoni CLM, a sans-serif font family.
}
%global fontfamily2 Caladings CLM
%global fontsummary2 Caladings CLM, a fantasy font family
%global fontpkgheader2 %{expand:
Obsoletes: culmus-caladings-clm-fonts < 0.133-1
Provides: culmus-caladings-clm-fonts = %{version}-%{release}
}
%global fonts2 CaladingsCLM.otf
%global fontconfs2 %{SOURCE2}
%global fontdescription2 %{expand:
%{common_description}
This package provides Caladings CLM, a fantasy font family.
}
%global fontfamily3 David CLM
%global fontsummary3 David CLM, a serif font family
%global fontpkgheader3 %{expand:
Obsoletes: culmus-david-clm-fonts < 0.133-1
Provides: culmus-david-clm-fonts = %{version}-%{release}
}
%global fonts3 DavidCLM-*.otf
%global fontconfs3 %{SOURCE3}
%global fontdescription3 %{expand:
%{common_description}
This package provides David CLM, a serif font family.
}
%global fontfamily4 Drugulin CLM
%global fontsummary4 Drugulin CLM, a serif font family
%global fontpkgheader4 %{expand:
Obsoletes: culmus-drugulin-clm-fonts < 0.133-1
Provides: culmus-drugulin-clm-fonts = %{version}-%{release}
}
%global fonts4 DrugulinCLM-*.otf
%global fontconfs4 %{SOURCE4}
%global fontdescription4 %{expand:
%{common_description}
This package provides Drugulin CLM, a serif font family.
}
%global fontfamily5 Ellinia CLM
%global fontsummary5 Ellinia CLM, a sans-serif font family
%global fontpkgheader5 %{expand:
Obsoletes: culmus-ellinia-clm-fonts < 0.133-1
Provides: culmus-ellinia-clm-fonts = %{version}-%{release}
}
%global fonts5 ElliniaCLM-*.otf
%global fontconfs5 %{SOURCE5}
%global fontdescription5 %{expand:
%{common_description}
This package provides Ellinia CLM, a sans-serif font family.
}
%global fontfamily6 Frank Ruehl CLM
%global fontsummary6 Frank Ruehl CLM, a serif font family
%global fontpkgheader6 %{expand:
Obsoletes: culmus-frank-ruehl-clm-fonts < 0.133-1
Provides: culmus-frank-ruehl-clm-fonts = %{version}-%{release}
}
%global fonts6 FrankRuehlCLM-*.ttf
%global fontconfs6 %{SOURCE6}
%global fontdescription6 %{expand:
%{common_description}
This package provides Frank Ruehl CLM, a serif font family.
}
%global fontfamily7 Hadasim CLM
%global fontsummary7 Hadasim CLM, a serif font family
%global fontpkgheader7 %{expand:
Obsoletes: culmus-hadasim-clm-fonts < 0.133-1
Provides: culmus-hadasim-clm-fonts = %{version}-%{release}
}
%global fonts7 HadasimCLM-*.ttf
%global fontconfs7 %{SOURCE7}
%global fontdescription7 %{expand:
%{common_description}
This package provides Hadasim CLM, a serif font family.
}
%global fontfamily8 Keter YG
%global fontsummary8 Keter YG, a sans-serif font family
%global fontpkgheader8 %{expand:
Obsoletes: culmus-keteryg-fonts < 0.133-1
Provides: culmus-keteryg-fonts = %{version}-%{release}
}
%global fonts8 KeterYG-*.ttf
%global fontconfs8 %{SOURCE8}
%global fontdescription8 %{expand:
%{common_description}
This package provides Keter YG, a sans-serif font family.
}
%global fontfamily9 Miriam CLM
%global fontsummary9 Miriam CLM, a sans-serif font family
%global fontpkgheader9 %{expand:
Obsoletes: culmus-miriam-clm-fonts < 0.133-1
Provides: culmus-miriam-clm-fonts = %{version}-%{release}
}
%global fonts9 MiriamCLM-*.ttf
%global fontconfs9 %{SOURCE9}
%global fontdescription9 %{expand:
%{common_description}
This package provides Miriam CLM, a sans-serif font family.
}
%global fontfamily10 Miriam Mono CLM
%global fontsummary10 Miriam Mono CLM, a monospace font family
%global fontpkgheader10 %{expand:
Obsoletes: culmus-miriam-mono-clm-fonts < 0.133-1
Provides: culmus-miriam-mono-clm-fonts = %{version}-%{release}
}
%global fonts10 MiriamMonoCLM-*.ttf
%global fontconfs10 %{SOURCE10}
%global fontdescription10 %{expand:
%{common_description}
This package provides Miriam Mono CLM, a monospace font family.
}
%global fontfamily11 Nachlieli CLM
%global fontsummary11 Nachlieli CLM, a sans-serif font family
%global fontpkgheader11 %{expand:
Obsoletes: culmus-nachlieli-clm-fonts < 0.133-1
Provides: culmus-nachlieli-clm-fonts = %{version}-%{release}
}
%global fonts11 NachlieliCLM-*.otf
%global fontconfs11 %{SOURCE11}
%global fontdescription11 %{expand:
%{common_description}
This package provides Nachlieli CLM, a sans-serif font family.
}
%global fontfamily12 Shofar
%global fontsummary12 Shofar, a serif font family
%global fontpkgheader12 %{expand:
Obsoletes: culmus-shofar-clm-fonts < 0.133-1
Provides: culmus-shofar-clm-fonts = %{version}-%{release}
}
%global fonts12 Shofar*.ttf
%global fontconfs12 %{SOURCE12}
%global fontdescription12 %{expand:
%{common_description}
This package provides Shofar, a serif font family.
}
%global fontfamily13 Simple CLM
%global fontsummary13 Simple CLM, a sans-serif font family
%global fontpkgheader13 %{expand:
Obsoletes: culmus-simple-clm-fonts < 0.133-1
Provides: culmus-simple-clm-fonts = %{version}-%{release}
}
%global fonts13 SimpleCLM-*.ttf
%global fontconfs13 %{SOURCE13}
%global fontdescription13 %{expand:
%{common_description}
This package provides Simple CLM, a sans-serif font family.
}
%global fontfamily14 Stam Ashkenaz CLM
%global fontsummary14 Stam Ashkenaz CLM, a serif font family
%global fontpkgheader14 %{expand:
Obsoletes: culmus-stamashkenaz-clm-fonts < 0.133-1
Provides: culmus-stamashkenaz-clm-fonts = %{version}-%{release}
}
%global fonts14 StamAshkenazCLM.ttf
%global fontconfs14 %{SOURCE14}
%global fontdescription14 %{expand:
%{common_description}
This package provides Stam Ashkenaz CLM, a serif font family.
}
%global fontfamily15 Stam Sefarad CLM
%global fontsummary15 Stam Sefarad CLM, a serif font family
%global fontpkgheader15 %{expand:
Obsoletes: culmus-stamsefarad-clm-fonts < 0.133-1
Provides: culmus-stamsefarad-clm-fonts = %{version}-%{release}
}
%global fonts15 StamSefaradCLM.ttf
%global fontconfs15 %{SOURCE15}
%global fontdescription15 %{expand:
%{common_description}
This package provides Stam Sefarad CLM, a serif font family.
}
%global fontfamily16 Yehuda CLM
%global fontsummary16 Yehuda CLM, a sans-serif font family
%global fontpkgheader16 %{expand:
Obsoletes: culmus-yehuda-clm-fonts < 0.133-1
Provides: culmus-yehuda-clm-fonts = %{version}-%{release}
}
%global fonts16 YehudaCLM-*.otf
%global fontconfs16 %{SOURCE16}
%global fontdescription16 %{expand:
%{common_description}
This package provides Yehuda CLM, a sans-serif font family.
}
%fontpkg -a
Source1: 66-%{fontpkgname1}.conf
Source2: 66-%{fontpkgname2}.conf
Source3: 65-%{fontpkgname3}.conf
Source4: 66-%{fontpkgname4}.conf
Source5: 66-%{fontpkgname5}.conf
Source6: 66-%{fontpkgname6}.conf
Source7: 66-%{fontpkgname7}.conf
Source8: 66-%{fontpkgname8}.conf
Source9: 66-%{fontpkgname9}.conf
Source10: 66-%{fontpkgname10}.conf
Source11: 66-%{fontpkgname11}.conf
Source12: 66-%{fontpkgname12}.conf
Source13: 66-%{fontpkgname13}.conf
Source14: 66-%{fontpkgname14}.conf
Source15: 66-%{fontpkgname15}.conf
Source16: 66-%{fontpkgname16}.conf
%fontmetapkg
%prep
%setup -q -n culmus-%{version}
cp -p %{SOURCE17} .
%build
# As per fonts packaging guidelines we cannot install non-opentype fonts
# hence lets use makeotf tool to convert them to otf type format
makeotfexe -f AharoniCLM-BoldOblique.pfa -b
makeotfexe -f AharoniCLM-Bold.pfa -b
makeotfexe -f AharoniCLM-BookOblique.pfa
makeotfexe -f AharoniCLM-Book.pfa
makeotfexe -f CaladingsCLM.pfa
makeotfexe -f DrugulinCLM-BoldItalic.pfa -bi
makeotfexe -f DrugulinCLM-Bold.pfa -b
makeotfexe -f ElliniaCLM-BoldItalic.pfa -bi
makeotfexe -f ElliniaCLM-Bold.pfa -b
makeotfexe -f ElliniaCLM-LightItalic.pfa -i
makeotfexe -f ElliniaCLM-Light.pfa
makeotfexe -f YehudaCLM-Bold.pfa -b
makeotfexe -f YehudaCLM-Light.pfa
fontforge ./modify-font-metadata.pe
%fontbuild -a
%install
%fontinstall -a
%check
%fontcheck -a
%fontfiles -a
%changelog
* Mon Jul 24 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.133-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.133-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Mon Nov 14 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.133-6
- Update for SPDX license expression
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.133-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.133-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Aug 06 2021 Parag Nemade <pnemade AT redhat DOT com> - 0.133-3
- Update the Obsoletes: version for smooth upgrade
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.133-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jun 15 2021 Parag Nemade <pnemade AT redhat DOT com> - 0.133-1
- Update to 0.133 release
- Convert to new fonts packaging guidelines
- Dropped *.afm font files
- Converted *.pfa font files to *.otf format using makeotfexe tool
- Drop Obsoletes: culmus-fonts
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.130-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.130-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.130-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.130-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.130-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.130-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.130-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.130-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.130-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Jun 06 2016 Pravin Satpute <psatpute@redhat.com> - 0.130-9
- Resolved #1217066 : culmus-keteryg-fonts takes over Firefox?
- Update fontconf priority of all fonts from 65 to 66, except David
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.130-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.130-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Nov 11 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.130-6
- Add metainfo file to show this font in gnome-software
- Remove owneship of %%{_fontdir} in -common
- Remove group tag
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.130-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Sep 18 2013 Pravin Satpute <psatpute@redhat.com> - 0.130-4
- Resolved #1002085 :- Removed old obsoletes
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.130-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Jun 19 2013 Pravin Satpute <psatpute@redhat.com> - 0.130-2
- Resolved #975735 :- Typo in fontconfig file
* Wed Mar 20 2013 Pravin Satpute <psatpute@redhat.com> - 0.130-1
- Upstream release 0.130 new family Shofar
- Resolved #923153
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.121-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Tue Nov 27 2012 Pravin Satpute <psatpute@redhat.com> - 0.121-4
- Spec file cleanup #878538
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.121-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Wed Jul 11 2012 Pravin Satpute <psatpute@redhat.com> - 0.121-2
- Resolves bug 837533
* Mon Jan 30 2012 Pravin Satpute <psatpute@redhat.com> - 0.121-1
- Upstream new release 0.121 with Frank Ruehl OT
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.120-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.120-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon Nov 22 2010 Pravin Satpute <psatpute@redhat.com> - 0.120-1
- Upstream new release.
- Added new families Hadasim CLM, Keter YG, Simple CLM, Stam Ashkenaz CLM, Stam Sefarad CLM
* Fri Sep 03 2010 Pravin Satpute <psatpute@redhat.com> - 0.105-1
- Upstream new release.
- Miriam Mono family is now OpenType and has diacritics support developed by Yoram Gnat.
* Mon Apr 19 2010 Pravin Satpute <psatpute@redhat.com> - 0.104-3
- fixed bug 578018 .conf file
* Fri Feb 19 2010 Pravin Satpute <psatpute@redhat.com> - 0.104-2
- updated .conf file priorities
- fixed bug 565385
* Fri Feb 12 2010 Pravin Satpute <psatpute@redhat.com> - 0.104-1
- new upstream release
* Tue Jan 19 2010 Pravin Satpute <psatpute@redhat.com> - 0.103-5
- fixed compat package bug 484621
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Fri Jul 10 2009 Pravin Satpute <psatpute@redhat.com> - 0.103-3
- added DavidCLM afm and pfa
- bug 509694
* Wed Jul 08 2009 Pravin Satpute <psatpute@redhat.com> - 0.103-1
- upstream new release 0.103
* Tue Apr 14 2009 Rahul Bhalerao <rbhalera@redhat.com> - 0.102-6.fc11
- Rebuild for bug #491957.
* Thu Mar 19 2009 Rahul Bhalerao <rbhalera@redhat.com> - 0.102-5.fc11
- Corrected Obsoletes for compat.
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.102-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Feb 16 2009 Rahul Bhalerao <rbhalera@redhat.com> - 0.102-3.fc11
- Modified -compat.
* Mon Feb 09 2009 Rahul Bhalerao <rbhalera@redhat.com> - 0.102-2.fc11
- Created -compat for subpackage for smooth upgrade.
* Wed Feb 04 2009 Rahul Bhalerao <rbhalera@redhat.com> - 0.102-1.fc11
- Updated version.
- Following new font packaging guidelines.
* Wed Jul 23 2008 Rahul Bhalerao <rbhalera@redhat.com> - 0.101-5.fc10
- Obsoleted dead package fonts-hebrew
* Mon Oct 15 2007 Rahul Bhalerao <rbhalera@redhat.com> - 0.101-4.fc8
- License change
* Thu Oct 11 2007 Rahul Bhalerao <rbhalera@redhat.com> - 0.101-3.fc8
- Updated according to the review
* Thu Oct 04 2007 Rahul Bhalerao <rbhalera@redhat.com> - 0.101-2.fc8
- Using common spec template for font packages
* Thu Oct 04 2007 Rahul Bhalerao <rbhalera@redhat.com> - 0.101-1.fc8
- Font directory and package name corrected and updated the version
* Thu Oct 04 2007 Rahul Bhalerao <rbhalera@redhat.com> - 0.100-1.fc8
- Split package from fonts-hebrew to reflect upstream project name

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Parag Nemade <pnemade AT redhat DOT com> -->
<component type="font">
<id>culmus</id>
<metadata_license>CC-BY-3.0</metadata_license>
<name>Culmus</name>
<summary>Fonts for Hebrew from Culmus project</summary>
<description>
<p>
The culmus-fonts package contains fonts for the display of
Hebrew from the Culmus project.
</p>
</description>
<updatecontact>pnemade_at_redhat_dot_com</updatecontact>
<url type="homepage">http://culmus.sourceforge.net/</url>
</component>

1
dead.package Normal file
View File

@ -0,0 +1 @@
culmus-fonts was removed due to minimization efforts prior to public launch

View File

@ -1,112 +0,0 @@
#!/usr/bin/fontforge
Open('./AharoniCLM-BookOblique.otf')
SetTTFName(0x409, 4, 'AharoniCLM Oblique')
SetTTFName(0x409, 17, 'Oblique')
Generate('./AharoniCLM-BookOblique.otf')
Close()
Open('./AharoniCLM-BoldOblique.otf')
SetTTFName(0x409, 4, 'AharoniCLM Bold Oblique')
SetTTFName(0x409, 17, 'Bold Oblique')
Generate('./AharoniCLM-BoldOblique.otf')
Close()
Open('./DavidCLM-MediumItalic.otf')
SetTTFName(0x409, 2, 'Medium Italic')
Generate('./DavidCLM-MediumItalic.otf')
Close()
Open('./DavidCLM-BoldItalic.otf')
SetTTFName(0x409, 2, 'Bold Italic')
Generate('./DavidCLM-BoldItalic.otf')
Close()
Open('./DrugulinCLM-BoldItalic.otf')
SetTTFName(0x409, 4, 'DrugulinCLM Bold Italic')
SetTTFName(0x409, 17, 'Bold Italic')
Generate('./DrugulinCLM-BoldItalic.otf')
Close()
Open('./ElliniaCLM-BoldItalic.otf')
SetTTFName(0x409, 4, 'ElliniaCLM Bold Italic')
SetTTFName(0x409, 17, 'Bold Italic')
Generate('./ElliniaCLM-BoldItalic.otf')
Close()
Open('./FrankRuehlCLM-BoldOblique.ttf')
SetTTFName(0x409, 2, 'Bold Oblique')
Generate('./FrankRuehlCLM-BoldOblique.ttf')
Close()
Open('./FrankRuehlCLM-MediumOblique.ttf')
SetTTFName(0x409, 2, 'Medium Oblique')
Generate('./FrankRuehlCLM-MediumOblique.ttf')
Close()
Open('./HadasimCLM-Regular.ttf')
SetTTFName(0x409, 4, 'Hadasim CLM')
Generate('./HadasimCLM-Regular.ttf')
Close()
Open('./HadasimCLM-RegularOblique.ttf')
SetTTFName(0x409, 2, 'Oblique')
SetTTFName(0x409, 4, 'Hadasim CLM Oblique')
Generate('./HadasimCLM-RegularOblique.ttf')
Close()
Open('./HadasimCLM-BoldOblique.ttf')
SetTTFName(0x409, 2, 'Bold Oblique')
Generate('./HadasimCLM-BoldOblique.ttf')
Close()
Open('./KeterYG-MediumOblique.ttf')
SetTTFName(0x409, 2, 'Medium Oblique')
Generate('./KeterYG-MediumOblique.ttf')
Close()
Open('./KeterYG-BoldOblique.ttf')
SetTTFName(0x409, 2, 'Bold Oblique')
Generate('./KeterYG-BoldOblique.ttf')
Close()
Open('./MiriamMonoCLM-BookOblique.ttf')
SetTTFName(0x409, 2, 'Book Oblique')
Generate('./MiriamMonoCLM-BookOblique.ttf')
Close()
Open('./MiriamMonoCLM-BoldOblique.ttf')
SetTTFName(0x409, 2, 'Bold Oblique')
Generate('./MiriamMonoCLM-BoldOblique.ttf')
Close()
Open('./NachlieliCLM-LightOblique.otf')
SetTTFName(0x409, 2, 'Light Oblique')
Generate('./NachlieliCLM-LightOblique.otf')
Close()
Open('./NachlieliCLM-BoldOblique.otf')
SetTTFName(0x409, 2, 'Bold Oblique')
Generate('./NachlieliCLM-BoldOblique.otf')
Close()
Open('./SimpleCLM-MediumOblique.ttf')
SetTTFName(0x409, 2, 'Medium Oblique')
SetTTFName(0x409, 4, 'Simple CLM Medium Oblique')
Generate('./SimpleCLM-MediumOblique.ttf')
Close()
Open('./SimpleCLM-BoldOblique.ttf')
SetTTFName(0x409, 2, 'Bold Oblique')
SetTTFName(0x409, 4, 'Simple CLM Bold Oblique')
Generate('./SimpleCLM-BoldOblique.ttf')
Close()
Open('./ShofarRegular.ttf')
SetTTFName(0x409, 4, 'Shofar')
Generate('./ShofarRegular.ttf')
Close()
Open('./ShofarRegularOblique.ttf')
SetTTFName(0x409, 2, 'Oblique')
SetTTFName(0x409, 4, 'Shofar Oblique')
Generate('./ShofarRegularOblique.ttf')
Close()
Open('./ShofarDemi-Bold.ttf')
SetTTFName(0x409, 4, 'Shofar Demi Bold')
Generate('./ShofarDemi-Bold.ttf')
Close()
Open('./ShofarDemi-BoldOblique.ttf')
SetTTFName(0x409, 2, 'Bold Oblique')
SetTTFName(0x409, 4, 'Shofar Demi Bold Oblique')
Generate('./ShofarDemi-BoldOblique.ttf')
Close()
Open('./StamAshkenazCLM.ttf')
SetTTFName(0x409, 4, 'Stam Ashkenaz CLM Medium')
Generate('./StamAshkenazCLM.ttf')
Close()
Open('./StamSefaradCLM.ttf')
SetTTFName(0x409, 4, 'Stam Sefarad CLM Medium')
Generate('./StamSefaradCLM.ttf')
Close()

View File

@ -1 +0,0 @@
SHA512 (culmus-0.133.tar.gz) = 97c17dbe4ad5b542a2bfd6c9c7a7afeeabae942cbbd3a718d46ceb18b4020fe7fdf93ade07a65a2da93dadff645abf0da4648713e3452d30bf2a9a79201f2845

View File

@ -1,7 +0,0 @@
---
role_pkgs_req:
- fontconfig
- fontconfig-devel
- pkg-config
- rsync

View File

@ -1,153 +0,0 @@
#! /bin/bash -efu
debug() {
if [ -n "$DEBUG" ]; then
echo "$*" >&2
fi
}
msg_usage() {
cat <<_EOF_
Run family test.
Usage:
$PROG <options>
Options:
-h, --help Display this help and exit
-v, --verbose Turn on debug
-l, --lang=LANG Test LANG language coverage (default: en)
-f, --family=FILE Set a family name supposed to be assigned for alias.
-g, --alias=STR Set an alias name. (default: sans-serif)
-a, --artifactsdir=DIR Set environment dir to store artifacts
-k, --package=NAME Set a package name for fonts.
_EOF_
}
PROG="${PROG:-${0##*/}}"
DEBUG="${DEBUG:-}"
OPT_LANG="${OPT_LANG:-en}"
OPT_FAMILY="${OPT_FAMILY:-}"
OPT_ARTIFACTS_DIR="${OPT_ARTIFACTS_DIR:-}"
OPT_ALIAS="${OPT_ALIAS:-sans-serif}"
OPT_PACKAGE="${OPT_PACKAGE:-}"
opt=$(getopt -n "$0" --options "hvl:f:t:a:g:k:" --longoptions "help,verbose,lang:,family:,test:,artifactsdir:,alias:,package:" -- "$@")
eval set -- "$opt"
while [[ $# -gt 0 ]]; do
case "$1" in
-k|--package)
OPT_PACKAGE="$2"
shift 2
;;
-g|--alias)
OPT_ALIAS="$2"
shift 2
;;
-a|--artifactsdir)
OPT_ARTIFACTS_DIR="$2"
shift 2
;;
-f|--family)
OPT_FAMILY="$2"
shift 2
;;
-l|--lang)
OPT_LANG="$2"
shift 2
;;
-v|--verbose)
DEBUG="-v"
shift
;;
-h|--help)
msg_usage
exit 0
;;
--)
shift
;;
*)
msg_usage
exit 1
esac
done
if [ -z "$OPT_ARTIFACTS_DIR" ] || [ -z "$OPT_LANG" ] || [ -z "$OPT_FAMILY" ]; then
echo "Use: $PROG -h for help."
exit 0
fi
debug "Alias: $OPT_ALIAS"
debug "Family: $OPT_FAMILY"
debug "Lang: $OPT_LANG"
debug "Artifacts dir: $OPT_ARTIFACTS_DIR"
debug "Package name: $OPT_PACKAGE"
STR_TEST_DASHED=$(echo "${OPT_PACKAGE}_${OPT_ALIAS}" | sed -e 's/\//-/g' -e 's/ /-/g')
debug "Log file: $STR_TEST_DASHED.log"
clean_exit() {
rc=$?;
trap - SIGINT SIGTERM SIGABRT EXIT
echo "Run test $OPT_ALIAS: done."
for pid in $(ps -o pid --no-headers --ppid $$); do
if [ -n "$(ps -p $pid -o pid=)" ]; then
kill -s HUP $pid
fi
done
local log_file_name="$STR_TEST_DASHED.log"
local log_file_path="$OPT_ARTIFACTS_DIR/$log_file_name"
local status
if [[ $rc -eq 127 ]]; then
status="ERROR"
elif grep -q "RESULT: WARN" "$log_file_path"; then
status="ERROR"
elif grep -q "RESULT: FAIL" "$log_file_path"; then
status="FAIL"
elif grep -q "RESULT: PASS" "$log_file_path"; then
status="PASS"
elif grep -q "FAIL" "$log_file_path"; then
status="FAIL"
elif grep -q "PASS" "$log_file_path"; then
status="PASS"
else
status="ERROR"
fi
echo "$status $OPT_ALIAS" >> "$OPT_ARTIFACTS_DIR/test.log"
mv "$log_file_path" "$OPT_ARTIFACTS_DIR/${status}_${log_file_name}"
local results="$OPT_ARTIFACTS_DIR/results.yml"
local result=$(echo $status | tr '[:upper:]' '[:lower:]')
test -f "$results" || echo 'results:' > "$results"
echo "- {result: $result, test: $OPT_ALIAS}" >> "$results"
exit 0
}
trap clean_exit SIGINT SIGTERM SIGABRT EXIT
cachedir=`pkg-config --variable cachedir fontconfig`
tmpconfd=`mktemp --tmpdir -d fontsci.XXXXXXXX`
conf=$(for i in `rpm -ql $OPT_PACKAGE | grep conf.d`; do
echo "<include>$i</include>"
done)
cat <<_EOF_> $tmpconfd/fonts.conf
<fontconfig>
<dir>/usr/share/fonts</dir>
$conf
<cachedir>$cachedir</cachedir>
</fontconfig>
_EOF_
debug "Config: `cat $tmpconfd/fonts.conf`"
mkdir -p "$OPT_ARTIFACTS_DIR"
export OUTPUTFILE="$(realpath "$OPT_ARTIFACTS_DIR")/$STR_TEST_DASHED-out.log"
logfile_stdout="$OPT_ARTIFACTS_DIR/$STR_TEST_DASHED.log"
logfile_stderr="$OPT_ARTIFACTS_DIR/$STR_TEST_DASHED-err.log"
exec 3>&1 4>&2 1> >(tee -a "$logfile_stdout" >&3) 2> >(tee -a "$logfile_stderr" >&4)
debug "Check family assignment"
res=`FONTCONFIG_FILE=$tmpconfd/fonts.conf fc-match -f "%{family[0]}" :family=$OPT_ALIAS:lang=$OPT_LANG`
if [ "x$res" = "x$OPT_FAMILY" ]; then
echo "RESULT: PASS: $OPT_FAMILY was assigned to $OPT_ALIAS as expected"
else
echo "RESULT: FAIL: $OPT_FAMILY wasn't assigned to $OPT_ALIAS (actual result: $res)"
fi
rm -rf $tmpconfd

View File

@ -1,155 +0,0 @@
#! /bin/bash -efu
debug() {
if [ -n "$DEBUG" ]; then
echo "$*" >&2
fi
}
msg_usage() {
cat <<_EOF_
Run language coverage test.
Usage:
$PROG <options>
Options:
-h, --help Display this help and exit
-v, --verbose Turn on debug
-l, --lang=LANG Test LANG language coverage (default: en)
-p, --path=PATH Test fonts on PATH
-a, --artifactsdir=DIR test environment dir to store artifacts
-i, --ignore=FILE Ignore FILE to check.
_EOF_
}
PROG="${PROG:-${0##*/}}"
DEBUG="${DEBUG:-}"
OPT_LANG="${OPT_LANG:-en}"
OPT_PATH="${OPT_PATH:-}"
OPT_ARTIFACTS_DIR="${OPT_ARTIFACTS_DIR:-}"
OPT_IGNORE=()
opt=$(getopt -n "$0" --options "hvl:p:t:a:i:" --longoptions "help,verbose,lang:,path:,test:,artifactsdir:,ignore:" -- "$@")
eval set -- "$opt"
while [[ $# -gt 0 ]]; do
case "$1" in
-i|--ignore)
OPT_IGNORE+=("$2")
shift 2
;;
-a|--artifactsdir)
OPT_ARTIFACTS_DIR="$2"
shift 2
;;
-p|--path)
OPT_PATH="$2"
shift 2
;;
-l|--lang)
OPT_LANG="$2"
shift 2
;;
-v|--verbose)
DEBUG="-v"
shift
;;
-h|--help)
msg_usage
exit 0
;;
--)
shift
;;
*)
msg_usage
exit 1
esac
done
if [ -z "$OPT_ARTIFACTS_DIR" ] || [ -z "$OPT_LANG" ] || [ -z "$OPT_PATH" ]; then
echo "Use: $PROG -h for help."
exit 0
fi
debug "Path: $OPT_PATH"
debug "Lang: $OPT_LANG"
debug "Artifacts dir: $OPT_ARTIFACTS_DIR"
debug "Ignore: ${OPT_IGNORE[@]}"
STR_TEST_DASHED=$(echo "$OPT_PATH" | sed -e 's/\//-/g')
clean_exit() {
rc=$?;
trap - SIGINT SIGTERM SIGABRT EXIT
echo "Run test $OPT_PATH: done."
for pid in $(ps -o pid --no-headers --ppid $$); do
if [ -n "$(ps -p $pid -o pid=)" ]; then
kill -s HUP $pid
fi
done
local log_file_name="$STR_TEST_DASHED.log"
local log_file_path="$OPT_ARTIFACTS_DIR/$log_file_name"
local status
if [[ $rc -eq 127 ]]; then
status="ERROR"
elif grep -q "RESULT: WARN" "$log_file_path"; then
status="ERROR"
elif grep -q "RESULT: FAIL" "$log_file_path"; then
status="FAIL"
elif grep -q "RESULT: PASS" "$log_file_path"; then
status="PASS"
elif grep -q "FAIL" "$log_file_path"; then
status="FAIL"
elif grep -q "PASS" "$log_file_path"; then
status="PASS"
else
status="ERROR"
fi
echo "$status $OPT_PATH" >> "$OPT_ARTIFACTS_DIR/test.log"
mv "$log_file_path" "$OPT_ARTIFACTS_DIR/${status}_${log_file_name}"
local results="$OPT_ARTIFACTS_DIR/results.yml"
local result=$(echo $status | tr '[:upper:]' '[:lower:]')
test -f "$results" || echo 'results:' > "$results"
echo "- {result: $result, test: $OPT_PATH}" >> "$results"
exit 0
}
trap clean_exit SIGINT SIGTERM SIGABRT EXIT
mkdir -p "$OPT_ARTIFACTS_DIR"
export OUTPUTFILE="$(realpath "$OPT_ARTIFACTS_DIR")/$STR_TEST_DASHED-out.log"
logfile_stdout="$OPT_ARTIFACTS_DIR/$STR_TEST_DASHED.log"
logfile_stderr="$OPT_ARTIFACTS_DIR/$STR_TEST_DASHED-err.log"
exec 3>&1 4>&2 1> >(tee -a "$logfile_stdout" >&3) 2> >(tee -a "$logfile_stderr" >&4)
contains() {
local e match="$1"
shift
for e; do [[ "$e" == "$match" ]] && return 1; done
return 0
}
debug "Check language coverage"
set +f
for i in `find $OPT_PATH -regex '.*/*\.\(t1\)?\(ttf\)?\(otf\)?\(ttc\)?\(pcf.*\)?'`; do
set -f
debug "$i"
if test -f $i; then
n=`basename $i`
set +e
contains "$n" "${OPT_IGNORE[@]}"
ret=$?
set -e
if [ $ret -eq 1 ]; then
debug "ignoring $i"
continue
fi
debug " $i"
res=`fc-validate -l $OPT_LANG $i`
if echo $res | grep -q Missing; then
echo "RESULT: FAIL: $i doesn't satisfy $OPT_LANG language coverage."
else
echo "RESULT: PASS: $i satisfy $OPT_LANG language coverage."
fi
fi
done

View File

@ -1,4 +0,0 @@
---
dependencies:
- role: str-common-init

View File

@ -1,39 +0,0 @@
---
- block:
- name: language coverage
script: run-lang-coverage-test --lang "{{ item }}" --path "{{ path_prefix }}" --artifactsdir "{{ remote_artifacts }}" {{ "" if coverage.values is not defined or coverage[item].ignore is not defined else "--ignore " + (coverage[item].ignore | join('--ignore ')) }}
with_items:
- "{{ coverage if coverage.keys is not defined else coverage.keys()|list }}"
- name: generic family assignment
script: run-family-test --lang {{ item.lang }} --family '{{ item.family }}' --alias {{ item.alias }} --artifactsdir {{ remote_artifacts }} --package {{ package if item.package is not defined else item.package }}
with_items:
- "{{ families }}"
- name: Check the results
shell: |
log="{{ remote_artifacts }}/test.log"
if [ ! -f "$log" ]; then
echo ERROR
echo "Test results not found." 1>&2
elif grep ^ERROR "$log" 1>&2; then
echo ERROR
elif grep ^FAIL "$log" 1>&2; then
echo FAIL
elif grep -q ^PASS "$log"; then
echo PASS
else
echo ERROR
echo "No test results found." 1>&2
fi
register: test_results
- name: Set role result
set_fact:
role_result: "{{ test_results.stdout }}"
role_message: "{{ test_results.stderr|d('test execution error.') }}"
role_result_failed: "{{ test_results.stdout != 'PASS' }}"
role_result_msg: "{{ test_results.stderr|d('test execution error.') }}"
- include_role:
name: str-common-final

View File

@ -1,81 +0,0 @@
- hosts: localhost
tags:
- classic
roles:
- role: custom-test-fonts
required_packages:
- culmus-shofar-fonts
- culmus-keteryg-fonts
- culmus-david-clm-fonts
- culmus-miriam-clm-fonts
- culmus-simple-clm-fonts
- culmus-aharoni-clm-fonts
- culmus-ellinia-clm-fonts
- culmus-hadasim-clm-fonts
- culmus-drugulin-clm-fonts
- culmus-nachlieli-clm-fonts
- culmus-frank-ruehl-clm-fonts
- culmus-miriam-mono-clm-fonts
- culmus-stamsefarad-clm-fonts
- culmus-stamashkenaz-clm-fonts
path_prefix: /usr/share/fonts/culmus
coverage:
- he
families:
- lang: he
alias: serif
family: Shofar
package: culmus-shofar-fonts
- lang: he
alias: serif
family: Keter YG
package: culmus-keteryg-fonts
- lang: he
alias: David
family: David CLM
package: culmus-david-clm-fonts
- lang: he
alias: Miriam
family: Miriam CLM
package: culmus-miriam-clm-fonts
- lang: he
alias: sans-serif
family: Simple CLM
package: culmus-simple-clm-fonts
- lang: he
alias: Aharoni
family: Aharoni CLM
package: culmus-aharoni-clm-fonts
- lang: he
alias: Ellinia
family: Ellinia CLM
package: culmus-ellinia-clm-fonts
- lang: he
alias: serif
family: Hadasim CLM
package: culmus-hadasim-clm-fonts
- lang: he
alias: Drugulin
family: Drugulin CLM
package: culmus-drugulin-clm-fonts
- lang: he
alias: Nachlieli
family: Nachlieli CLM
package: culmus-nachlieli-clm-fonts
- lang: he
alias: FrankRuehl
family: Frank Ruehl CLM
package: culmus-frank-ruehl-clm-fonts
- lang: he
alias: MiriamMono
family: Miriam Mono CLM
package: culmus-miriam-mono-clm-fonts
- lang: he
alias: serif
family: Stam Sefarad CLM
package: culmus-stamsefarad-clm-fonts
- lang: he
alias: serif
family: Stam Ashkenaz CLM
package: culmus-stamashkenaz-clm-fonts