Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/
Date: Wed, 04 Jan 2017 13:42:14
Message-Id: 1483537322.caf505ba0e3ee48cf2117042844c715873417863.soap@gentoo
1 commit: caf505ba0e3ee48cf2117042844c715873417863
2 Author: Sven Eden <yamakuzure <AT> gmx <DOT> net>
3 AuthorDate: Thu Dec 8 09:24:53 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 4 13:42:02 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caf505ba
7
8 sci-misc/boinc: Rename desktop file to boincmgr.desktop
9
10 Gentoo-Bug: 599910
11
12 This is a workaround to the following issue:
13 The desktop entry filename and the executable filename are different.
14 Binary: boincmgr
15 Desktop file: boincmgr-boinc.desktop
16 This causes GNOME to use an ugly icon in the launcher. It is also not
17 possible to add the BOINC icon to the favorites.
18 Renaming the desktop file to boincmgr.desktop fixes both issues,
19 although this is only a hotfix. The GNOME shell should be perfectly
20 capable of using any well formed desktop file regardless of its name.
21
22 Package-Manager: portage-2.3.3
23 Closes: https://github.com/gentoo/gentoo/pull/3056
24
25 sci-misc/boinc/{boinc-7.2.44-r1.ebuild => boinc-7.2.44-r2.ebuild} | 4 ++++
26 sci-misc/boinc/{boinc-7.4.52-r1.ebuild => boinc-7.4.52-r2.ebuild} | 4 ++++
27 sci-misc/boinc/{boinc-7.6.33-r1.ebuild => boinc-7.6.33-r2.ebuild} | 4 ++++
28 3 files changed, 12 insertions(+)
29
30 diff --git a/sci-misc/boinc/boinc-7.2.44-r1.ebuild b/sci-misc/boinc/boinc-7.2.44-r2.ebuild
31 similarity index 96%
32 rename from sci-misc/boinc/boinc-7.2.44-r1.ebuild
33 rename to sci-misc/boinc/boinc-7.2.44-r2.ebuild
34 index bc0952d..130e512e 100644
35 --- a/sci-misc/boinc/boinc-7.2.44-r1.ebuild
36 +++ b/sci-misc/boinc/boinc-7.2.44-r2.ebuild
37 @@ -118,6 +118,10 @@ src_install() {
38 newicon -s $s "${WORKDIR}"/boinc_${s}.png boinc.png
39 done
40 make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}"
41 +
42 + # Rename the desktop file to boincmgr.desktop to (hot)fix bug 599910
43 + mv "${ED%/}"/usr/share/applications/boincmgr{-${PN},}.desktop || \
44 + die "Failed to rename desktop file"
45 fi
46
47 # cleanup cruft
48
49 diff --git a/sci-misc/boinc/boinc-7.4.52-r1.ebuild b/sci-misc/boinc/boinc-7.4.52-r2.ebuild
50 similarity index 96%
51 rename from sci-misc/boinc/boinc-7.4.52-r1.ebuild
52 rename to sci-misc/boinc/boinc-7.4.52-r2.ebuild
53 index 0a508d3..cf02d0e 100644
54 --- a/sci-misc/boinc/boinc-7.4.52-r1.ebuild
55 +++ b/sci-misc/boinc/boinc-7.4.52-r2.ebuild
56 @@ -123,6 +123,10 @@ src_install() {
57 newicon -s $s "${WORKDIR}"/boinc_${s}.png boinc.png
58 done
59 make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}"
60 +
61 + # Rename the desktop file to boincmgr.desktop to (hot)fix bug 599910
62 + mv "${ED%/}"/usr/share/applications/boincmgr{-${PN},}.desktop || \
63 + die "Failed to rename desktop file"
64 fi
65
66 # cleanup cruft
67
68 diff --git a/sci-misc/boinc/boinc-7.6.33-r1.ebuild b/sci-misc/boinc/boinc-7.6.33-r2.ebuild
69 similarity index 96%
70 rename from sci-misc/boinc/boinc-7.6.33-r1.ebuild
71 rename to sci-misc/boinc/boinc-7.6.33-r2.ebuild
72 index 0a508d3..cf02d0e 100644
73 --- a/sci-misc/boinc/boinc-7.6.33-r1.ebuild
74 +++ b/sci-misc/boinc/boinc-7.6.33-r2.ebuild
75 @@ -123,6 +123,10 @@ src_install() {
76 newicon -s $s "${WORKDIR}"/boinc_${s}.png boinc.png
77 done
78 make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}"
79 +
80 + # Rename the desktop file to boincmgr.desktop to (hot)fix bug 599910
81 + mv "${ED%/}"/usr/share/applications/boincmgr{-${PN},}.desktop || \
82 + die "Failed to rename desktop file"
83 fi
84
85 # cleanup cruft