Created attachment 636552 [details, diff] hicolor icon theme installed in /usr/share/icons/hicolor/ is unnecessarily duplicated in /usr/share/icons/gnome/ 1) SVG icons are installed in fixed size hicolor theme subdirectorie e.g.: /usr/share/icons/hicolor/48x48/apps $ ls -w 60 libreoffice-* libreoffice-base.png libreoffice-impress.svg libreoffice-base.svg libreoffice-main.png libreoffice-calc.png libreoffice-main.svg libreoffice-calc.svg libreoffice-math.png libreoffice-chart.png libreoffice-math.svg libreoffice-chart.svg libreoffice-startcenter.png libreoffice-draw.png libreoffice-startcenter.svg libreoffice-draw.svg libreoffice-writer.png libreoffice-impress.png libreoffice-writer.svg Fixed for me by adding to src_prepare(): find sysui/desktop/icons/hicolor/ -name "*.svg" ! -path "*scalable*" -exec rm {} \; 2) Duplicate gnome icon theme installed hicolor icon theme installed in /usr/share/icons/hicolor/ is unnecessarily duplicated in /usr/share/icons/gnome/ My attached patch fixes this for me. Signed-off-by: Chris Mayo <aklhfex@gmail.com> Upstream bug reports: 1) https://bugs.documentfoundation.org/show_bug.cgi?id=132737 2) https://bugs.documentfoundation.org/show_bug.cgi?id=132787
60 duplicate SVGs in the locolor theme too. find sysui/desktop/icons/locolor/ -name "*.svg" ! -path "*scalable*" -exec rm {} \; Maybe don't even install locolor icons - is there a Gentoo ebuild for it? Useless without an index.theme?
1) Looks more complicated than this, some of the SVGs are not duplicates, and what is in the scalable directories contain a range of sized images within one.
Created attachment 653308 [details, diff] Patch to not install unusable SVGs and locolor theme This patch skips installing the locolor theme, the mimetypes SVGs (which I think are unusable because they each contain multiple images) and SVGs into fixed size hicolor directories.
Please submit this upstream and put the link in this bug.
Bugs (linked in opening comment, I'll try adding both to the URL field now), Gerrit (linked in bugs) and a mailing list post with a lurid headline already sent. The gnomeicons.patch did get some acks, but it broke deb and rpm creation. I can guess how to fix the deb but the rpm spec file has a number of legacy symlinks that might be affected. I realise it may well not be appropriate to add these to the ebuild - just making them available in case they are useful to anyone (work fine from /etc/portage/patches/app-office/libreoffice/).
Fixed in app-office/libreoffice-7.1.2.2.