summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-12-10 07:25:47 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-12-10 07:25:47 +0000
commit6515091e07905524af8ce6c9be35889d3a65229e (patch)
tree40cd407a799ca896cd98e7cbe45b4914d9a7ea74 /net-p2p
parentStable for HPPA (bug #201175). (diff)
downloadgentoo-2-6515091e07905524af8ce6c9be35889d3a65229e.tar.gz
gentoo-2-6515091e07905524af8ce6c9be35889d3a65229e.tar.bz2
gentoo-2-6515091e07905524af8ce6c9be35889d3a65229e.zip
Use make_desktop_entry so that we get a .desktop file that passes desktop-file-validate.
(Portage version: 2.1.4_rc3)
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/nicotine/ChangeLog9
-rw-r--r--net-p2p/nicotine/files/nicotine.desktop9
-rw-r--r--net-p2p/nicotine/nicotine-1.0.8.ebuild10
3 files changed, 11 insertions, 17 deletions
diff --git a/net-p2p/nicotine/ChangeLog b/net-p2p/nicotine/ChangeLog
index 62633530857c..90796dd9f866 100644
--- a/net-p2p/nicotine/ChangeLog
+++ b/net-p2p/nicotine/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-p2p/nicotine
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/nicotine/ChangeLog,v 1.27 2006/10/30 02:55:18 the_paya Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/nicotine/ChangeLog,v 1.28 2007/12/10 07:25:47 betelgeuse Exp $
+
+ 10 Dec 2007; Petteri Räty <betelgeuse@gentoo.org>
+ -files/nicotine.desktop, nicotine-1.0.8.ebuild:
+ Use make_desktop_entry so that we get a .desktop file that passes
+ desktop-file-validate.
30 Oct 2006; Javier Villavicencio <the_paya@gentoo.org>
nicotine-1.0.8.ebuild:
diff --git a/net-p2p/nicotine/files/nicotine.desktop b/net-p2p/nicotine/files/nicotine.desktop
deleted file mode 100644
index 3c7265c9fe5d..000000000000
--- a/net-p2p/nicotine/files/nicotine.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=Nicotine
-Comment=Nicotine SoulSeek Client
-Exec=nicotine
-Icon=nicotine-n.png
-Terminal=false
-Categories=Application;Network;
-Type=Application
diff --git a/net-p2p/nicotine/nicotine-1.0.8.ebuild b/net-p2p/nicotine/nicotine-1.0.8.ebuild
index eeae67661093..a9d2d0956f18 100644
--- a/net-p2p/nicotine/nicotine-1.0.8.ebuild
+++ b/net-p2p/nicotine/nicotine-1.0.8.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/nicotine/nicotine-1.0.8.ebuild,v 1.9 2007/07/13 05:52:07 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/nicotine/nicotine-1.0.8.ebuild,v 1.10 2007/12/10 07:25:47 betelgeuse Exp $
inherit distutils
@@ -25,9 +25,7 @@ src_install() {
distutils_src_install
- insinto /usr/share/pixmaps
- doins ${FILESDIR}/nicotine-n.png
+ doicon "${FILESDIR}/nicotine-n.png"
- insinto /usr/share/applications
- doins ${FILESDIR}/${PN}.desktop
+ make_desktop_entry nicotine Nicotine nicotine-n
}