summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2016-12-08 10:24:53 +0100
committerDavid Seifert <soap@gentoo.org>2017-01-04 15:42:02 +0200
commitcaf505ba0e3ee48cf2117042844c715873417863 (patch)
tree8366d1c0e40b6ca9f1c039b98518b3eec7be213e /sci-misc
parentsci-misc/boinc: Remove obsolete ebuilds, everybody should update. (diff)
downloadgentoo-caf505ba0e3ee48cf2117042844c715873417863.tar.gz
gentoo-caf505ba0e3ee48cf2117042844c715873417863.tar.bz2
gentoo-caf505ba0e3ee48cf2117042844c715873417863.zip
sci-misc/boinc: Rename desktop file to boincmgr.desktop
Gentoo-Bug: 599910 This is a workaround to the following issue: The desktop entry filename and the executable filename are different. Binary: boincmgr Desktop file: boincmgr-boinc.desktop This causes GNOME to use an ugly icon in the launcher. It is also not possible to add the BOINC icon to the favorites. Renaming the desktop file to boincmgr.desktop fixes both issues, although this is only a hotfix. The GNOME shell should be perfectly capable of using any well formed desktop file regardless of its name. Package-Manager: portage-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/3056
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/boinc/boinc-7.2.44-r2.ebuild (renamed from sci-misc/boinc/boinc-7.2.44-r1.ebuild)4
-rw-r--r--sci-misc/boinc/boinc-7.4.52-r2.ebuild (renamed from sci-misc/boinc/boinc-7.4.52-r1.ebuild)4
-rw-r--r--sci-misc/boinc/boinc-7.6.33-r2.ebuild (renamed from sci-misc/boinc/boinc-7.6.33-r1.ebuild)4
3 files changed, 12 insertions, 0 deletions
diff --git a/sci-misc/boinc/boinc-7.2.44-r1.ebuild b/sci-misc/boinc/boinc-7.2.44-r2.ebuild
index bc0952dde73f..130e512e420d 100644
--- a/sci-misc/boinc/boinc-7.2.44-r1.ebuild
+++ b/sci-misc/boinc/boinc-7.2.44-r2.ebuild
@@ -118,6 +118,10 @@ src_install() {
newicon -s $s "${WORKDIR}"/boinc_${s}.png boinc.png
done
make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}"
+
+ # Rename the desktop file to boincmgr.desktop to (hot)fix bug 599910
+ mv "${ED%/}"/usr/share/applications/boincmgr{-${PN},}.desktop || \
+ die "Failed to rename desktop file"
fi
# cleanup cruft
diff --git a/sci-misc/boinc/boinc-7.4.52-r1.ebuild b/sci-misc/boinc/boinc-7.4.52-r2.ebuild
index 0a508d3c2dea..cf02d0eb2a03 100644
--- a/sci-misc/boinc/boinc-7.4.52-r1.ebuild
+++ b/sci-misc/boinc/boinc-7.4.52-r2.ebuild
@@ -123,6 +123,10 @@ src_install() {
newicon -s $s "${WORKDIR}"/boinc_${s}.png boinc.png
done
make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}"
+
+ # Rename the desktop file to boincmgr.desktop to (hot)fix bug 599910
+ mv "${ED%/}"/usr/share/applications/boincmgr{-${PN},}.desktop || \
+ die "Failed to rename desktop file"
fi
# cleanup cruft
diff --git a/sci-misc/boinc/boinc-7.6.33-r1.ebuild b/sci-misc/boinc/boinc-7.6.33-r2.ebuild
index 0a508d3c2dea..cf02d0eb2a03 100644
--- a/sci-misc/boinc/boinc-7.6.33-r1.ebuild
+++ b/sci-misc/boinc/boinc-7.6.33-r2.ebuild
@@ -123,6 +123,10 @@ src_install() {
newicon -s $s "${WORKDIR}"/boinc_${s}.png boinc.png
done
make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}"
+
+ # Rename the desktop file to boincmgr.desktop to (hot)fix bug 599910
+ mv "${ED%/}"/usr/share/applications/boincmgr{-${PN},}.desktop || \
+ die "Failed to rename desktop file"
fi
# cleanup cruft