Wine icons are low res, looks crappy in gnome-shell.
Solution for this problem: use svg icons.
Upstream provides SVGs, but instead of using them you convert the ICO's to PNGs.
this should be easy to fix.
Created attachment 483963 [details]
Patch to fix this issue
oops, seems that my patch has two problems:
1)I forgot to update the gtk icon cache by calling gtk-update-icon-cache. (see: https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#Icon_Cache )
2)Upstream SVGs contains each icon in multiple qualities and bit-depths, in one file. On build, the SVG should be modified to take only the 64 leftmost pixels of the file.
I'm trying to figure out how to do that with ImageMagick, but I haven't found an answer yet.
Indeed. -desktop also needs to Require hicolor-icon-theme. If you have a good way to cut the svg let me know. Otherwise I will have a closer look on Wednesday.
Created attachment 484028 [details]
a croped svg
One easy way to cut the svg is using inkscape, but that can't be done automatically on build time. I tried to find a way for doing it with ImageMagick, but it only outputs broken svg files.
Attached is an example for a svg I cut with inkscape. I can do that for all the other icons, but I think an automatic way of doing it would be better.
I think i found the right solution.
The third line of wine SVGs is
<svg xmlns="http://www.w3.org/2000/svg" height="64" width="368" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink">
If you change width to 64, without touching the rest of the file, the shell will show only the required part of the file. (the rest of the file would be outside of the svg "canvas", and thus not shown).
This sed command would do the trick:
sed -e '3s/368/64/' file.svg > file.svg
replace file.svg with the svg file you are processing. then install the svg to the right folder, and done. it should work.
The latest build (1.3.15-3) works awesome. Well done.
Thanks for the help!
Thank you, for your awesome packaging :-)
I'm closing this bug.
wine-1.3.16-1.fc14 has been submitted as an update for Fedora 14.
wine-1.3.16-1.fc13 has been submitted as an update for Fedora 13.
wine-1.3.16-1.fc15 has been submitted as an update for Fedora 15.
wine-1.3.16-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
wine-1.3.16-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
wine-1.3.16-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.