From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D2858139085 for ; Wed, 4 Jan 2017 13:42:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30CA3E0D08; Wed, 4 Jan 2017 13:42:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F2153E0D08 for ; Wed, 4 Jan 2017 13:42:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0426D34119A for ; Wed, 4 Jan 2017 13:42:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A751261E for ; Wed, 4 Jan 2017 13:42:11 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1483537322.caf505ba0e3ee48cf2117042844c715873417863.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-misc/boinc/boinc-7.2.44-r1.ebuild sci-misc/boinc/boinc-7.2.44-r2.ebuild sci-misc/boinc/boinc-7.4.52-r1.ebuild sci-misc/boinc/boinc-7.4.52-r2.ebuild sci-misc/boinc/boinc-7.6.33-r1.ebuild sci-misc/boinc/boinc-7.6.33-r2.ebuild X-VCS-Directories: sci-misc/boinc/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: caf505ba0e3ee48cf2117042844c715873417863 X-VCS-Branch: master Date: Wed, 4 Jan 2017 13:42:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3bbd59f6-2970-4524-8130-c7433726598d X-Archives-Hash: a71a893d9a222ae6f371acef0dc7acd4 commit: caf505ba0e3ee48cf2117042844c715873417863 Author: Sven Eden gmx net> AuthorDate: Thu Dec 8 09:24:53 2016 +0000 Commit: David Seifert gentoo org> CommitDate: Wed Jan 4 13:42:02 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caf505ba 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 sci-misc/boinc/{boinc-7.2.44-r1.ebuild => boinc-7.2.44-r2.ebuild} | 4 ++++ sci-misc/boinc/{boinc-7.4.52-r1.ebuild => boinc-7.4.52-r2.ebuild} | 4 ++++ sci-misc/boinc/{boinc-7.6.33-r1.ebuild => boinc-7.6.33-r2.ebuild} | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/sci-misc/boinc/boinc-7.2.44-r1.ebuild b/sci-misc/boinc/boinc-7.2.44-r2.ebuild similarity index 96% rename from sci-misc/boinc/boinc-7.2.44-r1.ebuild rename to sci-misc/boinc/boinc-7.2.44-r2.ebuild index bc0952d..130e512e 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 similarity index 96% rename from sci-misc/boinc/boinc-7.4.52-r1.ebuild rename to sci-misc/boinc/boinc-7.4.52-r2.ebuild index 0a508d3..cf02d0e 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 similarity index 96% rename from sci-misc/boinc/boinc-7.6.33-r1.ebuild rename to sci-misc/boinc/boinc-7.6.33-r2.ebuild index 0a508d3..cf02d0e 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