57e9c6
# Patented subpixel rendering disabled by default.
57e9c6
# Pass '--with subpixel_rendering' on rpmbuild command-line to enable.
57e9c6
%{!?_with_subpixel_rendering: %{!?_without_subpixel_rendering: %define _without_subpixel_rendering --without-subpixel_rendering}}
57e9c6
57e9c6
%{!?with_xfree86:%define with_xfree86 1}
57e9c6
57e9c6
Summary: A free and portable font rendering engine
57e9c6
Name: freetype
57e9c6
Version: 2.4.11
32119d
Release: 9%{?dist}
57e9c6
License: (FTL or GPLv2+) and BSD and MIT and Public Domain and zlib with acknowledgement
57e9c6
Group: System Environment/Libraries
57e9c6
URL: http://www.freetype.org
57e9c6
Source:  http://download.savannah.gnu.org/releases/freetype/freetype-%{version}.tar.bz2
57e9c6
Source1: http://download.savannah.gnu.org/releases/freetype/freetype-doc-%{version}.tar.bz2
57e9c6
Source2: http://download.savannah.gnu.org/releases/freetype/ft2demos-%{version}.tar.bz2
57e9c6
Source3: ftconfig.h
57e9c6
57e9c6
Patch21:  freetype-2.3.0-enable-spr.patch
57e9c6
57e9c6
# Enable otvalid and gxvalid modules
57e9c6
Patch46:  freetype-2.2.1-enable-valid.patch
57e9c6
# Enable additional demos
57e9c6
Patch47:  freetype-2.3.11-more-demos.patch
57e9c6
57e9c6
# Fix multilib conflicts
57e9c6
Patch88:  freetype-multilib.patch
57e9c6
57e9c6
# https://bugzilla.redhat.com/show_bug.cgi?id=891457
57e9c6
Patch89:  freetype-2.4.11-fix-emboldening.patch
57e9c6
57e9c6
# https://bugzilla.redhat.com/show_bug.cgi?id=1010341
57e9c6
Patch90:  0001-Fix-vertical-size-of-emboldened-glyphs.patch
57e9c6
57e9c6
Buildroot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
57e9c6
57e9c6
BuildRequires: libX11-devel
57e9c6
57e9c6
Provides: %{name}-bytecode
57e9c6
%if %{?_with_subpixel_rendering:1}%{!?_with_subpixel_rendering:0}
57e9c6
Provides: %{name}-subpixel
57e9c6
%endif
57e9c6
57e9c6
%description
57e9c6
The FreeType engine is a free and portable font rendering
57e9c6
engine, developed to provide advanced font support for a variety of
57e9c6
platforms and environments. FreeType is a library which can open and
57e9c6
manages font files as well as efficiently load, hint and render
57e9c6
individual glyphs. FreeType is not a font server or a complete
57e9c6
text-rendering library.
57e9c6
57e9c6
57e9c6
%package demos
57e9c6
Summary: A collection of FreeType demos
57e9c6
Group: System Environment/Libraries
57e9c6
Requires: %{name} = %{version}-%{release}
57e9c6
57e9c6
%description demos
57e9c6
The FreeType engine is a free and portable font rendering
57e9c6
engine, developed to provide advanced font support for a variety of
57e9c6
platforms and environments.  The demos package includes a set of useful
57e9c6
small utilities showing various capabilities of the FreeType library.
57e9c6
57e9c6
57e9c6
%package devel
57e9c6
Summary: FreeType development libraries and header files
57e9c6
Group: Development/Libraries
57e9c6
Requires: %{name} = %{version}-%{release}
57e9c6
Requires: zlib-devel
57e9c6
Requires: pkgconfig
57e9c6
57e9c6
%description devel
57e9c6
The freetype-devel package includes the static libraries and header files
57e9c6
for the FreeType font rendering engine.
57e9c6
57e9c6
Install freetype-devel if you want to develop programs which will use
57e9c6
FreeType.
57e9c6
57e9c6
57e9c6
%prep
57e9c6
%setup -q -b 1 -a 2
57e9c6
57e9c6
%if %{?_with_subpixel_rendering:1}%{!?_with_subpixel_rendering:0}
57e9c6
%patch21  -p1 -b .enable-spr
57e9c6
%endif
57e9c6
57e9c6
%patch46  -p1 -b .enable-valid
57e9c6
57e9c6
pushd ft2demos-%{version}
57e9c6
%patch47  -p1 -b .more-demos
57e9c6
popd
57e9c6
57e9c6
%patch88 -p1 -b .multilib
57e9c6
%patch89 -p1 -b .emboldening
57e9c6
%patch90 -p1 -b .emboldened-glyphs
57e9c6
57e9c6
%build
57e9c6
57e9c6
%configure --disable-static
57e9c6
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' builds/unix/libtool
57e9c6
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' builds/unix/libtool
57e9c6
make %{?_smp_mflags}
57e9c6
57e9c6
%if %{with_xfree86}
57e9c6
# Build demos
57e9c6
pushd ft2demos-%{version}
57e9c6
make TOP_DIR=".."
57e9c6
popd
57e9c6
%endif
57e9c6
57e9c6
# Convert FTL.txt and example3.cpp to UTF-8
57e9c6
pushd docs
57e9c6
iconv -f latin1 -t utf-8 < FTL.TXT > FTL.TXT.tmp && \
57e9c6
touch -r FTL.TXT FTL.TXT.tmp && \
57e9c6
mv FTL.TXT.tmp FTL.TXT
57e9c6
57e9c6
iconv -f iso-8859-1 -t utf-8 < "tutorial/example3.cpp" > "tutorial/example3.cpp.utf8"
57e9c6
touch -r tutorial/example3.cpp tutorial/example3.cpp.utf8 && \
57e9c6
mv tutorial/example3.cpp.utf8 tutorial/example3.cpp
57e9c6
popd
57e9c6
57e9c6
57e9c6
%install
57e9c6
rm -rf $RPM_BUILD_ROOT
57e9c6
57e9c6
57e9c6
%makeinstall gnulocaledir=$RPM_BUILD_ROOT%{_datadir}/locale
57e9c6
57e9c6
{
57e9c6
  for ftdemo in ftbench ftchkwd ftmemchk ftpatchk fttimer ftdump ftlint ftmemchk ftvalid ; do
57e9c6
      builds/unix/libtool --mode=install install -m 755 ft2demos-%{version}/bin/$ftdemo $RPM_BUILD_ROOT/%{_bindir}
57e9c6
  done
57e9c6
}
57e9c6
%if %{with_xfree86}
57e9c6
{
57e9c6
  for ftdemo in ftdiff ftgamma ftgrid ftmulti ftstring fttimer ftview ; do
57e9c6
      builds/unix/libtool --mode=install install -m 755 ft2demos-%{version}/bin/$ftdemo $RPM_BUILD_ROOT/%{_bindir}
57e9c6
  done
57e9c6
}
57e9c6
%endif
57e9c6
57e9c6
# fix multilib issues
57e9c6
%ifarch x86_64 s390x ia64 ppc64 alpha sparc64 aarch64
57e9c6
%define wordsize 64
57e9c6
%else
57e9c6
%define wordsize 32
57e9c6
%endif
57e9c6
57e9c6
mv $RPM_BUILD_ROOT%{_includedir}/freetype2/freetype/config/ftconfig.h \
57e9c6
   $RPM_BUILD_ROOT%{_includedir}/freetype2/freetype/config/ftconfig-%{wordsize}.h
