Bug 274077 - editors/lite-xl port is missing the litexl.desktop file
Summary: editors/lite-xl port is missing the litexl.desktop file
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-25 12:07 UTC by gotnull
Modified: 2023-09-27 10:04 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (danfe)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gotnull 2023-09-25 12:07:23 UTC
Hi,

The application editors/litexl doesn't have its own litexl.desktop file therefore application launcher can't start it. 
$  ls /usr/local/share/applications/ | grep -i lite
$

So in order to start it you have to launch it from terminal like this:
$ /usr/local/bin/lite-xl

Or create yourself the desktop file by copying it from lite-xl's github repository:
$ fetch https://github.com/lite-xl/lite-xl/blob/master/resources/linux/com.lite_xl.LiteXL.desktop -o ~/.local/share/applications/lite-xl.desktop

Icon is missing too:
https://github.com/lite-xl/lite-xl/blob/master/resources/icons/lite-xl.svg
Comment 1 gotnull 2023-09-25 12:18:13 UTC
Sorry, I forgot to add few information:

OS:
$ freebsd-version -kru ; uname -ms
13.2-RELEASE-p3
13.2-RELEASE-p3
13.2-RELEASE-p3
FreeBSD amd64

Package version:
$ pkg info lite-xl | grep Version   
Version        : 2.1.1
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-09-27 10:02:41 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=080478034ac8ba6bf5cc2edc240385d8ad4c4048

commit 080478034ac8ba6bf5cc2edc240385d8ad4c4048
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-09-27 10:00:48 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-09-27 10:00:48 +0000

    editors/lite-xl: install some nonessential but nice to have files

    Modern graphical environments usually give better user experience
    when programs are supplied with icon(s), .desktop file, etc.

    PR:     274077

 editors/lite-xl/Makefile  | 10 +++++++++-
 editors/lite-xl/pkg-plist |  3 +++
 2 files changed, 12 insertions(+), 1 deletion(-)
Comment 3 Alexey Dokuchaev freebsd_committer freebsd_triage 2023-09-27 10:04:12 UTC
Port had been improved, thank you!