desktop-file-install provokes corruption

Chitlesh GOORAH chitlesh at fedoraproject.org
Sat Nov 25 10:24:07 UTC 2006


Hello there,
I'm packaging keurocalc packaging.

Desktop-file install in my spec file is provoking corruption of %{name}.desktop.

+ desktop-file-install --vendor '' --dir
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications
--add-category Office --delete-original
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applnk/Applications/keurocalc.desktop
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.desktop:
warning: file contains key "DocPath", this key is currently reserved
for use within KDE, and should in the future KDE releases be prefixed
by "X-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.desktop:
error: invalid characters in value of key "Keywords[ar]", keys of type
string may contain ASCII characters except control characters
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.desktop:
error: invalid characters in value of key "Keywords[cs]", keys of type
string may contain ASCII characters except control characters
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.desktop:
error: invalid characters in value of key "Keywords[de]", keys of type
string may contain ASCII characters except control characters
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.desktop:
error: invalid characters in value of key "Keywords[el]", keys of type
string may contain ASCII characters except control characters
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.desktop:
error: invalid characters in value of key "Keywords[ga]", keys of type
string may contain ASCII characters except control characters
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.desktop:
error: invalid characters in value of key "Keywords[gl]", keys of type
string may contain ASCII characters except control characters
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.desktop:
error: invalid characters in value of key "Keywords[ja]", keys of type
string may contain ASCII characters except control characters
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.desktop:
error: invalid characters in value of key "Keywords[ka]", keys of type
string may contain ASCII characters except control characters
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.desktop:
error: invalid characters in value of key "Keywords[ru]", keys of type
string may contain ASCII characters except control characters
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.desktop:
error: invalid characters in value of key "Keywords[sv]", keys of type
string may contain ASCII characters except control characters
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.desktop:
error: invalid characters in value of key "Keywords[ta]", keys of type
string may contain ASCII characters except control characters
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.desktop:
error: invalid characters in value of key "Keywords[tr]", keys of type
string may contain ASCII characters except control characters
/var/tmp/keurocalc-0.9.7-0.1-root-chitlesh/usr/share/applications/keurocalc.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-"
desktop-file-install created an invalid desktop file!
error: Bad exit status from /var/tmp/rpm-tmp.11497 (%install)

To me, it has something to do with the non ascii caracters, so in
order to rpmbuild successfully, I'm using this instead:

# to skip the Lost&Found menu
echo "Categories=Application;Office;" >> \
    %{buildroot}%{_datadir}/applnk/Applications/%{name}.desktop

Anyone has a clean solution to propose ?
you can find my spec file here:
http://chitlesh.funpic.de/fedora/SPECS/keurocalc.spec

PS: it fails on mock, i need to work on it.

chitlesh
-- 
http://clunixchit.blogspot.com




More information about the fedora-extras-list mailing list