build_icons only installs icons to share/icons/hicolor

Bug #692142 reported by Artem Popov
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-distutils-extra
New
Undecided
Unassigned

Bug Description

The build_icons class only allows installation of icons to /usr/share/icons/hicolor. If a project provides icons for several themes (ubuntu-mono-dark and ubuntu-mono-light), there is no automated way to install them.

Revision history for this message
Martin Pitt (pitti) wrote :

Thank you for working on this!

To be honest I don't actually want to encourage projects to ship icons outside of /hicolor. Other directories in /usr/share/icons/ are "owned" by the actual themes, so if both a theme and a project place icons there it is likely that there will be file collisions at some point.

One thing that p-d-e can support is /usr/share/icons/HighContrast/, as that is the second shared directory besides /hicolor. These could be put into data/icons-HighContrast/ perhaps?

So please drop the deprecation, data/icons/ should be the primary way to install icons. I'd also appreciate if you can limit the general support for icon themes to the hi-contrast special case. Anything else should be done manually in setup.py with a custom rule, for people who know what they are doing :-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.