mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
all the changes for revision 58.. windows jre 1.4.1 and linux 1.4.2
This commit is contained in:
@@ -49,7 +49,9 @@ cp -r work/lib/export processing/lib/
|
||||
rm -rf processing/lib/export/CVS
|
||||
|
||||
# get platform-specific goodies from the dist dir
|
||||
cp work/Proce55ing processing/
|
||||
#cp work/Proce55ing processing/
|
||||
#cp work/processing processing/
|
||||
install -m 755 stub.sh processing/processing
|
||||
cp dist/lib/pde_linux.properties processing/lib/
|
||||
|
||||
# make sure notes.txt is unix LFs
|
||||
@@ -59,6 +61,16 @@ dos2unix processing/revisions.txt 2> /dev/null
|
||||
dos2unix processing/lib/pde.properties 2> /dev/null
|
||||
dos2unix processing/lib/pde_linux.properties 2> /dev/null
|
||||
|
||||
# get the serial stuff
|
||||
echo Copying serial support from bagel dir
|
||||
cp ../../bagel/serial/RXTXcomm.jar processing/lib/
|
||||
mkdir processing/lib/i386
|
||||
cp ../../bagel/serial/librxtxSerial.so processing/lib/i386/libSerial.so
|
||||
|
||||
# get jikes and depedencies
|
||||
gunzip < dist/jikes.gz > processing/jikes
|
||||
chmod +x processing/jikes
|
||||
|
||||
# zip it all up for release
|
||||
echo Creating tarball and finishing...
|
||||
P5=processing-$REVISION
|
||||
|
||||
@@ -28,6 +28,17 @@ else
|
||||
|
||||
cp dist/lib/pde_linux.properties work/lib/
|
||||
|
||||
# get the serial stuff
|
||||
echo Copying serial support from bagel dir
|
||||
cp ../../bagel/serial/RXTXcomm.jar work/lib/
|
||||
mkdir work/lib/i386
|
||||
cp ../../bagel/serial/librxtxSerial.so work/lib/i386/libSerial.so
|
||||
#chmod +x work/librxtxSerial.so
|
||||
|
||||
# get jikes and depedencies
|
||||
gunzip < dist/jikes.gz > work/jikes
|
||||
chmod +x work/jikes
|
||||
|
||||
echo
|
||||
fi
|
||||
|
||||
@@ -53,13 +64,14 @@ else
|
||||
fi
|
||||
cd bagel
|
||||
|
||||
CLASSPATH=/opt/java/lib/rt.jar:/opt/java/lib/ext/comm.jar
|
||||
CLASSPATH=../build/linux/work/java/lib/rt.jar
|
||||
#CLASSPATH=/opt/java/lib/rt.jar:/opt/java/lib/ext/comm.jar
|
||||
#CLASSPATH=../app/build/linux/work/java/lib/rt.jar:../app/build/linux/work/java/lib/ext/comm.jar
|
||||
export CLASSPATH
|
||||
|
||||
### --- make version with serial for the application
|
||||
echo Building bagel with serial and sonic support
|
||||
perl make.pl SERIAL SONIC JDK13
|
||||
perl make.pl SERIAL RXTX SONIC JDK13
|
||||
cp classes/*.class ../build/linux/work/classes/
|
||||
|
||||
### --- make version without serial for applet exporting
|
||||
@@ -75,9 +87,9 @@ cd app
|
||||
|
||||
echo Building PDE for JDK 1.3
|
||||
|
||||
CLASSPATH=../build/linux/work/classes:../build/linux/work/lib/kjc.jar:../build/linux/work/lib/oro.jar:../build/linux/work/java/lib/rt.jar:../build/linux/work/java/lib/ext/comm.jar
|
||||
CLASSPATH=../build/linux/work/classes:../build/linux/work/lib/kjc.jar:../build/linux/work/lib/oro.jar:../build/linux/work/java/lib/rt.jar:../build/linux/work/lib/RXTXcomm.jar
|
||||
|
||||
perl ../bagel/buzz.pl "jikes +D -classpath $CLASSPATH -d ../build/linux/work/classes" -dJDK13 *.java jeditsyntax/*.java
|
||||
perl ../bagel/buzz.pl "jikes +D -classpath $CLASSPATH -d ../build/linux/work/classes" -dJDK13 -dRXTX *.java jeditsyntax/*.java
|
||||
|
||||
cd ../build/linux/work/classes
|
||||
rm -f ../lib/pde.jar
|
||||
@@ -87,5 +99,5 @@ cd ../..
|
||||
|
||||
### -- BUILD STUB -----------------------------------------------
|
||||
|
||||
install -m 755 stub.sh work/Processing
|
||||
install -m 755 stub.sh work/processing
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
CLASSPATH=java/lib/rt.jar:lib:lib/build:lib/pde.jar:lib/kjc.jar:lib/oro.jar:java/lib/ext/comm.jar
|
||||
CLASSPATH=java/lib/rt.jar:lib:lib/build:lib/pde.jar:lib/kjc.jar:lib/oro.jar:lib/RXTXcomm.jar
|
||||
export CLASSPATH
|
||||
|
||||
exec java/bin/java PdeBase
|
||||
|
||||
@@ -20,10 +20,6 @@ rm -rf processing-*
|
||||
|
||||
# use 'shared' files as starting point
|
||||
cp -r ../shared processing
|
||||
#cp -r ../shared/fonts processing/
|
||||
#cp -r ../shared/reference processing/
|
||||
#cp -r ../shared/sketchbook processing/
|
||||
|
||||
rm -rf processing/CVS
|
||||
rm -rf processing/lib/CVS
|
||||
rm -rf processing/fonts/CVS
|
||||
@@ -45,6 +41,12 @@ unzip -q reference.zip
|
||||
rm reference.zip
|
||||
cd ..
|
||||
|
||||
# get serial stuff
|
||||
cp dist/serial_setup.command processing/
|
||||
chmod a+x processing/serial_setup.command
|
||||
cp ../../bagel/serial/RXTXcomm.jar processing/lib/
|
||||
cp ../../bagel/serial/libSerial.jnilib processing/
|
||||
|
||||
# get package from the dist dir
|
||||
cp -r dist/Processing.app processing/
|
||||
rm -rf processing/Processing.app/CVS
|
||||
@@ -53,13 +55,6 @@ rm -rf processing/Processing.app/Contents/MacOS/CVS
|
||||
rm -rf processing/Processing.app/Contents/Resources/CVS
|
||||
rm -rf processing/Processing.app/Contents/Resources/Java/CVS
|
||||
|
||||
cp -r dist/serial processing/
|
||||
rm -rf processing/serial/CVS
|
||||
rm -rf processing/serial/RXTX.pkg/CVS
|
||||
rm -rf processing/serial/RXTX.pkg/Contents/CVS
|
||||
rm -rf processing/serial/RXTX.pkg/Contents/Resources/CVS
|
||||
rm -rf processing/serial/RXTX.pkg/Contents/Resources/English.lproj/CVS
|
||||
|
||||
# put jar files into the resource dir, leave the rest in lib
|
||||
RES=processing/Processing.app/Contents/Resources/Java/
|
||||
mv processing/lib/*.jar $RES/
|
||||
@@ -77,9 +72,11 @@ cp -r work/lib/export processing/lib/
|
||||
rm -rf processing/lib/export/CVS
|
||||
|
||||
# get platform-specific goodies from the dist dir
|
||||
cp `which jikes` processing
|
||||
#cp `which jikes` processing
|
||||
gunzip < dist/jikes.gz > processing/jikes
|
||||
chmod a+x processing/jikes
|
||||
|
||||
cp dist/lib/pde_macosx.properties processing/lib/
|
||||
#cp dist/lib/comm.jar processing/lib/
|
||||
|
||||
# convert notes.txt to windows LFs
|
||||
# the 2> is because the app is a little chatty
|
||||
|
||||
+2
-2
@@ -3,11 +3,11 @@ com.apple.mrj.application.main=PdeBase
|
||||
|
||||
# enable java 1.3 and higher, meaning that java 1.4
|
||||
# will be used if it's installed.
|
||||
com.apple.mrj.application.JVMVersion=1.3+
|
||||
#com.apple.mrj.application.JVMVersion=1.3+
|
||||
|
||||
# if you're having trouble, add a # to the line above
|
||||
# and remove the # from the following line:
|
||||
#com.apple.mrj.application.JVMVersion=1.3.1
|
||||
com.apple.mrj.application.JVMVersion=1.3.1
|
||||
# this will revert back to java 1.3, since 1.4 has some issues
|
||||
|
||||
|
||||
|
||||
@@ -101,12 +101,14 @@ cd app
|
||||
|
||||
### -- BUILD PDE ------------------------------------------------
|
||||
|
||||
echo Building PDE for JDK 1.4
|
||||
#echo Building PDE for JDK 1.4
|
||||
echo Building PDE for JDK 1.3
|
||||
|
||||
# new rxtx
|
||||
CLASSPATH=../build/macosx/work/classes:../build/macosx/work/lib/kjc.jar:../build/macosx/work/lib/oro.jar:../build/macosx/work/lib/RXTXcomm.jar:$MACOSX_CLASSPATH
|
||||
|
||||
perl ../bagel/buzz.pl "jikes +D -classpath $CLASSPATH -d ../build/macosx/work/classes" -dJDK13 -dJDK14 -dMACOS -dRXTX *.java jeditsyntax/*.java
|
||||
#perl ../bagel/buzz.pl "jikes +D -classpath $CLASSPATH -d ../build/macosx/work/classes" -dJDK13 -dJDK14 -dMACOS -dRXTX *.java jeditsyntax/*.java
|
||||
perl ../bagel/buzz.pl "jikes +D -classpath $CLASSPATH -d ../build/macosx/work/classes" -dJDK13 -dMACOS -dRXTX *.java jeditsyntax/*.java
|
||||
|
||||
cd ../build/macosx/work/classes
|
||||
rm -f ../lib/pde.jar
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
PROCESSING DEVELOPMENT ENVIRONMENT
|
||||
|
||||
(c) 2001-03 Massachusetts Institute of Technology
|
||||
(c) 2001-03 Ben Fry and Casey Reas
|
||||
Massachusetts Institute of Technology
|
||||
and Interaction Design Institute Ivrea
|
||||
|
||||
|
||||
@@ -38,11 +39,8 @@ lather, rinse, repeat as necessary.
|
||||
|
||||
THANKS TO...
|
||||
|
||||
all the people on the bboard who reported bugs for this release.
|
||||
it's been really helpful for us.
|
||||
|
||||
also thanks to everyone who's been posting examples on the site,
|
||||
we're excited about what we're seeing.
|
||||
thanks to the many people who have been helping us out.
|
||||
it's huge. i'll get a nice long list of y'all in here soon.
|
||||
|
||||
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
@@ -82,8 +80,14 @@ term "issue."
|
||||
first, be sure to check under the notes for your specific platform to
|
||||
make sure it isn't a known issue or that there isn't a simple fix.
|
||||
|
||||
second, check the bboard to see if something related has been
|
||||
reported, or if there is already a workaround.
|
||||
note! avoid the urge to just email us at processing@media.mit.edu,
|
||||
or sending mail to ben or casey directly. while you may prefer the
|
||||
privacy of an email, it's much quicker for you to ask the whole gang,
|
||||
who are super helpful. we also what we use to keep track of bugs, so
|
||||
we may just ask you to use the bboard anyway.
|
||||
|
||||
ok where was i.. next, check the bboard to see if something related
|
||||
has been reported, or if there is already a workaround.
|
||||
|
||||
best method is to post to the bulletin board at:
|
||||
http://proce55ing.net/discourse/
|
||||
@@ -239,6 +243,8 @@ mouse wheel support only works if you're using java 1.4. the latest
|
||||
version of java will be available via the software update control
|
||||
panel.
|
||||
|
||||
(actually this paragraph is only relevant if you want to try java 1.4,
|
||||
since we wound up using 1.3 as the default for release 58)
|
||||
if you're having random troubles (exceptions being thrown,
|
||||
screen painting weirdness, general confusion) you might want to
|
||||
try running processing with java 1.3.1 instead of java 1.4. to do so,
|
||||
@@ -259,7 +265,10 @@ need to be changed). if you're getting a "serial port is already in
|
||||
use by another application" it's possible that you haven't run this
|
||||
script. you may also need to reboot after running the script. on my
|
||||
machine, i installed the keyspan driver for my usb-serial converter,
|
||||
ran the script, and then rebooted in order for things to work.
|
||||
ran the script, and then rebooted in order for things to work. in the
|
||||
past, i've used a keyspan 28X dual port adapter, and the selection i
|
||||
use on the serial port menu reads "/dev/cu.USA28X21P1.1". you'll
|
||||
probably have something similar. don't mind the frightening names.
|
||||
|
||||
naming of sketches.. on other platforms, you aren't allowed to type
|
||||
characters besides letters, numbers, and underscores for the names of
|
||||
@@ -271,9 +280,7 @@ sick of all these workarounds.
|
||||
quitting presentation mode.. on other platforms, hitting the
|
||||
'escape' key will quickly get you out of presentation mode. however,
|
||||
there seems to be some key event weirdness under osx. we hope to find
|
||||
a fix someday, but ben doesn't have a mac of his own for testing,
|
||||
so he doesn't have much time to track down workarounds for all of
|
||||
apple's bugs.
|
||||
a fix someday.
|
||||
|
||||
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
@@ -285,10 +292,15 @@ we have temporarily suspended development for mac os 9, because we
|
||||
don't have time to fight with this dying os before beta. we hope to
|
||||
resume mac os 9 development before releasing the final 1.0 version.
|
||||
|
||||
for releases earlier than 57:
|
||||
|
||||
java applications on classic mac os are in a bad state, as apple has
|
||||
decided (rightfully so) to abandon further development of their java
|
||||
runtime under OS 9.
|
||||
|
||||
serial works fairly well with my keyspan usb/serial adapter. thank god
|
||||
for patrick beard and jdirect.
|
||||
|
||||
versions: we only test under Mac OS 9.2.2, all others.. who knows?
|
||||
|
||||
|
||||
@@ -304,7 +316,7 @@ win95/98/me seem to have some trouble, but we think it's just with
|
||||
the .exe that we use, so that'll get fixed in the future. you can try
|
||||
using the 'run.bat' file instead, and see if that works better.
|
||||
|
||||
the release is now split into 'basic' and 'advanced' versions. the
|
||||
the release is now split into 'standard' and 'expert' versions. the
|
||||
basic release includes a working java vm, and is all set up and ready
|
||||
to go. the advanced version is for people who already have java
|
||||
installed (and don't want to deal with the 20MB download), and know
|
||||
@@ -333,6 +345,36 @@ show up with java 1.4.
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
LINUX
|
||||
|
||||
the processing application is just a shell script, you can use this
|
||||
as a guide to getting p5 to run with your specific configuration,
|
||||
because who knows what sort of setup you have. this release was tested
|
||||
on a redhat 9 box, and sun's jre 1.4.2 is included with the
|
||||
download. replacing (or making a symlink to) the contents of the
|
||||
'java' folder will let you tie in a preferred jvm for your machine.
|
||||
|
||||
jikes.. just as 58 was being released, we ran into a problem where
|
||||
jikes (the java compiler used by p5) couldn't be found by the
|
||||
application on linux. faced with the deadline, we decided to put up an
|
||||
error message saying it wasn't found. you should make sure jikes
|
||||
version 1.18 (we strongly recommend this specific version!) is
|
||||
installed on your machine and in your path.
|
||||
|
||||
serial.. this release uses rxtx-2.1_6 (just like macosx). you may get
|
||||
error message spew to the console when starting the application saying
|
||||
"Permission denied" and "No permission to create lock file" and to
|
||||
read "INSTALL". this is because you need to add yourself to either the
|
||||
uucp or lock group so that processing can write to /var/lock so it
|
||||
doesn't get in a fight with other applications talking on the serial
|
||||
port. supposedly, adding yourself to one of these groups will work
|
||||
(didn't for me, but i'm a little clueless) or running processing as
|
||||
root will get rid of the errors (not a great solution).
|
||||
|
||||
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
WHAT IS SKETCHBOOK?
|
||||
|
||||
we think most "integrated development environments" (microsoft visual
|
||||
@@ -362,29 +404,6 @@ splitStrings, etc) so file i/o should be fun!
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
SERIAL PORT
|
||||
|
||||
the serial port is a useful way to hook things up to hardware
|
||||
devices of your own devising. the reference describes the specifics
|
||||
of how to use the serial port.
|
||||
|
||||
the windows version works well, much better than in previous releases.
|
||||
|
||||
on macos9, works fairly well with my keyspan usb/serial adapter. thank
|
||||
god for patrick beard and jdirect.
|
||||
|
||||
on macosx, need rxtx to be installed (pkg included with p5 download),
|
||||
follow their bizarre instructions. on my machine, i'm using a keyspan
|
||||
28X dual port adapter, and the selection i use on the serial port menu
|
||||
reads "/dev/cu.USA28X21P1.1". your mileage may vary.
|
||||
|
||||
linux.. haven't tested but it's the ibm vm and their own
|
||||
implementation, but it may just work.
|
||||
|
||||
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
WHY IS IT CALLED "PROCESSING"?
|
||||
|
||||
|
||||
@@ -424,12 +443,13 @@ course this isn't a necessity, but it makes us happy when you do.
|
||||
|
||||
SOURCE CODE / OPEN SOURCE / GPL BLAH BLAH
|
||||
|
||||
we plan for this project to be "open source", that trendy moniker
|
||||
which means that you'll be able to look at all the code that's behind
|
||||
the processing development environment and the graphics engine used in
|
||||
tandem with it. we can't promise, since we're still working on getting
|
||||
the licensing taken care of with our employers, but we think this
|
||||
should likely happen soon.
|
||||
we plan for this project to be "open source", everyone's favorite
|
||||
phrase that means that you'll be able to get your grubby little mitts
|
||||
all over our code (all the code that's behind the processing
|
||||
development environment and the graphics engine used in tandem with
|
||||
it). we can't promise, since we're still working on getting the
|
||||
licensing taken care of with our employers, but we think this should
|
||||
likely happen soon.
|
||||
|
||||
the export libraries (internally known as 'bagel') will probably be
|
||||
LGPL, which means they can be used as a library and included in your
|
||||
@@ -449,7 +469,11 @@ processing will have to be released gpl. more about the oro tools is
|
||||
at: http://www.savarese.org/oro/ and the home for kopi/kjc is here:
|
||||
http://www.dms.at/kopi/
|
||||
|
||||
we're sorry that the source code isn't available just yet, we're
|
||||
kjc is being phased out in favor of the jikes compiler from ibm:
|
||||
http://oss.software.ibm.com/developerworks/opensource/jikes/
|
||||
which is covered by the ibm public license.
|
||||
|
||||
we're sorry that our source code isn't available just yet, we're
|
||||
cleaning and scrubbing it, it was a decision between getting the alpha
|
||||
out to people to try versus taking a few more weeks to clean up the
|
||||
project and deal with the technology licensing departments at mit and
|
||||
|
||||
@@ -4,6 +4,44 @@ for older releases will be super crusty. caution: the beverage you're
|
||||
about to enjoy is extremely hot.
|
||||
|
||||
|
||||
ABOUT REV 0058 - *also* 5 august 2003
|
||||
|
||||
a handful of fixes because of late-breaking problems with 57. argh!
|
||||
|
||||
see the revision 57 release notes for the more useful stuff that's
|
||||
changed, since it was released the same day.
|
||||
|
||||
|
||||
[ windows ]
|
||||
|
||||
- check to see if quicktime for java is installed, if it isn't, then
|
||||
warn the user that it needs to happen.
|
||||
|
||||
- moved back to java 1.4.1 so that sound and video work better.
|
||||
|
||||
|
||||
[ macosx ]
|
||||
|
||||
- replaced jikes with a version that doesn't require 'fink' to be
|
||||
installed.
|
||||
|
||||
- use java 1.3.1 as the default, instead of java 1.4. seems that 1.4
|
||||
is just not ready for prime time.
|
||||
|
||||
|
||||
[ linux ]
|
||||
|
||||
- brought linux java vm up to 1.4.2
|
||||
|
||||
- checks to see if jikes is in the PATH, warns if not. this is
|
||||
temporary, since jikes isn't properly found.
|
||||
|
||||
- testing and notes for new rxtx serial support
|
||||
|
||||
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
ABOUT REV 0057 - 5 august 2003
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user