Gentoo Archives: gentoo-dev

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-dev@l.g.o
Cc: "Ulrich Müller" <ulm@g.o>
Subject: [gentoo-dev] [PATCH 0/2] desktop.eclass: Install files as foo.desktop rather than foo-foo.desktop
Date: Sat, 01 Oct 2022 08:39:43
Message-Id: 20221001083918.30129-1-ulm@gentoo.org
1 This came up in bug 771708. Currently desktop.eclass installs files
2 under the name <exec>-<package>.desktop, but in the simple and most
3 common case <exec> and <package> are the same. So the files end up as
4 foo-foo.desktop which is a little ugly.
5
6 The first patch will check for the two components being equal and
7 replace foo-foo by foo if they are.
8
9 The second patch adds an EAPI guard.
10
11 Any opinions?
12
13 Ulrich Müller (2):
14 desktop.eclass: Install files as foo.desktop rather than
15 foo-foo.desktop
16 desktop.eclass: Add EAPI guard
17
18 eclass/desktop.eclass | 23 ++++++++++++++---------
19 1 file changed, 14 insertions(+), 9 deletions(-)
20
21 --
22 2.37.3

Replies