Drop font(:lang=...) from %{=pkgkit} format.
Reference: rhbz#1792463
This commit is contained in:
parent
a2ef9569f5
commit
16209d7cfc
12
fontconfig-drop-lang-from-pkgkit-format.patch
Normal file
12
fontconfig-drop-lang-from-pkgkit-format.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -pruN fontconfig-2.13.92.orig/src/fcformat.c fontconfig-2.13.92/src/fcformat.c
|
||||||
|
--- fontconfig-2.13.92.orig/src/fcformat.c 2018-07-19 12:14:39.000000000 +0900
|
||||||
|
+++ fontconfig-2.13.92/src/fcformat.c 2020-01-20 13:05:33.626227767 +0900
|
||||||
|
@@ -78,7 +78,7 @@
|
||||||
|
#define FCCAT_FORMAT "\"%{file|basename|cescape}\" %{index} \"%{-file{%{=unparse|cescape}}}\""
|
||||||
|
#define FCMATCH_FORMAT "%{file:-<unknown filename>|basename}: \"%{family[0]:-<unknown family>}\" \"%{style[0]:-<unknown style>}\""
|
||||||
|
#define FCLIST_FORMAT "%{?file{%{file}: }}%{-file{%{=unparse}}}"
|
||||||
|
-#define PKGKIT_FORMAT "%{[]family{font(%{family|downcase|delete( )})\n}}%{[]lang{font(:lang=%{lang|downcase|translate(_,-)})\n}}"
|
||||||
|
+#define PKGKIT_FORMAT "%{[]family{font(%{family|downcase|delete( )})\n}}"
|
||||||
|
|
||||||
|
|
||||||
|
static void
|
@ -5,7 +5,7 @@
|
|||||||
Summary: Font configuration and customization library
|
Summary: Font configuration and customization library
|
||||||
Name: fontconfig
|
Name: fontconfig
|
||||||
Version: 2.13.92
|
Version: 2.13.92
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
# src/ftglue.[ch] is in Public Domain
|
# src/ftglue.[ch] is in Public Domain
|
||||||
# src/fccache.c contains Public Domain code
|
# src/fccache.c contains Public Domain code
|
||||||
# fc-case/CaseFolding.txt is in the UCD
|
# fc-case/CaseFolding.txt is in the UCD
|
||||||
@ -21,6 +21,7 @@ Patch0: %{name}-sleep-less.patch
|
|||||||
Patch1: %{name}-required-freetype-version.patch
|
Patch1: %{name}-required-freetype-version.patch
|
||||||
Patch2: %{name}-score-hint-on-match.patch
|
Patch2: %{name}-score-hint-on-match.patch
|
||||||
Patch3: %{name}-fix-1744377.patch
|
Patch3: %{name}-fix-1744377.patch
|
||||||
|
Patch4: %{name}-drop-lang-from-pkgkit-format.patch
|
||||||
|
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
BuildRequires: freetype-devel >= %{freetype_version}
|
BuildRequires: freetype-devel >= %{freetype_version}
|
||||||
@ -162,6 +163,10 @@ HOME=/root /usr/bin/fc-cache -s
|
|||||||
%doc fontconfig-devel.txt fontconfig-devel
|
%doc fontconfig-devel.txt fontconfig-devel
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 20 2020 Akira TAGOH <tagoh@redhat.com> - 2.13.92-4
|
||||||
|
- Drop font(:lang=...) from %%{=pkgkit} format.
|
||||||
|
Reference: rhbz#1792463
|
||||||
|
|
||||||
* Wed Aug 28 2019 Akira TAGOH <tagoh@redhat.com> - 2.13.92-3
|
* Wed Aug 28 2019 Akira TAGOH <tagoh@redhat.com> - 2.13.92-3
|
||||||
- Do not return false on FcConfigParseAndLoad*() if complain is set to false.
|
- Do not return false on FcConfigParseAndLoad*() if complain is set to false.
|
||||||
Resolves: rhbz#1744377
|
Resolves: rhbz#1744377
|
||||||
|
Loading…
Reference in New Issue
Block a user