• [gentoo-dev] [PATCH 0/2] desktop.eclass: Install files as foo.desktop r

    From =?UTF-8?q?Ulrich=20M=C3=BCller?=@21:1/5 to All on Sat Oct 1 10:40:01 2022
    This came up in bug 771708. Currently desktop.eclass installs files
    under the name <exec>-<package>.desktop, but in the simple and most
    common case <exec> and <package> are the same. So the files end up as foo-foo.desktop which is a little ugly.

    The first patch will check for the two components being equal and
    replace foo-foo by foo if they are.

    The second patch adds an EAPI guard.

    Any opinions?

    Ulrich Müller (2):
    desktop.eclass: Install files as foo.desktop rather than
    foo-foo.desktop
    desktop.eclass: Add EAPI guard

    eclass/desktop.eclass | 23 ++++++++++++++---------
    1 file changed, 14 insertions(+), 9 deletions(-)

    --
    2.37.3

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)