Bug 79509

Summary: add .desktop file facilities to bsd.port.mk
Product: Ports & Packages Reporter: Jean-Yves Lefort <jylefort>
Component: Individual Port(s)Assignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff none

Description Jean-Yves Lefort 2005-04-03 18:10:06 UTC
A lot of X ports do not ship with a .desktop file. It would be good to
create desktop entries for these ports, so that the applications show
up in the menus of fd.o-compliant desktop environments (such as GNOME,
KDE, ...).

To ease the task, this patch adds a DESKTOP_ENTRIES variable. Porters
can now easily create and install one or more .desktop file for their
port. The files are automatically added to the packing list. They are
installed in DESKTOPDIR, which defaults to PREFIX/share/applications
(path recommended by the fd.o spec). Although there should be no
reason for an user or port to override DESKTOPDIR, the code supports
any DESKTOPDIR, even if it's outside of PREFIX.

Along with the patch, I provide an example use for
x11/nvidia-settings.
Comment 1 Jose M Rodriguez 2005-04-03 18:40:52 UTC
I don't have any objections to this, but I prefer work in a freedesktop 
menu system out of the main ports, and install .desktop entries from 
separated ports.

--
  josemi
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2005-04-03 19:43:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

portmgr territory.
Comment 3 Clement Laforet freebsd_committer freebsd_triage 2005-10-19 20:21:03 UTC
State Changed
From-To: open->analyzed

Added to exp build. Thanks
Comment 4 Clement Laforet freebsd_committer freebsd_triage 2005-11-08 09:13:27 UTC
State Changed
From-To: analyzed->closed

Committed. Thanks!