Skip to content

Commit 5e6ca28

Browse files
committed
added arm versions for linux
1 parent d5b7499 commit 5e6ca28

File tree

6 files changed

+73
-13
lines changed

6 files changed

+73
-13
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Changelog
33
index: 4
44
---
55

6+
## 3.5.0
7+
8+
- 💻 OS: Added Linux ARM 32-bit and ARM 64-bit versions
9+
610
## 3.4.0
711

812
- 🧹 Chore: Update Processing core to version 4.2

docs/de/book/installation.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ Als Erstes musst du dir die Scratch for Java jar-Datei für dein Betriebssystem
1616

1717
::download[Linux - Intel 64-bit]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-linux-amd64.jar"}
1818

19+
::download[Linux - ARM 32-bit]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-linux-arm.jar"}
20+
21+
::download[Linux - ARM 64-bit]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-linux-aarch64.jar"}
22+
1923
::download[MacOS - Intel 64-bit]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-macos-x86_64.jar"}
2024

2125
::download[MacOS - Apple Silicon]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-macos-aarch64.jar"}
@@ -46,6 +50,10 @@ Du kannst die Jar-Datei auch deinme classpath hinzufügen und so unabhängig von
4650

4751
::download[Linux - Intel 64-bit]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-linux-amd64.jar"}
4852

53+
::download[Linux - ARM 32-bit]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-linux-arm.jar"}
54+
55+
::download[Linux - ARM 64-bit]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-linux-aarch64.jar"}
56+
4957
::download[MacOS - Intel 64-bit]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-macos-x86_64.jar"}
5058

5159
::download[MacOS - Apple Silicon]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-macos-aarch64.jar"}

docs/en/book/installation.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ First, you need to download the Scratch for Java jar for your operating system.
1515

1616
::download[Linux - Intel 64-bit]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-linux-amd64.jar"}
1717

18+
::download[Linux - ARM 32-bit]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-linux-arm.jar"}
19+
20+
::download[Linux - ARM 64-bit]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-linux-aarch64.jar"}
21+
1822
::download[MacOS - Intel 64-bit]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-macos-x86_64.jar"}
1923

2024
::download[MacOS - Apple Silicon]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-macos-aarch64.jar"}
@@ -45,6 +49,10 @@ You need to add the Jar file for your operating system to the classpath.
4549

4650
::download[Linux - Intel 64-bit]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-linux-amd64.jar"}
4751

52+
::download[Linux - ARM 32-bit]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-linux-arm.jar"}
53+
54+
::download[Linux - ARM 64-bit]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-linux-aarch64.jar"}
55+
4856
::download[MacOS - Intel 64-bit]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-macos-x86_64.jar"}
4957

5058
::download[MacOS - Apple Silicon]{src="https://github.com/openpatch/scratch-for-java/releases/latest/download/scratch4j-macos-aarch64.jar"}

examples/java/Robot/package.bluej

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#BlueJ package file
2-
editor.fx.0.height=929
3-
editor.fx.0.width=800
4-
editor.fx.0.x=554
5-
editor.fx.0.y=32
6-
objectbench.height=110
2+
editor.fx.0.height=0
3+
editor.fx.0.width=0
4+
editor.fx.0.x=0
5+
editor.fx.0.y=0
6+
objectbench.height=102
77
objectbench.width=487
88
package.divider.horizontal=0.5995145631067961
9-
package.divider.vertical=0.8765822784810127
10-
package.editor.height=824
9+
package.divider.vertical=0.8850210970464135
10+
package.editor.height=832
1111
package.editor.width=693
12-
package.editor.x=1075
12+
package.editor.x=100
1313
package.editor.y=32
1414
package.frame.height=1048
1515
package.frame.width=844

resources/build.properties

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@ source.host=GitHub
7070
source.url=https://github.com/openpatch/scratch-for-java
7171
source.repository=https://github.com/openpatch/scratch-for-java.git
7272

73-
# The version as the user will see it.
74-
75-
library.prettyVersion=3.3.0
76-
7773
# Additional information for the generated webpage.
7874

7975
library.copyright=(c) 2022

resources/build.xml

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
</condition>
4242

4343

