Date: Sat, 22 Oct 2016 20:34:07 +0000 (UTC) From: Boris Samorodov <bsam@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424485 - in head/devel: . arduino16 arduino16/files Message-ID: <201610222034.u9MKY7Qm006510@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bsam Date: Sat Oct 22 20:34:06 2016 New Revision: 424485 URL: https://svnweb.freebsd.org/changeset/ports/424485 Log: Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. The Arduino software consists of a development environment (IDE) and the core libraries. WWW: http://arduino.cc/ PR: 213659 Submitted by: bsdports@kyle-evans.net Added: head/devel/arduino16/ head/devel/arduino16/Makefile (contents, props changed) head/devel/arduino16/distinfo (contents, props changed) head/devel/arduino16/files/ head/devel/arduino16/files/patch-app_src_processing_app_Base.java (contents, props changed) head/devel/arduino16/files/patch-arduino-core_src_cc_arduino_contributions_libraries_LibraryInstaller.java (contents, props changed) head/devel/arduino16/files/patch-arduino-core_src_cc_arduino_contributions_packages_ContributionInstaller.java (contents, props changed) head/devel/arduino16/files/patch-arduino-core_src_cc_arduino_contributions_packages_ContributionsIndexer.java (contents, props changed) head/devel/arduino16/files/patch-arduino-core_src_cc_arduino_contributions_packages_HostDependentDownloadableContribution.java (contents, props changed) head/devel/arduino16/files/patch-arduino-core_src_processing_app_BaseNoGui.java (contents, props changed) head/devel/arduino16/files/patch-build_build.xml (contents, props changed) head/devel/arduino16/pkg-descr (contents, props changed) head/devel/arduino16/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Oct 22 20:27:17 2016 (r424484) +++ head/devel/Makefile Sat Oct 22 20:34:06 2016 (r424485) @@ -103,6 +103,7 @@ SUBDIR += arduino-mk SUBDIR += arduino-sevseg SUBDIR += arduino-tools + SUBDIR += arduino16 SUBDIR += argouml SUBDIR += argp-standalone SUBDIR += argtable Added: head/devel/arduino16/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/arduino16/Makefile Sat Oct 22 20:34:06 2016 (r424485) @@ -0,0 +1,102 @@ +# $FreeBSD$ + +PORTNAME= arduino +PORTVERSION= 1.6.12 +CATEGORIES= devel java +PKGNAMESUFFIX= 16 +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= bsdports@kyle-evans.net +COMMENT= Open-source electronics prototyping platform + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/../license.txt + +LIB_DEPENDS= liblistSerialsj.so:devel/listserialc \ + libastyle-arduinoj.so:devel/libastylej-arduino +RUN_DEPENDS= arduino-builder:devel/arduino-builder \ + arduino-tools>=1.6.12:devel/arduino-tools \ + bash:shells/bash + +CONFLICTS= arduino-[0-9]* + +BUNDLE_GH_ACCOUNT= arduino-libraries +BUNDLE_LIBRARIES= Firmata:2.5.3:firmata \ + Bridge:1.6.3:bridge \ + Robot_Control:1.0.2:robotcontrol \ + Robot_Motor:1.0.1:robotmotor \ + RobotIRremote:1.0.2:robotir \ + SpacebrewYun:1.0.1:spacebrew \ + Temboo:1.1.7:temboo \ + Esplora:1.0.4:esplora \ + Mouse:1.0.1:mouse \ + Keyboard:1.0.1:keyboard + +GH_TUPLE+= ${BUNDLE_GH_ACCOUNT}:WiFi101-FirmwareUpdater-Plugin:v0.8.0:wifi10/linux/work/tools/WiFi101 + +USE_GITHUB= yes +GH_ACCOUNT= arduino +GH_PROJECT= Arduino + +.for blib in ${BUNDLE_LIBRARIES} +GH_TUPLE+= ${BUNDLE_GH_ACCOUNT}:${blib}/linux/work/libraries/${blib:C/\:.*//} +.endfor + +LIB_DIRS+= ${LOCALBASE}/lib ${LOCALBASE}/lib/jni +WRKSRC_SUBDIR= build +PATCH_WRKSRC= ${WRKSRC}/../ +MAKE_ARGS+= -Dlight_bundle=true -Dlocal_sources=true +USE_JAVA= yes +USE_ANT= yes +DOCS_MAKE_ARGS= -Dno_docs=false +DOCS_MAKE_ARGS_OFF= -Dno_docs=true +OS_DIR= ${WRKSRC}/linux +BUILD_DIR= ${OS_DIR}/work +INSLIST= lib libraries revisions.txt tools +STRIP= # No Elfs here, only symlinks +OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_SUB= yes + +DOCS_MASTER_SITES= http://downloads.arduino.cc/:ref,galileo,edison \ + https://files.kyle-evans.net/arduino/:ref,galileo,edison +DOCS_DISTFILES= reference-1.6.6-3.zip:ref \ + Galileo_help_files-1.6.2.zip:galileo \ + Edison_help_files-1.6.2.zip:edison + +.include <bsd.port.options.mk> + +.if ${ARCH} == "amd64" +ARCH= x86_64 +.endif + +.if ${PORT_OPTIONS:MDOCS} +INSLIST+= reference +.endif + +.if ${PORT_OPTIONS:MEXAMPLES} +INSLIST+= examples +.endif + +post-extract: + ${MKDIR} ${BUILD_DIR}/reference + ${MV} ${WRKDIR}/code.jquery.com ${BUILD_DIR}/reference + ${MV} ${WRKDIR}/www.arduino.cc ${BUILD_DIR}/reference + ${MV} ${WRKDIR}/Galileo_help_files ${BUILD_DIR}/reference + ${MV} ${WRKDIR}/Edison_help_files ${BUILD_DIR}/reference + +post-patch: + ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${PATCH_WRKSRC}/arduino-core/src/processing/app/BaseNoGui.java + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME} + (cd ${BUILD_DIR}/ && ${COPYTREE_SHARE} "${INSLIST}" ${STAGEDIR}${PREFIX}/${PORTNAME} ${FIND_EXPR}) + (cd ${WRKSRC}/../ && ${COPYTREE_SHARE} "libraries" ${STAGEDIR}${PREFIX}/${PORTNAME} ${FIND_EXPR}) + ${RM} ${STAGEDIR}${PREFIX}/${PORTNAME}/lib/libastylej.so + ${RM} ${STAGEDIR}${PREFIX}/${PORTNAME}/lib/liblistSerialsj.so + ${LN} -s ../../lib/jni/libarduino-astylej.so ${STAGEDIR}${PREFIX}/${PORTNAME}/lib/libastylej.so + ${LN} -s ../../lib/jni/liblistSerialsj.so ${STAGEDIR}${PREFIX}/${PORTNAME}/lib/liblistSerialsj.so + ${INSTALL_SCRIPT} ${BUILD_DIR}/arduino ${STAGEDIR}${PREFIX}/${PORTNAME} + ${LN} -s ../${PORTNAME}/arduino ${STAGEDIR}${PREFIX}/bin/arduino + ${LN} -s ../bin/arduino-builder ${STAGEDIR}${PREFIX}/arduino/arduino-builder + +.include <bsd.port.mk> Added: head/devel/arduino16/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/arduino16/distinfo Sat Oct 22 20:34:06 2016 (r424485) @@ -0,0 +1,31 @@ +TIMESTAMP = 1476591503 +SHA256 (arduino/reference-1.6.6-3.zip) = c3bfb7f9b408fd99a4a1c0f3b022f0a8b10abae6dc28e35d38b4a0df62903685 +SIZE (arduino/reference-1.6.6-3.zip) = 7004842 +SHA256 (arduino/Galileo_help_files-1.6.2.zip) = 1c70276e4783286d59c8ac0132c3286e7dcf6825bea65e25747a94416b07aa61 +SIZE (arduino/Galileo_help_files-1.6.2.zip) = 4352077 +SHA256 (arduino/Edison_help_files-1.6.2.zip) = 56718ce5b2b090d79dae298f6ff9a09c8c1a77f74e3594a951f7035877cc45f4 +SIZE (arduino/Edison_help_files-1.6.2.zip) = 3321743 +SHA256 (arduino/arduino-Arduino-1.6.12_GH0.tar.gz) = 081c063e34bd72c9912705f33395cdd1870424826b4365dd64439575e0f11817 +SIZE (arduino/arduino-Arduino-1.6.12_GH0.tar.gz) = 81248294 +SHA256 (arduino/arduino-libraries-WiFi101-FirmwareUpdater-Plugin-v0.8.0_GH0.tar.gz) = 2f6b17200c107e6e6190147b1e075d3bd91bf2f673853bce511eb8758c9dd133 +SIZE (arduino/arduino-libraries-WiFi101-FirmwareUpdater-Plugin-v0.8.0_GH0.tar.gz) = 568963 +SHA256 (arduino/arduino-libraries-Firmata-2.5.3_GH0.tar.gz) = d59313efb1050b4500d0ca8592bd312a8280903ee60051ec07ebb0f2a8cfa185 +SIZE (arduino/arduino-libraries-Firmata-2.5.3_GH0.tar.gz) = 154530 +SHA256 (arduino/arduino-libraries-Bridge-1.6.3_GH0.tar.gz) = 8c5f01530973aef9dbd47bd748c093e0a0774cca425e2b00e058f12d805a483f +SIZE (arduino/arduino-libraries-Bridge-1.6.3_GH0.tar.gz) = 36011 +SHA256 (arduino/arduino-libraries-Robot_Control-1.0.2_GH0.tar.gz) = 1c40bbd733ea3abde7f45102ad61e019c9512670a0da3a43bc0e609a03996a57 +SIZE (arduino/arduino-libraries-Robot_Control-1.0.2_GH0.tar.gz) = 78144 +SHA256 (arduino/arduino-libraries-Robot_Motor-1.0.1_GH0.tar.gz) = d2ebb4e924389e15f94cb052794d666e50711c2d5a3ec9a3a3e36f2fd141d198 +SIZE (arduino/arduino-libraries-Robot_Motor-1.0.1_GH0.tar.gz) = 7891 +SHA256 (arduino/arduino-libraries-RobotIRremote-1.0.2_GH0.tar.gz) = 58de60b9deb51172c5cb0ba31ce66cae021b937c3f22c69580f59f94b7692af0 +SIZE (arduino/arduino-libraries-RobotIRremote-1.0.2_GH0.tar.gz) = 19013 +SHA256 (arduino/arduino-libraries-SpacebrewYun-1.0.1_GH0.tar.gz) = b9ac22651020c04a246a0f839c7b7627dff22b1998e6640ee6112d7251538d09 +SIZE (arduino/arduino-libraries-SpacebrewYun-1.0.1_GH0.tar.gz) = 6901 +SHA256 (arduino/arduino-libraries-Temboo-1.1.7_GH0.tar.gz) = 34f6a1a87f32dd18515e3813a35e51aebc4a5e369c439cd8b535fa796b0e7d51 +SIZE (arduino/arduino-libraries-Temboo-1.1.7_GH0.tar.gz) = 76226 +SHA256 (arduino/arduino-libraries-Esplora-1.0.4_GH0.tar.gz) = 67644c34290d02d7867af87743e5326de55ee076f44ce2edbcd6fabad2ce7bac +SIZE (arduino/arduino-libraries-Esplora-1.0.4_GH0.tar.gz) = 12615 +SHA256 (arduino/arduino-libraries-Mouse-1.0.1_GH0.tar.gz) = 9269148995b5053a31781a085715f86ba60d9cf209fa1f13ba108858f1f50204 +SIZE (arduino/arduino-libraries-Mouse-1.0.1_GH0.tar.gz) = 2421 +SHA256 (arduino/arduino-libraries-Keyboard-1.0.1_GH0.tar.gz) = 048468d0c2d3be933971a7cbcdd68ac8619cc9a7b039eaa8ee15783ed767d793 +SIZE (arduino/arduino-libraries-Keyboard-1.0.1_GH0.tar.gz) = 4098 Added: head/devel/arduino16/files/patch-app_src_processing_app_Base.java ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/arduino16/files/patch-app_src_processing_app_Base.java Sat Oct 22 20:34:06 2016 (r424485) @@ -0,0 +1,57 @@ +--- app/src/processing/app/Base.java.orig 2016-09-21 10:09:37 UTC ++++ app/src/processing/app/Base.java +@@ -463,7 +463,7 @@ public class Base { + new Thread(new NewBoardListener(this)).start(); + + // Check for updates +- if (PreferencesData.getBoolean("update.check")) { ++ if (false) { + new UpdateCheck(this); + + contributionsSelfCheck = new ContributionsSelfCheck(this, new UpdatableBoardsLibsFakeURLsHandler(this), contributionInstaller, libraryInstaller); +@@ -1060,12 +1060,7 @@ public class Base { + if (importMenu == null) + return; + importMenu.removeAll(); +- +- JMenuItem menu = new JMenuItem(tr("Manage Libraries...")); +- menu.addActionListener(e -> openLibraryManager("", "")); +- importMenu.add(menu); +- importMenu.addSeparator(); +- ++ + JMenuItem addLibraryMenuItem = new JMenuItem(tr("Add .ZIP Library...")); + addLibraryMenuItem.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { +@@ -1392,31 +1387,12 @@ public class Base { + boardMenu.putClientProperty("removeOnWindowDeactivation", true); + MenuScroller.setScrollerFor(boardMenu); + +- boardMenu.add(new JMenuItem(new AbstractAction(tr("Boards Manager...")) { +- public void actionPerformed(ActionEvent actionevent) { +- String filterText = ""; +- String dropdownItem = ""; +- if (actionevent instanceof Event) { +- filterText = ((Event) actionevent).getPayload().get("filterText").toString(); +- dropdownItem = ((Event) actionevent).getPayload().get("dropdownItem").toString(); +- } +- try { +- openBoardsManager(filterText, dropdownItem); +- } catch (Exception e) { +- //TODO show error +- e.printStackTrace(); +- } +- } +- })); + boardsCustomMenus.add(boardMenu); + + // If there are no platforms installed we are done + if (BaseNoGui.packages.size() == 0) + return; + +- // Separate "Install boards..." command from installed boards +- boardMenu.add(new JSeparator()); +- + // Generate custom menus for all platforms + Set<String> customMenusTitles = new HashSet<String>(); + for (TargetPackage targetPackage : BaseNoGui.packages.values()) { Added: head/devel/arduino16/files/patch-arduino-core_src_cc_arduino_contributions_libraries_LibraryInstaller.java ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/arduino16/files/patch-arduino-core_src_cc_arduino_contributions_libraries_LibraryInstaller.java Sat Oct 22 20:34:06 2016 (r424485) @@ -0,0 +1,35 @@ +--- arduino-core/src/cc/arduino/contributions/libraries/LibraryInstaller.java.orig 2016-09-21 10:09:37 UTC ++++ arduino-core/src/cc/arduino/contributions/libraries/LibraryInstaller.java +@@ -55,31 +55,7 @@ public class LibraryInstaller { + } + + public synchronized void updateIndex(ProgressListener progressListener) throws Exception { +- final MultiStepProgress progress = new MultiStepProgress(2); +- +- DownloadableContributionsDownloader downloader = new DownloadableContributionsDownloader(BaseNoGui.librariesIndexer.getStagingFolder()); +- // Step 1: Download index +- File outputFile = BaseNoGui.librariesIndexer.getIndexFile(); +- File tmpFile = new File(outputFile.getAbsolutePath() + ".tmp"); +- try { +- GZippedJsonDownloader gZippedJsonDownloader = new GZippedJsonDownloader(downloader, new URL(Constants.LIBRARY_INDEX_URL), new URL(Constants.LIBRARY_INDEX_URL_GZ)); +- gZippedJsonDownloader.download(tmpFile, progress, tr("Downloading libraries index..."), progressListener); +- } catch (InterruptedException e) { +- // Download interrupted... just exit +- return; +- } +- progress.stepDone(); +- +- // TODO: Check downloaded index +- +- // Replace old index with the updated one +- if (outputFile.exists()) +- outputFile.delete(); +- if (!tmpFile.renameTo(outputFile)) +- throw new Exception(tr("An error occurred while updating libraries index!")); +- +- // Step 2: Rescan index +- rescanLibraryIndex(progress, progressListener); ++ return; + } + + public synchronized void install(ContributedLibrary lib, ContributedLibrary replacedLib, ProgressListener progressListener) throws Exception { Added: head/devel/arduino16/files/patch-arduino-core_src_cc_arduino_contributions_packages_ContributionInstaller.java ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/arduino16/files/patch-arduino-core_src_cc_arduino_contributions_packages_ContributionInstaller.java Sat Oct 22 20:34:06 2016 (r424485) @@ -0,0 +1,52 @@ +--- arduino-core/src/cc/arduino/contributions/packages/ContributionInstaller.java.orig 2016-09-21 10:09:37 UTC ++++ arduino-core/src/cc/arduino/contributions/packages/ContributionInstaller.java +@@ -281,47 +281,11 @@ public class ContributionInstaller { + } + + public synchronized List<String> updateIndex(ProgressListener progressListener) throws Exception { +- MultiStepProgress progress = new MultiStepProgress(1); +- +- List<String> downloadedPackageIndexFilesAccumulator = new LinkedList<>(); +- downloadIndexAndSignature(progress, downloadedPackageIndexFilesAccumulator, Constants.PACKAGE_INDEX_URL, progressListener); +- +- Set<String> packageIndexURLs = new HashSet<>(); +- String additionalURLs = PreferencesData.get(Constants.PREF_BOARDS_MANAGER_ADDITIONAL_URLS, ""); +- if (!"".equals(additionalURLs)) { +- packageIndexURLs.addAll(Arrays.asList(additionalURLs.split(","))); +- } +- +- for (String packageIndexURL : packageIndexURLs) { +- try { +- downloadIndexAndSignature(progress, downloadedPackageIndexFilesAccumulator, packageIndexURL, progressListener); +- } catch (Exception e) { +- System.err.println(e.getMessage()); +- } +- } +- +- progress.stepDone(); +- +- return downloadedPackageIndexFilesAccumulator; ++ return new LinkedList<>(); + } + + private void downloadIndexAndSignature(MultiStepProgress progress, List<String> downloadedPackagedIndexFilesAccumulator, String packageIndexUrl, ProgressListener progressListener) throws Exception { +- File packageIndex = download(progress, packageIndexUrl, progressListener); +- downloadedPackagedIndexFilesAccumulator.add(packageIndex.getName()); +- try { +- File packageIndexSignature = download(progress, packageIndexUrl + ".sig", progressListener); +- boolean signatureVerified = signatureVerifier.isSigned(packageIndex); +- if (signatureVerified) { +- downloadedPackagedIndexFilesAccumulator.add(packageIndexSignature.getName()); +- } else { +- downloadedPackagedIndexFilesAccumulator.remove(packageIndex.getName()); +- Files.delete(packageIndex.toPath()); +- Files.delete(packageIndexSignature.toPath()); +- System.err.println(I18n.format(tr("{0} file signature verification failed. File ignored."), packageIndexUrl)); +- } +- } catch (Exception e) { +- //ignore errors +- } ++ return; + } + + private File download(MultiStepProgress progress, String packageIndexUrl, ProgressListener progressListener) throws Exception { Added: head/devel/arduino16/files/patch-arduino-core_src_cc_arduino_contributions_packages_ContributionsIndexer.java ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/arduino16/files/patch-arduino-core_src_cc_arduino_contributions_packages_ContributionsIndexer.java Sat Oct 22 20:34:06 2016 (r424485) @@ -0,0 +1,20 @@ +--- arduino-core/src/cc/arduino/contributions/packages/ContributionsIndexer.java.orig 2016-09-21 10:09:37 UTC ++++ arduino-core/src/cc/arduino/contributions/packages/ContributionsIndexer.java +@@ -85,17 +85,6 @@ public class ContributionsIndexer { + File bundledIndexFile = new File(builtInHardwareFolder, Constants.BUNDLED_INDEX_FILE_NAME); + index = parseIndex(bundledIndexFile); + +- // ...and overlay the default index if present +- File defaultIndexFile = getIndexFile(Constants.DEFAULT_INDEX_FILE_NAME); +- if (defaultIndexFile.exists()) { +- // Check main index signature +- if (!PreferencesData.getBoolean("allow_insecure_packages") && !signatureVerifier.isSigned(defaultIndexFile)) { +- throw new SignatureVerificationFailedException(Constants.DEFAULT_INDEX_FILE_NAME); +- } +- +- mergeContributions(parseIndex(defaultIndexFile), defaultIndexFile); +- } +- + // Set main and bundled indexes as trusted + index.getPackages().forEach(pack -> pack.setTrusted(true)); + Added: head/devel/arduino16/files/patch-arduino-core_src_cc_arduino_contributions_packages_HostDependentDownloadableContribution.java ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/arduino16/files/patch-arduino-core_src_cc_arduino_contributions_packages_HostDependentDownloadableContribution.java Sat Oct 22 20:34:06 2016 (r424485) @@ -0,0 +1,19 @@ +--- arduino-core/src/cc/arduino/contributions/packages/HostDependentDownloadableContribution.java.orig 2016-09-21 10:09:37 UTC ++++ arduino-core/src/cc/arduino/contributions/packages/HostDependentDownloadableContribution.java +@@ -79,6 +79,16 @@ public abstract class HostDependentDownl + } + } + ++ if (osName.contains("FreeBSD")) { ++ if (osArch.contains("amd64")) { ++ return host.matches("x86_64-freebsd[0-9]*"); ++ } else if (osArch.contains("arm")) { ++ return host.matches("arm.*-freebsd[0-9]*"); ++ } else { ++ return host.matches("i386-freebsd[0-9]*"); ++ } ++ } ++ + return false; + } + } Added: head/devel/arduino16/files/patch-arduino-core_src_processing_app_BaseNoGui.java ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/arduino16/files/patch-arduino-core_src_processing_app_BaseNoGui.java Sat Oct 22 20:34:06 2016 (r424485) @@ -0,0 +1,11 @@ +--- arduino-core/src/processing/app/BaseNoGui.java.orig 2016-09-21 10:09:37 UTC ++++ arduino-core/src/processing/app/BaseNoGui.java +@@ -851,7 +851,7 @@ public class BaseNoGui { + if (installedFolder != null) { + toolPath = installedFolder.getAbsolutePath(); + } else { +- toolPath = Constants.PREF_REMOVE_PLACEHOLDER; ++ toolPath = "/usr/local"; + } + String toolName = tool.getName(); + String toolVersion = tool.getVersion(); Added: head/devel/arduino16/files/patch-build_build.xml ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/arduino16/files/patch-build_build.xml Sat Oct 22 20:34:06 2016 (r424485) @@ -0,0 +1,319 @@ +--- build/build.xml.orig 2016-09-21 10:09:37 UTC ++++ build/build.xml +@@ -99,7 +99,7 @@ + </fileset> + + <target name="build" description="Build Arduino."> +- <antcall target="${platform}-build" /> ++ <antcall target="linux64-build" /> + + <antcall target="generate-hourly-build-txt"/> + </target> +@@ -177,46 +177,23 @@ + + <mkdir dir="${target.path}/reference"/> + +- <!-- Unzip documentation --> +- <antcall target="unzip"> +- <param name="archive_file" value="shared/reference-1.6.6-3.zip" /> +- <param name="archive_url" value="http://downloads.arduino.cc/reference-1.6.6-3.zip" /> +- <param name="final_folder" value="${target.path}/reference/www.arduino.cc" /> +- <param name="dest_folder" value="${target.path}/reference/" /> +- </antcall> +- <antcall target="unzip"> +- <param name="archive_file" value="shared/Galileo_help_files-1.6.2.zip" /> +- <param name="archive_url" value="http://downloads.arduino.cc/Galileo_help_files-1.6.2.zip" /> +- <param name="final_folder" value="${target.path}/reference/Galileo_help_files" /> +- <param name="dest_folder" value="${target.path}/reference/" /> +- </antcall> +- <antcall target="unzip"> +- <param name="archive_file" value="shared/Edison_help_files-1.6.2.zip" /> +- <param name="archive_url" value="http://downloads.arduino.cc/Edison_help_files-1.6.2.zip" /> +- <param name="final_folder" value="${target.path}/reference/Edison_help_files" /> +- <param name="dest_folder" value="${target.path}/reference/" /> +- </antcall> +- +- <!-- Fix wrong permissions from zip file root folder --> +- <chmod perm="755" dir="${target.path}/reference/Galileo_help_files" /> +- <chmod perm="755" dir="${target.path}/reference/Edison_help_files" /> ++ <antcall target="assemble-docs" /> + + <!-- Write the revision file! --> + <echo file="${target.path}/lib/version.txt" message="${version}" /> + + <antcall target="assemble-libraries" /> ++ </target> + +- <!-- Add WiFi101 updater tool --> +- <antcall target="unzip"> +- <param name="archive_file" value="shared/WiFi101-Updater-ArduinoIDE-Plugin-0.8.0.zip" /> +- <param name="archive_url" value="https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v0.8.0/WiFi101-Updater-ArduinoIDE-Plugin-0.8.0.zip" /> +- <param name="final_folder" value="${target.path}/tools/WiFi101" /> +- <param name="dest_folder" value="${target.path}/tools/" /> +- </antcall> ++ <target name="assemble-docs" unless="no_docs"> ++ <!-- Fix wrong permissions from zip file root folder --> ++ <chmod perm="755" dir="${target.path}/reference/Galileo_help_files" /> ++ <chmod perm="755" dir="${target.path}/reference/Edison_help_files" /> + </target> + + <!-- copy library folder --> +- <target name="assemble-libraries" unless="light_bundle"> ++ <target name="assemble-libraries" depends="assemble-libraries-full, assemble-libraries-light" /> ++ <target name="assemble-libraries-full" unless="light_bundle"> + <copy todir="${target.path}/libraries"> + <fileset dir="../libraries"/> + </copy> +@@ -232,6 +209,9 @@ + <download-library name="Mouse" version="1.0.1"/> + <download-library name="Keyboard" version="1.0.1"/> + </target> ++ <target name="assemble-libraries-light" if="light_bundle"> ++ <mkdir dir="${target.path}/libraries" /> ++ </target> + + <macrodef name="download-library"> + <attribute name="name"/> +@@ -250,13 +230,17 @@ + </macrodef> + + <!-- copy hardware folder --> +- <target name="assemble-hardware" unless="light_bundle"> ++ <target name="assemble-hardware" depends="assemble-hardware-full, assemble-hardware-light" /> ++ <target name="assemble-hardware-full" unless="light_bundle"> + <copy todir="${target.path}/hardware"> + <fileset dir="../hardware"> + <exclude name="arduino/sam/**"/> + </fileset> + </copy> + </target> ++ <target name="assemble-hardware-light" if="light_bundle"> ++ <copy file="../hardware/package_index_bundled.json" todir="${target.path}/hardware" /> ++ </target> + + <!-- - - - - - - - - --> + <!-- Revision check --> +@@ -362,7 +346,7 @@ + + <antcall target="unzip"> + <param name="archive_file" value="${staging_folder}/appbundler-1.0ea-arduino4.jar.zip" /> +- <param name="archive_url" value="http://downloads.arduino.cc/appbundler-1.0ea-arduino4.jar.zip" /> ++ <param name="archive_url" value="https://downloads.arduino.cc/appbundler-1.0ea-arduino4.jar.zip" /> + <param name="final_folder" value="${staging_folder}/appbundler-1.0ea-arduino4" /> + <param name="dest_folder" value="${staging_folder}/appbundler-1.0ea-arduino4" /> + </antcall> +@@ -447,7 +431,7 @@ + + <antcall target="unzip"> + <param name="archive_file" value="./libastylej-2.05.1-3.zip" /> +- <param name="archive_url" value="http://downloads.arduino.cc/libastylej-2.05.1-3.zip" /> ++ <param name="archive_url" value="https://downloads.arduino.cc/libastylej-2.05.1-3.zip" /> + <param name="final_folder" value="${staging_folder}/libastylej-2.05.1" /> + <param name="dest_folder" value="${staging_folder}" /> + </antcall> +@@ -458,7 +442,7 @@ + + <antcall target="unzip"> + <param name="archive_file" value="./liblistSerials-${LIBLISTSERIAL-VERSION}.zip" /> +- <param name="archive_url" value="http://downloads.arduino.cc/liblistSerials/liblistSerials-${LIBLISTSERIAL-VERSION}.zip" /> ++ <param name="archive_url" value="https://downloads.arduino.cc/liblistSerials/liblistSerials-${LIBLISTSERIAL-VERSION}.zip" /> + <param name="final_folder" value="${staging_folder}/liblistSerials-${LIBLISTSERIAL-VERSION}" /> + <param name="dest_folder" value="${staging_folder}" /> + </antcall> +@@ -469,7 +453,7 @@ + <mkdir dir="${staging_folder}/arduino-builder-macosx"/> + <antcall target="untar"> + <param name="archive_file" value="./arduino-builder-macosx-${ARDUINO-BUILDER-VERSION}.tar.bz2" /> +- <param name="archive_url" value="http://downloads.arduino.cc/tools/arduino-builder-macosx-${ARDUINO-BUILDER-VERSION}.tar.bz2" /> ++ <param name="archive_url" value="https://downloads.arduino.cc/tools/arduino-builder-macosx-${ARDUINO-BUILDER-VERSION}.tar.bz2" /> + <param name="final_folder" value="${staging_folder}/arduino-builder-macosx/arduino-builder" /> + <param name="dest_folder" value="${staging_folder}/arduino-builder-macosx" /> + </antcall> +@@ -643,53 +627,15 @@ + </target> + + <target name="linux-libastyle-x86" depends="linux-build" description="Download libastyle.so for x86/x64 arch"> +- <antcall target="unzip"> +- <param name="archive_file" value="./libastylej-2.05.1-3.zip" /> +- <param name="archive_url" value="http://downloads.arduino.cc/libastylej-2.05.1-3.zip" /> +- <param name="final_folder" value="${staging_folder}/libastylej-2.05.1" /> +- <param name="dest_folder" value="${staging_folder}" /> +- </antcall> +- <copy file="linux/libastylej-2.05.1/libastylej${arch-bits}.so" tofile="linux/work/lib/libastylej.so" /> +- <chmod perm="755" file="linux/work/lib/libastylej.so" /> +- + <antcall target="portable-${portable}"> + <param name="parentdir" value="linux/work" /> + </antcall> +- +- <antcall target="unzip"> +- <param name="archive_file" value="./liblistSerials-${LIBLISTSERIAL-VERSION}.zip" /> +- <param name="archive_url" value="http://downloads.arduino.cc/liblistSerials/liblistSerials-${LIBLISTSERIAL-VERSION}.zip" /> +- <param name="final_folder" value="${staging_folder}/liblistSerials-${LIBLISTSERIAL-VERSION}" /> +- <param name="dest_folder" value="${staging_folder}" /> +- </antcall> +- <copy file="linux/liblistSerials-${LIBLISTSERIAL-VERSION}/linux${arch-bits}/liblistSerialsj.so" todir="linux/work/lib/" /> +- <chmod perm="755" file="linux/work/lib/liblistSerialsj.so" /> +- + </target> + + <target name="linux-libastyle-arm" depends="linux-build" description="Download libastyle.so for ARM"> +- <antcall target="unzip"> +- <param name="archive_file" value="./libastylej-2.05.1-3.zip" /> +- <param name="archive_url" value="http://downloads.arduino.cc/libastylej-2.05.1-3.zip" /> +- <param name="final_folder" value="${staging_folder}/libastylej-2.05.1" /> +- <param name="dest_folder" value="${staging_folder}" /> +- </antcall> +- <copy file="linux/libastylej-2.05.1/libastylej_arm.so" tofile="linux/work/lib/libastylej.so" /> +- <chmod perm="755" file="linux/work/lib/libastylej.so" /> +- + <antcall target="portable-${portable}"> + <param name="parentdir" value="linux/work" /> + </antcall> +- +- <antcall target="unzip"> +- <param name="archive_file" value="./liblistSerials-${LIBLISTSERIAL-VERSION}.zip" /> +- <param name="archive_url" value="http://downloads.arduino.cc/liblistSerials/liblistSerials-${LIBLISTSERIAL-VERSION}.zip" /> +- <param name="final_folder" value="${staging_folder}/liblistSerials-${LIBLISTSERIAL-VERSION}" /> +- <param name="dest_folder" value="${staging_folder}" /> +- </antcall> +- <copy file="linux/liblistSerials-${LIBLISTSERIAL-VERSION}/arm/liblistSerialsj.so" todir="linux/work/lib/" /> +- <chmod perm="755" file="linux/work/lib/liblistSerialsj.so" /> +- + </target> + + <target name="linuxarm-build" depends="linux-libastyle-arm" description="Build linux (32-bit) version"> +@@ -701,7 +647,7 @@ + <mkdir dir="${staging_folder}/arduino-builder-arm"/> + <antcall target="untar"> + <param name="archive_file" value="./arduino-builder-arm-${ARDUINO-BUILDER-VERSION}.tar.bz2" /> +- <param name="archive_url" value="http://downloads.arduino.cc/tools/arduino-builder-arm-${ARDUINO-BUILDER-VERSION}.tar.bz2" /> ++ <param name="archive_url" value="https://downloads.arduino.cc/tools/arduino-builder-arm-${ARDUINO-BUILDER-VERSION}.tar.bz2" /> + <param name="final_folder" value="${staging_folder}/arduino-builder-arm/arduino-builder" /> + <param name="dest_folder" value="${staging_folder}/arduino-builder-arm" /> + </antcall> +@@ -731,7 +677,7 @@ + <mkdir dir="${staging_folder}/arduino-builder-linux32"/> + <antcall target="untar"> + <param name="archive_file" value="./arduino-builder-linux32-${ARDUINO-BUILDER-VERSION}.tar.bz2" /> +- <param name="archive_url" value="http://downloads.arduino.cc/tools/arduino-builder-linux32-${ARDUINO-BUILDER-VERSION}.tar.bz2" /> ++ <param name="archive_url" value="https://downloads.arduino.cc/tools/arduino-builder-linux32-${ARDUINO-BUILDER-VERSION}.tar.bz2" /> + <param name="final_folder" value="${staging_folder}/arduino-builder-linux32/arduino-builder" /> + <param name="dest_folder" value="${staging_folder}/arduino-builder-linux32" /> + </antcall> +@@ -756,30 +702,6 @@ + <antcall target="linux-jvm-${linux-bundle-jvm-task}"> + <param name="JVM" value="${LINUX64_BUNDLED_JVM}"/> + </antcall> +- +- <delete dir="${staging_folder}/arduino-builder-linux64" includeemptydirs="true"/> +- <mkdir dir="${staging_folder}/arduino-builder-linux64"/> +- <antcall target="untar"> +- <param name="archive_file" value="./arduino-builder-linux64-${ARDUINO-BUILDER-VERSION}.tar.bz2" /> +- <param name="archive_url" value="http://downloads.arduino.cc/tools/arduino-builder-linux64-${ARDUINO-BUILDER-VERSION}.tar.bz2" /> +- <param name="final_folder" value="${staging_folder}/arduino-builder-linux64/arduino-builder" /> +- <param name="dest_folder" value="${staging_folder}/arduino-builder-linux64" /> +- </antcall> +- <copy file="${staging_folder}/arduino-builder-linux64/arduino-builder" tofile="linux/work/arduino-builder" /> +- <chmod perm="755" file="linux/work/arduino-builder" /> +- <move file="${staging_folder}/arduino-builder-linux64/tools" tofile="linux/work/tools-builder"/> +- <copy todir="linux/work/hardware" overwrite="true"> +- <fileset dir="${staging_folder}/arduino-builder-linux64/hardware" includes="*.txt"/> +- </copy> +- <delete dir="${staging_folder}/arduino-builder-linux64" includeemptydirs="true"/> +- +- <antcall target="avr-toolchain-bundle"> +- <param name="unpack_target" value="untar"/> +- <param name="gcc_archive_file" value="avr-gcc-${AVRGCC-VERSION}-x86_64-pc-linux-gnu.tar.bz2"/> +- <param name="gcc_version" value="${AVRGCC-VERSION}"/> +- <param name="avrdude_archive_file" value="avrdude-${AVRDUDE-VERSION}-x86_64-pc-linux-gnu.tar.bz2"/> +- <param name="avrdude_version" value="${AVRDUDE-VERSION}"/> +- </antcall> + </target> + + <target name="linux-jvm-noop"/> +@@ -822,8 +744,21 @@ + + <!-- Retrieve tool --> + <target name="untar-unzip-download" depends="untar-unzip-check" unless="${archive_file}_available"> ++ <antcall target="untar-unzip-download-web" /> ++ <antcall target="untar-unzip-download-local" /> ++ </target> ++ <target name="untar-unzip-download-web" unless="local_sources"> + <get src="${archive_url}" dest="${archive_file}" verbose="true" ignoreerrors="true" /> + </target> ++ <target name="untar-unzip-download-local" if="local_sources"> ++ <basename file="${archive_file}" property="basename" /> ++ <echo>Skipping download of ${archive_url}, using makepkg downloaded ${basename}</echo> ++ <exec executable="ln" failonerror="true"> ++ <arg value="-s" /> ++ <arg value="${basedir}/../../${basename}" /> ++ <arg value="${archive_file}" /> ++ </exec> ++ </target> + + <target name="untar-unzip-checksum" depends="untar-unzip-download"> + <echo>Testing checksum of "${archive_file}"</echo> +@@ -926,7 +861,7 @@ + <target name="download-launch4j-windows"> + <antcall target="unzip-with-ant-task"> + <param name="archive_file" value="windows/launch4j-3.8-win32.zip"/> +- <param name="archive_url" value="http://downloads.sourceforge.net/project/launch4j/launch4j-3/3.8/launch4j-3.8-win32.zip"/> ++ <param name="archive_url" value="https://downloads.sourceforge.net/project/launch4j/launch4j-3/3.8/launch4j-3.8-win32.zip"/> + <param name="final_folder" value="windows/launcher/launch4j"/> + <param name="dest_folder" value="windows/launcher/"/> + </antcall> +@@ -935,7 +870,7 @@ + <target name="download-launch4j-linux"> + <antcall target="untar"> + <param name="archive_file" value="windows/launch4j-3.8-linux.tgz"/> +- <param name="archive_url" value="http://downloads.sourceforge.net/project/launch4j/launch4j-3/3.8/launch4j-3.8-linux.tgz"/> ++ <param name="archive_url" value="https://downloads.sourceforge.net/project/launch4j/launch4j-3/3.8/launch4j-3.8-linux.tgz"/> + <param name="final_folder" value="windows/launcher/launch4j"/> + <param name="dest_folder" value="windows/launcher/"/> + </antcall> +@@ -977,7 +912,7 @@ + + <antcall target="unzip"> + <param name="archive_file" value="./libastylej-2.05.1-3.zip" /> +- <param name="archive_url" value="http://downloads.arduino.cc/libastylej-2.05.1-3.zip" /> ++ <param name="archive_url" value="https://downloads.arduino.cc/libastylej-2.05.1-3.zip" /> + <param name="final_folder" value="${staging_folder}/libastylej-2.05.1" /> + <param name="dest_folder" value="${staging_folder}" /> + </antcall> +@@ -987,7 +922,7 @@ + + <antcall target="unzip"> + <param name="archive_file" value="./liblistSerials-${LIBLISTSERIAL-VERSION}.zip" /> +- <param name="archive_url" value="http://downloads.arduino.cc/liblistSerials/liblistSerials-${LIBLISTSERIAL-VERSION}.zip" /> ++ <param name="archive_url" value="https://downloads.arduino.cc/liblistSerials/liblistSerials-${LIBLISTSERIAL-VERSION}.zip" /> + <param name="final_folder" value="${staging_folder}/liblistSerials-${LIBLISTSERIAL-VERSION}" /> + <param name="dest_folder" value="${staging_folder}" /> + </antcall> +@@ -998,7 +933,7 @@ + <mkdir dir="${staging_folder}/arduino-builder-windows"/> + <antcall target="unzip-with-ant-task"> + <param name="archive_file" value="./arduino-builder-windows-${ARDUINO-BUILDER-VERSION}.zip" /> +- <param name="archive_url" value="http://downloads.arduino.cc/tools/arduino-builder-windows-${ARDUINO-BUILDER-VERSION}.zip" /> ++ <param name="archive_url" value="https://downloads.arduino.cc/tools/arduino-builder-windows-${ARDUINO-BUILDER-VERSION}.zip" /> + <param name="final_folder" value="${staging_folder}/arduino-builder-windows/arduino-builder.exe" /> + <param name="dest_folder" value="${staging_folder}/arduino-builder-windows" /> + </antcall> +@@ -1136,7 +1071,7 @@ + + <antcall target="${unpack_target}"> + <param name="archive_file" value="${staging_folder}/${gcc_archive_file}"/> +- <param name="archive_url" value="http://downloads.arduino.cc/tools/${gcc_archive_file}"/> ++ <param name="archive_url" value="https://downloads.arduino.cc/tools/${gcc_archive_file}"/> + <param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/gcc/${gcc_version}/"/> + <param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/gcc/"/> + </antcall> +@@ -1145,7 +1080,7 @@ + + <antcall target="${unpack_target}"> + <param name="archive_file" value="${staging_folder}/${avrdude_archive_file}"/> +- <param name="archive_url" value="http://downloads.arduino.cc/tools/${avrdude_archive_file}"/> ++ <param name="archive_url" value="https://downloads.arduino.cc/tools/${avrdude_archive_file}"/> + <param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/avrdude/${avrdude_version}"/> + <param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/avrdude/"/> + </antcall> Added: head/devel/arduino16/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/arduino16/pkg-descr Sat Oct 22 20:34:06 2016 (r424485) @@ -0,0 +1,9 @@ +Arduino is an open-source electronics prototyping platform based on +flexible, easy-to-use hardware and software. It's intended for artists, +designers, hobbyists, and anyone interested in creating interactive +objects or environments. + +The Arduino software consists of a development environment (IDE) and the +core libraries. + +WWW: http://arduino.cc/ Added: head/devel/arduino16/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/arduino16/pkg-plist Sat Oct 22 20:34:06 2016 (r424485) @@ -0,0 +1,2056 @@ +arduino/arduino +arduino/arduino-builder +%%EXAMPLES%%arduino/examples/01.Basics/AnalogReadSerial/AnalogReadSerial.ino +%%EXAMPLES%%arduino/examples/01.Basics/AnalogReadSerial/AnalogReadSerial.txt +%%EXAMPLES%%arduino/examples/01.Basics/AnalogReadSerial/layout.png +%%EXAMPLES%%arduino/examples/01.Basics/AnalogReadSerial/schematic.png +%%EXAMPLES%%arduino/examples/01.Basics/BareMinimum/BareMinimum.ino +%%EXAMPLES%%arduino/examples/01.Basics/BareMinimum/BareMinimum.txt +%%EXAMPLES%%arduino/examples/01.Basics/Blink/Blink.ino +%%EXAMPLES%%arduino/examples/01.Basics/Blink/Blink.txt +%%EXAMPLES%%arduino/examples/01.Basics/DigitalReadSerial/DigitalReadSerial.ino +%%EXAMPLES%%arduino/examples/01.Basics/DigitalReadSerial/DigitalReadSerial.txt +%%EXAMPLES%%arduino/examples/01.Basics/DigitalReadSerial/layout.png +%%EXAMPLES%%arduino/examples/01.Basics/DigitalReadSerial/schematic.png +%%EXAMPLES%%arduino/examples/01.Basics/Fade/Fade.ino +%%EXAMPLES%%arduino/examples/01.Basics/Fade/Fade.txt +%%EXAMPLES%%arduino/examples/01.Basics/Fade/layout.png +%%EXAMPLES%%arduino/examples/01.Basics/Fade/schematic.png +%%EXAMPLES%%arduino/examples/01.Basics/ReadAnalogVoltage/ReadAnalogVoltage.ino +%%EXAMPLES%%arduino/examples/01.Basics/ReadAnalogVoltage/ReadAnalogVoltage.txt +%%EXAMPLES%%arduino/examples/01.Basics/ReadAnalogVoltage/layout.png +%%EXAMPLES%%arduino/examples/01.Basics/ReadAnalogVoltage/schematic.png +%%EXAMPLES%%arduino/examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino +%%EXAMPLES%%arduino/examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.txt +%%EXAMPLES%%arduino/examples/02.Digital/BlinkWithoutDelay/layout.png +%%EXAMPLES%%arduino/examples/02.Digital/BlinkWithoutDelay/schematic.png +%%EXAMPLES%%arduino/examples/02.Digital/Button/Button.ino +%%EXAMPLES%%arduino/examples/02.Digital/Button/Button.txt +%%EXAMPLES%%arduino/examples/02.Digital/Button/layout.png +%%EXAMPLES%%arduino/examples/02.Digital/Button/schematic.png +%%EXAMPLES%%arduino/examples/02.Digital/Debounce/Debounce.ino +%%EXAMPLES%%arduino/examples/02.Digital/Debounce/Debounce.txt +%%EXAMPLES%%arduino/examples/02.Digital/Debounce/button.png +%%EXAMPLES%%arduino/examples/02.Digital/Debounce/schematic.png +%%EXAMPLES%%arduino/examples/02.Digital/DigitalInputPullup/DigitalInputPullup.ino +%%EXAMPLES%%arduino/examples/02.Digital/DigitalInputPullup/DigitalInputPullup.txt +%%EXAMPLES%%arduino/examples/02.Digital/DigitalInputPullup/layout.png +%%EXAMPLES%%arduino/examples/02.Digital/DigitalInputPullup/schematic.png +%%EXAMPLES%%arduino/examples/02.Digital/StateChangeDetection/StateChangeDetection.ino +%%EXAMPLES%%arduino/examples/02.Digital/StateChangeDetection/StateChangeDetection.txt +%%EXAMPLES%%arduino/examples/02.Digital/StateChangeDetection/layout.png +%%EXAMPLES%%arduino/examples/02.Digital/StateChangeDetection/schematic.png +%%EXAMPLES%%arduino/examples/02.Digital/toneKeyboard/layout.png +%%EXAMPLES%%arduino/examples/02.Digital/toneKeyboard/pitches.h +%%EXAMPLES%%arduino/examples/02.Digital/toneKeyboard/schematic.png +%%EXAMPLES%%arduino/examples/02.Digital/toneKeyboard/toneKeyboard.ino +%%EXAMPLES%%arduino/examples/02.Digital/toneKeyboard/toneKeyboard.txt +%%EXAMPLES%%arduino/examples/02.Digital/toneMelody/layout.png +%%EXAMPLES%%arduino/examples/02.Digital/toneMelody/pitches.h +%%EXAMPLES%%arduino/examples/02.Digital/toneMelody/schematic.png +%%EXAMPLES%%arduino/examples/02.Digital/toneMelody/toneMelody.ino +%%EXAMPLES%%arduino/examples/02.Digital/toneMelody/toneMelody.txt +%%EXAMPLES%%arduino/examples/02.Digital/toneMultiple/layout.png +%%EXAMPLES%%arduino/examples/02.Digital/toneMultiple/pitches.h +%%EXAMPLES%%arduino/examples/02.Digital/toneMultiple/schematic.png +%%EXAMPLES%%arduino/examples/02.Digital/toneMultiple/toneMultiple.ino +%%EXAMPLES%%arduino/examples/02.Digital/toneMultiple/toneMultiple.txt +%%EXAMPLES%%arduino/examples/02.Digital/tonePitchFollower/layout.png +%%EXAMPLES%%arduino/examples/02.Digital/tonePitchFollower/schematic.png +%%EXAMPLES%%arduino/examples/02.Digital/tonePitchFollower/tonePitchFollower.ino +%%EXAMPLES%%arduino/examples/02.Digital/tonePitchFollower/tonePitchFollower.txt +%%EXAMPLES%%arduino/examples/03.Analog/AnalogInOutSerial/AnalogInOutSerial.ino +%%EXAMPLES%%arduino/examples/03.Analog/AnalogInOutSerial/AnalogInOutSerial.txt +%%EXAMPLES%%arduino/examples/03.Analog/AnalogInOutSerial/layout.png +%%EXAMPLES%%arduino/examples/03.Analog/AnalogInOutSerial/schematic.png +%%EXAMPLES%%arduino/examples/03.Analog/AnalogInput/AnalogInput.ino +%%EXAMPLES%%arduino/examples/03.Analog/AnalogInput/AnalogInput.txt +%%EXAMPLES%%arduino/examples/03.Analog/AnalogInput/layout.png +%%EXAMPLES%%arduino/examples/03.Analog/AnalogInput/schematic.png +%%EXAMPLES%%arduino/examples/03.Analog/AnalogWriteMega/AnalogWriteMega.ino +%%EXAMPLES%%arduino/examples/03.Analog/AnalogWriteMega/AnalogWriteMega.txt +%%EXAMPLES%%arduino/examples/03.Analog/AnalogWriteMega/layout.png +%%EXAMPLES%%arduino/examples/03.Analog/AnalogWriteMega/schematic.png +%%EXAMPLES%%arduino/examples/03.Analog/Calibration/Calibration.ino +%%EXAMPLES%%arduino/examples/03.Analog/Calibration/Calibration.txt +%%EXAMPLES%%arduino/examples/03.Analog/Calibration/layout.png +%%EXAMPLES%%arduino/examples/03.Analog/Calibration/schematic.png +%%EXAMPLES%%arduino/examples/03.Analog/Fading/Fading.ino +%%EXAMPLES%%arduino/examples/03.Analog/Fading/Fading.txt +%%EXAMPLES%%arduino/examples/03.Analog/Fading/layout.png +%%EXAMPLES%%arduino/examples/03.Analog/Fading/schematic.png +%%EXAMPLES%%arduino/examples/03.Analog/Smoothing/Smoothing.ino +%%EXAMPLES%%arduino/examples/03.Analog/Smoothing/Smoothing.txt +%%EXAMPLES%%arduino/examples/03.Analog/Smoothing/layout.png +%%EXAMPLES%%arduino/examples/03.Analog/Smoothing/schematic.png +%%EXAMPLES%%arduino/examples/04.Communication/ASCIITable/ASCIITable.ino +%%EXAMPLES%%arduino/examples/04.Communication/ASCIITable/ASCIITable.txt +%%EXAMPLES%%arduino/examples/04.Communication/Dimmer/Dimmer.ino +%%EXAMPLES%%arduino/examples/04.Communication/Dimmer/Dimmer.txt +%%EXAMPLES%%arduino/examples/04.Communication/Dimmer/layout.png +%%EXAMPLES%%arduino/examples/04.Communication/Dimmer/schematic.png +%%EXAMPLES%%arduino/examples/04.Communication/Graph/Graph.ino +%%EXAMPLES%%arduino/examples/04.Communication/Graph/Graph.txt +%%EXAMPLES%%arduino/examples/04.Communication/Graph/layout.png +%%EXAMPLES%%arduino/examples/04.Communication/Graph/schematic.png +%%EXAMPLES%%arduino/examples/04.Communication/Midi/MIDI.txt +%%EXAMPLES%%arduino/examples/04.Communication/Midi/Midi.ino +%%EXAMPLES%%arduino/examples/04.Communication/Midi/layout.png +%%EXAMPLES%%arduino/examples/04.Communication/Midi/schematic.png +%%EXAMPLES%%arduino/examples/04.Communication/MultiSerial/MultiSerial.ino +%%EXAMPLES%%arduino/examples/04.Communication/MultiSerial/MultiSerial.txt +%%EXAMPLES%%arduino/examples/04.Communication/PhysicalPixel/PhysicalPixel.ino +%%EXAMPLES%%arduino/examples/04.Communication/PhysicalPixel/PhysicalPixel.txt +%%EXAMPLES%%arduino/examples/04.Communication/PhysicalPixel/layout.png +%%EXAMPLES%%arduino/examples/04.Communication/PhysicalPixel/schematic.png +%%EXAMPLES%%arduino/examples/04.Communication/ReadASCIIString/ReadASCIIString.ino +%%EXAMPLES%%arduino/examples/04.Communication/ReadASCIIString/ReadASCIIString.txt +%%EXAMPLES%%arduino/examples/04.Communication/ReadASCIIString/layout.png +%%EXAMPLES%%arduino/examples/04.Communication/SerialCallResponse/SerialCallResponse.ino +%%EXAMPLES%%arduino/examples/04.Communication/SerialCallResponse/SerialCallResponse.txt +%%EXAMPLES%%arduino/examples/04.Communication/SerialCallResponse/layout.png +%%EXAMPLES%%arduino/examples/04.Communication/SerialCallResponse/schematic.png +%%EXAMPLES%%arduino/examples/04.Communication/SerialCallResponseASCII/SerialCallResponseASCII.ino +%%EXAMPLES%%arduino/examples/04.Communication/SerialCallResponseASCII/SerialCallResponseASCII.txt +%%EXAMPLES%%arduino/examples/04.Communication/SerialCallResponseASCII/layout.png +%%EXAMPLES%%arduino/examples/04.Communication/SerialCallResponseASCII/schematic.png +%%EXAMPLES%%arduino/examples/04.Communication/SerialEvent/SerialEvent.ino +%%EXAMPLES%%arduino/examples/04.Communication/SerialEvent/SerialEvent.txt +%%EXAMPLES%%arduino/examples/04.Communication/SerialPassthrough/SerialPassthrough.ino +%%EXAMPLES%%arduino/examples/04.Communication/VirtualColorMixer/VirtualColorMixer.ino +%%EXAMPLES%%arduino/examples/04.Communication/VirtualColorMixer/VirtualColorMixer.txt +%%EXAMPLES%%arduino/examples/04.Communication/VirtualColorMixer/layout.png +%%EXAMPLES%%arduino/examples/04.Communication/VirtualColorMixer/schematic.png +%%EXAMPLES%%arduino/examples/05.Control/Arrays/Arrays.ino +%%EXAMPLES%%arduino/examples/05.Control/Arrays/Arrays.txt +%%EXAMPLES%%arduino/examples/05.Control/Arrays/layout.png +%%EXAMPLES%%arduino/examples/05.Control/Arrays/schematic.png +%%EXAMPLES%%arduino/examples/05.Control/ForLoopIteration/ForLoopIteration.ino +%%EXAMPLES%%arduino/examples/05.Control/ForLoopIteration/ForLoopIteration.txt +%%EXAMPLES%%arduino/examples/05.Control/ForLoopIteration/layout.png +%%EXAMPLES%%arduino/examples/05.Control/ForLoopIteration/schematic.png +%%EXAMPLES%%arduino/examples/05.Control/IfStatementConditional/IfStatementConditional.ino +%%EXAMPLES%%arduino/examples/05.Control/IfStatementConditional/IfStatementConditional.txt +%%EXAMPLES%%arduino/examples/05.Control/IfStatementConditional/layout.png +%%EXAMPLES%%arduino/examples/05.Control/IfStatementConditional/schematic.png +%%EXAMPLES%%arduino/examples/05.Control/WhileStatementConditional/WhileStatementConditional.ino +%%EXAMPLES%%arduino/examples/05.Control/WhileStatementConditional/WhileStatementConditional.txt +%%EXAMPLES%%arduino/examples/05.Control/WhileStatementConditional/layout.png +%%EXAMPLES%%arduino/examples/05.Control/WhileStatementConditional/schematic.png +%%EXAMPLES%%arduino/examples/05.Control/switchCase/layout.png +%%EXAMPLES%%arduino/examples/05.Control/switchCase/schematic.png +%%EXAMPLES%%arduino/examples/05.Control/switchCase/switchCase.ino +%%EXAMPLES%%arduino/examples/05.Control/switchCase/switchCase.txt +%%EXAMPLES%%arduino/examples/05.Control/switchCase2/layout.png +%%EXAMPLES%%arduino/examples/05.Control/switchCase2/schematic.png +%%EXAMPLES%%arduino/examples/05.Control/switchCase2/switchCase2.ino +%%EXAMPLES%%arduino/examples/05.Control/switchCase2/switchCase2.txt +%%EXAMPLES%%arduino/examples/06.Sensors/ADXL3xx/ADXL3xx.ino +%%EXAMPLES%%arduino/examples/06.Sensors/ADXL3xx/ADXL3xx.txt +%%EXAMPLES%%arduino/examples/06.Sensors/ADXL3xx/layout.png +%%EXAMPLES%%arduino/examples/06.Sensors/ADXL3xx/schematic.png +%%EXAMPLES%%arduino/examples/06.Sensors/Knock/Knock.ino +%%EXAMPLES%%arduino/examples/06.Sensors/Knock/Knock.txt +%%EXAMPLES%%arduino/examples/06.Sensors/Knock/layout.png +%%EXAMPLES%%arduino/examples/06.Sensors/Knock/schematic.png +%%EXAMPLES%%arduino/examples/06.Sensors/Memsic2125/Memsic2125.ino +%%EXAMPLES%%arduino/examples/06.Sensors/Memsic2125/Memsic2125.txt +%%EXAMPLES%%arduino/examples/06.Sensors/Memsic2125/layout.png +%%EXAMPLES%%arduino/examples/06.Sensors/Memsic2125/schematic.png +%%EXAMPLES%%arduino/examples/06.Sensors/Ping/Ping.ino +%%EXAMPLES%%arduino/examples/06.Sensors/Ping/Ping.txt +%%EXAMPLES%%arduino/examples/06.Sensors/Ping/layout.png +%%EXAMPLES%%arduino/examples/06.Sensors/Ping/schematic.png +%%EXAMPLES%%arduino/examples/07.Display/RowColumnScanning/RowColumnScanning.ino +%%EXAMPLES%%arduino/examples/07.Display/RowColumnScanning/RowColumnScanning.txt +%%EXAMPLES%%arduino/examples/07.Display/RowColumnScanning/layout.png +%%EXAMPLES%%arduino/examples/07.Display/RowColumnScanning/schematic.png +%%EXAMPLES%%arduino/examples/07.Display/barGraph/LEDBarGraph.txt +%%EXAMPLES%%arduino/examples/07.Display/barGraph/barGraph.ino +%%EXAMPLES%%arduino/examples/07.Display/barGraph/layout.png +%%EXAMPLES%%arduino/examples/07.Display/barGraph/schematic.png +%%EXAMPLES%%arduino/examples/08.Strings/CharacterAnalysis/CharacterAnalysis.ino +%%EXAMPLES%%arduino/examples/08.Strings/StringAdditionOperator/StringAdditionOperator.ino +%%EXAMPLES%%arduino/examples/08.Strings/StringAdditionOperator/StringAdditionOperator.txt +%%EXAMPLES%%arduino/examples/08.Strings/StringAppendOperator/StringAppendOperator.ino +%%EXAMPLES%%arduino/examples/08.Strings/StringCaseChanges/StringCaseChanges.ino +%%EXAMPLES%%arduino/examples/08.Strings/StringCaseChanges/StringCaseChanges.txt +%%EXAMPLES%%arduino/examples/08.Strings/StringCharacters/StringCharacters.ino +%%EXAMPLES%%arduino/examples/08.Strings/StringCharacters/StringCharacters.txt +%%EXAMPLES%%arduino/examples/08.Strings/StringComparisonOperators/StringComparisonOperators.ino +%%EXAMPLES%%arduino/examples/08.Strings/StringComparisonOperators/StringComparisonOperators.txt +%%EXAMPLES%%arduino/examples/08.Strings/StringConstructors/StringConstructors.ino +%%EXAMPLES%%arduino/examples/08.Strings/StringConstructors/StringConstructors.txt +%%EXAMPLES%%arduino/examples/08.Strings/StringIndexOf/StringIndexOf.ino +%%EXAMPLES%%arduino/examples/08.Strings/StringIndexOf/StringIndexOf.txt +%%EXAMPLES%%arduino/examples/08.Strings/StringLength/StringLength.ino +%%EXAMPLES%%arduino/examples/08.Strings/StringLength/StringLength.txt +%%EXAMPLES%%arduino/examples/08.Strings/StringLengthTrim/StringLengthTrim.ino +%%EXAMPLES%%arduino/examples/08.Strings/StringLengthTrim/StringLengthTrim.txt +%%EXAMPLES%%arduino/examples/08.Strings/StringReplace/StringReplace.ino +%%EXAMPLES%%arduino/examples/08.Strings/StringReplace/StringReplace.txt +%%EXAMPLES%%arduino/examples/08.Strings/StringStartsWithEndsWith/StringStartsWithEndsWith.ino +%%EXAMPLES%%arduino/examples/08.Strings/StringStartsWithEndsWith/StringStartsWithEndsWith.txt +%%EXAMPLES%%arduino/examples/08.Strings/StringSubstring/StringSubstring.ino +%%EXAMPLES%%arduino/examples/08.Strings/StringSubstring/StringSubstring.txt +%%EXAMPLES%%arduino/examples/08.Strings/StringToInt/StringToInt.ino +%%EXAMPLES%%arduino/examples/09.USB/Keyboard/KeyboardLogout/KeyboardLogout.ino +%%EXAMPLES%%arduino/examples/09.USB/Keyboard/KeyboardLogout/KeyboardLogout.txt +%%EXAMPLES%%arduino/examples/09.USB/Keyboard/KeyboardMessage/KeyboardMessage.ino +%%EXAMPLES%%arduino/examples/09.USB/Keyboard/KeyboardMessage/KeyboardMessage.txt +%%EXAMPLES%%arduino/examples/09.USB/Keyboard/KeyboardMessage/layout.png +%%EXAMPLES%%arduino/examples/09.USB/Keyboard/KeyboardMessage/schematic.png +%%EXAMPLES%%arduino/examples/09.USB/Keyboard/KeyboardReprogram/KeyboardReprogram.ino +%%EXAMPLES%%arduino/examples/09.USB/Keyboard/KeyboardReprogram/KeyboardReprogram.txt +%%EXAMPLES%%arduino/examples/09.USB/Keyboard/KeyboardSerial/KeyboardSerial.ino +%%EXAMPLES%%arduino/examples/09.USB/Keyboard/KeyboardSerial/KeyboardSerial.txt +%%EXAMPLES%%arduino/examples/09.USB/KeyboardAndMouseControl/KeyboardAndMouseControl.ino +%%EXAMPLES%%arduino/examples/09.USB/KeyboardAndMouseControl/KeyboardAndMouseControl.txt +%%EXAMPLES%%arduino/examples/09.USB/KeyboardAndMouseControl/layout.png +%%EXAMPLES%%arduino/examples/09.USB/KeyboardAndMouseControl/schematic.png +%%EXAMPLES%%arduino/examples/09.USB/Mouse/ButtonMouseControl/ButtonMouseControl.ino +%%EXAMPLES%%arduino/examples/09.USB/Mouse/ButtonMouseControl/ButtonMouseControl.txt +%%EXAMPLES%%arduino/examples/09.USB/Mouse/ButtonMouseControl/layout.png +%%EXAMPLES%%arduino/examples/09.USB/Mouse/ButtonMouseControl/schematic.png +%%EXAMPLES%%arduino/examples/09.USB/Mouse/JoystickMouseControl/JoystickMouseControl.ino +%%EXAMPLES%%arduino/examples/09.USB/Mouse/JoystickMouseControl/JoystickMouseControl.txt +%%EXAMPLES%%arduino/examples/09.USB/Mouse/JoystickMouseControl/layout.png +%%EXAMPLES%%arduino/examples/09.USB/Mouse/JoystickMouseControl/schematic.png +%%EXAMPLES%%arduino/examples/10.StarterKit_BasicKit/p02_SpaceshipInterface/p02_SpaceshipInterface.ino +%%EXAMPLES%%arduino/examples/10.StarterKit_BasicKit/p03_LoveOMeter/p03_LoveOMeter.ino +%%EXAMPLES%%arduino/examples/10.StarterKit_BasicKit/p04_ColorMixingLamp/p04_ColorMixingLamp.ino +%%EXAMPLES%%arduino/examples/10.StarterKit_BasicKit/p05_ServoMoodIndicator/p05_ServoMoodIndicator.ino +%%EXAMPLES%%arduino/examples/10.StarterKit_BasicKit/p06_LightTheremin/p06_LightTheremin.ino +%%EXAMPLES%%arduino/examples/10.StarterKit_BasicKit/p07_Keyboard/p07_Keyboard.ino +%%EXAMPLES%%arduino/examples/10.StarterKit_BasicKit/p08_DigitalHourglass/p08_DigitalHourglass.ino +%%EXAMPLES%%arduino/examples/10.StarterKit_BasicKit/p09_MotorizedPinwheel/p09_MotorizedPinwheel.ino +%%EXAMPLES%%arduino/examples/10.StarterKit_BasicKit/p10_Zoetrope/p10_Zoetrope.ino +%%EXAMPLES%%arduino/examples/10.StarterKit_BasicKit/p11_CrystalBall/p11_CrystalBall.ino +%%EXAMPLES%%arduino/examples/10.StarterKit_BasicKit/p12_KnockLock/p12_KnockLock.ino +%%EXAMPLES%%arduino/examples/10.StarterKit_BasicKit/p13_TouchSensorLamp/p13_TouchSensorLamp.ino +%%EXAMPLES%%arduino/examples/10.StarterKit_BasicKit/p14_TweakTheArduinoLogo/p14_TweakTheArduinoLogo.ino +%%EXAMPLES%%arduino/examples/10.StarterKit_BasicKit/p15_HackingButtons/p15_HackingButtons.ino +%%EXAMPLES%%arduino/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino +arduino/lib/about.png +arduino/lib/about@2x.png +arduino/lib/appdata.xml +arduino/lib/apple.jar +arduino/lib/arduino-arduinoide.xml +arduino/lib/arduino-core.jar +arduino/lib/arduino.png +arduino/lib/arduino_icon.ico +arduino/lib/arduino_small.png +arduino/lib/batik-1.8.jar +arduino/lib/batik-anim-1.8.jar +arduino/lib/batik-awt-util-1.8.jar +arduino/lib/batik-bridge-1.8.jar +arduino/lib/batik-codec-1.8.jar +arduino/lib/batik-css-1.8.jar +arduino/lib/batik-dom-1.8.jar +arduino/lib/batik-ext-1.8.jar +arduino/lib/batik-gvt-1.8.jar +arduino/lib/batik-parser-1.8.jar +arduino/lib/batik-rasterizer-1.8.jar +arduino/lib/batik-script-1.8.jar +arduino/lib/batik-squiggle-1.8.jar +arduino/lib/batik-svg-dom-1.8.jar +arduino/lib/batik-svgpp-1.8.jar +arduino/lib/batik-transcoder-1.8.jar +arduino/lib/batik-util-1.8.jar +arduino/lib/batik-xml-1.8.jar +arduino/lib/bcpg-jdk15on-152.jar +arduino/lib/bcprov-jdk15on-152.jar +arduino/lib/commons-codec-1.7.jar +arduino/lib/commons-compress-1.8.jar +arduino/lib/commons-exec-1.1.jar +arduino/lib/commons-httpclient-3.1.jar +arduino/lib/commons-lang3-3.3.2.jar +arduino/lib/commons-logging-1.0.4.jar +arduino/lib/commons-net-3.3.jar +arduino/lib/desktop.template +arduino/lib/formatter.conf +arduino/lib/icons/128x128/apps/arduino.png +arduino/lib/icons/16x16/apps/arduino.png +arduino/lib/icons/24x24/apps/arduino.png +arduino/lib/icons/256x256/apps/arduino.png +arduino/lib/icons/32x32/apps/arduino.png +arduino/lib/icons/48x48/apps/arduino.png +arduino/lib/icons/64x64/apps/arduino.png +arduino/lib/icons/72x72/apps/arduino.png +arduino/lib/icons/96x96/apps/arduino.png +arduino/lib/jackson-annotations-2.6.3.jar +arduino/lib/jackson-core-2.6.3.jar +arduino/lib/jackson-databind-2.6.3.jar +arduino/lib/jackson-module-mrbean-2.6.3.jar +arduino/lib/java-semver-0.8.0.jar +arduino/lib/jmdns-3.4.1.jar +arduino/lib/jna-4.1.0.jar +arduino/lib/jna-platform-4.1.0.jar +arduino/lib/jsch-0.1.50.jar +arduino/lib/jssc-2.8.0.jar +arduino/lib/keywords.txt +arduino/lib/libastylej.so +arduino/lib/liblistSerialsj.so +arduino/lib/pde.jar +arduino/lib/preferences.txt +arduino/lib/public.gpg.key +arduino/lib/rsyntaxtextarea-2.5.8.1+arduino.jar +arduino/lib/splash.bmp +arduino/lib/splash.png +arduino/lib/theme/buttons.png +arduino/lib/theme/buttons.svg +arduino/lib/theme/buttons@2x.png *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610222034.u9MKY7Qm006510>