Bug 243965 - 0.13 does not accept some Version value
0.13 does not accept some Version value
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: desktop-file-utils (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ray Strode [halfline]
:
Depends On:
Blocks: 243763
  Show dependency treegraph
 
Reported: 2007-06-13 00:05 EDT by Mamoru TASAKA
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-06-14 16:40:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Mamoru TASAKA 2007-06-13 00:05:25 EDT
Description of problem:
It seems that 0.13 version of desktop-file-utils does not
accept the entry some "Version=foo" in desktop files

Version-Release number of selected component (if applicable):
desktop-file-utils-0.13-1.fc8
gresistor-0.0.1-9.fc7


How reproducible:
100%
  
Actual results:
[root@localhost ~]# cat /usr/share/applications/fedora-gresistor.desktop 
[Desktop Entry]
Version=0.1.2
Encoding=UTF-8
Name=gResistor
Comment=Resistor color code calculator
Icon=gresistor.png
Exec=/usr/bin/gresistor
Terminal=false
Type=Application
MimeType=application/x-glade;
Categories=Education;Science;X-Fedora;Engineering;
Name[ro]=gResistor
Comment[ro]=Calculator pentru formule electrice
Name[ro_RO]=gResistor
X-Desktop-File-Install-Version=0.12
[root@localhost ~]# desktop-file-validate
/usr/share/applications/fedora-gresistor.desktop 
/usr/share/applications/fedora-gresistor.desktop: error: value "0.1.2" for key
"Version" in group "Desktop Entry" is not a known version
/usr/share/applications/fedora-gresistor.desktop: warning: key "Encoding" in
group "Desktop Entry" is deprecated

Expected results:
0.12 accepted this.

Additional info:
I found this on reviewing review request mrxvt (223422)
mrxvt 0.5.2-6 has the desktop:
---------------------------------
[Desktop Entry]
Encoding=UTF-8
Type=Application
Version=0.5.2
Name=mrxvt
GenericName=Terminal Emulator
Comment=none
Icon=mrxvt.png
Exec=/usr/bin/mrxvt
Categories=System;Emulator;
--------------------------------------
However, now desktop-file-utils 0.13-1 does not accept this.
--------------------------------------
+ desktop-file-install --vendor=fedora
--dir=/var/tmp/mrxvt-0.5.2-6.fc8-root-mockbuild/usr/share/applications
/builddir/build/SOURCES/mrxvt.desktop
/var/tmp/mrxvt-0.5.2-6.fc8-root-mockbuild/usr/share/applications/fedora-mrxvt.desktop:
error: value "0.5.2" for key "Version" in group "Desktop Entry" is not a known
version
desktop-file-install created an invalid desktop file!
Comment 1 Mamoru TASAKA 2007-06-14 15:23:42 EDT
Another example is review request bug 243763
Comment 2 Jochen Schmitt 2007-06-14 16:40:49 EDT
Thsi bug may be closed, becouse the reported issue is, that the meaning of the
version field was misinterpreted.

The version field refer to the version of of desktop entry specification which
should be fullfill be the desktop file. That means this field has nothing to do
with the version of the application on which the desktopfile refers.
Comment 3 Mamoru TASAKA 2007-06-14 22:56:50 EDT
Okay. I re-read the following and I found that I misunderstood
Version info. Thank you.
http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html

Note You need to log in before you can comment on or make changes to this bug.