From 292635b40d0d53762b099aa07fba3562ff3fef9d Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Wed, 23 Oct 2019 16:30:27 +0200 Subject: [PATCH] added symbolic icon --- thunderbird-symbolic.svg | 76 ++++++++++++++++++++++++++++++++++++++++ thunderbird.spec | 7 ++++ 2 files changed, 83 insertions(+) create mode 100644 thunderbird-symbolic.svg diff --git a/thunderbird-symbolic.svg b/thunderbird-symbolic.svg new file mode 100644 index 0000000..9387527 --- /dev/null +++ b/thunderbird-symbolic.svg @@ -0,0 +1,76 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/thunderbird.spec b/thunderbird.spec index 421d087..7378ff8 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -111,6 +111,7 @@ Source11: thunderbird-mozconfig-branded Source12: thunderbird-redhat-default-prefs.js Source20: thunderbird.desktop Source21: thunderbird.sh.in +Source25: thunderbird-symbolic.svg Source28: thunderbird-wayland.sh.in Source29: thunderbird-wayland.desktop Source32: node-stdout-nonblocking-wrapper @@ -545,6 +546,11 @@ for s in 16 22 24 32 48 64 128 256; do $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps/thunderbird.png done +# Install hight contrast icon +%{__mkdir_p} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps +%{__cp} -p %{SOURCE25} \ + %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps + desktop-file-install --vendor mozilla \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ @@ -730,6 +736,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/icons/hicolor/48x48/apps/thunderbird.png %{_datadir}/icons/hicolor/64x64/apps/thunderbird.png %{_datadir}/icons/hicolor/128x128/apps/thunderbird.png +%{_datadir}/icons/hicolor/symbolic/apps/thunderbird-symbolic.svg %if %{enable_mozilla_crashreporter} %{mozappdir}/crashreporter %{mozappdir}/crashreporter.ini