I would like to clear the icons thing...
We have /usr/share/pixmaps in the filesystem package, some packages
install there its icons. But then we have the FreeDesktop standard for
icon themes, with icons installed in /usr/share/icons/.
/usr/share/icons/ is owned by filesystem, but the subdirs are owned by
each thme package.
The default theme is hicolor, and the hicolor-icon-theme package
provides all the subdirs (but no real icons, so is a small package).
Should icons be installed at /usr/share/pixmaps? It Is wrong enough to
create a RPMLINT test?
What about gtk-update-icon-cache? It is needed for GTK apps to show
correctly the icons (also the ones from /usr/share/pixmaps or only the
/usr/share/icons), but since it takes a lot of time we don't put it in
scriptlets. Until now YaST sw_single executed SuSEconfig after
installation and gtk-update-icon-cache was executed a single time...
but that now doesn't happens if you use zypper. There is any final fix
planned now that we are updating RPM?
Lets suppose all icons should be installed in /usr/share/pixmaps,
under the hicolor icon theme if there isn't anything better. I put my
icon at /usr/share/icons/hicolor/64x64/apps/<app>.png.
- Should my package own /usr/share/icons/hicolor,
/usr/share/icons/hicolor/64x64 and
/usr/share/icons/hicolor/64x64/apps? These dirs are already owned by
the hicolor-icon-theme package. If so, no problem.
- Shouldn't my package own the subdirs?
-- Well, then I'm going to require a "BuildRequires:
hicolor-icon-theme" so RPMLINT/post-scripts/whatever don't complain
about files/dirs not owned by any package.
-- But the problem of dirs not owned by any package will happen at
"runtime". So I *also* need a "Requires: hicolor-icon-theme". Note
that adding the Requires doesn't stop RPMLINT/post-scripts/whatever
from complaining. And also note that adding the "BuildRequires" stops
the error message... but the problem is still there. (all this at
least when building for 11.1).
What Fedora does is adding a Requires: hicolor-icon-theme to every
package with an icon. For compatibility sake we could do the same...
but I don't really like it.
Whouldn't be better to add all the dirs owned by hicolor-icon-theme to
the filesystem package? It's a 34 KiB package!! I don't think people
that runs openSUSE without a GUI will complain about having some dirs
from a 34 KiB package they don't need...
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-packaging+help@opensuse.org