From c4fa935ca28712c8d4638fc4fc0b662add8d77b2 Mon Sep 17 00:00:00 2001 From: Sandro Bonazzola Date: Mon, 4 Dec 2006 21:41:00 +0000 Subject: [PATCH] =?utf8?q?Version=20bumped=20(bug=20#156856).=20It=20inclu?= =?utf8?q?des=20upstream=20bug=20fix=20for=20bug=20#145870.=20Thanks=20to?= =?utf8?q?=20Aur=C3=A9lien=20for=20the=20report=20and=20testing.=20Package?= =?utf8?q?-Manager:=20portage-2.1.2=5Frc2-r5?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- dev-tinyos/nesc/ChangeLog | 8 ++- dev-tinyos/nesc/Manifest | 22 ++++--- dev-tinyos/nesc/files/digest-nesc-1.2.8 | 3 + dev-tinyos/nesc/nesc-1.2.8.ebuild | 84 +++++++++++++++++++++++++ 4 files changed, 109 insertions(+), 8 deletions(-) create mode 100644 dev-tinyos/nesc/files/digest-nesc-1.2.8 create mode 100644 dev-tinyos/nesc/nesc-1.2.8.ebuild diff --git a/dev-tinyos/nesc/ChangeLog b/dev-tinyos/nesc/ChangeLog index 78bf3b3bfe1f..cb3dd5756540 100644 --- a/dev-tinyos/nesc/ChangeLog +++ b/dev-tinyos/nesc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-tinyos/nesc # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/nesc/ChangeLog,v 1.12 2006/11/14 21:32:58 sanchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/nesc/ChangeLog,v 1.13 2006/12/04 21:41:00 sanchan Exp $ + +*nesc-1.2.8 (04 Dec 2006) + + 04 Dec 2006; Sandro Bonazzola +nesc-1.2.8.ebuild: + Version bumped (bug #156856). It includes upstream bug fix for bug #145870. + Thanks to Aurélien for the report and testing. 14 Nov 2006; Sandro Bonazzola +files/nesc-1.2.7a-alignment.patch, -nesc-1.2.4-r1.ebuild, diff --git a/dev-tinyos/nesc/Manifest b/dev-tinyos/nesc/Manifest index 360b45b82879..cca132aa9da1 100644 --- a/dev-tinyos/nesc/Manifest +++ b/dev-tinyos/nesc/Manifest @@ -6,14 +6,19 @@ MD5 d993fba703f36fd9b54d7ba6d5fb3d23 files/nesc-1.2.7a-alignment.patch 848 RMD160 e1ea06aa6b5e4dc208d132854ee98a3b375a9773 files/nesc-1.2.7a-alignment.patch 848 SHA256 04e86b9eae9ea24e4e0dd33686f0422bf3dac7f8a89de3da90d512426a4c35c1 files/nesc-1.2.7a-alignment.patch 848 DIST nesc-1.2.7a.tar.gz 1156734 RMD160 c322df1521f3cd8961c2de81d13e59ffdd1bede0 SHA1 d254958ff222f359741bd58a1a3cfba45e3b8822 SHA256 f2f63cac8d72b0a9ffbdd65472018ce9194d9ef89f8ef7d0e33180a4818455e1 +DIST nesc-1.2.8.tar.gz 1164224 RMD160 cdd01ec767be7df5ca2498995b9046c53d79d3af SHA1 9bfad5123486c976f38c71ffa03db43dd5fa7d82 SHA256 b00acea4728943ae4cce83df0e1e819e88ad0a577e617757c8362ac46df6b03d EBUILD nesc-1.2.7a.ebuild 1937 RMD160 cc655073e9b141a2c4cb84df88a3b066c606ede0 SHA1 f757746b4c70b3302cee3719c8a3476649a9ee54 SHA256 5912600f6cc705df0ef46ddd105bce17fcc98c783215e0907001af0bc5f2828d MD5 0be850001d75eb677203e5a133aa134f nesc-1.2.7a.ebuild 1937 RMD160 cc655073e9b141a2c4cb84df88a3b066c606ede0 nesc-1.2.7a.ebuild 1937 SHA256 5912600f6cc705df0ef46ddd105bce17fcc98c783215e0907001af0bc5f2828d nesc-1.2.7a.ebuild 1937 -MISC ChangeLog 2813 RMD160 0a010e477b997d365a3a2121b5bf8ab643671a5c SHA1 a0207cb6033bcc7e4c3a58e05b54090f45b6b4f1 SHA256 cd4806885cde8d4b8efef027f0e16e541237d2bd0ec593b1cf16624548719130 -MD5 61ed01bc240c087f8cf0bad98dd45bfa ChangeLog 2813 -RMD160 0a010e477b997d365a3a2121b5bf8ab643671a5c ChangeLog 2813 -SHA256 cd4806885cde8d4b8efef027f0e16e541237d2bd0ec593b1cf16624548719130 ChangeLog 2813 +EBUILD nesc-1.2.8.ebuild 2495 RMD160 494fa9ab00c63016bc39ab2dc27e5c4f9b76e137 SHA1 a33d46137b0f792046e9a134465dab5377ebc0eb SHA256 898f10bc8e2d95920960f60fe99f06ed959921762744abb5afa11c9f9cc8e88a +MD5 c5effef0e81c9cb0abc2a51d89a62606 nesc-1.2.8.ebuild 2495 +RMD160 494fa9ab00c63016bc39ab2dc27e5c4f9b76e137 nesc-1.2.8.ebuild 2495 +SHA256 898f10bc8e2d95920960f60fe99f06ed959921762744abb5afa11c9f9cc8e88a nesc-1.2.8.ebuild 2495 +MISC ChangeLog 3042 RMD160 0e0e0159df7d1f64bdf5647e7c423ffad2249c53 SHA1 d311381f22f684099a82df8cb38614dd6389d3d2 SHA256 04e8c8026c54ebe689d59e6e23ead29e0620e76ba7a8ee30ae8e58d99f3fa8c9 +MD5 4d0def599627484a884db22bd8616ba5 ChangeLog 3042 +RMD160 0e0e0159df7d1f64bdf5647e7c423ffad2249c53 ChangeLog 3042 +SHA256 04e8c8026c54ebe689d59e6e23ead29e0620e76ba7a8ee30ae8e58d99f3fa8c9 ChangeLog 3042 MISC metadata.xml 498 RMD160 c1c33fc6231b7c0412007819b16b4f8ba5414e3d SHA1 b2725eb28a143b25648edca7b3bacb1880b34d28 SHA256 5be46a3ff148d08d2359999777175bb7e01ffc1d9e3684e796c2fee66d58dad7 MD5 270435754d4f1bea3d74c4b5cf8b2abe metadata.xml 498 RMD160 c1c33fc6231b7c0412007819b16b4f8ba5414e3d metadata.xml 498 @@ -21,10 +26,13 @@ SHA256 5be46a3ff148d08d2359999777175bb7e01ffc1d9e3684e796c2fee66d58dad7 metadata MD5 9ef6bafd28647f3af6a3d4ddb1e0362a files/digest-nesc-1.2.7a 238 RMD160 08d49258a9983642a7d529f41b71b685df9bb303 files/digest-nesc-1.2.7a 238 SHA256 36fb9b6793c161f27fed92f90ebe88c84b578f79723ace814e09ea167e8239ce files/digest-nesc-1.2.7a 238 +MD5 cf24981a46d82e463f97af8ce1fb9ed7 files/digest-nesc-1.2.8 235 +RMD160 751ae5e8b8c5069a76f23cf8f6819497740906e5 files/digest-nesc-1.2.8 235 +SHA256 b08cf11bef73d8d926074fa9adeb96afc035d8d27b598497495483a332d4037a files/digest-nesc-1.2.8 235 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFWjTtwmS/YhfgUiURAogcAJwPaBg9WzCUNDwOT5GiXz3TQav3dACgos/Z -Uzcg5Ss0N9LGg3ngYCi9hU8= -=1NMF +iD8DBQFFdJTYwmS/YhfgUiURAroiAJsEW4t6UxA2gWBL4dwi/V6F4gVl+wCdHBGf +XKKhdflJgEMKRNEKHklvJdY= +=UGcM -----END PGP SIGNATURE----- diff --git a/dev-tinyos/nesc/files/digest-nesc-1.2.8 b/dev-tinyos/nesc/files/digest-nesc-1.2.8 new file mode 100644 index 000000000000..7ec0b0663117 --- /dev/null +++ b/dev-tinyos/nesc/files/digest-nesc-1.2.8 @@ -0,0 +1,3 @@ +MD5 dafaa93d87a608a654914f5e410a31a7 nesc-1.2.8.tar.gz 1164224 +RMD160 cdd01ec767be7df5ca2498995b9046c53d79d3af nesc-1.2.8.tar.gz 1164224 +SHA256 b00acea4728943ae4cce83df0e1e819e88ad0a577e617757c8362ac46df6b03d nesc-1.2.8.tar.gz 1164224 diff --git a/dev-tinyos/nesc/nesc-1.2.8.ebuild b/dev-tinyos/nesc/nesc-1.2.8.ebuild new file mode 100644 index 000000000000..0a020a26eb50 --- /dev/null +++ b/dev-tinyos/nesc/nesc-1.2.8.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/nesc/nesc-1.2.8.ebuild,v 1.1 2006/12/04 21:41:00 sanchan Exp $ + +inherit eutils java-pkg-2 + +DESCRIPTION="An extension to gcc that knows how to compile nesC applications" +HOMEPAGE="http://nescc.sourceforge.net/" +SRC_URI="mirror://sourceforge/nescc/${P}.tar.gz" +LICENSE="GPL-2 Intel" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="doc" +DEPEND=">=dev-lang/perl-5.8.5-r2 + >=dev-tinyos/tos-1.1.0 + >=virtual/jdk-1.4.2" + +RDEPEND=">=dev-lang/perl-5.8.5-r2 + >=dev-tinyos/tos-1.1.0 + >=virtual/jre-1.4.2 + dev-perl/XML-Simple + media-gfx/graphviz" + +pkg_setup() { + if [ -z "${TOSDIR}" ] + then + # best to make an assumption + export TOSDIR=/usr/src/tinyos-1.x/tos + fi + + if [ ! -d "${TOSDIR}" ] + then + eerror "In order to compile nesc you have to set the" + eerror "\$TOSDIR environment properly." + eerror "" + eerror "You can achieve this by emerging >=dev-tinyos/tos-1.1.15" + eerror "or by exporting TOSDIR=\"path to your tinyos dir\"" + die "Couldn't find a valid TinyOS home" + else + einfo "Building nesC for ${TOSDIR}" + fi + + java-pkg-2_pkg_setup +} + +src_compile() { + econf --disable-dependency-tracking || die "econf failed" + # language setting needed, otherwise gcc version + # will sometimes not be detected right + LANGUAGE=C emake || die "emake failed" +} + +src_install() { + LANGUAGE=C einstall || die "einstall failed" + + if use doc + then + dohtml -r -a html,jpg,pdf,txt doc/* + fi + + newdoc README NEWS + newdoc tools/java/net/tinyos/nesc/dump/README README.dump + newdoc tools/java/net/tinyos/nesc/wiring/README README.wiring +} + +pkg_postinst() { + elog "To install a nesC editor mode (currently, emacs, vim, kde):" + elog "Read /usr/share/ncc/editor-modes//readme.txt" + elog "" + elog "To use nesC with the Atmel AVR processors or the TI MSP processors you" + elog "need the avr-gcc and msp430-gcc packages, and the corresponding GNU" + elog "binutils (avr-binutils and msp430-binutils respectively)." + elog "# emerge crossdev" + elog "# crossdev -t avr" + elog "# crossdev -t msp430" + elog "" + elog "You can use gcc <= 3.4.6 and binutils <= 2.16.1-r3 if you need $ in" + elog "symbol names on avr or you can pass the -fnesc-separator=__ option to" + elog "nescc (ncc if using TinyOS) to use __ rather than $ in generated code." + elog "Example: PFLAGS=\"-fnesc-separator=__\" make mica2" + elog "See the nescc man page for details." + ebeep 5 + epause 5 +} -- 2.26.2