From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 408DF1386E9 for ; Sun, 27 Jan 2013 19:25:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 625D221C0E6; Sun, 27 Jan 2013 19:25:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8479021C0E5 for ; Sun, 27 Jan 2013 19:25:09 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 93F5B33DA95 for ; Sun, 27 Jan 2013 19:25:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 3475CE408E for ; Sun, 27 Jan 2013 19:25:07 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1358734679.5bf009c3789287402201de27801fe4c281051723.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/psychopy/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/psychopy/psychopy-1.75.01.ebuild sci-biology/psychopy/psychopy-9999.ebuild X-VCS-Directories: sci-biology/psychopy/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 5bf009c3789287402201de27801fe4c281051723 X-VCS-Branch: master Date: Sun, 27 Jan 2013 19:25:07 +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: 0b7b60dc-ab3c-4f2f-96b6-aa3db6acd1a0 X-Archives-Hash: c79e71e54e2ab969434070895ec77b74 commit: 5bf009c3789287402201de27801fe4c281051723 Author: TheChymera mail ru> AuthorDate: Mon Jan 21 02:17:59 2013 +0000 Commit: Justin Lecher gentoo org> CommitDate: Mon Jan 21 02:17:59 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5bf009c3 Added pkg_postinst() in order to refresh the timestamp and make the desktop environment regenerate the chace - otherwise the icon doesn't show up appropriately --- sci-biology/psychopy/psychopy-1.75.01.ebuild | 4 ++++ sci-biology/psychopy/psychopy-9999.ebuild | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/sci-biology/psychopy/psychopy-1.75.01.ebuild b/sci-biology/psychopy/psychopy-1.75.01.ebuild index 83f6287..ae5f474 100644 --- a/sci-biology/psychopy/psychopy-1.75.01.ebuild +++ b/sci-biology/psychopy/psychopy-1.75.01.ebuild @@ -47,3 +47,7 @@ src_install() { doicon psychopy/monitors/psychopy.ico make_desktop_entry psychopyapp.py PsychoPy psychopy "Science;Biology" } + +pkg_postinst() { + touch "${ROOT}/usr/share/icons/hicolor" +} diff --git a/sci-biology/psychopy/psychopy-9999.ebuild b/sci-biology/psychopy/psychopy-9999.ebuild index ff224d9..9e77c93 100644 --- a/sci-biology/psychopy/psychopy-9999.ebuild +++ b/sci-biology/psychopy/psychopy-9999.ebuild @@ -30,6 +30,10 @@ RDEPEND="${DEPEND} src_install() { distutils-r1_src_install - doicon psychopy/monitors/psychopy.ico - make_desktop_entry psychopyapp.py PsychoPy psychopy "Science;Biology" + newicon -s scalable psychopy/monitors/psychopy-icon.svg psychopy.svg + make_desktop_entry psychopyApp.py PsychoPy psychopy "Science;Biology" +} + +pkg_postinst() { + touch "${ROOT}/usr/share/icons/hicolor" }