public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] www-client/chromium icon theme dependencies, help needed
@ 2011-02-25 14:42 "Paweł Hajdan, Jr."
  2011-02-25 16:43 ` Mike Gilbert
  0 siblings, 1 reply; 4+ messages in thread
From: "Paweł Hajdan, Jr." @ 2011-02-25 14:42 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

There is a bug about www-client/chromium icon theme dependencies
(https://bugs.gentoo.org/show_bug.cgi?id=352263), and I'm not quite sure
what's the best way to solve it.

The main issue is that in KDE only oxygen-icons work, and in XFCE
oxygen-icons *don't* work and one needs other icon themes installed
(which in turn don't work in XFCE).

Portage obviously doesn't know which DE the user is running (multiple
DE's may be installed on the system), so I don't see a way to create
"foolproof" dependencies.

The two approaches I'm thinking about are:

a) Drop any icon themes from RDEPEND, tell the user in pkg_postinst
about possible choices.

b) Add "kde" to IUSE, and then kde? ( kde-base/oxygen-icons ) !kde ( all
|| the || rest ) to RDEPEND.

What do you think? Do you have some better ideas?


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] www-client/chromium icon theme dependencies, help needed
  2011-02-25 14:42 [gentoo-dev] www-client/chromium icon theme dependencies, help needed "Paweł Hajdan, Jr."
@ 2011-02-25 16:43 ` Mike Gilbert
  2011-02-26  1:02   ` Mike Gilbert
  2011-03-02  8:31   ` "Paweł Hajdan, Jr."
  0 siblings, 2 replies; 4+ messages in thread
From: Mike Gilbert @ 2011-02-25 16:43 UTC (permalink / raw
  To: gentoo-dev

On Fri, Feb 25, 2011 at 9:42 AM, "Paweł Hajdan, Jr."
<phajdan.jr@gentoo.org> wrote:
> There is a bug about www-client/chromium icon theme dependencies
> (https://bugs.gentoo.org/show_bug.cgi?id=352263), and I'm not quite sure
> what's the best way to solve it.
>
> The main issue is that in KDE only oxygen-icons work, and in XFCE
> oxygen-icons *don't* work and one needs other icon themes installed
> (which in turn don't work in XFCE).

Does running KDE always mean that oxygen icons are used?

If I select another icon theme in KDE system settings, I'm guessing
that Chromium will switch to using that, but I haven't had a chance to
test this. It is on my todo list when I get home this evening.

>
> Portage obviously doesn't know which DE the user is running (multiple
> DE's may be installed on the system), so I don't see a way to create
> "foolproof" dependencies.
>
> The two approaches I'm thinking about are:
>
> a) Drop any icon themes from RDEPEND, tell the user in pkg_postinst
> about possible choices.
>
> b) Add "kde" to IUSE, and then kde? ( kde-base/oxygen-icons ) !kde ( all
> || the || rest ) to RDEPEND.
>
> What do you think? Do you have some better ideas?

Option (a) sounds good to me. Maybe you could add something to the FAQ
section on the project page so it will show up in Google search
results.

Chromium should really have some generic fallback icon to use when it
can't find an icon for a given mime type. A broken image icon is less
than ideal for that. I guess that would be an upstream issue though.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] www-client/chromium icon theme dependencies, help needed
  2011-02-25 16:43 ` Mike Gilbert
@ 2011-02-26  1:02   ` Mike Gilbert
  2011-03-02  8:31   ` "Paweł Hajdan, Jr."
  1 sibling, 0 replies; 4+ messages in thread
From: Mike Gilbert @ 2011-02-26  1:02 UTC (permalink / raw
  To: gentoo-dev

On Fri, Feb 25, 2011 at 11:43 AM, Mike Gilbert <floppymaster@gmail.com> wrote:
> On Fri, Feb 25, 2011 at 9:42 AM, "Paweł Hajdan, Jr."
> <phajdan.jr@gentoo.org> wrote:
>> There is a bug about www-client/chromium icon theme dependencies
>> (https://bugs.gentoo.org/show_bug.cgi?id=352263), and I'm not quite sure
>> what's the best way to solve it.
>>
>> The main issue is that in KDE only oxygen-icons work, and in XFCE
>> oxygen-icons *don't* work and one needs other icon themes installed
>> (which in turn don't work in XFCE).
>
> Does running KDE always mean that oxygen icons are used?
>
> If I select another icon theme in KDE system settings, I'm guessing
> that Chromium will switch to using that, but I haven't had a chance to
> test this. It is on my todo list when I get home this evening.

Well, scratch that theory. It seems to use oxygen icons regardless of
the theme selected.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] www-client/chromium icon theme dependencies, help needed
  2011-02-25 16:43 ` Mike Gilbert
  2011-02-26  1:02   ` Mike Gilbert
@ 2011-03-02  8:31   ` "Paweł Hajdan, Jr."
  1 sibling, 0 replies; 4+ messages in thread
From: "Paweł Hajdan, Jr." @ 2011-03-02  8:31 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1237 bytes --]

Does anyone else want to comment on this?

On 2/25/11 5:43 PM, Mike Gilbert wrote:
> On Fri, Feb 25, 2011 at 9:42 AM, "Paweł Hajdan, Jr."
> <phajdan.jr@gentoo.org> wrote:
>> Portage obviously doesn't know which DE the user is running (multiple
>> DE's may be installed on the system), so I don't see a way to create
>> "foolproof" dependencies.
>>
>> The two approaches I'm thinking about are:
>>
>> a) Drop any icon themes from RDEPEND, tell the user in pkg_postinst
>> about possible choices.
>>
>> b) Add "kde" to IUSE, and then kde? ( kde-base/oxygen-icons ) !kde ( all
>> || the || rest ) to RDEPEND.
>>
>> What do you think? Do you have some better ideas?
> 
> Option (a) sounds good to me. Maybe you could add something to the FAQ
> section on the project page so it will show up in Google search
> results.

Thank you for the feedback, that sounds like a good idea.

> Chromium should really have some generic fallback icon to use when it
> can't find an icon for a given mime type. A broken image icon is less
> than ideal for that. I guess that would be an upstream issue though.

Feel free to file an upstream bug. It might also be an issue with
xdg-utils, I'm not quite sure how that works.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-02  8:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-25 14:42 [gentoo-dev] www-client/chromium icon theme dependencies, help needed "Paweł Hajdan, Jr."
2011-02-25 16:43 ` Mike Gilbert
2011-02-26  1:02   ` Mike Gilbert
2011-03-02  8:31   ` "Paweł Hajdan, Jr."

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox