-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
334 changed files
with
11,931 additions
and
25,063 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,6 @@ build | |
/papart-complete.tgz | ||
/PapARt.tgz | ||
/big-files/ | ||
/Papart-examples-master/ | ||
/Papart-examples/ | ||
*.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
cd papart | ||
mvn install | ||
mvn javadoc:javadoc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/ruby | ||
# coding: utf-8 | ||
|
||
|
||
# %x(sh downloadExamples.sh) | ||
|
||
current_branch = %x(git rev-parse --abbrev-ref HEAD).chomp | ||
|
||
output_names=["realsense", | ||
"kinect", | ||
"hardware2", | ||
"hardware3"] | ||
|
||
output_names.each do |release_name| | ||
puts "Get the version: " + release_name | ||
%x(git checkout release-#{release_name}) | ||
puts "Build it." | ||
%x(sh build.sh) | ||
puts "Create redistribuable." | ||
%x(sh createRedist.sh #{release_name}) | ||
end | ||
|
||
%x(git checkout #{current_branch}) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/libraries/ | ||
*.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
#!/bin/bash | ||
|
||
|
||
mkdir libraries | ||
|
||
echo "Get Toxiclibs" | ||
|
||
wget https://bitbucket.org/postspectacular/toxiclibs/downloads/toxiclibs-complete-0020.zip | ||
|
||
unzip toxiclibs-complete-0020.zip | ||
mv audioutils libraries/ | ||
mv colorutils libraries/ | ||
mv datautils libraries/ | ||
mv simutils libraries/ | ||
mv toxiclibscore libraries/ | ||
mv toxiclibs_p5 libraries/ | ||
mv verletphysics libraries/ | ||
mv volumeutils libraries/ | ||
|
||
echo "Get SVGExtended" | ||
wget https://github.com/Rea-lity-Tech/SVGExtended/releases/download/2.3.1/SVGExtended.tgz | ||
|
||
tar xvzf SVGExtended.tgz | ||
mv SVGExtended libraries/ | ||
|
||
echo "Get Processing Video" | ||
#wget https://github.com/processing/processing-video/releases/download/latest/video.zip | ||
|
||
unzip video.zip | ||
unzip video | ||
mv video libraries/ | ||
|
||
|
||
echo "Get Processing TUIO" | ||
wget https://github.com/poqudrof/ProcessingTUIO/releases/download/0.5/processingTUIO.tgz | ||
|
||
tar xvzf processingTUIO.tgz | ||
mv processingTUIO libraries/ | ||
|
||
|
||
echo "Get OSCP5" | ||
wget http://www.sojamo.de/libraries/oscP5/download/oscP5-0.9.8.zip | ||
|
||
unzip oscP5-0.9.8.zip | ||
mv oscP5 libraries/ | ||
|
||
echo "Get Skatolo" | ||
wget https://github.com/poqudrof/Skatolo/releases/download/1.0.1/skatolo.tgz | ||
|
||
tar xvzf skatolo.tgz | ||
mv skatolo libraries/ | ||
|
||
echo "Get Gui Modes" | ||
wget https://github.com/poqudrof/guiModes/releases/download/0.5/guiModes.tgz | ||
|
||
tar xvzf guiModes.tgz | ||
mv guiModes libraries/ | ||
|
||
echo "get Peasycam" | ||
wget http://mrfeinberg.com/peasycam/peasycam_202.zip | ||
unzip peasycam_202.zip | ||
mv peasycam libraries/ | ||
|
||
echo "Compile reflections" | ||
cd reflections-build | ||
ruby createLibs.rb | ||
cp reflections.tgz .. | ||
cd .. | ||
tar xvzf reflections.tgz | ||
mv reflections libraries/ | ||
|
||
echo "Compile JavaCV" | ||
cd javacv-build | ||
ruby createLibs.rb | ||
mv javacv-*.tgz .. | ||
|
||
echo "compile all" | ||
zip -r libraries.zip libraries |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/ruby | ||
|
||
|
||
platforms = ["linux", "windows"] | ||
archs = ["x86_64", "x86"] | ||
|
||
|
||
def build(platform, arch) | ||
|
||
puts "Build " + platform | ||
%x(cp pom-#{platform}.xml pom.xml) | ||
|
||
puts "Get the library" | ||
|
||
%x(mvn -Dplatform=#{platform}-#{arch} dependency:copy-dependencies) | ||
|
||
%x(rm target/dependency/*linux*) if platform.eql? "windows" | ||
|
||
`mv target/dependency target/library` | ||
`mv target javacv` | ||
`mv javacv/library/javacv-1.3.jar javacv/library/javacv.jar` | ||
|
||
puts "compress library" | ||
`tar -zcf javacv-#{platform}-#{arch}.tgz javacv` | ||
`rm -rf javacv` | ||
|
||
puts "done javacv-" + platform + "-" + arch | ||
|
||
%x(rm pom.xml) | ||
end | ||
|
||
build("linux", "x86_64") | ||
build("windows", "x86_64") | ||
build("windows", "x86") | ||
|
||
# mvn -Dplatform=windows-x86_64 dependency:copy-dependencies |
Oops, something went wrong.