Accepting request 645698 from home:pgajdos

- Update to 2.13.1:
  * conf.d: Drop aliases for (URW)++ fonts
  * variable fonts support
  * Use uuid-based cache filename if uuid is assigned to dirs
  * Add new API to find out a font from current search path
  * Add FONTCONFIG_SYSROOT environment variable
  * [varfonts] Add FC_FONT_VARIATIONS
  * [varfonts] Add FC_VARIABLE
  * Add Simplified Chinese translations
  * Fix memory leaks, double frees etc.
  * See README for details

OBS-URL: https://build.opensuse.org/request/show/645698
OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=152
This commit is contained in:
2018-11-03 07:01:03 +00:00
committed by Git OBS Bridge
parent cf71134cd9
commit eab41dbedf
5 changed files with 35 additions and 30 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf0c30807d08f6a28ab46c61b8dbd55c97d2f292cf88f3a07d3384687f31f017
size 1624683

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f655dd2a986d7aa97e052261b36aa67b0a64989496361eca8d604e6414006741
size 1723639

View File

@@ -1,23 +0,0 @@
From b56207a069be2574df455ede0a6ab61f44d5ca2b Mon Sep 17 00:00:00 2001
From: Behdad Esfahbod <behdad@behdad.org>
Date: Tue, 12 Sep 2017 13:25:46 -0400
Subject: [PATCH] Remove stray printf()
Ouch.
---
fc-query/fc-query.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fc-query/fc-query.c b/fc-query/fc-query.c
index 842a8b6..6cd5abd 100644
--- a/fc-query/fc-query.c
+++ b/fc-query/fc-query.c
@@ -170,7 +170,6 @@ main (int argc, char **argv)
FcPattern *pat;
id = ((instance_num << 16) + face_num);
- printf("id %d\n", id);
if (FT_New_Face (ftLibrary, argv[i], id, &face))
break;
num_faces = face->num_faces;

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed Oct 31 09:16:31 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
- Update to 2.13.1:
* conf.d: Drop aliases for (URW)++ fonts
* variable fonts support
* Use uuid-based cache filename if uuid is assigned to dirs
* Add new API to find out a font from current search path
* Add FONTCONFIG_SYSROOT environment variable
* [varfonts] Add FC_FONT_VARIATIONS
* [varfonts] Add FC_VARIABLE
* Add Simplified Chinese translations
* Fix memory leaks, double frees etc.
* See README for details
-------------------------------------------------------------------
Mon Jan 15 12:47:39 UTC 2018 - pgajdos@suse.com

View File

@@ -12,12 +12,12 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: fontconfig
Version: 2.12.6
Version: 2.13.1
Release: 0
Summary: Library for Font Configuration
License: MIT
@@ -26,13 +26,13 @@ Url: http://fontconfig.org/
Source0: http://fontconfig.org/release/%{name}-%{version}.tar.bz2
Source4: baselibs.conf
Source5: local.conf
Patch0: fontconfig-remove-debug-output.patch
BuildRequires: automake >= 1.11
BuildRequires: gperf
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(uuid)
Provides: ipa-fonts-config = 003.02
Obsoletes: ipa-fonts-config <= 003.02
Provides: IPA-fonts-config = 003.02
@@ -44,10 +44,13 @@ contains two essential modules: the configuration module, which builds
an internal configuration from XML files, and the matching module,
which accepts font patterns and returns the nearest matching font.
%lang_package
%package devel
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: gettext-devel
Requires: glibc-devel
Requires: pkgconfig(freetype2)
@@ -66,7 +69,6 @@ accepts font patterns and returns the nearest matching font.
%prep
%setup -q
%patch0 -p1
# use suse-specific doc path:
find -name \*.1 -o -name \*.sgml | xargs sed -i -e 's/usr\/share\/doc\/fontconfig/usr\/share\/doc\/packages\/fontconfig/g'
@@ -102,6 +104,10 @@ pushd %{buildroot}%{_sysconfdir}/fonts/conf.d
# leave place for 60-family-prefer.conf from fonts-config
mv 60-latin.conf 61-latin.conf
popd
mkdir -p %{buildroot}/%{_docdir}/%{name}
install -m 644 AUTHORS ChangeLog README %{buildroot}/%{_docdir}/%{name}
%find_lang %{name}
%find_lang %{name}-conf
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@ -125,8 +131,12 @@ popd
%dir %{_localstatedir}/cache/fontconfig/
%dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/*.{html,pdf,txt}
%doc %{_docdir}/%{name}/{AUTHORS,ChangeLog,README}
%{_mandir}/man5/fonts-conf.5%{ext_man}
%{_mandir}/man1/*
%license COPYING
%files lang -f %{name}.lang -f %{name}-conf.lang
%files devel
%doc %{_docdir}/%{name}/%{name}-devel
@@ -134,5 +144,8 @@ popd
%{_libdir}/libfontconfig.so
%{_mandir}/man3/Fc*
%{_includedir}/fontconfig/
%dir %{_datadir}/gettext/its/
%{_datadir}/gettext/its/fontconfig.*
%dir
%changelog