Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 449630

Summary: kde-base/kdelibs-4.9.4-r1: several *.desktop files are not compliant with XDG standard (missing trailing semicolon)
Product: Gentoo Linux Reporter: Juergen Rose <rose>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 444206    

Description Juergen Rose 2013-01-01 13:09:30 UTC
Looking into my .xsession file I find:

rose@impala:/home_impala/rose(31)$ ll .xsession-errors
-rw------- 1 rose rose 8869569  1. Jan 10:09 .xsession-errors

rose@impala:/home_impala/rose(33)$ grep XDG .xsession-errors
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry MimeType in "plasma-wallpaper-image.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/root.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gresistor.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/obconf.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/avidemux2.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/geda-xgsch2pcb.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/geda-xgsch2pcb.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/Kino.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-background-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-region-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/avidemux2-gtk.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/avidemux2-gtk.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/remote-viewer.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/pymol.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/projectx.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-power-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/jabref-jabref.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/kicad.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-user-accounts-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-color-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-screen-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(27595) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/google-earth.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(2266) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-background-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(2266) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-region-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(2266) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-power-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(2266) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-user-accounts-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(2266) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-color-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(2266) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-screen-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(3316) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-background-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(3316) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-region-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(3316) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-power-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(3316) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-user-accounts-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(3316) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-color-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(3316) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-screen-panel.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(13732) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/avidemux2.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(13732) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/avidemux2-gtk.desktop" is not compliant with XDG standard (missing trailing semicolon). 
kbuildsycoca4(13732) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/avidemux2-gtk.desktop" is not compliant with XDG standard (missing trailing semicolon). 


BTW., I do not know, why kbuildsycoca4 is started. I am logged in via gdm into a gnome session and I did not start any kde programm.



