Compare commits

...

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

7 changed files with 100 additions and 9 deletions

12
.gitignore vendored
View File

@ -1 +1,11 @@
SOURCES/ttfautohint-1.8.1.tar.gz /ttfautohint-0.97.tar.gz
/ttfautohint-1.00.tar.gz
/ttfautohint-1.1.tar.gz
/ttfautohint-1.2.tar.gz
/ttfautohint-1.3.tar.gz
/ttfautohint-1.5.tar.gz
/ttfautohint-1.6.tar.gz
/ttfautohint-1.7.tar.gz
/ttfautohint-1.8.1.tar.gz
/ttfautohint-1.8.2.tar.gz
/ttfautohint-1.8.3.tar.gz

View File

@ -1 +1 @@
9ee0a349a5f26a45542f990f31e7a20c705c789c SOURCES/ttfautohint-1.8.1.tar.gz ae5b446281745dbf77a1b612bc7e63bf7b21d3b0 ttfautohint-1.8.3.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (ttfautohint-1.8.3.tar.gz) = cbf50a99d984955a9c23590870ae09c0954f0c1d3e8e9db4e8139d8e22d6f6a636eb8ea9c8a8322b020fcbbe70dcdbc36670a40356017033f559cb4f87226abf

18
tests/smoke/runtest.sh Normal file
View File

@ -0,0 +1,18 @@
#!/bin/bash
# If one of the commands below returns non-zero then exit immediately
set -e
cd ../source
wget https://releases.pagure.org/lohit/lohit-devanagari-2.95.4.tar.gz
tar -xzvf ./lohit-devanagari-2.95.4.tar.gz
cd lohit-devanagari-2.95.4
make ttf
old_size=`stat -c "%s" /usr/share/fonts/lohit-devanagari/Lohit-Devanagari.ttf`
new_size=`stat -c "%s" Lohit-Devanagari.ttf`
if [ $old_size -ne $new_size ]; then
echo "FAILED: ttfautohint generated different ttf file"
else
echo "PASSED: ttfautohint generated same ttf file"
fi

20
tests/tests.yml Normal file
View File

@ -0,0 +1,20 @@
---
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-source
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-basic
tests:
- smoke
required_packages:
- ttfautohint
- make
- fontforge
- lohit-devanagari-fonts
- wget

View File

@ -1,10 +1,13 @@
Name: ttfautohint Name: ttfautohint
Version: 1.8.1 Version: 1.8.3
Release: 3%{?dist} Release: 8%{?dist}
Summary: Automated hinting utility for TrueType fonts Summary: Automated hinting utility for TrueType fonts
License: FTL or GPLv2 License: FTL or GPLv2
URL: http://www.freetype.org/ttfautohint URL: http://www.freetype.org/ttfautohint
Source0: http://download.savannah.gnu.org/releases/freetype/%{name}-%{version}.tar.gz Source0: http://download.savannah.gnu.org/releases/freetype/%{name}-%{version}.tar.gz
BuildRequires: make
BuildRequires: gcc gcc-c++
BuildRequires: freetype-devel BuildRequires: freetype-devel
BuildRequires: harfbuzz-devel BuildRequires: harfbuzz-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
@ -20,7 +23,7 @@ module. The idea is to provide the excellent quality of the autohinter on
platforms which don't use FreeType. platforms which don't use FreeType.
%package gui %package gui
Summary: GUI for %{name} based on Qt4 Summary: GUI for %{name} based on Qt
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description gui %description gui
@ -30,7 +33,7 @@ are bytecode hinted using the information given by FreeType's autohinting
module. The idea is to provide the excellent quality of the autohinter on module. The idea is to provide the excellent quality of the autohinter on
platforms which don't use FreeType. platforms which don't use FreeType.
This is a GUI of %{name} based on Qt4. This is a GUI of %{name} based on Qt.
%package libs %package libs
Summary: Library for %{name} Summary: Library for %{name}
@ -66,9 +69,7 @@ platforms which don't use FreeType.
find %{buildroot} -name '*.la' -delete find %{buildroot} -name '*.la' -delete
%post libs -p /sbin/ldconfig %ldconfig_scriptlets libs
%postun libs -p /sbin/ldconfig
%files %files
%doc AUTHORS NEWS README THANKS TODO *.TXT %doc AUTHORS NEWS README THANKS TODO *.TXT
@ -92,6 +93,41 @@ find %{buildroot} -name '*.la' -delete
%{_libdir}/pkgconfig/ttfautohint.pc %{_libdir}/pkgconfig/ttfautohint.pc
%changelog %changelog
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.8.3-8
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Mon May 24 2021 Parag Nemade <pnemade AT redhat DOT com> - 1.8.3-7
- Resolves:rhbz#1962001 - Add gating tests from rhel-8
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.8.3-6
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed Apr 10 2019 Yaakov Selkowitz <yselkowi@redhat.com> - 1.8.3-1
- new version (#1698372)
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Nov 07 2018 Yaakov Selkowitz <yselkowi@redhat.com> - 1.8.2-1
- new version (#1607856)
- Fix stem width offset handling in storage area (#1646687)
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 07 2018 Yaakov Selkowitz <yselkowi@redhat.com> - 1.8.1-3 * Thu Jun 07 2018 Yaakov Selkowitz <yselkowi@redhat.com> - 1.8.1-3
- Switch GUI to Qt5 - Switch GUI to Qt5