Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2020 19:08:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 247429] DESKTOPDIR set incorrectly
Message-ID:  <bug-247429-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247429

            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@FreeBSD.org
          Reporter: mi@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

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

The knob is currently defined thus:

    DESKTOPDIR?=3D  ${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?=3D  ${LOCALBASE}/share/applications

because, wherever a port installs its own bits, the desktop entries ought t=
o be
in the common location, where the desktop environments (KDE, Gnome, etc.) c=
an
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...

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247429-7788>