rose@impala:/home_impala/rose(35)$ psgrep rose
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
rose       362  0.0  0.0  28624  4760 pts/3    Ss   11:24   0:00 -bash
rose       532  0.4  0.0  42672  4300 pts/3    S+   11:24   0:46 ssh -Y lynx
rose      1708  0.1  0.5 569604 44260 pts/1    Sl   12:46   0:06 emacs -i -geometry 81x61 -name gnome-3.6_extensions.txt Txt/Problems/gnome-3.6_extensions.txt
rose      1711  0.0  0.0  10480   732 pts/4    Ss+  12:46   0:00 /usr/lib/xemacs-21.5-b31/x86_64-pc-linux/gnuserv
rose     11288  0.4  0.5 569432 44032 pts/1    Sl   13:58   0:03 emacs -i -geometry 81x61 -name desktop_files_not_compliant_with_XDG_standard.txt Txt/Problems/desktop_files_not_compliant_with_XDG_standard.txt
rose     11432  2.7  0.6 579396 54220 pts/1    Sl   14:03   0:08 emacs -i -geometry 81x61 -name .xsession-errors .xsession-errors
rose     11484  0.0  0.0  21424  1244 pts/1    R+   14:08   0:00 /bin/ps waux
rose     29777  0.0  0.1 460480 14012 ?        Ssl  10:47   0:00 gnome-session
rose     29901  0.0  0.0  24388   572 ?        S    10:47   0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/ssh-agent -- gnome-session
rose     29902  0.0  0.0  21088  2200 ?        Ss   10:47   0:02 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
rose     29903  0.0  0.0  14680   560 ?        Ss   10:47   0:00 /usr/bin/ssh-agent -- gnome-session
rose     29905  0.0  0.0 397492  7912 ?        Sl   10:47   0:00 /usr/libexec/at-spi-bus-launcher
rose     29909  0.0  0.0  19780  1636 ?        S    10:47   0:00 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
rose     29912  0.0  0.0 120364  3224 ?        Sl   10:47   0:00 /usr/libexec/at-spi2-registryd --use-gnome-session
rose     29918  0.0  0.5 747980 43348 ?        Sl   10:47   0:08 /usr/libexec/gnome-settings-daemon
rose     29923  0.0  0.1 427572 15788 ?        SLl  10:47   0:00 /usr/bin/gnome-keyring-daemon --start --components=ssh
rose     29937  0.0  0.0 443428  7740 ?        Sl   10:47   0:00 /usr/bin/pulseaudio --start
rose     29939  0.0  0.0 192592  3080 ?        Sl   10:47   0:00 /usr/libexec/gvfsd
rose     29943  0.0  0.0 390176  7368 ?        Sl   10:47   0:00 /usr/libexec//gvfsd-fuse -f /home/rose/.gvfs
rose     29956  0.0  0.0  86944  2696 ?        S    10:47   0:00 /usr/libexec/pulse/gconf-helper
rose     29958  0.0  0.0  54676  5636 ?        S    10:47   0:00 /usr/libexec/gconfd-2
rose     29962  4.6  3.7 2003884 308740 ?      Sl   10:47   9:26 /usr/bin/gnome-shell
rose     29965  0.0  0.0 423712  6492 ?        Sl   10:47   0:00 /usr/libexec/gsd-printer
rose     29974  0.0  0.2 424848 17988 ?        Sl   10:47   0:01 /usr/libexec/tracker-store
rose     29976  0.0  0.2 483804 17848 ?        Sl   10:47   0:00 nm-applet
rose     29977  0.0  0.3 351064 27028 ?        S    10:47   0:01 /usr/bin/python2.7 /usr/share/system-config-printer/applet.py
rose     29980  0.0  0.1 595460 14328 ?        SNl  10:47   0:00 /usr/libexec/tracker-miner-fs
rose     29989  0.0  0.1 315848 13620 ?        Sl   10:47   0:00 /usr/libexec/gdu-notification-daemon
rose     29990  0.0  0.3 664640 26536 ?        Sl   10:47   0:00 /usr/libexec/evolution/3.6/evolution-alarm-notify
rose     29993  0.1  0.0 258208  3068 ?        Sl   10:47   0:12 /usr/libexec/dconf-service
rose     29999  0.0  0.1 262160  8712 ?        Sl   10:47   0:01 /usr/libexec/gvfs-udisks2-volume-monitor
rose     30008  0.0  0.0 198308  3192 ?        Sl   10:47   0:00 /usr/libexec/gvfs-gphoto2-volume-monitor
rose     30014  0.0  0.1 766100 11440 ?        SLl  10:47   0:00 /usr/libexec/evolution-source-registry
rose     30036  0.1  0.2 465896 16616 ?        Sl   10:47   0:13 /usr/libexec/goa-daemon
rose     30040  0.0  0.1 1030528 16204 ?       Sl   10:47   0:00 /usr/libexec/evolution-calendar-factory
rose     30074  0.0  0.1 473576  9752 ?        Sl   10:47   0:00 /usr/libexec/gnome-shell-calendar-server
rose     30084  0.0  0.0 281844  7616 ?        Sl   10:47   0:00 /usr/libexec/mission-control-5
rose     30109  0.0  0.4 1453760 36596 ?       SLl  10:47   0:11 /usr/libexec/evolution-addressbook-factory
rose     30176  0.1  0.3 724248 26100 ?        Sl   10:48   0:21 gnome-terminal
rose     30182  0.0  0.0  14716   820 ?        S    10:48   0:00 gnome-pty-helper
rose     30183  0.0  0.0  28624  4764 pts/0    Ss   10:48   0:00 -bash
rose     30359  1.6  6.9 3404000 569524 pts/0  Sl+  10:48   3:12 evolution
rose     30440  0.0  0.0  22180  6104 pts/0    S+   10:49   0:00 /usr/lib64/nspluginwrapper/i386/linux/npviewer.bin --plugin /usr/lib32/nsbrowser/plugins/nppdf.so --connection /org/wrapper/NSPlugins/nppdf.so/30359-2/1354478033
rose     30460  0.1  0.8 137576 65920 pts/0    Sl+  10:49   0:16 /opt/Adobe/Reader9/Reader/intellinux/bin/acroread --display :1 -progressPipe 3 -exitPipe 4
rose     30554  0.0  0.0  28624  4784 pts/1    Ss   10:50   0:00 -bash
rose     30723  0.0  0.1 342968  8752 ?        Sl   10:51   0:00 /usr/libexec/gvfsd-http --spawner :1.10 /org/gtk/gvfs/exec_spaw/0
rose     30728  4.5  4.6 1287648 379528 pts/0  Sl+  10:51   9:02 firefox https://bugs.gentoo.org/show_bug.cgi?id=449486
rose     30865  0.0  0.0  77060  7824 ?        S    10:58   0:00 xterm -ls -sb -sl 1000 -bg black -fg green -e su -
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-01-01 13:28:17 UTC
You can use `equery` or `qfile` to match those files to specific packages. It should be one bug per one package so they can be properly assigned to correct maintainers.

For example, avidemux2.desktop doesn't have anything to do with kde-base/kdelibs.
Comment 2 Juergen Rose 2013-01-01 13:30:10 UTC
I tried to add the missing trailing semicolons to *.desktop files and found the entries complained by kbuildsycoca4(2266) and kbuildsycoca4(13732) have  semicolons at the end.
Comment 3 Juergen Rose 2013-01-01 13:31:13 UTC
Thank you Samuli for this hint. I hoped to avoid to write so many bug reports.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2013-03-05 11:46:14 UTC
There have been a lot of improvements regarding .desktop files:

* We only pay attention to .desktop files in XDG-compliant locations (/usr/share/applications). KDE for example likes to install non-compliant files in custom locations, but that's fine since they are only used by KDE internally
* .desktop files are validated by portage at install-time and emit an eqawarn if there are any issues
* Bug #444206 tracks failures
* At this point in time, all of KDE should be compliant

Since many packages from that list are not maintained by KDE team, unfortunately we cannot fix them and as Samuli said, they would need a bug per package. Please block bug #444206 if you file some bugs about them.

Closing as per the last point on the list.