desktop-file-install provokes corruption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux