xorg-x11-font-utils: Update to 7.6

Signed-off-by: chengguipeng <chengguipeng1@huawei.com>
This commit is contained in:
chengguipeng 2020-07-24 19:14:01 +08:00
parent b5d0fcc29c
commit 2e4c0ceba1
7 changed files with 40 additions and 11 deletions

View File

@ -0,0 +1,13 @@
diff --git a/mkfontscale.c b/mkfontscale.c
index a67f283..96e19a3 100644
--- a/mkfontscale.c
+++ b/mkfontscale.c
@@ -317,7 +317,7 @@ getName(FT_Face face, int nid)
int i;
if(getNameHelper(face, nid,
- TT_PLATFORM_MICROSOFT, TT_MS_ID_UNICODE_CS, &name) ||
+ TT_PLATFORM_MICROSOFT, -1, &name) ||
getNameHelper(face, nid,
TT_PLATFORM_APPLE_UNICODE, -1, &name)) {
string = malloc(name.string_len / 2 + 1);

Binary file not shown.

BIN
font-util-1.3.2.tar.bz2 Normal file

Binary file not shown.

Binary file not shown.

BIN
fonttosfnt-1.1.0.tar.bz2 Normal file

Binary file not shown.

View File

@ -3,28 +3,39 @@
Summary: X.Org X11 font utilities Summary: X.Org X11 font utilities
Name: xorg-x11-font-utils Name: xorg-x11-font-utils
Epoch: 1 Epoch: 1
Version: 7.5 Version: 7.6
Release: 42 Release: 1
License: MIT License: MIT
URL: http://www.x.org URL: http://www.x.org
Source0: http://www.x.org/pub/individual/app/bdftopcf-1.1.tar.bz2 Source0: http://www.x.org/pub/individual/app/bdftopcf-1.1.tar.bz2
Source1: http://www.x.org/pub/individual/app/fonttosfnt-1.0.5.tar.bz2 Source1: http://www.x.org/pub/individual/app/fonttosfnt-1.1.0.tar.bz2
Source2: http://www.x.org/pub/individual/app/mkfontdir-1.0.7.tar.bz2 Source2: http://www.x.org/pub/individual/app/mkfontdir-1.0.7.tar.bz2
Source3: http://www.x.org/pub/individual/app/mkfontscale-1.1.3.tar.bz2 Source3: http://www.x.org/pub/individual/app/mkfontscale-1.1.3.tar.bz2
Source4: http://www.x.org/pub/individual/font/font-util-1.3.1.tar.bz2 Source4: http://www.x.org/pub/individual/font/font-util-1.3.2.tar.bz2
Source5: xorg-x11-fonts-update-dirs Source5: xorg-x11-fonts-update-dirs
Source6: xorg-x11-fonts-update-dirs.1 Source6: xorg-x11-fonts-update-dirs.1
BuildRequires: libtool pkgconfig(fontenc) pkgconfig(freetype2) pkgconfig(x11) pkgconfig(xorg-macros) >= 1.8 zlib-devel Patch0: 0001-mkfontscale-examine-all-encodings.patch
BuildRequires: libtool pkgconfig(fontenc) pkgconfig(freetype2)
BuildRequires: pkgconfig(x11) pkgconfig(xorg-macros) >= 1.8 zlib-devel
Provides: bdftopcf = 1.1 Provides: bdftopcf = 1.1
Provides: fonttosfnt = 1.0.5 Obsoletes: bdftopcf < 1.1
Provides: fonttosfnt = 1.1.0
Obsoletes: fonttosfnt < 1.1.0
Provides: mkfontdir = 1.0.7 Provides: mkfontdir = 1.0.7
Obsoletes: mkfontdir < 1.0.7
Provides: mkfontscale = 1.1.3 Provides: mkfontscale = 1.1.3
Provides: font-util = 1.3.1 Obsoletes: mkfontscale < 1.1.3
Provides: font-util = 1.3.2
Obsoletes: font-util < 1.3.2
Provides: font-utils = %{epoch}:%{version}-%{release} Provides: font-utils = %{epoch}:%{version}-%{release}
Obsoletes: font-utils < %{epoch}:%{version}-%{release}
Provides: ucs2any = 1.3.1 Provides: ucs2any = 1.3.1
Obsoletes: ucs2any < 1.3.1
%description %description
X.Org X11 font utilities required for font installation, conversion, and generation. X.Org X11 font utilities required for font installation, conversion, and generation.
@ -33,6 +44,9 @@ X.Org X11 font utilities required for font installation, conversion, and generat
%prep %prep
%setup -q -c xorg-x11-font-utils-%{version} -a1 -a2 -a3 -a4 %setup -q -c xorg-x11-font-utils-%{version} -a1 -a2 -a3 -a4
pushd mkfontscale-*
%patch0 -p1 -b .all-encodings
popd
%build %build
{ {
@ -97,6 +111,12 @@ find $RPM_BUILD_ROOT -name bdftruncate\* -print0 | xargs -0 rm -f
%{_mandir}/man1/xorg-x11-fonts-update-dirs.1* %{_mandir}/man1/xorg-x11-fonts-update-dirs.1*
%changelog %changelog
* Fri Jul 24 2020 chengguipeng<chengguipeng1@huawei.com> - 7.6-1
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:Upgrade to 7.6-1
* Thu Jan 09 2020 openEuler Buildteam <buildteam@openeuler.org> - 7.5-42 * Thu Jan 09 2020 openEuler Buildteam <buildteam@openeuler.org> - 7.5-42
- Type:enhancement - Type:enhancement
- Id:NA - Id:NA

View File

@ -1,4 +0,0 @@
version_control: github
src_repo: eurolinux-enterprise-linux-sources/xorg-x11-font-utils
tag_prefix:
seperator: .