4 Commits
Author SHA1 Message Date
Pino Toscano 9f6da48aa9 Improve app/MIME icons installation
Install the whole tree of hicolor application and MIME icons to the
hicolor icon theme.

This also stops using the legacy pixmaps location for the application
icon.
2020-11-22 01:30:30 +01:00
Pino Toscano 9fcb492953 Remove duplicate app icon
Use the 64px application icon available in tools/icon instead of the
copy in resources.

Adapt the Qt resource file to use the new path, keeping the old name
for compatibility.
2020-11-22 01:30:30 +01:00
Pino Toscano 01277875d2 Move SVG app/MIME icons together with PNGs
Move the SVG application and MIME icons in the same location of their
PNG versions, using an aptly-named subdirectory.
2020-11-22 01:30:30 +01:00
Pino Toscano f9f6918af3 Organize PNG app/mime icons by size & role
Reorganize the way the application and MIME icons are stored:
- create subdirectories for each size
- create per-size subdirectories according to the role ("apps" or
  "mimetypes")
- move the icons by size in the proper subdirectory
- rename the application icons as "leocad"
- rename the MIME icons as "application-vnd.leocad"

This is done in preparation for installing all these icons: since qmake
does not support renaming files when installing them, then place them
in subdirectories so they are in the right directory structure of the
hicolor icon theme.

The name of the MIME icons follows the name of the MIME type they refer
to.
2020-11-22 01:30:17 +01:00