| 1 | Fromscip-debian debian arduino 2:1.8.19+dfsg1-5 arduino/patches/`debian-hacks/Don-t-download-any-external-example-files.patch`#From.: Carsten Schoenert <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 | Datescip-debian debian arduino 2:1.8.19+dfsg1-5 arduino/patches/`debian-hacks/Don-t-download-any-external-example-files.patch`#Date.: Mon, 24 May 2021 08:37:44 +0200 |
| 3 | Subjectscip-debian debian arduino 2:1.8.19+dfsg1-5 arduino/patches/`debian-hacks/Don-t-download-any-external-example-files.patch`#Subject.: Don't download any external example files |
| 4 | |
| 5 | Forwarded: not-needed |
| 6 | --- |
| 7 | build/build.xml | 22 +++------------------- |
| 8 | 1 file changed, 3 insertions(+), 19 deletions(-) |
| 9 | |
| 10 | diff --git a/build/build.xmlscip-debian debian arduino 2:1.8.19+dfsg1-5 arduino/upstream/`build/build.xml`: b/build/build.xmlscip-debian debian arduino 2:1.8.19+dfsg1-5 arduino/upstream/`build/build.xml`: |
| 11 | index 35f34d2..d93214b 100644 |
| 12 | --- a/build/build.xml |
| 13 | +++ b/build/build.xml |
| 14 | @@ -229,25 +229,9 @@ |
| 15 | </target> |
| 16 | |
| 17 | <target name="assemble-examples"> |
| 18 | - <!-- Add the built-in example sketches --> |
| 19 | - <property name="BUILT-IN-EXAMPLES-REPOSITORY-OWNER" value="arduino" /> |
| 20 | - <property name="BUILT-IN-EXAMPLES-REPOSITORY-NAME" value="arduino-examples" /> |
| 21 | - <property name="BUILT-IN-EXAMPLES-STAGING-PATH" value="shared" /> |
| 22 | - <property name="BUILT-IN-EXAMPLES-FINAL-PATH" value="${target.path}/examples" /> |
| 23 | - |
| 24 | - <!-- Download built-in examples from repository --> |
| 25 | - <antcall target="unzip"> |
| 26 | - <param name="archive_file" value="${BUILT-IN-EXAMPLES-REPOSITORY-NAME}-${BUILT-IN-EXAMPLES-VERSION}.zip" /> |
| 27 | - <param name="archive_url" value="https://github.com/${BUILT-IN-EXAMPLES-REPOSITORY-OWNER}/${BUILT-IN-EXAMPLES-REPOSITORY-NAME}/archive/${BUILT-IN-EXAMPLES-VERSION}.zip" /> |
| 28 | - <!-- Because the presence of this folder determines whether the extraction happens, this must point to a version-dependent path, otherwise updates will fail --> |
| 29 | - <param name="final_folder" value="${BUILT-IN-EXAMPLES-STAGING-PATH}/${BUILT-IN-EXAMPLES-REPOSITORY-NAME}-${BUILT-IN-EXAMPLES-VERSION}/examples" /> |
| 30 | - <param name="dest_folder" value="${BUILT-IN-EXAMPLES-STAGING-PATH}" /> |
| 31 | - </antcall> |
| 32 | - |
| 33 | - <!-- Copy examples from subfolder of the downloaded repository --> |
| 34 | - <copy todir="${BUILT-IN-EXAMPLES-FINAL-PATH}"> |
| 35 | - <fileset dir="${BUILT-IN-EXAMPLES-STAGING-PATH}/${BUILT-IN-EXAMPLES-REPOSITORY-NAME}-${BUILT-IN-EXAMPLES-VERSION}/examples" /> |
| 36 | - </copy> |
| 37 | + <!-- Inform user somehow on this intervention on upstream idea --> |
| 38 | + <echo file="${target.path}/reference/fyi.txt" |
| 39 | + message="No downloads done during build of Arduino IDE ..." /> |
| 40 | </target> |
| 41 | |
| 42 | <!-- copy library folder --> |