Bug 249043

Summary: packages failing because subdirectories of /usr/share/icons aren't owned by any package
Product: [openSUSE] openSUSE 10.3 Reporter: Michael Wolf <maw>
Component: GNOMEAssignee: Petr Gajdos <pgajdos>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: andreas.hanke
Version: Alpha 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Michael Wolf 2007-02-26 18:30:57 UTC
gaim, for example, but other packages are failing with basically the same error.

gaim-1.5.0-101.i586.rpm: directories not owned by a package:
 - /usr/share/icons/hicolor
 - /usr/share/icons/hicolor/16x16
 - /usr/share/icons/hicolor/16x16/apps
 - /usr/share/icons/hicolor/22x22
 - /usr/share/icons/hicolor/22x22/apps
 - /usr/share/icons/hicolor/24x24
 - /usr/share/icons/hicolor/24x24/apps
 - /usr/share/icons/hicolor/48x48
 - /usr/share/icons/hicolor/48x48/apps
 - /usr/share/icons/hicolor/scalable
 - /usr/share/icons/hicolor/scalable/apps
Comment 1 Andreas Hanke 2007-02-26 18:39:34 UTC
These directories are provided by the hicolor-icon-theme package.

Simply add "BuildRequires: hicolor-icon-theme" to the spec files of all affected packages and it will work.

Ideally you should remove "BuildRequires: gnome-icon-theme" at the same time - see bug 247450 and bug 247278
Comment 2 Andreas Hanke 2007-02-26 19:11:01 UTC
It seems that a workaround has been added:

http://lists.opensuse.org/opensuse-commit/2007-02/msg00873.html

This workaround is not correct because gnome-icon-theme does not depend on hicolor-icon-theme. It's a short-term solution that allows packages to build without fixing them.

The packages have to be fixed to require hicolor-icon-theme directly *instead of* gnome-icon-theme.
Comment 3 Stanislav Brabec 2007-03-01 14:58:04 UTC
My plan: Add this requirement to the lowest GNOME library, which refers to them and remove bad requirement from gnome-icon-theme. Then remove false requirement of gnome-icon-theme and let's see, what installs any icons there without requiring it.
Comment 5 Petr Gajdos 2007-05-04 14:00:08 UTC
see also #247450
Comment 6 Petr Gajdos 2007-05-04 14:03:08 UTC
hicolor-icon-theme was added to Requires of gtk2