summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2007-06-25 12:08:41 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2007-06-25 12:08:41 +0000
commit83f662bdd8414772c34a4fdc5fb13bc37d979249 (patch)
treed2fa39766e6be2db0f3cbd1fd8dddbbb54ef85c7 /net-misc/nxclient
parentia64/x86 stable wrt #183050 (diff)
downloadgentoo-2-83f662bdd8414772c34a4fdc5fb13bc37d979249.tar.gz
gentoo-2-83f662bdd8414772c34a4fdc5fb13bc37d979249.tar.bz2
gentoo-2-83f662bdd8414772c34a4fdc5fb13bc37d979249.zip
Better handling of the icon files
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'net-misc/nxclient')
-rw-r--r--net-misc/nxclient/ChangeLog7
-rw-r--r--net-misc/nxclient/nxclient-3.0.0.ebuild17
2 files changed, 18 insertions, 6 deletions
diff --git a/net-misc/nxclient/ChangeLog b/net-misc/nxclient/ChangeLog
index 3f396440d833..b0092367da4d 100644
--- a/net-misc/nxclient/ChangeLog
+++ b/net-misc/nxclient/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/nxclient
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nxclient/ChangeLog,v 1.43 2007/06/23 14:25:24 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxclient/ChangeLog,v 1.44 2007/06/25 12:08:41 voyageur Exp $
+
+ 25 Jun 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxclient-3.0.0.ebuild:
+ Better handling of the icon files
+ Thanks Henning Schild <henning@wh9.tu-dresden.de> in bug #183037
23 Jun 2007; Bernard Cafarelli <voyageur@gentoo.org>
nxclient-3.0.0.ebuild:
diff --git a/net-misc/nxclient/nxclient-3.0.0.ebuild b/net-misc/nxclient/nxclient-3.0.0.ebuild
index b47bf171f5a8..610af6d71a4c 100644
--- a/net-misc/nxclient/nxclient-3.0.0.ebuild
+++ b/net-misc/nxclient/nxclient-3.0.0.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/net-misc/nxclient/nxclient-3.0.0.ebuild,v 1.2 2007/06/23 14:25:24 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxclient/nxclient-3.0.0.ebuild,v 1.3 2007/06/25 12:08:41 voyageur Exp $
inherit eutils
@@ -53,8 +53,15 @@ src_install()
cp -R share ${D}/usr/NX
# Add icons/desktop entries (missing in the tarball)
- doicon share/icons/48x48/*.png
- make_desktop_entry "nxclient" "NX Client" nxclient-icon.png
- make_desktop_entry "nxclient -admin" "NX Session Administrator" nxclient-admin.png
- make_desktop_entry "nxclient -wizard" "NX Connection Wizard" nxclient-wizard.png
+ cd share/icons
+ for size in *; do
+ dodir /usr/share/icons/hicolor/${size}/apps
+ for icon in admin desktop icon wizard; do
+ dosym /usr/NX/share/icons/${size}/nxclient-${icon}.png \
+ /usr/share/icons/hicolor/${size}/apps
+ done
+ done
+ make_desktop_entry "nxclient" "NX Client" nxclient-icon
+ make_desktop_entry "nxclient -admin" "NX Session Administrator" nxclient-admin
+ make_desktop_entry "nxclient -wizard" "NX Connection Wizard" nxclient-wizard
}