mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
bringing linux release into the wide world of rev 83
This commit is contained in:
@@ -14,7 +14,7 @@ rm -rf processing-*
|
||||
cp -r ../shared processing
|
||||
|
||||
# add the libraries folder with source
|
||||
cp -r ../../lib work/libraries
|
||||
#cp -r ../../lib work/libraries
|
||||
cp -r ../../net work/libraries/
|
||||
cp -r ../../opengl work/libraries/
|
||||
cp -r ../../serial work/libraries/
|
||||
|
||||
12
processing/build/linux/dist/processing
vendored
12
processing/build/linux/dist/processing
vendored
@@ -9,14 +9,12 @@ export CLASSPATH
|
||||
PATH=`pwd`/`dirname $0`:`pwd`/java/bin:${PATH}
|
||||
export PATH
|
||||
|
||||
if test -l /usr/lib/libstdc++-libc6.2-2.so.3
|
||||
if test -f /usr/lib/libstdc++-libc6.2-2.so.3
|
||||
then
|
||||
java processing.app.Base
|
||||
else
|
||||
echo You need to install libstdc++-libc6.2-2.so.3
|
||||
echo or the rpm/package for compat-libstdc++
|
||||
echo in order to use Processing (because of jikes).
|
||||
echo
|
||||
echo Or if you have jikes working properly, and know
|
||||
echo what you're doing, you should edit this script.
|
||||
echo Processing uses jikes, which requires libstdc++-libc6.2-2.so.3
|
||||
echo You need to install it or the rpm/package for compat-libstdc++
|
||||
echo before Processing will run. Or if you have jikes working properly,
|
||||
echo and know what you are doing, you should edit this script.
|
||||
fi
|
||||
|
||||
@@ -16,7 +16,7 @@ else
|
||||
mkdir -p work/classes/processing/app/syntax
|
||||
mkdir -p work/classes/processing/app/tools
|
||||
|
||||
cp -r ../../lib work/libraries
|
||||
#cp -r ../../lib work/libraries
|
||||
cp -r ../../net work/libraries/
|
||||
cp -r ../../opengl work/libraries/
|
||||
cp -r ../../serial work/libraries/
|
||||
@@ -36,7 +36,7 @@ else
|
||||
|
||||
#mkdir work/lib/export
|
||||
mkdir work/lib/build
|
||||
mkdir work/classes
|
||||
#mkdir work/classes
|
||||
|
||||
# get the serial stuff
|
||||
#echo Copying serial support from bagel dir
|
||||
@@ -49,7 +49,7 @@ else
|
||||
cp dist/jikes work/
|
||||
chmod +x work/jikes
|
||||
|
||||
echo
|
||||
install -m 755 dist/processing work/processing
|
||||
fi
|
||||
|
||||
cd ../..
|
||||
@@ -81,7 +81,7 @@ cd ..
|
||||
|
||||
echo Building PDE for JDK 1.3
|
||||
|
||||
cd app/preprocessor
|
||||
cd app/preproc
|
||||
|
||||
# first build the default java goop
|
||||
# long path is to avoid requiring java to be in your PATH
|
||||
@@ -102,7 +102,7 @@ cd app
|
||||
|
||||
CLASSPATH="../build/linux/work/lib/core.jar:../build/linux/work/lib/mrj.jar:../build/linux/work/lib/antlr.jar:../build/linux/work/lib/oro.jar:../build/linux/work/lib/registry.jar:../build/linux/work/java/lib/rt.jar"
|
||||
|
||||
../build/linux/work/jikes -target 1.3 +D -classpath $CLASSPATH:../build/linux/work/classes -d ../build/linux/work/classes *.java jeditsyntax/*.java preprocessor/*.java tools/*.java
|
||||
../build/linux/work/jikes -target 1.3 +D -classpath $CLASSPATH:../build/linux/work/classes -d ../build/linux/work/classes *.java preproc/*.java syntax/*.java tools/*.java
|
||||
|
||||
cd ../build/linux/work/classes
|
||||
rm -f ../lib/pde.jar
|
||||
@@ -110,14 +110,8 @@ zip -0rq ../lib/pde.jar .
|
||||
cd ../../../..
|
||||
|
||||
|
||||
|
||||
### -- BUILD LIBRARIES ------------------------------------------------
|
||||
|
||||
|
||||
echo build libs for linux is incomplete... finish it
|
||||
exit
|
||||
|
||||
|
||||
cd build/linux
|
||||
|
||||
PLATFORM=linux
|
||||
@@ -154,25 +148,6 @@ mkdir -p $LIBRARIES/net/library/
|
||||
cp library/net.jar $LIBRARIES/net/library/
|
||||
|
||||
|
||||
# VIDEO LIBRARY
|
||||
echo Building video library...
|
||||
QTJAVA=/System/Library/Java/Extensions/QTJava.zip
|
||||
if test -f "${QTJAVA}"
|
||||
then
|
||||
echo "Found QuickTime for Java at $QTJAVA"
|
||||
else
|
||||
echo "QuickTime for Java must be installed before building."
|
||||
exit 1;
|
||||
fi
|
||||
cd ../video
|
||||
$JIKES -target 1.1 +D -classpath "$QTJAVA:$CLASSPATH" -d . *.java
|
||||
rm -f library/video.jar
|
||||
zip -r0q library/video.jar processing
|
||||
rm -rf processing
|
||||
mkdir -p $LIBRARIES/video/library/
|
||||
cp library/video.jar $LIBRARIES/video/library/
|
||||
|
||||
|
||||
# OPENGL LIBRARY
|
||||
echo Building OpenGL library...
|
||||
cd ../opengl
|
||||
@@ -182,30 +157,3 @@ zip -r0q library/opengl.jar processing
|
||||
rm -rf processing
|
||||
mkdir -p $LIBRARIES/opengl/library/
|
||||
cp library/opengl.jar $LIBRARIES/opengl/library/
|
||||
|
||||
|
||||
CLASSPATH=../$CLASSPATH
|
||||
JIKES=../../build/$PLATFORM/work/jikes
|
||||
CORE=../../build/$PLATFORM/work/lib/core.jar
|
||||
LIBRARIES=../../build/$PLATFORM/work/libraries
|
||||
|
||||
|
||||
# PARTICLES LIBRARY
|
||||
#echo Build particles library...
|
||||
#cd ../lib/particles
|
||||
#$JIKES -target 1.1 +D -d . *.java
|
||||
#rm -f library/particles.jar
|
||||
#zip -r0q library/particles.jar simong
|
||||
#rm -rf simong
|
||||
#mkdir -p $LIBRARIES/particles/library/
|
||||
#cp library/particles.jar $LIBRARIES/particles/library/
|
||||
|
||||
pwd
|
||||
|
||||
|
||||
|
||||
### -- BUILD STUB -----------------------------------------------
|
||||
|
||||
cd ../../build/linux
|
||||
|
||||
install -m 755 dist/processing work/processing
|
||||
|
||||
Reference in New Issue
Block a user