Bug 79509 - add .desktop file facilities to bsd.port.mk
Summary: add .desktop file facilities to bsd.port.mk
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-03 18:10 UTC by Jean-Yves Lefort
Modified: 2005-11-08 09:13 UTC (History)
0 users

See Also:


Attachments
file.diff (4.30 KB, patch)
2005-04-03 18:10 UTC, Jean-Yves Lefort
no flags Details | Diff
file.diff (631 bytes, patch)
2005-04-03 18:10 UTC, Jean-Yves Lefort
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!