View previous topic :: View next topic |
Author |
Message |
tuber Apprentice
Joined: 12 Nov 2004 Posts: 267
|
Posted: Thu Nov 07, 2013 5:52 am Post subject: [Solved] VLC Fails to emerge |
|
|
When I try to upgrade VLC, I get the following error: Code: | make[2]: Entering directory `/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7/share'
sed -e 's,\@bindir\@,/usr/bin,g' < "vlc.desktop.in" > tmp-vlc.desktop
desktop-file-validate tmp-vlc.desktop
tmp-vlc.desktop: error: required key "Encoding" not found
tmp-vlc.desktop: warning: file contains key "Keywords", this key is currently reserved for use within KDE, and should in the future KDE releases be prefixed by "X-"
make[2]: *** [vlc.desktop] Error 1
| Is anyone else seeing this? A search turned up nothing. Thanks.
Last edited by tuber on Sun Feb 16, 2014 12:43 am; edited 1 time in total |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
tuber Apprentice
Joined: 12 Nov 2004 Posts: 267
|
Posted: Thu Jan 16, 2014 5:23 am Post subject: |
|
|
The build log is here and the emerge --info is here. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Thu Jan 16, 2014 4:13 pm Post subject: |
|
|
eyoung100 wrote: | This is only a warning. |
tuber wrote: | Code: | tmp-vlc.desktop: error: required key "Encoding" not found |
|
Doesn't look that way to me. |
|
Back to top |
|
|
Maitreya Guru
Joined: 11 Jan 2006 Posts: 441
|
Posted: Thu Jan 16, 2014 4:54 pm Post subject: |
|
|
For the "encoding" error :
Code: |
$ grep "Encoding" -l /usr/share/applications/*.desktop
/usr/share/applications/gxmame.desktop
/usr/share/applications/mount-archive.desktop
|
So some files have it but very few. So why do the others not invalidate?
Code: |
$ ebuild /usr/portage/media-video/vlc/vlc-2.0.7.ebuild unpack
$ sed -e 's,\@bindir\@,/usr/bin,g' < "/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7/share/vlc.desktop.in" > /var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7/share/tmp-vlc.desktop
$ desktop-file-validate --warn-kde /var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7/share/tmp-vlc.desktop
|
Doesn't give me that/any output.
For the keywords warning:
Code: |
$ cat /var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7/share/tmp-vlc.desktop | grep "Keywords"
Keywords=Player;Capture;DVD;Audio;Video;Server;Broadcast;
|
So it is in there but doesn't invalidate...
I don't know if it maybe would be buried in the KDE profile which i don't run. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Fri Jan 17, 2014 5:42 am Post subject: |
|
|
There seems to be something odd here - IIRC, "Encoding" key has been obsoleted awhile ago.
Which version of dev-util/desktop-file-utils is installed ?
Are you sure desktop-file-validate run comes from that version ? |
|
Back to top |
|
|
tuber Apprentice
Joined: 12 Nov 2004 Posts: 267
|
Posted: Sun Feb 16, 2014 12:42 am Post subject: |
|
|
Thanks!! Upgrading dev-util/desktop-file-utils fixed the problem. |
|
Back to top |
|
|
|