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 CEF40139084 for ; Thu, 21 Dec 2017 10:47:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF4F3E106D; Thu, 21 Dec 2017 10:47:35 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 91C4FE106D for ; Thu, 21 Dec 2017 10:47:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7C1E733D4A6 for ; Thu, 21 Dec 2017 10:47:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4379DAE85 for ; Thu, 21 Dec 2017 10:47:33 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1513853214.8ff0b882bc4eb16abcca916707bd2cb7d6ace4e5.leio@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.8.4.ebuild X-VCS-Directories: sci-misc/boinc/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: 8ff0b882bc4eb16abcca916707bd2cb7d6ace4e5 X-VCS-Branch: master Date: Thu, 21 Dec 2017 10:47:33 +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: 16c047be-b7b9-4a8a-bb0c-69695f15f3ee X-Archives-Hash: 01451e106bf2bf4e73b30edcf806e6a7 commit: 8ff0b882bc4eb16abcca916707bd2cb7d6ace4e5 Author: Mart Raudsepp gentoo org> AuthorDate: Thu Dec 21 10:44:08 2017 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Thu Dec 21 10:46:54 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ff0b882 sci-misc/boinc: update icon cache in 7.8.4 as well This brings in the iconcache update fix from 7.8.1-r1 that was pushed while 7.8.4 PR was still unmerged. But without the redundant gnome2_icon_savelist call, as the conditional to only call cache update isn't inside itself since a while now. Bug: https://bugs.gentoo.org/636886 Package-Manager: Portage-2.3.19, Repoman-2.3.6 sci-misc/boinc/boinc-7.8.4.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sci-misc/boinc/boinc-7.8.4.ebuild b/sci-misc/boinc/boinc-7.8.4.ebuild index b29f7289978..b4628e19804 100644 --- a/sci-misc/boinc/boinc-7.8.4.ebuild +++ b/sci-misc/boinc/boinc-7.8.4.ebuild @@ -5,7 +5,7 @@ EAPI=6 WX_GTK_VER=3.0-gtk3 -inherit autotools eutils linux-info systemd user versionator wxwidgets +inherit autotools eutils gnome2-utils linux-info systemd user versionator wxwidgets MY_PV=$(get_version_component_range 1-2) @@ -67,7 +67,7 @@ pkg_setup() { ewarn "Can't check the linux kernel configuration." ewarn "You might be missing vsyscall support." elif kernel_is -ge 4 4 \ - && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then + && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then ewarn "You do not have vsyscall emulation enabled." ewarn "This will prevent some boinc projects from running." ewarn "Please enable vsyscall emulation:" @@ -145,6 +145,8 @@ pkg_preinst() { } pkg_postinst() { + gnome2_icon_cache_update + elog elog "You are using the source compiled version of boinc." use X && elog "The graphical manager can be found at /usr/bin/boincmgr" @@ -179,3 +181,7 @@ pkg_postinst() { fi elog } + +pkg_postrm() { + gnome2_icon_cache_update +}