public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/psychopy/
Date: Sun, 27 Jan 2013 19:25:07 +0000 (UTC)	[thread overview]
Message-ID: <1358734679.5bf009c3789287402201de27801fe4c281051723.jlec@gentoo> (raw)

commit:     5bf009c3789287402201de27801fe4c281051723
Author:     TheChymera <h.chr <AT> mail <DOT> ru>
AuthorDate: Mon Jan 21 02:17:59 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> 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"
 }


             reply	other threads:[~2013-01-27 19:25 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-27 19:25 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-27 10:25 [gentoo-commits] proj/sci:master commit in: sci-biology/psychopy/ Horea Christian
2020-09-26  9:56 Horea Christian
2016-12-06 19:45 Christoph Junghans
2016-11-12  9:29 Justin Lecher
2016-10-12  6:30 Marius Brehler
2016-09-07 13:08 Marius Brehler
2016-08-23 20:17 Justin Lecher
2016-07-25 18:52 Justin Lecher
2016-01-18 16:31 Justin Lecher
2016-01-18 16:31 Justin Lecher
2016-01-18 16:31 Justin Lecher
2016-01-18 16:31 Justin Lecher
2016-01-18 16:31 Justin Lecher
2015-04-02 10:34 Justin Lecher
2015-02-18 16:41 Justin Lecher
2014-01-06 19:27 Justin Lecher
2013-09-04  5:11 Kacper Kowalik
2013-09-04  5:11 Kacper Kowalik
2013-09-04  5:11 Kacper Kowalik
2013-09-04  5:11 Kacper Kowalik
2013-09-04  5:11 Kacper Kowalik
2013-09-04  5:11 Kacper Kowalik
2013-06-10 11:57 Justin Lecher
2013-06-10 11:25 Justin Lecher
2013-01-28 17:48 Kacper Kowalik
2013-01-27 19:25 Justin Lecher
2013-01-27 19:25 Justin Lecher
2013-01-27 19:25 Justin Lecher
2013-01-27 19:25 Justin Lecher
2013-01-27 19:25 Justin Lecher
2013-01-27 19:25 Justin Lecher
2013-01-27 19:25 Justin Lecher
2013-01-27 19:25 Justin Lecher
2012-11-11  9:50 Reinis Danne
2012-11-11  9:50 Reinis Danne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1358734679.5bf009c3789287402201de27801fe4c281051723.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox