66498b
%global freetype_version 2.8-7
66498b
66498b
Summary:	Font configuration and customization library
66498b
Name:		fontconfig
66498b
Version:	2.13.0
66498b
Release:	4.3%{?dist}
66498b
# src/ftglue.[ch] is in Public Domain
66498b
# src/fccache.c contains Public Domain code
66498b
# fc-case/CaseFolding.txt is in the UCD
66498b
# otherwise MIT
66498b
License:	MIT and Public Domain and UCD
66498b
Group:		System Environment/Libraries
66498b
Source:		http://fontconfig.org/release/%{name}-%{version}.tar.bz2
66498b
URL:		http://fontconfig.org
66498b
Source1:	25-no-bitmap-fedora.conf
66498b
Source2:	fc-cache
66498b
66498b
# https://bugzilla.redhat.com/show_bug.cgi?id=140335
66498b
Patch0:		%{name}-sleep-less.patch
66498b
Patch1:		%{name}-required-freetype-version.patch
66498b
Patch2:		%{name}-const-name-in-range.patch
66498b
Patch3:		%{name}-implicit-object-for-const-name.patch
66498b
Patch4:		%{name}-locale.patch
66498b
Patch5:		%{name}-fix-embolden-logic.patch
66498b
Patch6:		%{name}-fix-memleaks.patch
66498b
Patch7:		%{name}-fix-flatpak.patch
66498b
Patch8:		%{name}-fix-doublefree.patch
66498b
Patch9:		%{name}-revert-urw-alias.patch
66498b
Patch10:	%{name}-drop-incompatible-conf.patch
66498b
Patch11:	%{name}-freetype-compat.patch
66498b
66498b
BuildRequires:	expat-devel
66498b
BuildRequires:	freetype-devel >= %{freetype_version}
66498b
BuildRequires:	fontpackages-devel
66498b
BuildRequires:	libuuid-devel
66498b
BuildRequires:	autoconf automake libtool gettext itstool
66498b
BuildRequires:	gperf
66498b
66498b
Requires:	fontpackages-filesystem freetype
66498b
Requires(pre):	freetype >= 2.8-7
66498b
Requires(post):	grep coreutils
66498b
Requires:	dejavu-sans-fonts
66498b
66498b
%description
66498b
Fontconfig is designed to locate fonts within the
66498b
system and select them according to requirements specified by 
66498b
applications.
66498b
66498b
%package	devel
66498b
Summary:	Font configuration and customization library
66498b
Group:		Development/Libraries
66498b
Requires:	%{name}%{?_isa} = %{version}-%{release}
66498b
Requires:	freetype-devel >= %{freetype_version}
66498b
Requires:	pkgconfig
66498b
Requires:	gettext
66498b
66498b
%description	devel
66498b
The fontconfig-devel package includes the header files,
66498b
and developer docs for the fontconfig package.
66498b
66498b
Install fontconfig-devel if you want to develop programs which 
66498b
will use fontconfig.
66498b
66498b
%package	devel-doc
66498b
Summary:	Development Documentation files for fontconfig library
66498b
Group:		Documentation
66498b
BuildArch:	noarch
66498b
Requires:	%{name}-devel = %{version}-%{release}
66498b
66498b
%description	devel-doc
66498b
The fontconfig-devel-doc package contains the documentation files
66498b
which is useful for developing applications that uses fontconfig.
66498b
66498b
%prep
66498b
%setup -q
66498b
%patch0 -p1 -b .sleep-less
66498b
%patch1 -p1 -b .freetype
66498b
%patch2 -p1 -b .const-range
66498b
%patch3 -p1 -b .const
66498b
%patch4 -p1 -b .locale
66498b
%patch5 -p1 -b .embolden
66498b
%patch6 -p1 -b .memleaks
66498b
%patch7 -p1 -b .flatpak
66498b
%patch8 -p1 -b .doublefree
66498b
%patch9 -p1 -b .urw -R
66498b
%patch10 -p1 -b .incompat
66498b
%patch11 -p1 -b .freetype-compat
66498b
66498b
%build
66498b
# We don't want to rebuild the docs, but we want to install the included ones.
66498b
export HASDOCBOOK=no
66498b
66498b
autoreconf
66498b
%configure	--with-add-fonts=/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/TTF,/usr/local/share/fonts \
66498b
		--disable-static --with-cache-dir=/usr/lib/fontconfig/cache
66498b
66498b
make %{?_smp_mflags} V=1
66498b
66498b
%install
66498b
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" V=1
66498b
66498b
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
66498b
66498b
install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
66498b
ln -s %{_fontconfig_templatedir}/25-unhint-nonlatin.conf $RPM_BUILD_ROOT%{_fontconfig_confdir}/
66498b
66498b
# move installed doc files back to build directory to package them
66498b
# in the right place
66498b
mv $RPM_BUILD_ROOT%{_docdir}/fontconfig/* .
66498b
rmdir $RPM_BUILD_ROOT%{_docdir}/fontconfig/
66498b
66498b
# rename fc-cache binary
66498b
mv $RPM_BUILD_ROOT%{_bindir}/fc-cache $RPM_BUILD_ROOT%{_bindir}/fc-cache-%{__isa_bits}
66498b
66498b
install -p -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/fc-cache
66498b
66498b
%find_lang %{name}
66498b
%find_lang %{name}-conf
66498b
cat %{name}-conf.lang >> %{name}.lang
66498b
66498b
%check
66498b
make check V=1
66498b
66498b
%post
66498b
/sbin/ldconfig
66498b
66498b
umask 0022
66498b
66498b
mkdir -p /usr/lib/fontconfig/cache
66498b
66498b
[[ -d %{_localstatedir}/cache/fontconfig ]] && rm -rf %{_localstatedir}/cache/fontconfig/* 2> /dev/null || :
66498b
66498b
# Force regeneration of all fontconfig cache files
66498b
# The check for existance is needed on dual-arch installs (the second
66498b
#  copy of fontconfig might install the binary instead of the first)
66498b
# The HOME setting is to avoid problems if HOME hasn't been reset
66498b
if [ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache --version 2>&1 | grep -q %{version} ; then
66498b
  HOME=/root /usr/bin/fc-cache -f
66498b
fi
66498b
66498b
%postun -p /sbin/ldconfig
66498b
66498b
%files -f %{name}.lang
66498b
%doc README AUTHORS COPYING
66498b
%doc fontconfig-user.txt fontconfig-user.html
66498b
%doc %{_fontconfig_confdir}/README
66498b
%{_libdir}/libfontconfig.so.*
66498b
%{_bindir}/fc-cache*
66498b
%{_bindir}/fc-cat
66498b
%{_bindir}/fc-conflist
66498b
%{_bindir}/fc-list
66498b
%{_bindir}/fc-match
66498b
%{_bindir}/fc-pattern
66498b
%{_bindir}/fc-query
66498b
%{_bindir}/fc-scan
66498b
%{_bindir}/fc-validate
66498b
%{_fontconfig_templatedir}/*.conf
66498b
%{_datadir}/xml/fontconfig
66498b
# fonts.conf is not supposed to be modified.
66498b
# If you want to do so, you should use local.conf instead.
66498b
%config %{_fontconfig_masterdir}/fonts.conf
66498b
%config(noreplace) %{_fontconfig_confdir}/*.conf
66498b
%dir /usr/lib/fontconfig/cache
66498b
%{_mandir}/man1/*
66498b
%{_mandir}/man5/*
66498b
66498b
%files devel
66498b
%{_libdir}/libfontconfig.so
66498b
%{_libdir}/pkgconfig/*
66498b
%{_includedir}/fontconfig
66498b
%{_mandir}/man3/*
66498b
%{_datadir}/gettext/its/fontconfig.its
66498b
%{_datadir}/gettext/its/fontconfig.loc
66498b
66498b
%files devel-doc
66498b
%doc fontconfig-devel.txt fontconfig-devel
66498b
66498b
%changelog
66498b
* Fri Jun 08 2018 Akira TAGOH <tagoh@redhat.com> - 2.13.0-4.3
66498b
- Add 30-urw-aliases.conf back.
66498b
66498b
* Fri Jun 08 2018 Akira TAGOH <tagoh@redhat.com> - 2.13.0-4.2
66498b
- Drop more new syntax in config.
66498b
66498b
* Fri Jun 08 2018 Akira TAGOH <tagoh@redhat.com> - 2.13.0-4.1
66498b
- Rebase to 2.13.0 (#1576501)
66498b
- Rename fc-cache binary to fc-cache-{32,64} for multilib. (#1568968)
66498b
- backport some fixes related to Flatpak.
66498b
- Drop new syntax in config for compatibility.
66498b
- Requires dejavu-sans-fonts instead of font(:lang=en) (#1484094)
66498b
66498b
* Fri Feb 24 2017 Akira TAGOH <tagoh@redhat.com> - 2.10.95-11
66498b
- Add Requires: font(:lang=en) (#1403957)
66498b
66498b
* Fri Sep 23 2016 Akira TAGOH <tagoh@redhat.com> - 2.10.95-10
66498b
- Fix a regression in the previous change. (#1355930)
66498b
66498b
* Fri Aug  5 2016 Akira TAGOH <tagoh@redhat.com> - 2.10.95-9
66498b
- CVE-2016-5384: Validate offsets in cache files properly. (#1355930)
66498b
66498b
* Fri Jun 10 2016 Akira TAGOH <tagoh@redhat.com> - 2.10.95-8
66498b
- Update 45-latin.conf to add some hints to fall back for Windows fonts (#1073460)
66498b
66498b
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.10.95-7
66498b
- Mass rebuild 2014-01-24
66498b
66498b
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.10.95-6
66498b
- Mass rebuild 2013-12-27
66498b
66498b
* Tue Oct  8 2013 Akira TAGOH <tagoh@redhat.com> - 2.10.95-5
66498b
- Fix the race condition issue on updating cache (#1011510)
66498b
- Fix crash issue in FcFontSort()
66498b
- Fix an issue not copying all values from the font.
66498b
66498b
* Fri Sep 13 2013 Akira TAGOH <tagoh@redhat.com> - 2.10.95-4
66498b
- Fix memory leaks in FcFreeTypeQueryFace().
66498b
66498b
* Mon Sep  2 2013 Akira TAGOH <tagoh@redhat.com> - 2.10.95-3
66498b
- Do not create a directory for migration when no old config file and directory.
66498b
  (#1003495)
66498b
66498b
* Sat Aug 31 2013 Akira TAGOH <tagoh@redhat.com> - 2.10.95-1
66498b
- Fix a crash issue (#1003069)
66498b
66498b
* Fri Aug 30 2013 Akira TAGOH <tagoh@redhat.com> - 2.10.94-1
66498b
- New upstream release.
66498b
- migrate the configuration for XDG Base Directory spec automatically (#882267)
66498b
66498b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.93-2
66498b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
66498b
66498b
* Mon May 20 2013 Akira TAGOH <tagoh@redhat.com> - 2.10.93-1
66498b
- New upstream release.
66498b
66498b
* Thu Apr 11 2013 Akira TAGOH <tagoh@redhat.com> - 2.10.92-3
66498b
- Fix a web font issue in firefox. (#946859)
66498b
66498b
* Mon Apr  1 2013 Akira TAGOH <tagoh@redhat.com> - 2.10.92-2
66498b
- Fix font matching issue. (#929372)
66498b
66498b
* Fri Mar 29 2013 Akira TAGOH <tagoh@redhat.com> - 2.10.92-1
66498b
- New upstream release.
66498b
66498b
* Tue Feb 12 2013 Akira TAGOH <tagoh@redhat.com> - 2.10.91-3
66498b
- Improve the spec to meet the latest packaging guidelines (#225759)
66498b
  - add -devel-doc subpackage.
66498b
- Fix a build issue with automake 1.13
66498b
66498b
* Fri Feb  8 2013 Ville Skyttä <ville.skytta@iki.fi> - 2.10.91-2
66498b
- Own the %%{_datadir}/xml/fontconfig dir.
66498b
- Fix bogus dates in %%changelog.
66498b
66498b
* Fri Jan 11 2013 Akira TAGOH <tagoh@redhat.com> - 2.10.91-1
66498b
- New upstream release (#894109)
66498b
  - threadsafe
66498b
  - new tool to validate the glyph coverage
66498b
  - add new rule to scale the bitmap font.
66498b
66498b
* Mon Nov 26 2012 Akira TAGOH <tagoh@redhat.com> - 2.10.2-1
66498b
- New upstream release.
66498b
  - Fix an regression on FcFontMatch with namelang. (#876970)
66498b
66498b
* Thu Oct 25 2012 Akira TAGOH <tagoh@redhat.com> - 2.10.1-2
66498b
- Update License field (#869614)
66498b
66498b
* Fri Jul 27 2012 Akira TAGOH <tagoh@redhat.com> - 2.10.1-1
66498b
- New upstream release.
66498b
66498b
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.0-2
66498b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
66498b
66498b
* Tue Jul 17 2012 Akira TAGOH <tagoh@redhat.com> - 2.10.0-1
66498b
- New upstream release.
66498b
66498b
* Mon Jun 25 2012 Akira TAGOH <tagoh@redhat.com> - 2.9.92-1
66498b
- New upstream release.
66498b
66498b
* Mon Jun 11 2012 Akira TAGOH <tagoh@redhat.com> - 2.9.91-1
66498b
- New upstream release.
66498b
  - docs are generated with the fixed docbook (#826145)
66498b
  - handle whitespace in family name correctly (#468565, #591634)
66498b
  - Updated ne.orth. (#586763)
66498b
66498b
* Wed May 16 2012 Akira TAGOH <tagoh@redhat.com> - 2.9.0-2
66498b
- Add grep and coreutils to Requires(post). (#821957)
66498b
66498b
* Fri Mar 23 2012 Akira TAGOH <tagoh@redhat.com>
66498b
- backport patch to make 'result' from FcFontMatch() and FcFontSort()
66498b
  more reliable.
66498b
66498b
* Wed Mar 21 2012 Akira TAGOH <tagoh@redhat.com> - 2.9.0-1
66498b
- New upstream release (#803559)
66498b
  - Update ks.orth (#790471)
66498b
  - Add brx.orth (#790460)
66498b
  - Update ur.orth (#757985)
66498b
  - No Apple Roman cmap support anymore. should works. (#681808)
66498b
  - Update ne.orth (#586763)
66498b
  - Add a workaround for ZapfDingbats. (#562952, #497648, #468565)
66498b
- clean up the spec file.
66498b
- Add BR: fontpackages-devel.
66498b
- Add R: fontpackages-filesystem.
66498b
66498b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.0-5
66498b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
66498b
66498b
* Tue May 31 2011 Adam Jackson <ajax@redhat.com> 2.8.0-4
66498b
- fontconfig-2.8.0-dingbats.patch: Hack for dingbats font matching. (#468565)
66498b
66498b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.0-3
66498b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
66498b
66498b
* Thu Jun 24 2010 Adam Jackson <ajax@redhat.com> 2.8.0-2
66498b
- fontconfig-2.8.0-sleep-less.patch: Make a stupid sleep() in fc-cache
66498b
  slightly less stupid.
66498b
66498b
* Thu Dec  3 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.8.0-1
66498b
- Update to 2.8.0
66498b
66498b
* Tue Sep  8 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.7.3-1
66498b
- Update to 2.7.3
66498b
66498b
* Mon Aug 31 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.7.2-1
66498b
- Update to 2.7.2
66498b
66498b
* Mon Jul  27 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.7.1-1
66498b
- Update to 2.7.1
66498b
66498b
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.0-2
66498b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
66498b
66498b
* Wed Jun 24 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.7.0
66498b
- Update to 2.7.0
66498b
66498b
* Mon Jun  1 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.99.behdad.20090601-1
66498b
- Update to 2.6.99.behdad.20090601
66498b
66498b
* Fri May  8 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.99.behdad.20090508-1
66498b
- Update to 2.6.99.behdad.20090508
66498b
- Resolves #497984
66498b
66498b
* Wed Mar 18 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.99.behdad.20090318-1
66498b
- Update to 2.6.99.behdad.20090318
66498b
- Resolves #490888
66498b
66498b
* Tue Mar 17 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.99.behdad.20090317-1
66498b
- Update to 2.6.99.behdad.20090317
66498b
- Resolves #485685
66498b
66498b
* Sat Mar 14 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.99.behdad-3
66498b
- New tarball with version fixed in the header
66498b
66498b
* Fri Mar 13 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.99.behdad-2
66498b
- Previous tarball was broken.  Rebuild with respinned ball.
66498b
66498b
* Fri Mar 13 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.99.behdad-1
66498b
- Update to 2.6.99.behdad
66498b
66498b
* Tue Mar 10 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.98-1.gb39c36a
66498b
- Update to 2.6.98-1.gb39c36a
66498b
66498b
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.97-5.g945d6a4
66498b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
66498b
66498b
* Mon Feb 23 2009 Nicolas Mailhot <nim at fedoraproject dot org>
66498b
- 2.6.97-4.g945d6a4
66498b
— global-ization
66498b
66498b
* Mon Feb 16 2009 Richard Hughes <rhughes@redhat.com> - 2.6.97-3.g945d6a4
66498b
- Correct the rpm provide name to be font(), not Font().
66498b
66498b
* Sun Feb 15 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.97-2.g945d6a4
66498b
- Another try.
66498b
66498b
* Sun Feb 15 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.97-1.g945d6a4
66498b
- Update to 2.6.97-1.g945d6a4
66498b
66498b
* Sun Feb 15 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.96-1.g0b290a6
66498b
- Update to 2.6.96-1.g0b290a6
66498b
66498b
* Tue Jan 27 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.95-1.git.66.gb162bfb
66498b
- Update to 2.6.95-1.git.66.gb162bfb
66498b
66498b
* Fri Jan 23 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.94-1.git.65.g628ee83
66498b
- Update to 2.6.94-1.git.65.g628ee83
66498b
66498b
* Wed Jan 21 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.93-1.git.64.g6aa4dce
66498b
- Update to 2.6.93-1.git.64.g6aa4dce
66498b
66498b
* Mon Jan 19 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.92-1.git.64.g167bb82
66498b
- Update to 2.6.92-1.git.64.g167bb82
66498b
66498b
* Mon Jan 19 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.91-1.git.64.g9feaf34
66498b
- Update to 2.6.91-1.git.64.g9feaf34
66498b
66498b
* Fri Jan 16 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.90-3.git.63.g6bb4b9a
66498b
- Install fc-scan and fc-query
66498b
66498b
* Fri Jan 16 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.90-2.git.63.g6bb4b9a
66498b
- Update to 2.6.90-1.git.63.g6bb4b9a
66498b
- Remove upstreamed patch
66498b
66498b
* Mon Oct 20 2008 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.0-3
66498b
- Add fontconfig-2.6.0-indic.patch
66498b
- Resolves: #464470
66498b
66498b
* Sun Jun 01 2008 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.0-2
66498b
- Fix build.
66498b
66498b
* Sat May 31 2008 Behdad Esfahbod <besfahbo@redhat.com> - 2.6.0-1
66498b
- Update to 2.6.0.
66498b
66498b
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.5.0-2
66498b
- Autorebuild for GCC 4.3
66498b
66498b
* Wed Nov 14 2007 Behdad Esfahbod <besfahbo@redhat.com> - 2.5.0-1
66498b
- Update to 2.5.0.
66498b
66498b
* Tue Nov 06 2007 Behdad Esfahbod <besfahbo@redhat.com> - 2.4.92-1
66498b
- Update to 2.4.92.
66498b
- Mark /etc/fonts/conf.d/* as config(noreplace).
66498b
- Remove most of our conf file, all upstreamed except for
66498b
  75-blacklist-fedora.conf that I'm happily dropping.  Who has
66498b
  Hershey fonts these days...
66498b
- ln upstream'ed 25-unhint-nonlatin.conf from conf.avail in conf.d
66498b
- Add 25-no-bitmap-fedora.conf which is the tiny remaining bit
66498b
  of conf that didn't end up upstream.  Can get rid of it in the
66498b
  future, but not just yet.
66498b
66498b
* Thu Oct 25 2007 Behdad Esfahbod <besfahbo@redhat.com> - 2.4.91-1
66498b
- Update to 2.4.91.
66498b
- Add /usr/local/share/fonts to default config. (#147004)
66498b
- Don't rebuild docs, to fix multilib conflicts. (#313011)
66498b
- Remove docbook and elinks BuildRequires and stuff as we don't
66498b
  rebuild docs.
66498b
66498b
* Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 2.4.2-5
66498b
- Rebuild for PPC toolchain bug
66498b
- Add BuildRequires: gawk
66498b
66498b
* Sun Jun 17 2007 Matthias Clasen <mclasen@redhat.com> - 2.4.2-4
66498b
- /etc/fonts/conf.d is now owned by filesystem
66498b
66498b
* Fri May 11 2007 Matthias Clasen <mclasen@redhat.com> - 2.4.2-3
66498b
- Add Liberation fonts to 30-aliases-fedora.conf
66498b
66498b
* Fri Jan 12 2007 Behdad Esfahbod <besfahbo@redhat.com> - 2.4.2-2
66498b
- Change /usr/share/X11/fonts/OTF to /usr/share/X11/fonts/TTF
66498b
- Resolves: #220809
66498b
66498b
* Tue Dec  5 2006 Matthias Clasen <mclasen@redhat.com> - 2.4.2-1
66498b
- Update to 2.4.2
66498b
66498b
* Wed Oct  4 2006 Matthias Clasen <mclasen@redhat.com> - 2.4.1-4
66498b
- Fix a multilib upgrade problem (#208151)
66498b
66498b
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 2.4.1-3
66498b
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
66498b
66498b
* Fri Sep 22 2006 Behdad Esfahbod <besfahbo@redhat.com> - 2.4.1-2
66498b
- Update 30-aliases-fedora.conf to correctly alias MS and StarOffice
66498b
  fonts. (#207460)
66498b
66498b
* Fri Sep 15 2006 Behdad Esfahbod <besfahbo@redhat.com> - 2.4.1-1
66498b
- Update to 2.4.1, a public API was dropped from 2.4.0
66498b
- Remove upstreamed patch
66498b
66498b
* Mon Sep 11 2006 Behdad Esfahbod <besfahbo@redhat.com> - 2.4.0-1
66498b
- Update to 2.4.0
66498b
- Rename/order our configuration stuff to match the new scheme.
66498b
  Breaks expected :-(
66498b
66498b
* Thu Sep 07 2006 Behdad Esfahbod <besfahbo@redhat.com> - 2.3.97-3
66498b
- Add missing file.  Previous update didn't go through
66498b
66498b
* Thu Sep 07 2006 Behdad Esfahbod <besfahbo@redhat.com> - 2.3.97-2
66498b
- Add fontconfig-2.3.97-ppc64.patch, for ppc64 arch signature
66498b
66498b
* Thu Sep 07 2006 Behdad Esfahbod <besfahbo@redhat.com> - 2.3.97-1
66498b
- update to 2.3.97
66498b
- Drop upstreamed patches
66498b
- Regenerate defaultconfig patch
66498b
- Don't touch stamp as it was not ever needed
66498b
66498b
* Thu Aug 17 2006 Behdad Esfahbod <besfahbo@redhat.com> - 2.3.95-11
66498b
- inclusion of zhong yi font and rearranged font prefer list. (bug# 201300)
66498b
66498b
* Fri Aug 11 2006 Ray Strode <rstrode@redhat.com> - 2.3.95-10
66498b
- use "%%5x" instead of " %%4x" to support 64k instead of
66498b
  clamping.  Idea from Behdad.
66498b
66498b
* Fri Aug 11 2006 Ray Strode <rstrode@redhat.com> - 2.3.95-9
66498b
- tweak last patch to give a more reasonable page size
66498b
  value if 64k page size is in effect.
66498b
66498b
* Fri Aug 11 2006 Ray Strode <rstrode@redhat.com> - 2.3.95-8
66498b
- maybe fix buffer overflow (bug 202152).
66498b
66498b
* Fri Aug 11 2006 Ray Strode <rstrode@redhat.com> - 2.3.95-7
66498b
- Update configs to provide better openoffice/staroffice
66498b
  compatibility (bug 200723)
66498b
66498b
* Thu Jul 27 2006 Behdad Esfahbod <besfahbo@redhat.com> - 2.3.95-6
66498b
- Do umask 0022 in post
66498b
- Update configs to reflect addition of new Indic fonts (#200381, #200397)
66498b
66498b
* Tue Jul 18 2006 Matthias Clasen <mclasen@redhat.com> - 2.3.95-5
66498b
- Plug a small memory leak
66498b
66498b
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.3.95-4.1.1
66498b
- rebuild
66498b
66498b
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.3.95-4.1
66498b
- rebuild
66498b
66498b
* Fri Jun  2 2006 Matthias Clasen <mclasen@redhat.com> - 2.3.95-4
66498b
- Fix the handling of TTF font collections
66498b
66498b
* Thu May 18 2006 Matthias Clasen <mclasen@redhat.com> - 2.3.95-3
66498b
- Apply a patch by David Turner to speed up cache generation
66498b
66498b
* Wed Apr 26 2006 Bill Nottingham <notting@redhat.com> - 2.3.95-2
66498b
- fix fonts.conf typo
66498b
66498b
* Wed Apr 26 2006 Matthias Clasen <mclasen@redhat.com> - 2.3.95-1
66498b
- Update to 2.3.95
66498b
66498b
* Fri Feb 24 2006 Matthias Clasen <mclasen@redhat.com> - 2.3.94-1
66498b
- Update to 2.3.94
66498b
66498b
* Sat Feb 11 2006 Matthias Clasen <mclasen@redhat.com> - 2.3.93.cvs20060211-1
66498b
- Newer cvs snapshot
66498b
66498b
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.3.93.cvs20060208-1.1
66498b
- bump again for double-long bug on ppc(64)
66498b
66498b
* Wed Feb  8 2006 Matthias Clasen <mclasen@redhat.com> - 2.3.93.cvs20060208-1
66498b
- Newer cvs snapshot
66498b
66498b
* Tue Feb  7 2006 Matthias Clasen <mclasen@redhat.com> - 2.3.93.cvs20060207-1
66498b
- Newer cvs snapshot
66498b
- Drop upstreamed patches, pick up some new ones
66498b
66498b
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.3.93.cvs20060131-3.1
66498b
- rebuilt for new gcc4.1 snapshot and glibc changes
66498b
66498b
* Thu Feb  2 2006 Ray Strode <rstrode@redhat.com> - 2.3.93.cvs20060131-3
66498b
- Move user cache to a subdirectory (bug 160275)
66498b
66498b
* Thu Feb  2 2006 Matthias Clasen <mclasen@redhat.com> - 2.3.93.cvs20060131-2
66498b
- Accumulated patches
66498b
66498b
* Tue Jan 31 2006 Matthias Clasen <mclasen@redhat.com> - 2.3.93.cvs20060131-1
66498b
- Newer cvs snapshot
66498b
66498b
* Tue Jan 24 2006 Matthias Clasen <mclasen@redhat.com> - 2.3.93.cvs20060124-1
66498b
- Newer cvs snapshot
66498b
66498b
* Tue Jan 17 2006 Ray Strode <rstrode@redhat.com> - 2.3.93-4
66498b
- apply patch from Tim Mayberry to correct aliasing and disable
66498b
  hinting for the two Chinese font names AR PL ShanHeiSun Uni 
66498b
  and AR PL Zenkai Uni
66498b
66498b
* Tue Jan 10 2006 Bill Nottingham <notting@redhat.com> - 2.3.93-3
66498b
- prereq coreutils for mkdir/touch in %%post
66498b
66498b
* Wed Dec 21 2005 Carl Worth <cworth@redhat.com> - 2.3.93-2
66498b
- Fix to create /var/cache/fontconfig/stamp in the post install stage.
66498b
66498b
* Wed Dec 21 2005 Carl Worth <cworth@redhat.com> - 2.3.93-1
66498b
- New upstream version.
66498b
66498b
* Tue Dec 13 2005 Carl Worth <cworth@redhat.com> - 2.3.92.cvs20051129-3
66498b
- Disable hinting for Lohit Gujarati
66498b
66498b
* Fri Dec  9 2005 Carl Worth <cworth@redhat.com> - 2.3.92.cvs20051129-2
66498b
- Add two new Chinese font names to the default fonts.conf file:
66498b
    AR PL ShanHeiSun Uni
66498b
    AR PL Zenkai Uni
66498b
66498b
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
66498b
- rebuilt
66498b
66498b
* Tue Nov 29 2005 Matthias Clasen <mclasen@redhat.com> - 2.3.92.cvs20051129-1
66498b
- Update to a newer cvs snapshot
66498b
66498b
* Sat Nov 19 2005 Matthias Clasen <mclasen@redhat.com> - 2.3.92.cvs20051119-1
66498b
- Update to a newer cvs snapshot
66498b
66498b
* Wed Nov 16 2005 Bill Nottingham <notting@redhat.com> - 2.3.93-3
66498b
- modular X moved fonts from /usr/X11R6/lib/X11/fonts to
66498b
  /usr/share/X11/fonts, adjust %%configure accordingly and 
66498b
  conflict with older font packages
66498b
66498b
* Wed Nov  9 2005 Carl Worth <cworth@redhat.com> - 2.3.92-2
66498b
- Remove inadvertent rejection of Luxi Mono from 40-blacklist-fonts.conf.
66498b
  Fixes #172437
66498b
66498b
* Fri Nov  4 2005 Matthias Clasen <mclasen@redhat.com> - 2.3.92-1
66498b
- Update to 2.3.92
66498b
66498b
* Mon Oct 31 2005 Matthias Clasen <mclasen@redhat.com> - 2.3.91.cvs20051031-1
66498b
- Update to a newer cvs snapshot
66498b
- Add a patch which should help to understand broken cache problems
66498b
66498b
* Fri Oct 21 2005 Matthias Clasen <mclasen@redhat.com> - 2.3.91.cvs20051017-2
66498b
- Add new Chinese fonts
66498b
- Fix the 40-blacklist-fonts.conf file to use the documented
66498b
  fonts.conf syntax, and exclude the Hershey fonts by family
66498b
  name.
66498b
66498b
* Fri Oct 14 2005 Matthias Clasen <mclasen@redhat.com> - 2.3.91.cvs20051017-1
66498b
- Update to the mmap branch of fontconfig
66498b
66498b
* Fri Jul 22 2005 Kristian Høgsberg <krh@redhat.com> - 2.3.2-1
66498b
- Update to fontconfig-2.3.2.  Drop
66498b
66498b
	fontconfig-2.1-slighthint.patch,
66498b
	fontconfig-2.2.3-timestamp.patch,
66498b
	fontconfig-2.2.3-names.patch,
66498b
	fontconfig-2.2.3-ta-pa-orth.patch, and
66498b
	fontconfig-2.2.3-timestamp.patch,
66498b
66498b
  as they are now merged upstream.
66498b
66498b
- Fold fontconfig-2.2.3-add-sazanami.patch into
66498b
  fontconfig-2.3.2-defaultconfig.patch and split rules to disable CJK
66498b
  hinting out into /etc/fonts/conf.d/50-no-hint-fonts.conf.
66498b
66498b
- Drop fontconfig-0.0.1.020826.1330-blacklist.patch and use the new
66498b
  rejectfont directive to reject those fonts in 40-blacklist-fonts.conf.
66498b
66498b
- Add fontconfig-2.3.2-only-parse-conf-files.patch to avoid parsing
66498b
  .rpmsave files.
66498b
66498b
- Renable s390 documentation now that #97079 has been fixed and add
66498b
  BuildRequires: for docbook-utils and docbook-utils-pdf.
66498b
66498b
- Drop code to iconv and custom install man pages, upstream does the
66498b
  right thing now.
66498b
66498b
- Add workaround from hell to make elinks cooperate so we can build
66498b
  txt documentation.
66498b
66498b
* Tue Apr 19 2005 David Zeuthen <davidz@redhat.com> - 2.2.3-13
66498b
- Add another font family name Sazanami Gothic/Mincho (#148748)
66498b
66498b
* Fri Mar  4 2005 David Zeuthen <davidz@redhat.com> - 2.2.3-12
66498b
- Rebuild
66498b
66498b
* Fri Mar  4 2005 David Zeuthen <davidz@redhat.com> - 2.2.3-11
66498b
- Rebuild
66498b
66498b
* Fri Mar  4 2005 David Zeuthen <davidz@redhat.com> - 2.2.3-10
66498b
- Rebuild
66498b
66498b
* Fri Mar  4 2005 David Zeuthen <davidz@redhat.com> - 2.2.3-9
66498b
- Disable docs for s390 for now
66498b
66498b
* Fri Mar  4 2005 David Zeuthen <davidz@redhat.com> - 2.2.3-8
66498b
- Rebuild
66498b
66498b
* Wed Dec  1 2004 Owen Taylor <otaylor@redhat.com> - 2.2.3-6
66498b
- Sleep a second before the exit of fc-cache to fix problems with fast 
66498b
  serial installs of fonts (#140335)
66498b
- Turn off hinting for Lohit Hindi/Bengali/Punjabi (#139816)
66498b
66498b
* Tue Oct 19 2004 Owen Taylor <otaylor@redhat.com> - 2.2.3-5
66498b
- Add Lohit fonts for Indic languages (#134492)
66498b
- Add Punjabi converage, fix Tamil coverage
66498b
66498b
* Wed Sep 22 2004 Owen Taylor <otaylor@redhat.com> - 2.2.3-4
66498b
- Update fonts-hebrew names to include CLM suffix
66498b
66498b
* Thu Sep  2 2004 Owen Taylor <otaylor@redhat.com> - 2.2.3-3
66498b
- Backport code from head branch of fontconfig CVS to parse names 
66498b
  for postscript fonts (fixes #127500, J. J. Ramsey)
66498b
- Own /usr/share/fonts (#110956, David K. Levine)
66498b
- Add KacstQura to serif/sans-serif/monospace aliases (#101182)
66498b
66498b
* Mon Aug 16 2004 Owen Taylor <otaylor@redhat.com> - 2.2.3-2
66498b
- Don't run fc-cache if the binary isn't there (#128072, tracked
66498b
  down by Jay Turner)
66498b
66498b
* Tue Aug  3 2004 Owen Taylor <otaylor@redhat.com> - 2.2.3-1
66498b
- Upgrade to 2.2.3
66498b
- Convert man pages to UTF-8 (#108730, Peter van Egdom)
66498b
- Renable docs on s390
66498b
66498b
* Mon Jul 26 2004 Owen Taylor <otaylor@redhat.com> - 2.2.1-12
66498b
- Rebuild for RHEL
66498b
- Back freetype required version down to 2.1.4
66498b
66498b
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
66498b
- rebuilt
66498b
66498b
* Mon Apr 19 2004 Owen Taylor <otaylor@redhat.com> 2.2.1-10
66498b
- Require recent freetype (#109592, Peter Oliver)
66498b
- Remove fonts.conf timestamp to fix multiarch conflict (#118182)
66498b
- Disable hinting for Mukti Narrow (#120915, Sayamindu Dasgupta)
66498b
66498b
* Wed Mar 10 2004 Owen Taylor <otaylor@redhat.com> 2.2.1-8.1
66498b
- Rebuild
66498b
66498b
* Wed Mar 10 2004 Owen Taylor <otaylor@redhat.com> 2.2.1-8.0
66498b
- Add Albany/Cumberland/Thorndale as fallbacks for Microsoft core fonts and 
66498b
  as non-preferred alternatives for Sans/Serif/Monospace
66498b
- Fix FreeType includes for recent FreeType
66498b
66498b
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
66498b
- rebuilt
66498b
66498b
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
66498b
- rebuilt
66498b
66498b
* Mon Sep 22 2003 Owen Taylor <otaylor@redhat.com> 2.2.1-6.0
66498b
- Should have been passing --with-add-fonts, not --with-add-dirs to 
66498b
  configure ... caused wrong version of Luxi to be used. (#100862)
66498b
66498b
* Fri Sep 19 2003 Owen Taylor <otaylor@redhat.com> 2.2.1-5.0
66498b
- Tweak fonts.conf to get right hinting for CJK fonts (#97337)
66498b
66498b
* Tue Jun 17 2003 Bill Nottingham <notting@redhat.com> 2.2.1-3
66498b
- handle null config->cache correctly
66498b
66498b
* Thu Jun 12 2003 Owen Taylor <otaylor@redhat.com> 2.2.1-2
66498b
- Update default config to include Hebrew fonts (#90501, Dov Grobgeld)
66498b
66498b
* Tue Jun 10 2003 Owen Taylor <otaylor@redhat.com> 2.2.1-2
66498b
- As a workaround disable doc builds on s390
66498b
66498b
* Mon Jun  9 2003 Owen Taylor <otaylor@redhat.com> 2.2.1-1
66498b
- Version 2.2.1
66498b
66498b
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
66498b
- rebuilt
66498b
66498b
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
66498b
- debuginfo rebuild
66498b
66498b
* Mon Feb 24 2003 Owen Taylor <otaylor@redhat.com> 2.1-8
66498b
- Fix segfault in fc-cache from .dircache patch
66498b
66498b
* Mon Feb 24 2003 Owen Taylor <otaylor@redhat.com>
66498b
- Back out patch that wrote fonts.conf entries that crash RH-8.0 
66498b
  gnome-terminal, go with patch from fontconfig CVS instead.
66498b
  (#84863)
66498b
66498b
* Tue Feb 11 2003 Owen Taylor <otaylor@redhat.com>
66498b
- Move fontconfig man page to main package, since it contains non-devel 
66498b
  information (#76189)
66498b
- Look in the OTF subdirectory of /usr/X11R6/lib/fonts as well
66498b
  so we find Syriac fonts (#82627)
66498b
66498b
* Thu Feb  6 2003 Matt Wilson <msw@redhat.com> 2.1-5
66498b
- modified fontconfig-0.0.1.020626.1517-fontdir.patch to hard code
66498b
  /usr/X11R6/lib/X11/fonts instead of using $(X_FONT_DIR).  This is
66498b
  because on lib64 machines, fonts are not in /usr/X11R6/lib64/....
66498b
66498b
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
66498b
- rebuilt
66498b
66498b
* Wed Jan 15 2003 Owen Taylor <otaylor@redhat.com>
66498b
- Try a different tack when fixing cache problem
66498b
66498b
* Tue Jan 14 2003 Owen Taylor <otaylor@redhat.com>
66498b
- Try to fix bug where empty cache entries would be found in 
66498b
  ~/.fonts.cache-1 during scanning (#81335)
66498b
66498b
* Thu Nov 21 2002 Mike A. Harris <mharris@redhat.com> 2.1-1
66498b
- Updated to version 2.1
66498b
- Updated slighthint patch to fontconfig-2.1-slighthint.patch
66498b
- Updated freetype version required to 2.1.2-7
66498b
66498b
* Mon Sep  2 2002 Owen Taylor <otaylor@redhat.com>
66498b
- Version 2.0
66498b
- Correct capitalization/spacing for ZYSong18030 name (#73272)
66498b
66498b
* Fri Aug 30 2002 Owen Taylor <otaylor@redhat.com>
66498b
- Blacklist fonts from ghostscript-fonts that don't render correctly
66498b
66498b
* Mon Aug 26 2002 Owen Taylor <otaylor@redhat.com>
66498b
- Upgrade to fcpackage rc3
66498b
- Fix bug in comparisons for xx_XX language tags
66498b
- Compensate for a minor config file change in rc3
66498b
66498b
* Wed Aug 21 2002 Owen Taylor <otaylor@redhat.com>
66498b
- Add an explicit PreReq for freetype
66498b
- Move fonts we don't ship to the end of the fonts.conf aliases so
66498b
  installing them doesn't change the look.
66498b
66498b
* Wed Aug 21 2002 Owen Taylor <otaylor@redhat.com>
66498b
- Memory leak fix when parsing config files
66498b
- Set rh_prefer_bitmaps for .ja fonts to key off of in Xft
66498b
- Fix some groff warnings for fontconfig.man (#72138)
66498b
66498b
* Thu Aug 15 2002 Owen Taylor <otaylor@redhat.com>
66498b
- Try once more to get the right default Sans-serif font :-(
66498b
- Switch the Sans/Monospace aliases for Korean to Gulim, not Dotum
66498b
66498b
* Wed Aug 14 2002 Owen Taylor <otaylor@redhat.com>
66498b
- Fix %%post
66498b
66498b
* Tue Aug 13 2002 Owen Taylor <otaylor@redhat.com>
66498b
- Fix lost Luxi Sans default
66498b
66498b
* Mon Aug 12 2002 Owen Taylor <otaylor@redhat.com>
66498b
- Upgrade to rc2
66498b
- Turn off hinting for all CJK fonts
66498b
- Fix typo in %%post
66498b
- Remove the custom language tag stuff in favor of Keith's standard 
66498b
  solution.
66498b
66498b
* Mon Jul 15 2002 Owen Taylor <otaylor@redhat.com>
66498b
- Prefer Luxi Sans to Nimbus Sans again
66498b
66498b
* Fri Jul 12 2002 Owen Taylor <otaylor@redhat.com>
66498b
- Add FC_HINT_STYLE to FcBaseObjectTypes
66498b
- Switch Chinese fonts to always using Sung-ti / Ming-ti, and never Kai-ti
66498b
- Add ZYSong18030 to aliases (#68428)
66498b
66498b
* Wed Jul 10 2002 Owen Taylor <otaylor@redhat.com>
66498b
- Fix a typo in the langtag patch (caught by Erik van der Poel)
66498b
66498b
* Wed Jul  3 2002 Owen Taylor <otaylor@redhat.com>
66498b
- Add FC_HINT_STYLE tag
66498b
66498b
* Thu Jun 27 2002 Owen Taylor <otaylor@redhat.com>
66498b
- New upstream version, with fix for problems with
66498b
  ghostscript-fonts (Fonts don't work for Qt+CJK,
66498b
  etc.)
66498b
66498b
* Wed Jun 26 2002 Owen Taylor <otaylor@redhat.com>
66498b
- New upstream version, fixing locale problem
66498b
66498b
* Mon Jun 24 2002 Owen Taylor <otaylor@redhat.com>
66498b
- Add a hack where we set the "language" fontconfig property based on the locale, then 
66498b
  we conditionalize base on that in the fonts.conf file.
66498b
66498b
* Sun Jun 23 2002 Owen Taylor <otaylor@redhat.com>
66498b
- New upstream version
66498b
66498b
* Tue Jun 18 2002 Owen Taylor <otaylor@redhat.com>
66498b
- Fix crash from FcObjectSetAdd
66498b
66498b
* Tue Jun 11 2002 Owen Taylor <otaylor@redhat.com>
66498b
- make fonts.conf %%config, not %%config(noreplace)
66498b
- Another try at the CJK aliases
66498b
- Add some CJK fonts to the config
66498b
- Prefer Luxi Mono to Nimbus Mono
66498b
66498b
* Mon Jun 10 2002 Owen Taylor <otaylor@redhat.com>
66498b
- New upstream version
66498b
- Fix matching for bitmap fonts
66498b
66498b
* Mon Jun  3 2002 Owen Taylor <otaylor@redhat.com>
66498b
- New version, new upstream mega-tarball
66498b
66498b
* Tue May 28 2002 Owen Taylor <otaylor@redhat.com>
66498b
- Fix problem with FcConfigSort
66498b
66498b
* Fri May 24 2002 Owen Taylor <otaylor@redhat.com>
66498b
- Initial specfile
66498b