Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196832 - app-emulation/virtualbox - virtualbox.desktop tries to invoke non-existing program
Summary: app-emulation/virtualbox - virtualbox.desktop tries to invoke non-existing pr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Markus Ullmann (RETIRED)
URL:
Whiteboard:
Keywords:
: 197903 198758 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-23 19:34 UTC by Jens Rutschmann
Modified: 2007-12-05 22:53 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix desktop file issues (virtualbox-desktop-entry.patch,2.25 KB, patch)
2007-11-16 13:57 UTC, Petteri Räty (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Rutschmann 2007-10-23 19:34:51 UTC
The virtualbox.desktop file that is located in the tree tries to invoke the program "virtualbox" whereas the ebuild creates a symlink "VirtualBox" in /usr/bin.

The effect is that VirtualBox cannot be launched by the .desktop file.

Reproducible: Always

Steps to Reproduce:
Comment 1 Alessio Cassibba (X-Drum) 2007-10-29 12:45:19 UTC
Hi,
Thanks for reporting this issue, fixed on jokey's overlay[1]
for both virtualbox and virtualbox-bin

[1] http://overlays.gentoo.org/dev/jokey/browser/trunk/app-emulation
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-11-03 00:42:29 UTC
*** Bug 197903 has been marked as a duplicate of this bug. ***
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2007-11-03 15:20:29 UTC
Fixes applied to CVS
Comment 4 Michael Laß 2007-11-04 16:20:22 UTC
The ChangeLog sais that this bug is fixed in version 1.5.2-r1, though it still exists. I just synced my tree, but the entry in the .desktop file is still wrong:

grep Exec /usr/portage/app-emulation/virtualbox/files/virtualbox.desktop:
Exec=virtualbox
TryExec=virtualbox
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-11-11 08:25:58 UTC
*** Bug 198758 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-11-11 08:28:57 UTC
Reopen.
Comment 7 Aleksey Lazar 2007-11-12 15:34:04 UTC
The command to launch VirtualBox should just be changed back to 'virtualbox', all lowercase. Uppercase in command names is user-unfriendly, pointless and annoying.
Comment 8 Michael Laß 2007-11-12 15:46:01 UTC
I aggree that uppercase commands are user unfriendly. But it has been changed for compliance with the official user documentation (http://www.virtualbox.org/download/UserManual.pdf)
Comment 9 Aleksey Lazar 2007-11-12 17:16:25 UTC
Yes, the manual says "VirtualBox". Can we have both "VirtualBox" and "virtualbox" on Gentoo though?
Comment 10 Alessio Cassibba (X-Drum) 2007-11-13 21:37:59 UTC
we agree too with this, as you can see, many modifications were made on virtualbox's ebuilds as said in comment #8 for compliance
(see commits #284 and #294 on jokey's overlay).
Comment 11 Petteri Räty (RETIRED) gentoo-dev 2007-11-16 13:57:12 UTC
Created attachment 136089 [details, diff]
Patch to fix desktop file issues

issues fixed by this patch:
- should use eclass functions to install the files
- the desktop file database is not updated
- the installed desktop file did not validate:

betelgeuse@pena /usr/portage/app-emulation/virtualbox $ desktop-file-validate files/virtualbox.desktop
files/virtualbox.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated
files/virtualbox.desktop: error: value "" for key "Version" in group "Desktop Entry" is not a known version
files/virtualbox.desktop: warning: value "" for key "Path" in group "Desktop Entry" does not look like an absolute path
files/virtualbox.desktop: error: value "virtualbox.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
files/virtualbox.desktop: warning: value "Application;Emulator;System;" for key "Categories" in group "Desktop Entry" contains a deprecated value "Application"

The Version key is for the version of the spec not the application
Comment 12 Markus Ullmann (RETIRED) gentoo-dev 2007-12-05 22:53:09 UTC
Fix in CVS, thankies :)