public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] What is portage trying to tell me?
@ 2007-07-22 20:38 Kevin O'Gorman
  2007-07-22 22:13 ` Albert Hopkins
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin O'Gorman @ 2007-07-22 20:38 UTC (permalink / raw
  To: gentoo-user

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

I seem to see this from time to time when I look at the emerge logs that are
emailed to me by portage, and I never know what to make of it.
This one is from kde-base/kcontrol-3.5.5:

LOG: preinst
/usr/kde/3.5/share/applications/kde/panel_appearance.desktop: required
key "Name" not found --
 required key "Type" not found

Why is this allowed to occur?  What am I expected to do about it, and how
would I know that, given that I'm a user, not a developer?

++ kevin

-- 
Kevin O'Gorman, PhD

[-- Attachment #2: Type: text/html, Size: 599 bytes --]

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

* Re: [gentoo-user] What is portage trying to tell me?
  2007-07-22 20:38 [gentoo-user] What is portage trying to tell me? Kevin O'Gorman
@ 2007-07-22 22:13 ` Albert Hopkins
  2007-07-22 23:11   ` Rick Harris
  0 siblings, 1 reply; 3+ messages in thread
From: Albert Hopkins @ 2007-07-22 22:13 UTC (permalink / raw
  To: gentoo-user

On Sun, 2007-07-22 at 13:38 -0700, Kevin O'Gorman wrote:
> I seem to see this from time to time when I look at the emerge logs
> that are emailed to me by portage, and I never know what to make of
> it.
> This one is from kde-base/kcontrol-3.5.5:
> 
> LOG: preinst
> /usr/kde/3.5/share/applications/kde/panel_appearance.desktop: required key "Name" not found --
> 
>  required key "Type" not found
> Why is this allowed to occur?  What am I expected to do about it, and
> how would I know that, given that I'm a user, not a developer?
> 

FDO .desktop files should have "Type" and "Name" keys, e.g:

        [Desktop Entry]
        Encoding=UTF-8
        Version=1.0
        Type=Application
        ^^^^
        Terminal=false
        Exec=Xephyr -screen 1024x768 -query flea -once :2
        Name[en_US]=flea
        Icon[en_US]=/usr/share/pixmaps/gnome-xterm.png
        Name=flea
        ^^^^
        Icon=/usr/share/pixmaps/gnome-xterm.png

So looks like whatever is installing/manipulating the .desktop file is
not seeing those keys.  Why is it allowed to occur?  I suppose it's not
allowed and that's why the program is complaining.  What are you
expected to do?  Likely you'd search/create a bug at bugs.gentoo.org.
Could either be a problem with the .ebuild or ustream. I'm guessing the
latter.  How would you know "that"?  Not sure what "that" is.  Users
aren't expected to know everything (neither are developers in fact).
When in doubt, do as you did and ask.

--
Albert W. Hopkins

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] What is portage trying to tell me?
  2007-07-22 22:13 ` Albert Hopkins
@ 2007-07-22 23:11   ` Rick Harris
  0 siblings, 0 replies; 3+ messages in thread
From: Rick Harris @ 2007-07-22 23:11 UTC (permalink / raw
  To: gentoo-user

On Mon, 23 Jul 2007 07:43:57 am Albert Hopkins wrote:
> On Sun, 2007-07-22 at 13:38 -0700, Kevin O'Gorman wrote:
> > I seem to see this from time to time when I look at the emerge logs
> > that are emailed to me by portage, and I never know what to make of
> > it.
> > This one is from kde-base/kcontrol-3.5.5:
> >
> > LOG: preinst
> > /usr/kde/3.5/share/applications/kde/panel_appearance.desktop: required
> > key "Name" not found --
> >
> >  required key "Type" not found
> > Why is this allowed to occur?  What am I expected to do about it, and
> > how would I know that, given that I'm a user, not a developer?
>
> FDO .desktop files should have "Type" and "Name" keys, e.g:
>
>         [Desktop Entry]
>         Encoding=UTF-8
>         Version=1.0
>         Type=Application
>         ^^^^
>         Terminal=false
>         Exec=Xephyr -screen 1024x768 -query flea -once :2
>         Name[en_US]=flea
>         Icon[en_US]=/usr/share/pixmaps/gnome-xterm.png
>         Name=flea
>         ^^^^
>         Icon=/usr/share/pixmaps/gnome-xterm.png
>
> So looks like whatever is installing/manipulating the .desktop file is
> not seeing those keys.  Why is it allowed to occur?  I suppose it's not
> allowed and that's why the program is complaining.  What are you
> expected to do?  Likely you'd search/create a bug at bugs.gentoo.org.
> Could either be a problem with the .ebuild or ustream. I'm guessing the
> latter.  How would you know "that"?  Not sure what "that" is.  Users
> aren't expected to know everything (neither are developers in fact).
> When in doubt, do as you did and ask.


As a quick fix, here is what a healthy panel_appearance.desktop file looks 
like:

[Desktop Entry]
Encoding=UTF-8
Hidden=true
Name=panel_appearance
Type=Application

Run 'desktop-file-validate /usr/kde/3.5/share/applications/kde/panel_appearance.desktop', 
after editing and saving to check that it is now valid.


Cheers,
Rick


PS> Have only just yesterday subscribed to this mailing list (only taken me 4 
years), so HI! to all you Gentoo-ites :D
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2007-07-22 23:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-22 20:38 [gentoo-user] What is portage trying to tell me? Kevin O'Gorman
2007-07-22 22:13 ` Albert Hopkins
2007-07-22 23:11   ` Rick Harris

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