Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppymaster@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] www-client/chromium icon theme dependencies, help needed
Date: Fri, 25 Feb 2011 17:06:00
Message-Id: AANLkTinbyferPBvejaSLFxkMGzUwZwfVEUGd4cLURCd5@mail.gmail.com
In Reply to: [gentoo-dev] www-client/chromium icon theme dependencies, help needed by "Paweł Hajdan
1 On Fri, Feb 25, 2011 at 9:42 AM, "Paweł Hajdan, Jr."
2 <phajdan.jr@g.o> wrote:
3 > There is a bug about www-client/chromium icon theme dependencies
4 > (https://bugs.gentoo.org/show_bug.cgi?id=352263), and I'm not quite sure
5 > what's the best way to solve it.
6 >
7 > The main issue is that in KDE only oxygen-icons work, and in XFCE
8 > oxygen-icons *don't* work and one needs other icon themes installed
9 > (which in turn don't work in XFCE).
10
11 Does running KDE always mean that oxygen icons are used?
12
13 If I select another icon theme in KDE system settings, I'm guessing
14 that Chromium will switch to using that, but I haven't had a chance to
15 test this. It is on my todo list when I get home this evening.
16
17 >
18 > Portage obviously doesn't know which DE the user is running (multiple
19 > DE's may be installed on the system), so I don't see a way to create
20 > "foolproof" dependencies.
21 >
22 > The two approaches I'm thinking about are:
23 >
24 > a) Drop any icon themes from RDEPEND, tell the user in pkg_postinst
25 > about possible choices.
26 >
27 > b) Add "kde" to IUSE, and then kde? ( kde-base/oxygen-icons ) !kde ( all
28 > || the || rest ) to RDEPEND.
29 >
30 > What do you think? Do you have some better ideas?
31
32 Option (a) sounds good to me. Maybe you could add something to the FAQ
33 section on the project page so it will show up in Google search
34 results.
35
36 Chromium should really have some generic fallback icon to use when it
37 can't find an icon for a given mime type. A broken image icon is less
38 than ideal for that. I guess that would be an upstream issue though.

Replies