44+
4445
<property name="project.jar.name" value="${project.name}" />
4546
<property name="project.src" location="src" />
4647
<property name="project.tmp" location="tmp" />
@@ -91,6 +92,8 @@
9192
<mkdir dir="${project.libs}/macos-x86_64" />
9293
<mkdir dir="${project.libs}/macos-aarch64" />
9394
<mkdir dir="${project.libs}/linux-amd64" />
95+
<mkdir dir="${project.libs}/linux-arm" />
96+
<mkdir dir="${project.libs}/linux-aarch64" />
9497
</target>
9598

9699

@@ -122,6 +125,20 @@
122125
url="https://download.processing.org/jogl/v2.4.0-rc-20210111y/jogl-all-natives-linux-amd64.jar" />
123126
</get>
124127

128+
<get dest="${project.libs}/linux-arm" skipexisting="true" ignoreerrors="true">
129+
<url
130+
url="https://download.processing.org/jogl/v2.4.0-rc-20210111y/gluegen-rt-natives-linux-arm.jar" />
131+
<url
132+
url="https://download.processing.org/jogl/v2.4.0-rc-20210111y/jogl-all-natives-linux-arm.jar" />
133+
</get>
134+
135+
<get dest="${project.libs}/linux-aarch64" skipexisting="true" ignoreerrors="true">
136+
<url
137+
url="https://download.processing.org/jogl/v2.4.0-rc-20210111y/gluegen-rt-natives-linux-aarch64.jar" />
138+
<url
139+
url="https://download.processing.org/jogl/v2.4.0-rc-20210111y/jogl-all-natives-linux-aarch64.jar" />
140+
</get>
141+
125142
<get dest="${project.libs}/windows-amd64" skipexisting="true" ignoreerrors="true">
126143
<url
127144
url="https://download.processing.org/jogl/v2.4.0-rc-20210111y/gluegen-rt-natives-windows-amd64.jar" />
@@ -227,6 +244,28 @@
227244
</manifest>
228245
</jar>
229246

247+
<jar
248+
jarfile="${project.tmp}/${project.name}/${folder}/${project.jar.name}-linux-arm.jar"
249+
basedir="${project.bin}">
250+
<fileset dir="${project.dist}/javadoc" />
251+
<zipgroupfileset dir="${project.libs}" includes="*.jar" />
252+
<zipgroupfileset dir="${project.libs}/linux-arm" includes="*.jar" />
253+
<manifest>
254+
<attribute name="Class-Path" value="${project.libs}" />
255+
</manifest>
256+
</jar>
257+
258+
<jar
259+
jarfile="${project.tmp}/${project.name}/${folder}/${project.jar.name}-linux-aarch64.jar"
260+
basedir="${project.bin}">
261+
<fileset dir="${project.dist}/javadoc" />
262+
<zipgroupfileset dir="${project.libs}" includes="*.jar" />
263+
<zipgroupfileset dir="${project.libs}/linux-aarch64" includes="*.jar" />
264+
<manifest>
265+
<attribute name="Class-Path" value="${project.libs}" />
266+
</manifest>
267+
</jar>
268+
230269
<jar
231270
jarfile="${project.tmp}/${project.name}/${folder}/${project.jar.name}-windows-amd64.jar"
232271
basedir="${project.bin}">
@@ -296,6 +335,12 @@
296335
<move
297336
file="${project.dist.version}/tmp/${project.name}/library/${project.jar.name}-linux-amd64.jar"
298337
todir="${project.dist}" />
338+
<move
339+
file="${project.dist.version}/tmp/${project.name}/library/${project.jar.name}-linux-arm.jar"
340+
todir="${project.dist}" />
341+
<move
342+
file="${project.dist.version}/tmp/${project.name}/library/${project.jar.name}-linux-aarch64.jar"
343+
todir="${project.dist}" />
299344
<move
300345
file="${project.dist.version}/tmp/${project.name}/library/${project.jar.name}-macos-x86_64.jar"
301346
todir="${project.dist}" />
@@ -315,7 +360,6 @@
315360

316361
${line}
317362
Name ${project.name}
318-
Version ${library.prettyVersion}
319363
Compiled ${project.compile}
320364
${line}
321365
done, finished.

0 commit comments

Comments
 (0)