Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] VLC Fails to emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
tuber
Apprentice
Apprentice


Joined: 12 Nov 2004
Posts: 267

PostPosted: Thu Nov 07, 2013 5:52 am    Post subject: [Solved] VLC Fails to emerge Reply with quote

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
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1411

PostPosted: Thu Nov 07, 2013 2:28 pm    Post subject: Reply with quote

This is only a warning. Do you have the build log :?:
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
tuber
Apprentice
Apprentice


Joined: 12 Nov 2004
Posts: 267

PostPosted: Thu Jan 16, 2014 5:23 am    Post subject: Reply with quote

The build log is here and the emerge --info is here.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5577

PostPosted: Thu Jan 16, 2014 4:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Maitreya
Apprentice
Apprentice


Joined: 11 Jan 2006
Posts: 221

PostPosted: Thu Jan 16, 2014 4:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5577

PostPosted: Fri Jan 17, 2014 5:42 am    Post subject: Reply with quote

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
View user's profile Send private message
tuber
Apprentice
Apprentice


Joined: 12 Nov 2004
Posts: 267

PostPosted: Sun Feb 16, 2014 12:42 am    Post subject: Reply with quote

Thanks!! Upgrading dev-util/desktop-file-utils fixed the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum