public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-embedded/arduino: arduino-1.0.ebuild ChangeLog
@ 2012-02-10  0:09 Angelo Arrifano (miknix)
  0 siblings, 0 replies; 2+ messages in thread
From: Angelo Arrifano (miknix) @ 2012-02-10  0:09 UTC (permalink / raw
  To: gentoo-commits

miknix      12/02/10 00:09:27

  Modified:             ChangeLog
  Added:                arduino-1.0.ebuild
  Log:
  Version bump. I'll need to profile mask previous versions since upstream
  version has changed.
  
  (Portage version: 2.1.10.41/cvs/Linux x86_64)

Revision  Changes    Path
1.7                  dev-embedded/arduino/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/arduino/ChangeLog?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/arduino/ChangeLog?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/arduino/ChangeLog?r1=1.6&r2=1.7

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-embedded/arduino/ChangeLog,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ChangeLog	9 Feb 2012 22:56:21 -0000	1.6
+++ ChangeLog	10 Feb 2012 00:09:27 -0000	1.7
@@ -1,6 +1,12 @@
 # ChangeLog for dev-embedded/arduino
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/arduino/ChangeLog,v 1.6 2012/02/09 22:56:21 miknix Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/arduino/ChangeLog,v 1.7 2012/02/10 00:09:27 miknix Exp $
+
+*arduino-1.0 (10 Feb 2012)
+
+  10 Feb 2012; Angelo Arrifano <miknix@gentoo.org> +arduino-1.0.ebuild,
+  +files/arduino-1.0-prog_char-fix.patch, +files/arduino-1.0-script.patch:
+  Version bump, thanks Jess Haas for providing the ebuild, #303043
 
   09 Feb 2012; Angelo Arrifano <miknix@gentoo.org> metadata.xml:
   Add myself as maintaner, remove solar (with his permission)



1.1                  dev-embedded/arduino/arduino-1.0.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/arduino/arduino-1.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/arduino/arduino-1.0.ebuild?rev=1.1&content-type=text/plain

Index: arduino-1.0.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/arduino/arduino-1.0.ebuild,v 1.1 2012/02/10 00:09:27 miknix Exp $

EAPI=3
inherit eutils

DESCRIPTION="Arduino is an open-source AVR electronics prototyping platform"
HOMEPAGE="http://arduino.cc/"
SRC_URI="x86?   ( http://arduino.googlecode.com/files/${P}-linux.tgz )
		 amd64? ( http://arduino.googlecode.com/files/${P}-linux64.tgz )"

LICENSE="GPL-2 LGPL-2 CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
KEYWORDS="~x86 ~amd64"
RESTRICT="strip binchecks"
IUSE="+java"
RDEPEND="dev-embedded/avrdude
	sys-devel/crossdev"
DEPEND="${RDEPEND} java? (
	virtual/jre
	dev-embedded/uisp
	dev-java/jikes
	dev-java/jna
	>=dev-java/rxtx-2.2_pre2 )"

pkg_postinst() {
	ewarn "PLEASE NOTICE:"
	if [ ! -x /usr/bin/avr-g++ ]; then
		ewarn "avr-g++ is missing, if you need a toolchain please see"
		ewarn "http://en.gentoo-wiki.com/wiki/Crossdev#AVR_Architecture"
		ewarn ""
	fi
	ewarn "You will need >=cross-avr/gcc-4.4.1 if you intend to use the new"
	ewarn "Arduino Mega 2560."
}

src_prepare() {
	# avrdude has it's own ebuild
	rm -rf hardware/tools/avrdude*

	# fix deprecated prog_char usage in Print.cpp (#303043)
	epatch "${FILESDIR}"/${P}-prog_char-fix.patch

	# -java don't build IDE
	if ! use java; then
		rm -rf lib
		rm -f arduino
	else
		# fix the provided arduino script to call out the right
		# libraries, remove resetting of $PATH, and fix its
		# reference to LD_LIBRARY_PATH (see bug #189249)
		epatch "${FILESDIR}"/${P}-script.patch
	fi
}

src_install() {
	mkdir -p "${D}/usr/share/${P}/" "${D}/usr/bin"
	cp -a "${S}" "${D}/usr/share/" || die "Copying failed"

	if use java; then
		sed -e s@__PN__@${P}@g < "${FILESDIR}"/arduino \
			> "${D}/usr/bin/arduino" && chmod +x "${D}/usr/bin/arduino" \
			|| die "Creating run script failed"

		# get rid of libraries provided by other packages
		rm -f "${D}/usr/share/${P}/lib/RXTXcomm.jar"
		rm -f "${D}/usr/share/${P}/lib/jna.jar"
		rm -f "${D}/usr/share/${P}/lib/librxtxSerial.so"
		rm -f "${D}/usr/share/${P}/lib/librxtxSerial64.so"
		rm -f "${D}/usr/share/${P}/lib/ecj.jar"

		# use system avrdude
		# patching class files is too hard
		dosym /usr/bin/avrdude "/usr/share/${P}/hardware/tools/avrdude" \
			|| die "Couldn't symlink system avrdude files"
		dosym /etc/avrdude.conf "/usr/share/${P}/hardware/tools/avrdude.conf" \
			|| die "Couldn't symlink system avrdude files"
	fi
}






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-embedded/arduino: arduino-1.0.ebuild ChangeLog
@ 2012-02-10  0:50 Angelo Arrifano (miknix)
  0 siblings, 0 replies; 2+ messages in thread
From: Angelo Arrifano (miknix) @ 2012-02-10  0:50 UTC (permalink / raw
  To: gentoo-commits

miknix      12/02/10 00:50:47

  Modified:             arduino-1.0.ebuild ChangeLog
  Log:
  Add menu entry since upstream does not do it.
  
  (Portage version: 2.1.10.41/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  dev-embedded/arduino/arduino-1.0.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/arduino/arduino-1.0.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/arduino/arduino-1.0.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/arduino/arduino-1.0.ebuild?r1=1.1&r2=1.2

Index: arduino-1.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-embedded/arduino/arduino-1.0.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- arduino-1.0.ebuild	10 Feb 2012 00:09:27 -0000	1.1
+++ arduino-1.0.ebuild	10 Feb 2012 00:50:47 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/arduino/arduino-1.0.ebuild,v 1.1 2012/02/10 00:09:27 miknix Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/arduino/arduino-1.0.ebuild,v 1.2 2012/02/10 00:50:47 miknix Exp $
 
 EAPI=3
 inherit eutils
@@ -76,5 +76,11 @@
 			|| die "Couldn't symlink system avrdude files"
 		dosym /etc/avrdude.conf "/usr/share/${P}/hardware/tools/avrdude.conf" \
 			|| die "Couldn't symlink system avrdude files"
+
+		# install desktop icon
+		mkdir -p "${D}"/usr/share/applications
+		sed -e s@__P__@${P}@ < "${FILESDIR}"/arduino.desktop \
+			> "${D}"/usr/share/applications/arduino.desktop \
+			|| die "Failed to install desktop icon"
 	fi
 }



1.8                  dev-embedded/arduino/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/arduino/ChangeLog?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/arduino/ChangeLog?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/arduino/ChangeLog?r1=1.7&r2=1.8

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-embedded/arduino/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog	10 Feb 2012 00:09:27 -0000	1.7
+++ ChangeLog	10 Feb 2012 00:50:47 -0000	1.8
@@ -1,6 +1,10 @@
 # ChangeLog for dev-embedded/arduino
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/arduino/ChangeLog,v 1.7 2012/02/10 00:09:27 miknix Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/arduino/ChangeLog,v 1.8 2012/02/10 00:50:47 miknix Exp $
+
+  10 Feb 2012; Angelo Arrifano <miknix@gentoo.org> arduino-1.0.ebuild,
+  +files/arduino.desktop:
+  Add menu entry since upstream does not do it.
 
 *arduino-1.0 (10 Feb 2012)
 






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-10  0:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-10  0:50 [gentoo-commits] gentoo-x86 commit in dev-embedded/arduino: arduino-1.0.ebuild ChangeLog Angelo Arrifano (miknix)
  -- strict thread matches above, loose matches on Subject: below --
2012-02-10  0:09 Angelo Arrifano (miknix)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox