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