Bug 226442 - editors/linux-sublime has no .desktop file
Summary: editors/linux-sublime has no .desktop file
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-08 03:39 UTC by Stefan B.
Modified: 2018-03-08 04:40 UTC (History)
2 users (show)

See Also:


Attachments
sublime_text.desktop (272 bytes, application/x-desktop)
2018-03-08 04:13 UTC, Walter Schwarzenfeld
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan B. 2018-03-08 03:39:19 UTC
no .desktop file in /usr/local/share/applications, so doesn't display in menu
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-03-08 04:13:38 UTC
Created attachment 191298 [details]
sublime_text.desktop

Try this:
I take it from sublime3
(copy it in /usr/local/share/sublime/sublime_text.desktop)

If it works I can provide a patch.
Comment 2 Tobias Kortkamp freebsd_committer freebsd_triage 2018-03-08 04:20:45 UTC
(In reply to w.schwarzenfeld from comment #1)
Yep, I was thinking the same thing. I'm on it. No need to provide a patch for that.
Comment 3 Tobias Kortkamp freebsd_committer freebsd_triage 2018-03-08 04:39:45 UTC
Ok, should be all fixed now!
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-03-08 04:40:24 UTC
A commit references this bug:

Author: tobik
Date: Thu Mar  8 04:39:20 UTC 2018
New revision: 463863
URL: https://svnweb.freebsd.org/changeset/ports/463863

Log:
  editors/linux-sublime: Add missing desktop file

  Adapted from the one in editors/linux-sublime3

  PR:		226442
  Reported by:	sblachmann@gmail.com
  Submitted by:	w.schwarzenfeld@utanet.at

Changes:
  head/editors/linux-sublime/Makefile
  head/editors/linux-sublime/files/sublime_text.desktop
  head/editors/linux-sublime/pkg-plist