summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-05-22 19:58:35 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-05-22 19:58:35 +0000
commitee147bd56b7a45d462d9c554f365a014c3526396 (patch)
tree4d8f4c3da74fa93376c526d65fb7e15451fab525 /media-sound/lastfmplayer
parentFix description for previous commit. (diff)
downloadgentoo-2-ee147bd56b7a45d462d9c554f365a014c3526396.tar.gz
gentoo-2-ee147bd56b7a45d462d9c554f365a014c3526396.tar.bz2
gentoo-2-ee147bd56b7a45d462d9c554f365a014c3526396.zip
Fix wrapper to kill hanging processes prior to starting thanks to Heiko Baums <heiko@baums-on-web.de> in bug 178590
(Portage version: 2.1.2.7)
Diffstat (limited to 'media-sound/lastfmplayer')
-rw-r--r--media-sound/lastfmplayer/ChangeLog9
-rw-r--r--media-sound/lastfmplayer/files/digest-lastfmplayer-1.1.3-r2 (renamed from media-sound/lastfmplayer/files/digest-lastfmplayer-1.1.3-r1)0
-rw-r--r--media-sound/lastfmplayer/lastfmplayer-1.1.3-r2.ebuild (renamed from media-sound/lastfmplayer/lastfmplayer-1.1.3-r1.ebuild)5
3 files changed, 12 insertions, 2 deletions
diff --git a/media-sound/lastfmplayer/ChangeLog b/media-sound/lastfmplayer/ChangeLog
index de1266cd3d6f..7cbdf2202062 100644
--- a/media-sound/lastfmplayer/ChangeLog
+++ b/media-sound/lastfmplayer/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/lastfmplayer
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.16 2007/05/14 19:57:43 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.17 2007/05/22 19:58:35 genstef Exp $
+
+*lastfmplayer-1.1.3-r2 (22 May 2007)
+
+ 22 May 2007; Stefan Schweizer <genstef@gentoo.org>
+ -lastfmplayer-1.1.3-r1.ebuild, +lastfmplayer-1.1.3-r2.ebuild:
+ Fix wrapper to kill hanging processes prior to starting thanks to Heiko
+ Baums <heiko@baums-on-web.de> in bug 178590
14 May 2007; Stefan Schweizer <genstef@gentoo.org> +files/qt4.patch,
-lastfmplayer-1.0.0.1_p2113.ebuild, lastfmplayer-1.1.3-r1.ebuild:
diff --git a/media-sound/lastfmplayer/files/digest-lastfmplayer-1.1.3-r1 b/media-sound/lastfmplayer/files/digest-lastfmplayer-1.1.3-r2
index 2f5b667e9411..2f5b667e9411 100644
--- a/media-sound/lastfmplayer/files/digest-lastfmplayer-1.1.3-r1
+++ b/media-sound/lastfmplayer/files/digest-lastfmplayer-1.1.3-r2
diff --git a/media-sound/lastfmplayer/lastfmplayer-1.1.3-r1.ebuild b/media-sound/lastfmplayer/lastfmplayer-1.1.3-r2.ebuild
index 8c7082a0c857..ef8dc8984f1f 100644
--- a/media-sound/lastfmplayer/lastfmplayer-1.1.3-r1.ebuild
+++ b/media-sound/lastfmplayer/lastfmplayer-1.1.3-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.1.3-r1.ebuild,v 1.3 2007/05/14 19:57:43 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.1.3-r2.ebuild,v 1.1 2007/05/22 19:58:35 genstef Exp $
inherit eutils versionator
@@ -59,6 +59,9 @@ src_install() {
newicon data/icons/as.png lastfm.png
make_desktop_entry lastfm "Last.fm Player" lastfm.png
+ # make sure no hanging instance of lastfm is running
+ sed -i -e 's:exec:if ! ps aux | grep "^$USER.*last.fm.app" | grep Sl >/dev/null 2>\&1; then killall -u $USER last.fm.app >/dev/null 2>\&1; fi\nexec:' ${D}/usr/bin/lastfm
+
insinto /usr/share/services
doins ${FILESDIR}/lastfm.protocol
}