[Bug 247429] DESKTOPDIR set incorrectly

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 19 19:08:20 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247429

            Bug ID: 247429
           Summary: DESKTOPDIR set incorrectly
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: mi at FreeBSD.org
                CC: ports-bugs at FreeBSD.org

Created attachment 215796
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=215796&action=edit
Base DESKTOPDIR on LOCALBASE instead of PREFIX

The knob is currently defined thus:

    DESKTOPDIR?=  ${PREFIX}/share/applications

which tells ports to install the DESKTOP_ENTRIES where the rest of the port is
installed.

Instead, it probably should be:

    DESKTOPDIR?=  ${LOCALBASE}/share/applications

because, wherever a port installs its own bits, the desktop entries ought to be
in the common location, where the desktop environments (KDE, Gnome, etc.) can
find them.

That is, DESKTOPDIR is more like SED or LDCONFIG -- referring to an existing
path, rather than, what the port will create.

The patch seems easy, but the discussion, probably, will not be...

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list