summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Arrifano <miknix@gentoo.org>2013-01-25 20:22:40 +0000
committerAngelo Arrifano <miknix@gentoo.org>2013-01-25 20:22:40 +0000
commit58f93a3b916b109f1c822f7917af2b37d19ad951 (patch)
tree4b85ee190e2932375c81a68618a6ef670fba5417 /dev-embedded
parent[bump] dev-perl/Nmap-Parser-1.300.0 (diff)
downloadhistorical-58f93a3b916b109f1c822f7917af2b37d19ad951.tar.gz
historical-58f93a3b916b109f1c822f7917af2b37d19ad951.tar.bz2
historical-58f93a3b916b109f1c822f7917af2b37d19ad951.zip
Add menu desktop file and icons, bug #453920
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64 Manifest-Sign-Key: 0x0720FC74
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/arduino/ChangeLog8
-rw-r--r--dev-embedded/arduino/Manifest13
-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
4 files changed, 27 insertions, 11 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/Manifest b/dev-embedded/arduino/Manifest
index fa16e139251e..cbb6dc1cf7ec 100644
--- a/dev-embedded/arduino/Manifest
+++ b/dev-embedded/arduino/Manifest
@@ -3,15 +3,16 @@ Hash: SHA256
AUX arduino-1.0.1-build.xml.patch 1732 SHA256 4637f8843a9abcafc7bfd95c247636248c8223419751159d5b323f6851de47b8 SHA512 a5317a131449f08fa272cd7d3bf477eedc69f354b771297bc20623277e79a2c1349299c14fba52689f015c71d6a19733fb8ee24de820e59c1aa2b3e2d7f2af42 WHIRLPOOL 5f598424c212c4e6bdd3126bb71867cf8e73c1b4fe5cb336507197ca77e138d4cf655f5fd55ced4f778a028558b761a4fca05a077b3a3b6f6d7624ada92f2b70
AUX arduino-1.0.3-script.patch 608 SHA256 1b77300bce911b5b697df0804c18b805f9ca52178451983336514aefa34ea53b SHA512 073f2adfc9066879a409a064599d9972ecf0110990a20d778d631fa24c35854831872a0ee220d80cfe996b9e6fa91ef00281a40c466b510a5ce635c59c84103a WHIRLPOOL e7953e567209c408b370c1d1771f38cac8ed875b9074f893c444481f5b6e2ad681516941a5152f0aa878c2678aac3e743c2c79d02e5aac994b29197d9996c2b4
-AUX arduino.desktop 228 SHA256 92a5ba03e4db99efd2a9dea5c5b7b6d2b0f5c512a73a73024f34cfd3db5b5fad SHA512 56bc26e0028fc3ccbe2595133ec35132d8897be5d1f711eb85e928f7263f9719386e4217b4fa8cb7d3d6be7dfa13efa1bf14a49e2d7e1d6d9828e8320d08f65a WHIRLPOOL 9ec7f299fd8f2a5b12c20a6f9eeca3bd344e5377aede60d766f31c387a1c4b8f89571b82e8cda25f0d8baaf01e7b2199df26303abf6d71256a55fbd6d7b7dc26
+AUX arduino.desktop 196 SHA256 707520d5c0075f9ad6663890d697e41f4a0b486bdb946469343c9fffced8b8db SHA512 d5c19162e7863ef3d1e4182caafafd090e2df98cb65b92aad01a3c68d793fe7f056939b920ab11666ab67fba4faa880ad4da599cad25206b8f22612c675cb3f1 WHIRLPOOL 9df9e95c443393a56e818b4892c7a7b41a7d0ec3220bffaa9dd9c767dfe9d3c1c9affc86b40baa00b27e2429fe59dfe7191a63f74e1f822312ddf851f712bb3d
DIST arduino-1.0.3-src.tar.gz 13454594 SHA256 b273aa72354cc9cdfee0bee48fe52d80c2454bb4537d329bd30e984d917c42ae SHA512 bc1f3ad4ca2385724c2e6845237176900d0c4e7cf65837b5380faf83d7fc2d0b20de43b0b83fd080bcdaf83dc0f2597723cb344960ced16d43c4b9ac2ab2f2a7 WHIRLPOOL 45fd0a0af4202bb77444ddfd2754d07f9960d7f5680966cb69da58aaf6ed87ea16f00323ec75e67c74dc959a7e99b0a93175e3177f7ddb1b566665698edd3fcc
-EBUILD arduino-1.0.3.ebuild 2405 SHA256 3117be4d15da9a455d035633b855a94ed73e3db752f5730f17b4adb1218db179 SHA512 7caf1e9e80c37848c352bbf13c7dd827fac6eeab4827e23befe2a8858dff7623ec7be41377872f668ff31e04d2b2fef467d408199f35a753bb3066e1728cdc3a WHIRLPOOL 603a74cdcfad423d746b5a8f9eba1a23bc46c88050a6059702b9b319d9c6f0a751f1fccf2f72019bd0dd69581762e9562193b3cd5f6aa84da8deed3d677673a8
-MISC ChangeLog 2650 SHA256 275c35862689fbb46eced5a70ccc24d8aaccc0fcf9fc01419aa613f8cfef3479 SHA512 42a01886004ae4002afe9d90c297daf8424272afce5381601e799e4dc81eab1250be6d50f1d6f6ad41b7743a6f72ed1a6966885f88c0b25d7c5c41ca7ec4e44a WHIRLPOOL da72c2a82dfb7b7330be7ed81d6f3c1bb8f7a50f441b1d0036fce567e4a42b5f7c7a3b5e074d2ff1f91df3b7b31f980c7dcdf236d99a1ad98c6b08cbb427a194
+DIST arduino-icons.tar.bz2 58775 SHA256 9086ae27a13cc19e428ed7e6434366752b33a7d066b5620bfdd371709277390e SHA512 b750e79d6117f5df619f2b765dad6e64f0ba4aa3314b0b6e00801577e3ea1f15951ba15efe7a00f5317285a19ac29ac41c78b71342f45cd164c794a42bafcdd9 WHIRLPOOL b53ab3ff2981ca9f6d45311b9f885ca831700a7a49fef4a376cdc489f7cc3a6c39fbb93994b962b6854b0833d7342b951b5c6327422aafce762f92952b7a5876
+EBUILD arduino-1.0.3-r1.ebuild 2661 SHA256 202e25765f9ef7941db95a1c4d00b0b524806373209b3f925743f8d6a2e5c21b SHA512 3263065a76b773f03dc1572a61c5330e4b0e9f3bd9078dc71e2596c8ac667e86242d28ed1fceab37897ffa7c211d36002848aa2fa8fc9eb1b50f697c63daa507 WHIRLPOOL 8a63e8318e161a286fbe15417ca21a9720be5b0a34a81d2216e3378d175af8c39aacda02953f67944dc5b6473730017776718a12d9f5bab9249ba7d875801f67
+MISC ChangeLog 2856 SHA256 3c5d3a34ab09be48b3a3e026cec3fa3f3d491603582ba3579521234be4eb8749 SHA512 111c77eabfdb493d30cd579f1fb3f2808b98cd45b23f910098de7b7259900c6dc5022ac9ee9c15e462c61cdc9e799deda6f20472daffde7499b6c7ea474524ec WHIRLPOOL ec2642d83eef3113ae57bd1f122c341fd5ba39f1af1d7a2a725691d35e70962c7d68e9043a9f2d305cbcfbcfd8d7bbd810074512bac09e338afdf6c84e3c82e5
MISC metadata.xml 297 SHA256 73f1c4f65508f6e26aa3cb95609ee4f77f687931075c073c58a81344ce1e46d8 SHA512 6c632405492215967b3132694f162d5abf89d814b25d37fc5ec18e928ad31633342e9201e3a5d232adbc01cac9aac7dfcc19306a56c3784af107240816eb79bf WHIRLPOOL 67f9f3a5252fd0a62e516a8fe49a5417463549535254afd244f476bc91e5b57b79c35e6f902b248a9051825645ba69b58471b8fc0f827d7c29dd5a770ba9826e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlDrODcACgkQbkqODQcg/HSs4gCePlP7tbVlrRT+3FF2CS8Tvi0H
-a38Ani0MiADC3fDk9GVn8gpS/iFcENT0
-=7q9A
+iEYEAREIAAYFAlEC6hgACgkQbkqODQcg/HTIcgCeOc8S3gN9goZV0xYr7yeTnDgZ
+dzsAmwao44rm3a7iAOelCv/IbNa4EhkD
+=pjZB
-----END PGP SIGNATURE-----
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;