57e9c6
install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_includedir}/freetype2/freetype/config/ftconfig.h
57e9c6
57e9c6
# Don't package static a or .la files
57e9c6
rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
57e9c6
57e9c6
%clean
57e9c6
rm -rf $RPM_BUILD_ROOT
57e9c6
57e9c6
%triggerpostun -- freetype < 2.0.5-3
57e9c6
{
57e9c6
  # ttmkfdir updated - as of 2.0.5-3, on upgrades we need xfs to regenerate
57e9c6
  # things to get the iso10646-1 encoding listed.
57e9c6
  for I in %{_datadir}/fonts/*/TrueType /usr/share/X11/fonts/TTF; do
57e9c6
      [ -d $I ] && [ -f $I/fonts.scale ] && [ -f $I/fonts.dir ] && touch $I/fonts.scale
57e9c6
  done
57e9c6
  exit 0
57e9c6
}
57e9c6
57e9c6
%post -p /sbin/ldconfig
57e9c6
57e9c6
%postun -p /sbin/ldconfig
57e9c6
57e9c6
%files
57e9c6
%defattr(-,root,root)
57e9c6
%{_libdir}/libfreetype.so.*
57e9c6
%doc README
57e9c6
%doc docs/LICENSE.TXT docs/FTL.TXT docs/GPLv2.TXT
57e9c6
%doc docs/CHANGES docs/VERSION.DLL docs/formats.txt docs/ft2faq.html
57e9c6
57e9c6
%files demos
57e9c6
%defattr(-,root,root)
57e9c6
%{_bindir}/ftbench
57e9c6
%{_bindir}/ftchkwd
57e9c6
%{_bindir}/ftmemchk
57e9c6
%{_bindir}/ftpatchk
57e9c6
%{_bindir}/fttimer
57e9c6
%{_bindir}/ftdump
57e9c6
%{_bindir}/ftlint
57e9c6
%{_bindir}/ftmemchk
57e9c6
%{_bindir}/ftvalid
57e9c6
%if %{with_xfree86}
57e9c6
%{_bindir}/ftdiff
57e9c6
%{_bindir}/ftgamma
57e9c6
%{_bindir}/ftgrid
57e9c6
%{_bindir}/ftmulti
57e9c6
%{_bindir}/ftstring
57e9c6
%{_bindir}/fttimer
57e9c6
%{_bindir}/ftview
57e9c6
%endif
57e9c6
%doc ChangeLog README
57e9c6
57e9c6
%files devel
57e9c6
%defattr(-,root,root)
57e9c6
%dir %{_includedir}/freetype2
57e9c6
%{_datadir}/aclocal/freetype2.m4
57e9c6
%{_includedir}/freetype2/*
57e9c6
%{_includedir}/*.h
57e9c6
%{_libdir}/libfreetype.so
57e9c6
%{_bindir}/freetype-config
57e9c6
%{_libdir}/pkgconfig/freetype2.pc
57e9c6
%doc docs/design
57e9c6
%doc docs/glyphs
57e9c6
%doc docs/reference
57e9c6
%doc docs/tutorial
57e9c6
57e9c6
%changelog
32119d
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.4.11-9
32119d
- Mass rebuild 2014-01-24
32119d
32119d
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.4.11-8
32119d
- Mass rebuild 2013-12-27
32119d
57e9c6
* Thu Oct  3 2013 Marek Kasik <mkasik@redhat.com> - 2.4.11-7
57e9c6
- Fix vertical size of emboldened glyphs
57e9c6
- Resolves: #1010341
57e9c6
57e9c6
* Wed May 29 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2.4.11-6
57e9c6
- Add aarch64 to 64 bit arch list
57e9c6
57e9c6
* Thu May 16 2013 Marek Kasik <mkasik@redhat.com> - 2.4.11-5
57e9c6
- Change encoding of "docs/tutorial/example3.cpp" to UTF-8
57e9c6
57e9c6
* Thu May 16 2013 Marek Kasik <mkasik@redhat.com> - 2.4.11-4
57e9c6
- Package ftconfig.h as source file
57e9c6
57e9c6
* Tue Mar 19 2013 Marek Kasik <mkasik@redhat.com> - 2.4.11-3
57e9c6
- Fix emboldening:
57e9c6
    - split out MSB function
57e9c6
    - fix integer overflows
57e9c6
    - fix broken emboldening at small sizes
57e9c6
- Resolves: #891457
57e9c6
57e9c6
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.11-2
57e9c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
57e9c6
57e9c6
* Wed Jan  2 2013 Marek Kasik <mkasik@redhat.com> - 2.4.11-1
57e9c6
- Update to 2.4.11
57e9c6
- Resolves: #889177
57e9c6
57e9c6
* Wed Oct 24 2012 Marek Kasik <mkasik@redhat.com> - 2.4.10-3
57e9c6
- Update License field
57e9c6
57e9c6
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.10-2
57e9c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
57e9c6
57e9c6
* Wed Jul 11 2012 Marek Kasik <mkasik@redhat.com> 2.4.10-1
57e9c6
- Update to 2.4.10
57e9c6
- Remove patches which are already included in upstream
57e9c6
- Resolves: #832651
57e9c6
57e9c6
* Fri Mar 30 2012 Marek Kasik <mkasik@redhat.com> 2.4.9-1
57e9c6
- Update to 2.4.9
57e9c6
- Fixes various CVEs
57e9c6
- Resolves: #806270
57e9c6
57e9c6
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.8-2
57e9c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
57e9c6
57e9c6
* Tue Nov 15 2011 Marek Kasik <mkasik@redhat.com> 2.4.8-1
57e9c6
- Update to 2.4.8
57e9c6
- Remove an unneeded patch
57e9c6
57e9c6
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.7-2
57e9c6
- Rebuilt for glibc bug#747377
57e9c6
57e9c6
* Thu Oct 20 2011 Marek Kasik <mkasik@redhat.com> 2.4.7-1
57e9c6
- Update to 2.4.7
57e9c6
- Fixes CVE-2011-3256
57e9c6
- Resolves: #747262
57e9c6
57e9c6
* Thu Aug  4 2011 Marek Kasik <mkasik@redhat.com> 2.4.6-1
57e9c6
- Update to 2.4.6
57e9c6
57e9c6
* Wed Jul 20 2011 Marek Kasik <mkasik@redhat.com> 2.4.5-2
57e9c6
- Add freetype-2.4.5-CVE-2011-0226.patch
57e9c6
    (Add better argument check for `callothersubr'.)
57e9c6
    - based on patches by Werner Lemberg,
57e9c6
      Alexei Podtelezhnikov and Matthias Drochner
57e9c6
- Resolves: #723469
57e9c6
57e9c6
* Tue Jun 28 2011 Marek Kasik <mkasik@redhat.com> 2.4.5-1
57e9c6
- Update to 2.4.5
57e9c6
57e9c6
* Tue Mar  8 2011 Marek Kasik <mkasik@redhat.com> 2.4.4-4
57e9c6
- Fix autohinting fallback (#547532).
57e9c6
- Ignore CFF-based OTFs.
57e9c6
57e9c6
* Sun Feb 20 2011 Marek Kasik <mkasik@redhat.com> 2.4.4-3
57e9c6
- Enable bytecode interpreter (#547532).
57e9c6
- Fall back to autohinting if a TTF/OTF doesn't contain any bytecode.
57e9c6
57e9c6
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.4-2
57e9c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
57e9c6
57e9c6
* Thu Dec  2 2010 Marek Kasik <mkasik@redhat.com> 2.4.4-1
57e9c6
- Update to 2.4.4
57e9c6
- Remove freetype-2.4.3-CVE-2010-3855.patch
57e9c6
- Resolves: #659020
57e9c6
57e9c6
* Mon Nov 15 2010 Marek Kasik <mkasik@redhat.com> 2.4.3-2
57e9c6
- Add freetype-2.4.3-CVE-2010-3855.patch
57e9c6
    (Protect against invalid `runcnt' values.)
57e9c6
- Resolves: #651764
57e9c6
57e9c6
* Tue Oct 26 2010 Marek Kasik <mkasik@redhat.com> 2.4.3-1
57e9c6
- Update to 2.4.3
57e9c6
- Resolves: #639906
57e9c6
57e9c6
* Wed Oct  6 2010 Marek Kasik <mkasik@redhat.com> 2.4.2-3
57e9c6
- Add freetype-2.4.2-CVE-2010-3311.patch
57e9c6
    (Don't seek behind end of stream.)
57e9c6
- Resolves: #638522
57e9c6
57e9c6
* Fri Aug  6 2010 Matthias Clasen <mclasen@redhat.com> 2.4.2-2
57e9c6
- Fix a thinko, we still want to disable the bytecode interpreter
57e9c6
  by default
57e9c6
57e9c6
* Fri Aug  6 2010 Matthias Clasen <mclasen@redhat.com> 2.4.2-1
57e9c6
- Update to 2.4.2
57e9c6
- Drop upstreamed patch, bytecode interpreter now on by default
57e9c6
57e9c6
* Thu Feb 23 2010 Behdad Esfahbod <behdad@redhat.com> 2.3.12-1
57e9c6
- Update to 2.3.12
57e9c6
- Drop mathlib patch
57e9c6
57e9c6
* Thu Dec  3 2009 Behdad Esfahbod <behdad@redhat.com> 2.3.11-2
57e9c6
- Drop upstreamed patch.
57e9c6
- Enable patented bytecode interpretter now that the patents are expired.
57e9c6
57e9c6
* Thu Oct 22 2009 Behdad Esfahbod <behdad@redhat.com> 2.3.11-1
57e9c6
- Update to 2.3.11.
57e9c6
- Add freetype-2.3.11-more-demos.patch
57e9c6
- New demo programs ftmemchk, ftpatchk, and fttimer
57e9c6
57e9c6
* Thu Oct 08 2009 Behdad Esfahbod <behdad@redhat.com> 2.3.10-1
57e9c6
- Drop freetype-2.3.9-aliasing.patch
57e9c6
- Update to 2.3.10.
57e9c6
57e9c6
* Thu Jul 30 2009 Behdad Esfahbod <behdad@redhat.com> 2.3.9-6
57e9c6
- Add freetype-2.3.9-aliasing.patch
57e9c6
- Resolves: 513582
57e9c6
57e9c6
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.9-5
57e9c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
57e9c6
57e9c6
* Thu May  7 2009 Matthias Clasen <mclasen@redhat.com> 2.3.9-4
57e9c6
- Don't own /usr/lib/pkgconfig
57e9c6
57e9c6
* Wed Mar 27 2009 Behdad Esfahbod <besfahbo@redhat.com> 2.3.9-3
57e9c6
- Disable subpixel hinting by default.  Was turned on unintentionally.
57e9c6
57e9c6
* Wed Mar 25 2009 Behdad Esfahbod <besfahbo@redhat.com> 2.3.9-2
57e9c6
- Add Provides: freetype-bytecode and freetype-subpixel if built
57e9c6
  with those options.
57e9c6
- Resolves: #155210
57e9c6
57e9c6
* Thu Mar 13 2009 Behdad Esfahbod <besfahbo@redhat.com> 2.3.9-1
57e9c6
- Update to 2.3.9.
57e9c6
- Resolves #489928
57e9c6
57e9c6
* Thu Mar 09 2009 Behdad Esfahbod <besfahbo@redhat.com> 2.3.8-2.1
57e9c6
- Preserve timestamp of FTL.TXT when converting to UTF-8.
57e9c6
57e9c6
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.8-2
57e9c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
57e9c6
57e9c6
* Thu Jan 15 2009 Behdad Esfahbod <besfahbo@redhat.com> 2.3.8-1
57e9c6
- Update to 2.3.8
57e9c6
- Remove freetype-autohinter-ligature.patch
57e9c6
57e9c6
* Tue Dec 09 2008 Behdad Esfahbod <besfahbo@redhat.com> 2.3.7-3
57e9c6
- Add full source URL to Source lines.
57e9c6
- Add docs to main and devel package.
57e9c6
- rpmlint is happy now.
57e9c6
- Resolves: #225770
57e9c6
57e9c6
* Fri Dec 05 2008 Behdad Esfahbod <besfahbo@redhat.com> 2.3.7-2
57e9c6
- Add freetype-autohinter-ligature.patch
57e9c6
- Resolves: #368561
57e9c6
57e9c6
* Tue Aug 14 2008 Behdad Esfahbod <besfahbo@redhat.com> 2.3.7-1
57e9c6
- Update to 2.3.7
57e9c6
57e9c6
* Tue Jun 10 2008 Behdad Esfahbod <besfahbo@redhat.com> 2.3.6-1
57e9c6
- Update to 2.3.6
57e9c6
57e9c6
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.3.5-5
57e9c6
- fix license tag
57e9c6
- add sparc64 to list of 64bit arches
57e9c6
57e9c6
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.3.5-4
57e9c6
- Autorebuild for GCC 4.3
57e9c6
57e9c6
* Thu Aug 23 2007 Adam Jackson <ajax@redhat.com> - 2.3.5-3
57e9c6
- Rebuild for build ID
57e9c6
57e9c6
* Tue Jul 31 2007 Behdad Esfahbod <besfahbo@redhat.com> 2.3.5-2
57e9c6
- Change spec file to permit enabling bytecode-interpreter and
57e9c6
  subpixel-rendering without editing spec file.
57e9c6
- Resolves: 249986
57e9c6
57e9c6
* Wed Jul 25 2007 Behdad Esfahbod <besfahbo@redhat.com> 2.3.5-1
57e9c6
- Update to 2.3.5.
57e9c6
- Drop freetype-2.3.4-ttf-overflow.patch
57e9c6
57e9c6
* Fri Jun 29 2007 Adam Jackson <ajax@redhat.com> 2.3.4-4
57e9c6
- Fix builds/unix/libtool to not emit rpath into binaries. (#225770)
57e9c6
57e9c6
* Thu May 31 2007 Behdad Esfahbod <besfahbo@redhat.com> 2.3.4-3
57e9c6
- Add freetype-2.3.4-ttf-overflow.patch
57e9c6
57e9c6
* Thu Apr 12 2007 Behdad Esfahbod <besfahbo@redhat.com> 2.3.4-2
57e9c6
- Add alpha to 64-bit archs (#236166)
57e9c6
57e9c6
* Tue Apr 05 2007 Behdad Esfahbod <besfahbo@redhat.com> 2.3.4-1
57e9c6
- Update to 2.3.4.
57e9c6
57e9c6
* Thu Apr 05 2007 Behdad Esfahbod <besfahbo@redhat.com> 2.3.3-2
57e9c6
- Include new demos ftgrid and ftdiff in freetype-demos. (#235478)
57e9c6
57e9c6
* Thu Apr 05 2007 Behdad Esfahbod <besfahbo@redhat.com> 2.3.3-1
57e9c6
- Update to 2.3.3.
57e9c6
57e9c6
* Fri Mar 09 2007 Behdad Esfahbod <besfahbo@redhat.com> 2.3.2-1
57e9c6
- Update to 2.3.2.
57e9c6
57e9c6
* Fri Feb 02 2007 Behdad Esfahbod <besfahbo@redhat.com> 2.3.1-1
57e9c6
- Update to 2.3.1.
57e9c6
57e9c6
* Wed Jan 17 2007 Behdad Esfahbod <besfahbo@redhat.com> 2.3.0-2
57e9c6
- Add without_subpixel_rendering.
57e9c6
- Drop X11_PATH=/usr.  Not needed anymore.
57e9c6
57e9c6
* Wed Jan 17 2007 Behdad Esfahbod <besfahbo@redhat.com> 2.3.0-1
57e9c6
- Update to 2.3.0.
57e9c6
- Drop upstream patches.
57e9c6
- Drop -fno-strict-aliasing, it should just work.
57e9c6
- Fix typo in ftconfig.h generation.
57e9c6
57e9c6
* Tue Jan 09 2007 Behdad Esfahbod <besfahbo@redhat.com> 2.2.1-16
57e9c6
- Backport binary-search fixes from HEAD
57e9c6
- Add freetype-2.2.1-ttcmap.patch
57e9c6
- Resolves: #208734
57e9c6
57e9c6
- Fix rendering issue with some Asian fonts.
57e9c6
- Add freetype-2.2.1-fix-get-orientation.patch
57e9c6
- Resolves: #207261
57e9c6
57e9c6
- Copy non-X demos even if not compiling with_xfree86.
57e9c6
57e9c6
- Add freetype-2.2.1-zero-item-size.patch, to fix crasher.
57e9c6
- Resolves #214048
57e9c6
57e9c6
- Add X11_PATH=/usr to "make"s, to find modern X.
57e9c6
- Resolves #212199
57e9c6
57e9c6
* Mon Sep 11 2006 Behdad Esfahbod <besfahbo@redhat.com> 2.2.1-10
57e9c6
- Fix crasher https://bugs.freedesktop.org/show_bug.cgi?id=6841
57e9c6
- Add freetype-2.2.1-memcpy-fix.patch
57e9c6
57e9c6
* Thu Sep 07 2006 Behdad Esfahbod <besfahbo@redhat.com> 2.2.1-9
57e9c6
- Add BuildRequires: libX11-devel (#205355)
57e9c6
57e9c6
* Tue Aug 29 2006 Behdad Esfahbod <besfahbo@redhat.com> 2.2.1-8
57e9c6
- Add freetype-composite.patch and freetype-more-composite.patch
57e9c6
  from upstream. (#131851)
57e9c6
57e9c6
* Mon Aug 28 2006 Matthias Clasen <mclasen@redhat.com> - 2.2.1-7
57e9c6
- Require pkgconfig in the -devel package
57e9c6
57e9c6
* Fri Aug 18 2006 Jesse Keating <jkeating@redhat.com> - 2.2.1-6
57e9c6
- pass --disable-static to %%configure. (#172628)
57e9c6
57e9c6
* Thu Aug 17 2006 Jesse Keating <jkeating@redhat.com> - 2.2.1-5
57e9c6
- don't package static libs
57e9c6
57e9c6
* Sun Aug 13 2006 Matthias Clasen <mclasen@redhat.com> - 2.2.1-4.fc6
57e9c6
- fix a problem with the multilib patch (#202366)
57e9c6
57e9c6
* Thu Jul 27 2006 Matthias Clasen  <mclasen@redhat.com> - 2.2.1-3
57e9c6
- fix multilib issues
57e9c6
57e9c6
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.2.1-2.1
57e9c6
- rebuild
57e9c6
57e9c6
* Fri Jul 07 2006 Behdad Esfahbod <besfahbo@redhat.com> 2.2.1-2
57e9c6
- Remove unused BuildRequires
57e9c6
57e9c6
* Fri Jul 07 2006 Behdad Esfahbod <besfahbo@redhat.com> 2.2.1-1
57e9c6
- Update to 2.2.1
57e9c6
- Remove FreeType 1, to move to extras
57e9c6
- Install new demos ftbench, ftchkwd, ftgamma, and ftvalid
57e9c6
- Enable modules gxvalid and otvalid
57e9c6
57e9c6
* Wed May 17 2006 Karsten Hopp <karsten@redhat.de> 2.1.10-6
57e9c6
- add buildrequires libICE-devel, libSM-devel
57e9c6
57e9c6
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.1.10-5.2.1
57e9c6
- bump again for double-long bug on ppc(64)
57e9c6
57e9c6
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.1.10-5.2
57e9c6
- rebuilt for new gcc4.1 snapshot and glibc changes
57e9c6
57e9c6
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
57e9c6
- rebuilt
57e9c6
57e9c6
* Fri Nov 18 2005 Bill Nottingham  <notting@redhat.com> 2.1.10-5
57e9c6
- Remove references to obsolete /usr/X11R6 paths
57e9c6
57e9c6
* Tue Nov  1 2005 Matthias Clasen  <mclasen@redhat.com> 2.1.10-4
57e9c6
- Switch requires to modular X
57e9c6
57e9c6
* Fri Oct 21 2005 Matthias Clasen  <mclasen@redhat.com> 2.1.10-3
57e9c6
- BuildRequire gettext 
57e9c6
57e9c6
* Wed Oct 12 2005 Jason Vas Dias <jvdias@redhat.com> 2.1.10-2
57e9c6
- fix 'without_bytecode_interpreter 0' build: freetype-2.1.10-enable-ft2-bci.patch
57e9c6
57e9c6
* Fri Oct  7 2005 Matthias Clasen  <mclasen@redhat.com> 2.1.10-1
57e9c6
- Update to 2.1.10
57e9c6
- Add necessary fixes
57e9c6
57e9c6
* Tue Aug 16 2005 Kristian Høgsberg <krh@redhat.com> 2.1.9-4
57e9c6
- Fix freetype-config on 64 bit platforms.
57e9c6
57e9c6
* Thu Jul 07 2005 Karsten Hopp <karsten@redhat.de> 2.1.9-3
57e9c6
- BuildRequires xorg-x11-devel
57e9c6
57e9c6
* Fri Mar  4 2005 David Zeuthen <davidz@redhat.com> - 2.1.9-2
57e9c6
- Rebuild
57e9c6
57e9c6
* Wed Aug  4 2004 Owen Taylor <otaylor@redhat.com> - 2.1.9-1
57e9c6
- Upgrade to 2.1.9
57e9c6
- Since we are just using automake for aclocal, use it unversioned,
57e9c6
  instead of specifying 1.4.
57e9c6
57e9c6
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
57e9c6
- rebuilt
57e9c6
57e9c6
* Mon Apr 19 2004 Owen Taylor <otaylor@redhat.com> 2.1.7-4
57e9c6
- Add patch from freetype CVS to fix problem with eexec (#117743)
57e9c6
- Add freetype-devel to buildrequires and -devel requires
57e9c6
  (Maxim Dzumanenko, #111108)
57e9c6
57e9c6
* Wed Mar 10 2004 Mike A. Harris <mharris@redhat.com> 2.1.7-3
57e9c6
- Added -fno-strict-aliasing to CFLAGS and CXXFLAGS to try to fix SEGV and
57e9c6
  SIGILL crashes in mkfontscale which have been traced into freetype and seem
57e9c6
  to be caused by aliasing issues in freetype macros (#118021)
57e9c6
57e9c6
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> 2.1.7-2.1
57e9c6
- rebuilt
57e9c6
57e9c6
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> 2.1.7-2
57e9c6
- rebuilt
57e9c6
57e9c6
* Fri Jan 23 2004 Owen Taylor <otaylor@redhat.com> 2.1.7-1
57e9c6
- Upgrade to 2.1.7
57e9c6
57e9c6
* Tue Sep 23 2003 Florian La Roche <Florian.LaRoche@redhat.de>
57e9c6
- allow compiling without the demos as that requires XFree86
57e9c6
  (this allows bootstrapping XFree86 on new archs)
57e9c6
57e9c6
* Fri Aug  8 2003 Elliot Lee <sopwith@redhat.com> 2.1.4-4.1
57e9c6
- Rebuilt
57e9c6
57e9c6
* Tue Jul  8 2003 Owen Taylor <otaylor@redhat.com> 2.1.4-4.0
57e9c6
- Bump for rebuild
57e9c6
57e9c6
* Wed Jun 25 2003 Owen Taylor <otaylor@redhat.com> 2.1.4-3
57e9c6
- Fix crash with non-format-0 hdmx tables (found by David Woodhouse)
57e9c6
57e9c6
* Mon Jun  9 2003 Owen Taylor <otaylor@redhat.com> 2.1.4-1
57e9c6
- Version 2.1.4
57e9c6
- Relibtoolize to get deplibs right for x86_64
57e9c6
- Use autoconf-2.5x for freetype-1.4 to fix libtool-1.5 compat problem (#91781)
57e9c6
- Relativize absolute symlinks to fix the -debuginfo package 
57e9c6
  (#83521, Mike Harris)
57e9c6
57e9c6
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
57e9c6
- rebuilt
57e9c6
57e9c6
* Thu May 22 2003 Jeremy Katz <katzj@redhat.com> 2.1.3-9
57e9c6
- fix build with gcc 3.3
57e9c6
57e9c6
* Tue Feb 25 2003 Owen Taylor <otaylor@redhat.com>
57e9c6
- Add a memleak fix for the gzip backend from Federic Crozat
57e9c6
57e9c6
* Thu Feb 13 2003 Elliot Lee <sopwith@redhat.com> 2.1.3-7
57e9c6
- Run libtoolize/aclocal/autoconf so that libtool knows to generate shared libraries 
57e9c6
  on ppc64.
57e9c6
- Use _smp_mflags (for freetype 2.x only)
57e9c6
57e9c6
* Tue Feb  4 2003 Owen Taylor <otaylor@redhat.com>
57e9c6
- Switch to using %%configure (should fix #82330)
57e9c6
57e9c6
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
57e9c6
- rebuilt
57e9c6
57e9c6
* Mon Jan  6 2003 Owen Taylor <otaylor@redhat.com> 2.1.3-4
57e9c6
- Make FreeType robust against corrupt fonts with recursive composite 
57e9c6
  glyphs (#74782, James Antill)
57e9c6
57e9c6
* Thu Jan  2 2003 Owen Taylor <otaylor@redhat.com> 2.1.3-3
57e9c6
- Add a patch to implement FT_LOAD_TARGET_LIGHT
57e9c6
- Fix up freetype-1.4-libtool.patch 
57e9c6
57e9c6
* Sat Dec 12 2002 Mike A. Harris <mharris@redhat.com> 2.1.3-2
57e9c6
- Update to freetype 2.1.3
57e9c6
- Removed ttmkfdir sources and patches, as they have been moved from the
57e9c6
  freetype packaging to XFree86 packaging, and now to the ttmkfdir package
57e9c6
- Removed patches that are now included in 2.1.3:
57e9c6
  freetype-2.1.1-primaryhints.patch, freetype-2.1.2-slighthint.patch,
57e9c6
  freetype-2.1.2-bluefuzz.patch, freetype-2.1.2-stdw.patch,
57e9c6
  freetype-2.1.2-transform.patch, freetype-2.1.2-autohint.patch,
57e9c6
  freetype-2.1.2-leftright.patch
57e9c6
- Conditionalized inclusion of freetype 1.4 library.
57e9c6
57e9c6
* Wed Dec 04 2002 Florian La Roche <Florian.LaRoche@redhat.de>
57e9c6
- disable perl, it is not used at all
57e9c6
57e9c6
* Tue Dec 03 2002 Elliot Lee <sopwith@redhat.com> 2.1.2-11
57e9c6
- Instead of removing unpackaged file, include it in the package.
57e9c6
57e9c6
* Sat Nov 30 2002 Mike A. Harris <mharris@redhat.com> 2.1.2-10
57e9c6
- Attempted to fix lib64 issue in freetype-demos build with X11_LINKLIBS
57e9c6
- Cleaned up various _foodir macros throughtout specfile
57e9c6
- Removed with_ttmkfdir build option as it is way obsolete
57e9c6
57e9c6
* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 2.1.2-8
57e9c6
- remove unpackaged files from the buildroot
57e9c6
57e9c6
* Wed Aug 28 2002 Owen Taylor <otaylor@redhat.com>
57e9c6
- Fix a bug with PCF metrics
57e9c6
57e9c6
* Fri Aug  9 2002 Owen Taylor <otaylor@redhat.com>
57e9c6
- Backport autohinter improvements from CVS
57e9c6
57e9c6
* Tue Jul 23 2002 Owen Taylor <otaylor@redhat.com>
57e9c6
- Fix from CVS for transformations (#68964)
57e9c6
57e9c6
* Tue Jul  9 2002 Owen Taylor <otaylor@redhat.com>
57e9c6
- Add another bugfix for the postscript hinter
57e9c6
57e9c6
* Mon Jul  8 2002 Owen Taylor <otaylor@redhat.com>
57e9c6
- Add support for BlueFuzz private dict value, fixing rendering 
57e9c6
  glitch for Luxi Mono.
57e9c6
57e9c6
* Wed Jul  3 2002 Owen Taylor <otaylor@redhat.com>
57e9c6
- Add an experimental FT_Set_Hint_Flags() call
57e9c6
57e9c6
* Mon Jul  1 2002 Owen Taylor <otaylor@redhat.com>
57e9c6
- Update to 2.1.2
57e9c6
- Add a patch fixing freetype PS hinter bug
57e9c6
57e9c6
* Fri Jun 21 2002 Mike A. Harris <mharris@redhat.com> 2.1.1-2
57e9c6
- Added ft rpm build time conditionalizations upon user requests
57e9c6
57e9c6
* Tue Jun 11 2002 Owen Taylor <otaylor@redhat.com> 2.1.1-1
57e9c6
- Version 2.1.1
57e9c6
57e9c6
* Mon Jun 10 2002 Owen Taylor <otaylor@redhat.com>
57e9c6
- Add a fix for PCF character maps
57e9c6
57e9c6
* Sun May 26 2002 Tim Powers <timp@redhat.com>
57e9c6
- automated rebuild
57e9c6
57e9c6
* Fri May 17 2002 Mike A. Harris <mharris@redhat.com> 2.1.0-2
57e9c6
- Updated freetype to version 2.1.0
57e9c6
- Added libtool fix for freetype 1.4 (#64631)
57e9c6
57e9c6
* Wed Mar 27 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.9-2
57e9c6
- use "libtool install" instead of "install" to install some binaries (#62005)
57e9c6
57e9c6
* Mon Mar 11 2002 Mike A. Harris <mharris@redhat.com> 2.0.9-1
57e9c6
- Updated to freetype 2.0.9
57e9c6
57e9c6
* Sun Feb 24 2002 Mike A. Harris <mharris@redhat.com> 2.0.8-4
57e9c6
- Added proper docs+demos source for 2.0.8.
57e9c6
57e9c6
* Sat Feb 23 2002 Mike A. Harris <mharris@redhat.com> 2.0.8-3
57e9c6
- Added compat patch so 2.x works more like 1.x
57e9c6
- Rebuilt with new build toolchain
57e9c6
57e9c6
* Fri Feb 22 2002 Mike A. Harris <mharris@redhat.com> 2.0.8-2
57e9c6
- Updated to freetype 2.0.8, however docs and demos are stuck at 2.0.7
57e9c6
  on the freetype website.  Munged specfile to deal with the problem by using
57e9c6
  {oldversion} instead of version where appropriate.  <sigh>
57e9c6
57e9c6
* Sat Feb  2 2002 Tim Powers <timp@redhat.com> 2.0.6-3
57e9c6
- bumping release so that we don't collide with another build of
57e9c6
  freetype, make sure to change the release requirement in the XFree86
57e9c6
  package
57e9c6
57e9c6
* Fri Feb  1 2002 Mike A. Harris <mharris@redhat.com> 2.0.6-2
57e9c6
- Made ttmkfdir inclusion conditional, and set up a define to include
57e9c6
  ttmkfdir in RHL 7.x builds, since ttmkfdir is now moving to the new
57e9c6
  XFree86-font-utils package.
57e9c6
57e9c6
* Wed Jan 16 2002 Mike A. Harris <mharris@redhat.com> 2.0.6-1
57e9c6
- Updated freetype to version 2.0.6
57e9c6
57e9c6
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 2.0.5-4
57e9c6
- automated rebuild
57e9c6
57e9c6
* Fri Nov 30 2001 Elliot Lee <sopwith@redhat.com> 2.0.5-3
57e9c6
- Fix bug #56901 (ttmkfdir needed to list Unicode encoding when generating
57e9c6
  font list). (ttmkfdir-iso10646.patch)
57e9c6
- Use _smp_mflags macro everywhere relevant. (freetype-pre1.4-make.patch)
57e9c6
- Undo fix for #24253, assume compiler was fixed.
57e9c6
57e9c6
* Mon Nov 12 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.0.5-2
57e9c6
- Fix build with gcc 3.1 (#56079)
57e9c6
57e9c6
* Sun Nov 11 2001 Mike A. Harris <mharris@redhat.com> 2.0.5-1
57e9c6
- Updated freetype to version 2.0.5
57e9c6
57e9c6
* Sat Sep 22 2001 Mike A. Harris <mharris@redhat.com> 2.0.4-2
57e9c6
- Added new subpackage freetype-demos, added demos to build
57e9c6
- Disabled ftdump, ftlint in utils package favoring the newer utils in
57e9c6
  demos package.
57e9c6
57e9c6
* Tue Sep 11 2001 Mike A. Harris <mharris@redhat.com> 2.0.4-1
57e9c6
- Updated source to 2.0.4
57e9c6
- Added freetype demo's back into src.rpm, but not building yet.
57e9c6
57e9c6
* Wed Aug 15 2001 Mike A. Harris <mharris@redhat.com> 2.0.3-7
57e9c6
- Changed package to use {findlang} macro to fix bug (#50676)
57e9c6
57e9c6
* Sun Jul 15 2001 Mike A. Harris <mharris@redhat.com> 2.0.3-6
57e9c6
- Changed freetype-devel to group Development/Libraries (#47625)
57e9c6
57e9c6
* Mon Jul  9 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.0.3-5
57e9c6
- Fix up FT1 headers to please Qt 3.0.0 beta 2
57e9c6
57e9c6
* Sun Jun 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.0.3-4
57e9c6
- Add ft2build.h to -devel package, since it's included by all other
57e9c6
  freetype headers, the package is useless without it
57e9c6
57e9c6
* Thu Jun 21 2001 Nalin Dahyabhai <nalin@redhat.com> 2.0.3-3
57e9c6
- Change "Requires: freetype = name/ver" to "freetype = version/release",
57e9c6
  and move the requirements to the subpackages.
57e9c6
57e9c6
* Mon Jun 18 2001 Mike A. Harris <mharris@redhat.com> 2.0.3-2
57e9c6
- Added "Requires: freetype = name/ver"
57e9c6
57e9c6
* Tue Jun 12 2001 Mike A. Harris <mharris@redhat.com> 2.0.3-1
57e9c6
- Updated to Freetype 2.0.3, minor specfile tweaks.
57e9c6
- Freetype2 docs are is in a separate tarball now. Integrated it.
57e9c6
- Built in new environment.
57e9c6
57e9c6
* Fri Apr 27 2001 Bill Nottingham <notting@redhat.com>
57e9c6
- rebuild for C++ exception handling on ia64
57e9c6
57e9c6
* Sat Jan 20 2001 Bernhard Rosenkraenzer <bero@redhat.com>
57e9c6
- Build ttmkfdir with -O0, workaround for Bug #24253
57e9c6
57e9c6
* Fri Jan 19 2001 Nalin Dahyabhai <nalin@redhat.com>
57e9c6
- libtool is used to build libttf, so use libtool to link ttmkfdir with it
57e9c6
- fixup a paths for a couple of missing docs
57e9c6
57e9c6
* Thu Jan 11 2001 Bernhard Rosenkraenzer <bero@redhat.com>
57e9c6
- Update ttmkfdir
57e9c6
57e9c6
* Wed Dec 27 2000 Bernhard Rosenkraenzer <bero@redhat.com>
57e9c6
- Update to 2.0.1 and 1.4
57e9c6
- Mark locale files as such
57e9c6
57e9c6
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
57e9c6
- automatic rebuild
57e9c6
57e9c6
* Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
57e9c6
- move .la file to devel pkg
57e9c6
- FHS paths
57e9c6
57e9c6
* Thu Feb 17 2000 Preston Brown <pbrown@redhat.com>
57e9c6
- revert spaces patch, fix up some foundry names to match X ones
57e9c6
57e9c6
* Mon Feb 07 2000 Nalin Dahyabhai <nalin@redhat.com>
57e9c6
- add defattr, ftmetric, ftsbit, ftstrtto per bug #9174
57e9c6
57e9c6
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
57e9c6
- fix description and summary
57e9c6
57e9c6
* Wed Jan 12 2000 Preston Brown <pbrown@redhat.com>
57e9c6
- make ttmkfdir replace spaces in family names with underscores (#7613)
57e9c6
57e9c6
* Tue Jan 11 2000 Bernhard Rosenkraenzer <bero@redhat.com>
57e9c6
- 1.3.1
57e9c6
- handle RPM_OPT_FLAGS
57e9c6
57e9c6
* Wed Nov 10 1999 Preston Brown <pbrown@redhat.com>
57e9c6
- fix a path for ttmkfdir Makefile
57e9c6
57e9c6
* Thu Aug 19 1999 Preston Brown <pbrown@redhat.com>
57e9c6
- newer ttmkfdir that works better, moved ttmkfdir to /usr/bin from /usr/sbin
57e9c6
- freetype utilities moved to subpkg, X dependency removed from main pkg
57e9c6
- libttf.so symlink moved to devel pkg
57e9c6
57e9c6
* Mon Mar 22 1999 Preston Brown <pbrown@redhat.com>
57e9c6
- strip binaries
57e9c6
57e9c6
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
57e9c6
- auto rebuild in the new build environment (release 5)
57e9c6
57e9c6
* Thu Mar 18 1999 Cristian Gafton <gafton@redhat.com>
57e9c6
- fixed the doc file list
57e9c6
57e9c6
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
57e9c6
- Injected new description and group.
57e9c6
57e9c6
* Mon Feb 15 1999 Preston Brown <pbrown@redhat.com>
57e9c6
- added ttmkfdir
57e9c6
57e9c6
* Tue Feb 02 1999 Preston Brown <pbrown@redhat.com>
57e9c6
- update to 1.2
57e9c6
57e9c6
* Thu Jan 07 1999 Cristian Gafton <gafton@redhat.com>
57e9c6
- call libtoolize to sanitize config.sub and get ARM support
57e9c6
- dispoze of the patch (not necessary anymore)
57e9c6
57e9c6
* Wed Oct 21 1998 Preston Brown <pbrown@redhat.com>
57e9c6
- post/postun sections for ldconfig action.
57e9c6
57e9c6
* Tue Oct 20 1998 Preston Brown <pbrown@redhat.com>
57e9c6
- initial RPM, includes normal and development packages.