Skip to content

Commit 8c2e438

Browse files
committed
release clarifications and changing the download names per supported platforms wiki
1 parent 36307aa commit 8c2e438

File tree

2 files changed

+37
-20
lines changed

2 files changed

+37
-20
lines changed

build/build.xml

Lines changed: 35 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159

160160
<!-- For now, just using the os.arch as the dist suffix; not sure if
161161
the alternatives (x64, arm32, arm64) are better/worth the trouble. -->
162-
<property name="dist.suffix" value="${os.arch}" />
162+
<!-- <property name="dist.suffix" value="${os.arch}" /> -->
163163

164164
<!-- Figure out the platform-specific output directory for all this work. -->
165165
<condition property="target.path"
@@ -897,6 +897,10 @@
897897

898898
<antcall target="macos-dist-sign" />
899899

900+
<condition property="dist.suffix" value="x64" else="${os.arch}">
901+
<equals arg1="${os.arch}" arg2="x86_64" />
902+
</condition>
903+
900904
<exec executable="ditto" dir="macos/work">
901905
<arg line="-c -k -rsrc . ../processing-${version}-macos-${dist.suffix}.zip" />
902906
</exec>
@@ -1064,27 +1068,33 @@
10641068
<target name="linux-dist" depends="linux-build"
10651069
description="Build .tar.gz of linux version">
10661070

1067-
<!--
1068-
<tar compression="gzip" destfile="linux/processing-${version}.tgz">
1069-
<tarfileset dir="linux/work" prefix="processing-${version}" />
1070-
</tar>
1071-
-->
1071+
<!-- rename the work folder temporarily -->
1072+
<move file="linux/work" tofile="linux/processing-${version}" />
10721073

1073-
<!-- rename the work folder temporarily -->
1074-
<move file="linux/work" tofile="linux/processing-${version}" />
1074+
<condition property="dist.suffix" value="x64">
1075+
<equals arg1="${os.arch}" arg2="amd64" />
1076+
</condition>
10751077

1076-
<property name="linux.dist" value="linux/processing-${version}-linux-${dist.suffix}.tgz" />
1078+
<condition property="dist.suffix" value="arm32">
1079+
<equals arg1="${os.arch}" arg2="arm" />
1080+
</condition>
10771081

1078-
<exec executable="tar">
1079-
<arg value="--directory=linux" />
1080-
<arg value="--file=${linux.dist}" />
1081-
<arg value="-cpz" />
1082-
<arg value="processing-${version}" />
1083-
</exec>
1082+
<condition property="dist.suffix" value="arm64">
1083+
<equals arg1="${os.arch}" arg2="aarch64" />
1084+
</condition>
1085+
1086+
<property name="linux.dist" value="linux/processing-${version}-linux-${dist.suffix}.tgz" />
10841087

1085-
<!-- put... the candle... back -->
1086-
<!-- (rename the work processing-NNNN version to work) -->
1087-
<move file="linux/processing-${version}" tofile="linux/work" />
1088+
<exec executable="tar">
1089+
<arg value="--directory=linux" />
1090+
<arg value="--file=${linux.dist}" />
1091+
<arg value="-cpz" />
1092+
<arg value="processing-${version}" />
1093+
</exec>
1094+
1095+
<!-- put... the candle... back -->
1096+
<!-- (rename the work processing-NNNN version to work) -->
1097+
<move file="linux/processing-${version}" tofile="linux/work" />
10881098

10891099
<echo>
10901100
=======================================================
@@ -1095,6 +1105,9 @@
10951105
</echo>
10961106
</target>
10971107

1108+
<!-- TODO Hasn't been tested for a bit, so this is probably broken...
1109+
In particular, the JavaScript stanza is unlikely to work
1110+
in Java 17, but there may be other issues. [fry 220124] -->
10981111
<target name="deb" depends="dist"
10991112
description="Build .deb of the Linux version">
11001113

@@ -1325,6 +1338,10 @@
13251338
<target name="windows-dist" depends="windows-build"
13261339
description="Create .zip files of windows version">
13271340

1341+
<condition property="dist.suffix" value="x64" else="${os.arch}">
1342+
<equals arg1="${os.arch}" arg2="amd64" />
1343+
</condition>
1344+
13281345
<property name="windows.dist" value="windows/processing-${version}-windows-${dist.suffix}.zip" />
13291346

13301347
<zip destfile="${windows.dist}">

build/shared/changes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Loooots of changes under the hood to better support more platforms. And by that,
66

77
For the Windows users, the scaling issues have finally been sorted out. Use 125% and 250% and whatever weird Windows scaling you want, and it will work. You can safely uncheck the “Disable HiDPI scaling” checkbox in Preferences.
88

9-
Against my better judgement, I'm posting a release that's native for Apple Silicon. OpenGL is currently broken. Sketches crash immediately. You should only use it if you're a masochist. Or a masochist that likes *extremely fast* but very incomplete software, and won't file bug reports saying "OpenGL is broken". But it's being posted for folks who do not need OpenGL, and/or want to help debug.
9+
Against my better judgement, I'm posting a release that's native for Apple Silicon. OpenGL is currently broken. Sketches crash immediately. You should only use it if you're a masochist. Or a masochist that likes *extremely fast* but very incomplete software, and won't file bug reports saying OpenGL is broken.” But it's being posted for folks who do not need OpenGL, and/or want to help debug.
1010

11-
We've also moved the FX2D (JavaFX) renderer to its own library, which will be available from the Contributions Manager.
11+
We've also moved the FX2D (JavaFX) renderer to its own library, which is available from the Contributions Manager.
1212

1313

1414
## New features!

0 commit comments

Comments
 (0)