From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 21 02:30:17 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C6F04106566C for ; Sat, 21 Jul 2012 02:30:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D01398FC0C for ; Sat, 21 Jul 2012 02:30:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6L2UElq080403 for ; Sat, 21 Jul 2012 02:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6L2UEdR080400; Sat, 21 Jul 2012 02:30:14 GMT (envelope-from gnats) Date: Sat, 21 Jul 2012 02:30:14 GMT Message-Id: <201207210230.q6L2UEdR080400@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Craig Leres Cc: Subject: Re: ports/163806: New port: devel/arduino-lib-irremote: A Multi-Protocol Infrared Remote Library for the Arduino X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Craig Leres List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2012 02:30:17 -0000 The following reply was made to PR ports/163806; it has been noted by GNATS. From: Craig Leres To: Pawel Pekala Cc: bug-followup@FreeBSD.org Subject: Re: ports/163806: New port: devel/arduino-lib-irremote: A Multi-Protocol Infrared Remote Library for the Arduino Date: Fri, 20 Jul 2012 19:23:34 -0700 This is a multi-part message in MIME format. --------------050401000102020105070904 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit On 07/20/12 09:40, Pawel Pekala wrote: > Please resubmit shar as a attachment and I will take a look at it. Thank you! Craig --------------050401000102020105070904 Content-Type: text/plain; charset=us-ascii; name="arduino-irremote-0.1-10.shar" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="arduino-irremote-0.1-10.shar" # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # files/patch-IRremoteInt.h # pkg-descr # distinfo # Makefile # echo x - files/patch-IRremoteInt.h sed 's/^X//' >files/patch-IRremoteInt.h << '29931596181fcef18a74f698a7ef74c6' X--- IRremoteInt.h.orig 2009-09-05 23:55:48.000000000 -0700 X+++ IRremoteInt.h 2011-12-27 15:40:59.000000000 -0800 X@@ -12,12 +12,16 @@ X #ifndef IRremoteint_h X #define IRremoteint_h X X+#if defined(ARDUINO) && ARDUINO >= 100 X+#include X+#else X #include X+#endif X X #define CLKFUDGE 5 // fudge factor for clock interrupt overhead X #define CLK 256 // max value for clock (timer 2) X #define PRESCALE 8 // timer2 clock prescale X-#define SYSCLOCK 16000000 // main Arduino clock X+#define SYSCLOCK F_CPU // main Arduino clock X #define CLKSPERUSEC (SYSCLOCK/PRESCALE/1000000) // timer clocks per microsecond X X #define ERR 0 29931596181fcef18a74f698a7ef74c6 echo x - pkg-descr sed 's/^X//' >pkg-descr << '7f9555c3c1089940396b503dd37f3979' XA Multi-Protocol Infrared Remote Library for the Arduino X XThis IR remote library, written by Ken Shirriff, lets you both send Xand receive IR remote codes in multiple protocols. It supports NEC, XSony SIRC, Philips RC5, Philips RC6, and raw protocols. X XWWW: http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html 7f9555c3c1089940396b503dd37f3979 echo x - distinfo sed 's/^X//' >distinfo << '57677d168a5ec21bdf22c9501f075a8f' XSHA256 (IRremote.zip) = 2eff9847285330796b1fc8bf007f4a2f16dea7546ba1fcbaef1592a2235a60d4 XSIZE (IRremote.zip) = 23732 57677d168a5ec21bdf22c9501f075a8f echo x - Makefile sed 's/^X//' >Makefile << 'b67911656ef5d18c4ae36cb6741b7965' X# New ports collection makefile for: arduino-irremote X# Date created: 02 Apr 2011 X# Whom: Craig Leres X# X# $FreeBSD$ X# X XPORTNAME= arduino-irremote XPORTVERSION= 0.1 XCATEGORIES= devel XMASTER_SITES= http://files.arcfn.com/files/ XDISTNAME= IRremote X XMAINTAINER= leres@ee.lbl.gov XCOMMENT= Build Arduino sketches from the command line X XLICENSE= LGPL21 X XRUN_DEPENDS= arduino:${PORTSDIR}/devel/arduino X XWRKSRC= ${WRKDIR}/IRremote XUSE_ZIP= yes XUSE_DOS2UNIX= yes X XNO_BUILD= yes X XPLIST_FILES= arduino/libraries/IRremote/IRremote.cpp \ X arduino/libraries/IRremote/IRremote.h \ X arduino/libraries/IRremote/IRremoteInt.h \ X arduino/libraries/IRremote/keywords.txt XPLIST_DIRS= arduino/libraries/IRremote X X.if !defined(NOPORTEXAMPLES) XPLIST_FILES+= ${EXAMPLESDIR_REL}/IRrecord/IRrecord.pde \ X ${EXAMPLESDIR_REL}/IRrecvDemo/IRrecvDemo.pde \ X ${EXAMPLESDIR_REL}/IRrecvDump/IRrecvDump.pde \ X ${EXAMPLESDIR_REL}/IRrelay/IRrelay.pde \ X ${EXAMPLESDIR_REL}/IRsendDemo/IRsendDemo.pde \ X ${EXAMPLESDIR_REL}/IRtest/IRtest.pde XPLIST_DIRS+= ${EXAMPLESDIR_REL}/IRrecord \ X ${EXAMPLESDIR_REL}/IRrecvDemo \ X ${EXAMPLESDIR_REL}/IRrecvDump \ X ${EXAMPLESDIR_REL}/IRrelay \ X ${EXAMPLESDIR_REL}/IRsendDemo \ X ${EXAMPLESDIR_REL}/IRtest \ X ${EXAMPLESDIR_REL} X.endif X Xdo-install: X ${MKDIR} ${PREFIX}/arduino/libraries/IRremote X ${INSTALL_DATA} ${WRKSRC}/IRremote.cpp ${PREFIX}/arduino/libraries/IRremote X ${INSTALL_DATA} ${WRKSRC}/IRremote.h ${PREFIX}/arduino/libraries/IRremote X ${INSTALL_DATA} ${WRKSRC}/IRremoteInt.h ${PREFIX}/arduino/libraries/IRremote X ${INSTALL_DATA} ${WRKSRC}/keywords.txt ${PREFIX}/arduino/libraries/IRremote X.if !defined(NOPORTEXAMPLES) X ${MKDIR} ${EXAMPLESDIR} X ${MKDIR} ${EXAMPLESDIR}/IRrecord X ${INSTALL_DATA} ${WRKSRC}/examples/IRrecord/IRrecord.pde ${EXAMPLESDIR}/IRrecord X ${MKDIR} ${EXAMPLESDIR}/IRrecvDemo X ${INSTALL_DATA} ${WRKSRC}/examples/IRrecvDemo/IRrecvDemo.pde ${EXAMPLESDIR}/IRrecvDemo X ${MKDIR} ${EXAMPLESDIR}/IRrecvDump X ${INSTALL_DATA} ${WRKSRC}/examples/IRrecvDump/IRrecvDump.pde ${EXAMPLESDIR}/IRrecvDump X ${MKDIR} ${EXAMPLESDIR}/IRrelay X ${INSTALL_DATA} ${WRKSRC}/examples/IRrelay/IRrelay.pde ${EXAMPLESDIR}/IRrelay X ${MKDIR} ${EXAMPLESDIR}/IRsendDemo X ${INSTALL_DATA} ${WRKSRC}/examples/IRsendDemo/IRsendDemo.pde ${EXAMPLESDIR}/IRsendDemo X ${MKDIR} ${EXAMPLESDIR}/IRtest X ${INSTALL_DATA} ${WRKSRC}/examples/IRtest/IRtest.pde ${EXAMPLESDIR}/IRtest X.endif X X.include b67911656ef5d18c4ae36cb6741b7965 exit --------------050401000102020105070904--