File: Use-packaged-libastyle.patch

package info (click to toggle)
arduino 2%3A1.8.19%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,960 kB
  • sloc: java: 26,464; python: 8,872; cpp: 3,573; xml: 1,237; sh: 551; perl: 90; ansic: 89; makefile: 53
file content (52 lines) | stat: -rw-r--r-- 1,819 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
From: Scott Howard <showard@debian.org>
Date: Wed, 28 Mar 2018 15:52:21 -0300
Subject: Use packaged libastyle

Forwarded: not-needed
---
 build/build.xml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/build/build.xml b/build/build.xml
index c4de6ae..4bd6b1f 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -667,6 +667,9 @@
   </target>
 
   <target name="linux-libastyle-x86" depends="linux-build" description="Download libastyle.so for x86/x64 arch">
+    <!-- (((
+    libastyle is already packaged
+
     <antcall target="unzip">
       <param name="archive_file" value="./libastylej-2.05.1-5.zip" />
       <param name="archive_url" value="https://downloads.arduino.cc/libastylej-2.05.1-5.zip" />
@@ -675,8 +678,9 @@
     </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}">
+	<antcall target="portable-${portable}">
       <param name="parentdir" value="linux/work" />
     </antcall>
 
@@ -692,6 +696,9 @@
   </target>
 
   <target name="linux-libastyle-arm" depends="linux-build" description="Download libastyle.so for ARM">
+    <!-- (((
+    libastyle is already packaged
+
     <antcall target="unzip">
       <param name="archive_file" value="./libastylej-2.05.1-5.zip" />
       <param name="archive_url" value="https://downloads.arduino.cc/libastylej-2.05.1-5.zip" />
@@ -700,6 +707,7 @@
     </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" />