Drop Source Code Pro depedency
It's not getting shipped anymore.
This commit is contained in:
parent
6e3f6c47c2
commit
01415036b1
@ -204,7 +204,7 @@ diff -Naur gi-docgen-2022.2-original/gidocgen/templates/basic/fonts.css gi-docge
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
- src: url("SourceCodePro-Regular.ttf.woff") format('woff');
|
||||
+ src: local('SourceCodePro-Regular');
|
||||
+ src: local('SourceCodePro-Regular'), local('monospace');
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@ -213,7 +213,7 @@ diff -Naur gi-docgen-2022.2-original/gidocgen/templates/basic/fonts.css gi-docge
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
- src: url("SourceCodePro-It.ttf.woff") format('woff');
|
||||
+ src: local('SourceCodePro-It');
|
||||
+ src: local('SourceCodePro-It'), local('monospace');
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@ -222,7 +222,7 @@ diff -Naur gi-docgen-2022.2-original/gidocgen/templates/basic/fonts.css gi-docge
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
- src: url("SourceCodePro-Semibold.ttf.woff") format('woff');
|
||||
+ src: local('SourceCodePro-Semibold');
|
||||
+ src: local('SourceCodePro-Semibold'), local('monospace');
|
||||
font-display: swap;
|
||||
}
|
||||
diff -Naur gi-docgen-2022.2-original/setup.cfg gi-docgen-2022.2/setup.cfg
|
||||
|
@ -92,7 +92,7 @@ Source: %{url}/-/archive/%{version}/gi-docgen-%{version}.tar.bz2
|
||||
#
|
||||
# This patch removes all references to WOFF/WOFF2 font files (which we still
|
||||
# must remove in %%prep) and ensures the CSS correctly references corresponding
|
||||
# local system fonts.
|
||||
# or stand-in local system fonts.
|
||||
Patch: gi-docgen-2022.2-no-web-fonts.patch
|
||||
|
||||
# https://gitlab.gnome.org/GNOME/gi-docgen/-/issues/179
|
||||
@ -117,10 +117,9 @@ BuildRequires: latexmk
|
||||
BuildRequires: font(redhatdisplay)
|
||||
BuildRequires: font(redhatdisplayblack)
|
||||
BuildRequires: font(redhatdisplaymedium)
|
||||
BuildRequires: font(redhatmonovf)
|
||||
BuildRequires: font(redhattext)
|
||||
BuildRequires: font(redhattextmedium)
|
||||
BuildRequires: font(sourcecodepro)
|
||||
BuildRequires: font(sourcecodeprosemibold)
|
||||
|
||||
# Unbundling fonts:
|
||||
Requires: gi-docgen-fonts = %{version}-%{release}
|
||||
@ -164,10 +163,9 @@ License: Apache-2.0 OR GPL-3.0-or-later
|
||||
Requires: font(redhatdisplay)
|
||||
Requires: font(redhatdisplayblack)
|
||||
Requires: font(redhatdisplaymedium)
|
||||
Requires: font(redhatmonovf)
|
||||
Requires: font(redhattext)
|
||||
Requires: font(redhattextmedium)
|
||||
Requires: font(sourcecodepro)
|
||||
Requires: font(sourcecodeprosemibold)
|
||||
|
||||
%description fonts
|
||||
Because web fonts from upstream are not bundled in the gi-docgen package,
|
||||
|
Loading…
Reference in New Issue
Block a user