summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Arrifano <miknix@gentoo.org>2013-01-25 20:22:31 +0000
committerAngelo Arrifano <miknix@gentoo.org>2013-01-25 20:22:31 +0000
commit876124d371903172aac801f6132a836fde120a61 (patch)
treed9376115eafc47fc7a0eaf9b2283f97440d7a6d2
parent[bump] dev-perl/Nmap-Parser-1.300.0 (diff)
downloadgentoo-2-876124d371903172aac801f6132a836fde120a61.tar.gz
gentoo-2-876124d371903172aac801f6132a836fde120a61.tar.bz2
gentoo-2-876124d371903172aac801f6132a836fde120a61.zip
Add menu desktop file and icons, bug #453920
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0720FC74)
-rw-r--r--dev-embedded/arduino/ChangeLog8
-rw-r--r--dev-embedded/arduino/arduino-1.0.3-r1.ebuild (renamed from dev-embedded/arduino/arduino-1.0.3.ebuild)15
-rw-r--r--dev-embedded/arduino/files/arduino.desktop2
3 files changed, 20 insertions, 5 deletions
diff --git a/dev-embedded/arduino/ChangeLog b/dev-embedded/arduino/ChangeLog
index ca9f84cab116..35ce091114b4 100644
--- a/dev-embedded/arduino/ChangeLog
+++ b/dev-embedded/arduino/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-embedded/arduino
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/arduino/ChangeLog,v 1.10 2013/01/07 21:01:59 miknix Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/arduino/ChangeLog,v 1.11 2013/01/25 20:22:31 miknix Exp $
+
+*arduino-1.0.3-r1 (25 Jan 2013)
+
+ 25 Jan 2013; Angelo Arrifano <miknix@gentoo.org> -arduino-1.0.3.ebuild,
+ +arduino-1.0.3-r1.ebuild, files/arduino.desktop:
+ Add menu desktop file and icons, bug #453920
*arduino-1.0.3 (07 Jan 2013)
diff --git a/dev-embedded/arduino/arduino-1.0.3.ebuild b/dev-embedded/arduino/arduino-1.0.3-r1.ebuild
index 8feb5163df42..90146454ad83 100644
--- a/dev-embedded/arduino/arduino-1.0.3.ebuild
+++ b/dev-embedded/arduino/arduino-1.0.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/arduino/arduino-1.0.3.ebuild,v 1.1 2013/01/07 21:01:59 miknix Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/arduino/arduino-1.0.3-r1.ebuild,v 1.1 2013/01/25 20:22:31 miknix Exp $
EAPI=4
JAVA_PKG_IUSE="doc examples"
@@ -9,8 +9,9 @@ inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="An open-source AVR electronics prototyping platform"
HOMEPAGE="http://arduino.cc/ http://arduino.googlecode.com/"
-SRC_URI="http://${PN}.googlecode.com/files/${P}-src.tar.gz"
-LICENSE="GPL-2 LGPL-2 CCPL-Attribution-ShareAlike-3.0"
+SRC_URI="http://${PN}.googlecode.com/files/${P}-src.tar.gz
+mirror://gentoo/arduino-icons.tar.bz2"
+LICENSE="GPL-2 GPL-2+ LGPL-2 CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
KEYWORDS="~x86 ~amd64"
RESTRICT="strip binchecks"
@@ -79,6 +80,14 @@ src_install() {
# patching class files is too hard
dosym /usr/bin/avrdude "/usr/share/${PN}/hardware/tools/avrdude"
dosym /etc/avrdude.conf "/usr/share/${PN}/hardware/tools/avrdude.conf"
+
+ # install menu and icons
+ domenu "${FILESDIR}/${PN}.desktop"
+ for sz in 16 24 32 48 128 256; do
+ newicon -s $sz \
+ "${WORKDIR}/${PN}-icons/debian_icons_${sz}x${sz}_apps_${PN}.png" \
+ "${PN}.png"
+ done
}
pkg_postinst() {
diff --git a/dev-embedded/arduino/files/arduino.desktop b/dev-embedded/arduino/files/arduino.desktop
index e435cdbd770e..b75dea564b5d 100644
--- a/dev-embedded/arduino/files/arduino.desktop
+++ b/dev-embedded/arduino/files/arduino.desktop
@@ -3,7 +3,7 @@ Version=1.0
Name=arduino
Comment=Open-source electronics prototyping platform
Exec=arduino
-Icon=/usr/share/__P__/reference/img/logo.png
+Icon=arduino
Terminal=false
Type=Application
Categories=Development;