update to 2020_09_16_unicode13.1

fix 66-noto-color-emoji.conf (replace append with append_last) to fix bad rendering with DejaVu fonts seend on Firefox [release 2020_09_16_unicode13.1-1mamba;Wed Mar 10 2021]
This commit is contained in:
Silvan Calarco 2024-01-05 18:42:45 +01:00
parent ea7c28790b
commit cb9c0e2f3a
2 changed files with 17 additions and 6 deletions

View File

@ -20,7 +20,7 @@ Set Noto Color Emoji as fallback for Noto family
</match> </match>
<match> <match>
<test name="family" compare="contains"><string>Noto </string></test> <test name="family" compare="contains"><string>Noto </string></test>
<edit name="family" mode="append" binding="weak"> <edit name="family" mode="append_last" binding="weak">
<string>Noto Color Emoji</string> <string>Noto Color Emoji</string>
</edit> </edit>
</match> </match>

View File

@ -1,6 +1,6 @@
%define gitver %(echo %version | tr _ -) %define gitver %(echo %version | tr _ - | tr . _)
Name: ttf-noto-emoji Name: ttf-noto-emoji
Version: 2019_11_19_unicode12 Version: 2020_09_16_unicode13.1
Release: 1mamba Release: 1mamba
Summary: Google Noto emoji fonts Summary: Google Noto emoji fonts
Group: System/Fonts Group: System/Fonts
@ -8,14 +8,12 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/googlefonts/noto-emoji.git URL: https://github.com/googlefonts/noto-emoji.git
## GITSOURCE https://github.com/googlefonts/noto-emoji.git v2019-11-19-unicode12
Source: https://github.com/googlefonts/noto-emoji.git/v%{gitver}/noto-emoji-%{version}.tar.bz2 Source: https://github.com/googlefonts/noto-emoji.git/v%{gitver}/noto-emoji-%{version}.tar.bz2
Source1: 66-noto-color-emoji.conf Source1: 66-noto-color-emoji.conf
License: OFL License: OFL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires(post): fontconfig Requires(post): fontconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Google Noto emoji fonts. Google Noto emoji fonts.
@ -28,11 +26,19 @@ Google Noto emoji fonts.
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m644 fonts/NotoColorEmoji.ttf %{buildroot}%{_datadir}/fonts/truetype/NotoColorEmoji.ttf install -D -m644 fonts/NotoColorEmoji.ttf %{buildroot}%{_datadir}/fonts/truetype/NotoColorEmoji.ttf
install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/fonts/conf.d/66-noto-color-emoji.conf install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/fonts/conf.avail/66-noto-color-emoji.conf
install -d -m0755 %{buildroot}%{_sysconfdir}/fonts/conf.d
ln -s ../conf.avail/66-noto-color-emoji.conf %{buildroot}%{_sysconfdir}/fonts/conf.d/66-noto-color-emoji.conf
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%pre
if [ $1 -gt 1 ]; then
[ -L %{_sysconfdir}/fonts/conf.d/66-noto-color-emoji.conf ] || rm -f %{_sysconfdir}/fonts/conf.d/66-noto-color-emoji.conf
fi
:
%post %post
[ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache [ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache
: :
@ -43,10 +49,15 @@ install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/fonts/conf.d/66-noto-colo
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/fonts/conf.avail/66-noto-color-emoji.conf
%{_sysconfdir}/fonts/conf.d/66-noto-color-emoji.conf %{_sysconfdir}/fonts/conf.d/66-noto-color-emoji.conf
%{_datadir}/fonts/truetype/NotoColorEmoji.ttf %{_datadir}/fonts/truetype/NotoColorEmoji.ttf
%doc AUTHORS LICENSE %doc AUTHORS LICENSE
%changelog %changelog
* Wed Mar 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2020_09_16_unicode13.1-1mamba
- update to 2020_09_16_unicode13.1
- fix 66-noto-color-emoji.conf (replace append with append_last) to fix bad rendering with DejaVu fonts seend on Firefox
* Mon Apr 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2019_11_19_unicode12-1mamba * Mon Apr 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2019_11_19_unicode12-1mamba
- package created using the webbuild interface - package created using the webbuild interface