On Sun, Mar 28, 2021 at 2:48 PM Miro HronĨok <mhroncok(a)redhat.com> wrote:
On 28. 03. 21 14:11, Otto Urpelainen wrote:> Item 3 takes care of
%{_datadir}/icons part, because that is included in
> _filesystem_. The remainder hicolor/scalable/apps is unclear for me. Method 1
> could be used. But there is also package _hicolor-icon-theme_. Is that package
> an "explicitly created -filesystem package", so method 3 could be used?
That
> would feel natural, because hicolor is the fallback
> theme that must exist according to
freedesktop.org specification.
Yes. hicolor-icon-theme acts like an "other explicitly created -filesystem
package" here. It only contains the directories, cache and triggers.
Maybe we should explicitly mention it in the guidelines, because it is a very
common situation.
Weird, I was under the impression that to fix the "unowned directory
problem" you had to "just" add "Requires: hicolor-icon-theme" to
the
package shipping the icons. All my GUI application packages that ship
their own icons do that. Why would that dependency not be necessary?
Fabio