1
0

Accepting request 395139 from home:dimstar:Factory

- Copy the icons to /usr/share/icons instead of symlinking them:
  in preparation for containerized apps (e.g. xdg-app) as well as
  AppStream metadata extraction, there are a couple locations that
  need to be real files for system integration (.desktop files,
  icons, mime-type info).

- The exact same fix was done in MozillaFirefox in March 2015

OBS-URL: https://build.opensuse.org/request/show/395139
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=316
This commit is contained in:
Wolfgang Rosenauer 2016-05-17 06:38:09 +00:00 committed by Git OBS Bridge
parent bde1e0ee1f
commit 9192f70485
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu May 12 15:21:45 UTC 2016 - dimstar@opensuse.org
- Copy the icons to /usr/share/icons instead of symlinking them:
in preparation for containerized apps (e.g. xdg-app) as well as
AppStream metadata extraction, there are a couple locations that
need to be real files for system integration (.desktop files,
icons, mime-type info).
------------------------------------------------------------------- -------------------------------------------------------------------
Sat May 7 22:19:09 UTC 2016 - wr@rosenauer.org Sat May 7 22:19:09 UTC 2016 - wr@rosenauer.org

View File

@ -414,7 +414,8 @@ find $RPM_BUILD_ROOT%{progdir} -name ".mkdir.done" | xargs rm
# #
for size in 16 22 24 32 48 256; do for size in 16 22 24 32 48 256; do
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${size}x${size}/apps/ mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${size}x${size}/apps/
ln -sf %{progdir}/chrome/icons/default/default$size.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${size}x${size}/apps/%{progname}.png cp %{buildroot}%{progdir}/chrome/icons/default/default$size.png \
%{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/%{progname}.png
done done
%suse_update_desktop_file %{desktop_file_name} Network Email GTK %suse_update_desktop_file %{desktop_file_name} Network Email GTK
# excluded files # excluded files