Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 769344 - app-editors/visual-studio-code-bin-1.53.0: desktop files reference wrong binary name
Summary: app-editors/visual-studio-code-bin-1.53.0: desktop files reference wrong bina...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-07 15:58 UTC by Jan Henke
Modified: 2021-02-09 14:46 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Henke 2021-02-07 15:58:11 UTC
app-editors/visual-studio-code-bin-1.53.0 install 2 desktop files. But they do not work, since the exec path specified is invalid.
The correct path to the binary is /usr/bin/visual-studio-code-bin, the desktop files the path is incorrectly /usr/bin/code.

While at it, the ebuild triggers a QA warning because the desktop file database is not updated after installing the mentioned desktop files.
Comment 1 Ross Charles C. 2021-02-07 22:53:24 UTC
I didn't test the ebuild when doing the version bump. Thanks for bringing it into light.
Comment 2 Larry the Git Cow gentoo-dev 2021-02-09 14:46:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=973ad60d28d19f15a983708e476b1a744fab89d1

commit 973ad60d28d19f15a983708e476b1a744fab89d1
Author:     Ross Charles Campbell <rossbridger.cc@gmail.com>
AuthorDate: 2021-02-07 23:12:50 +0000
Commit:     Ross Charles Campbell <rossbridger.cc@gmail.com>
CommitDate: 2021-02-07 23:13:16 +0000

    app-editors/visual-studio-code-bin: fix issues on desktop files
    
    Closes: https://bugs.gentoo.org/769344
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Ross Charles Campbell <rossbridger.cc@gmail.com>

 .../visual-studio-code-bin-1.53.0.ebuild                      | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)