FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 02-25-2011, 01:42 PM
"Paweł Hajdan, Jr."
 
Default www-client/chromium icon theme dependencies, help needed

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?
 
Old 02-25-2011, 03:43 PM
Mike Gilbert
 
Default www-client/chromium icon theme dependencies, help needed

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.
 
Old 02-26-2011, 12:02 AM
Mike Gilbert
 
Default www-client/chromium icon theme dependencies, help needed

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.
 
Old 03-02-2011, 07:31 AM
"Paweł Hajdan, Jr."
 
Default www-client/chromium icon theme dependencies, help needed

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.
 

Thread Tools




All times are GMT. The time now is 11:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org