Author: paperwing
Date: 2012-02-21 14:15:41 -0800 (Tue, 21 Feb 2012)
New Revision: 28327

Added:
   csplugins/trunk/toronto/jm/paperwing-build/gluegen.config
   csplugins/trunk/toronto/jm/paperwing-build/gluegen.files
   csplugins/trunk/toronto/jm/paperwing-build/install_jogl.sh
Modified:
   csplugins/trunk/toronto/jm/paperwing-build/jogl.config
   csplugins/trunk/toronto/jm/paperwing-build/jogl.files
Log:
Updated download list for JOGL files, added list of gluegen files. Added 
install_jogl.sh which will download and install JOGL to the maven repository 
but skip checking out Cytoscape.

Added: csplugins/trunk/toronto/jm/paperwing-build/gluegen.config
===================================================================
--- csplugins/trunk/toronto/jm/paperwing-build/gluegen.config                   
        (rev 0)
+++ csplugins/trunk/toronto/jm/paperwing-build/gluegen.config   2012-02-21 
22:15:41 UTC (rev 28327)
@@ -0,0 +1,2 @@
+GLUEGEN_VERSION=2.0-b33-20111219
+GLUEGEN_BASE_URL=https://jogamp.org/deployment/autobuilds/rc/gluegen-b33-2011-12-19_13-39-45

Added: csplugins/trunk/toronto/jm/paperwing-build/gluegen.files
===================================================================
--- csplugins/trunk/toronto/jm/paperwing-build/gluegen.files                    
        (rev 0)
+++ csplugins/trunk/toronto/jm/paperwing-build/gluegen.files    2012-02-21 
22:15:41 UTC (rev 28327)
@@ -0,0 +1,7 @@
+linux-amd64.7z
+linux-i586.7z
+macosx-universal.7z
+solaris-amd64.7z
+solaris-i584.7z
+windows-amd64.7z
+windows-i586.7z

Added: csplugins/trunk/toronto/jm/paperwing-build/install_jogl.sh
===================================================================
--- csplugins/trunk/toronto/jm/paperwing-build/install_jogl.sh                  
        (rev 0)
+++ csplugins/trunk/toronto/jm/paperwing-build/install_jogl.sh  2012-02-21 
22:15:41 UTC (rev 28327)
@@ -0,0 +1,56 @@
+#!/bin/bash
+
+function abspath {
+    python -c 'import os, sys; print os.path.realpath(sys.argv[1])' "$1"
+}
+
+BUILD_DIR=$(abspath build)
+TEMP_DIR=$(abspath build/temp)
+JAR_DIR=$(abspath build/jar)
+FILES_FILE=$(abspath jogl.files)
+GLUEGEN_FILES_FILE=$(abspath gluegen.files)
+
+source jogl.config
+source gluegen.config
+
+mkdir -p "${BUILD_DIR}"
+mkdir -p "${TEMP_DIR}"
+mkdir -p "${JAR_DIR}"
+
+# Download JOGL
+pushd "${TEMP_DIR}"
+for FILE in $(cat "${FILES_FILE}")
+do
+    URL=${JOGL_BASE_URL}/jogl-${JOGL_VERSION}-${FILE}
+    echo Downloading: ${URL}
+    curl -C - -k -O "${URL}"
+done
+
+# Download gluegen
+for FILE in $(cat "${GLUEGEN_FILES_FILE}")
+do
+    URL=${GLUEGEN_BASE_URL}/gluegen-${GLUEGEN_VERSION}-${FILE}
+    echo Downloading: ${URL}
+    curl -C - -k -O "${URL}"
+done
+
+for FILE in *.7z
+do
+    7z x "${FILE}"
+done
+mv */jar/*.jar "${JAR_DIR}"
+mv */jar/atomic/*.jar "${JAR_DIR}"
+popd
+
+pushd ${BUILD_DIR}
+
+# Check out repacker
+svn co http://chianti.ucsd.edu/svn/csplugins/trunk/toronto/jm/repacker/
+
+# Repackage JOGL
+pushd repacker
+    ./repack.sh jogl "${JAR_DIR}"/*.jar
+    ./deploy.sh cytoscape-temp ${JOGL_VERSION}
+popd
+
+popd


Property changes on: csplugins/trunk/toronto/jm/paperwing-build/install_jogl.sh
___________________________________________________________________
Added: svn:executable
   + *

Modified: csplugins/trunk/toronto/jm/paperwing-build/jogl.config
===================================================================
--- csplugins/trunk/toronto/jm/paperwing-build/jogl.config      2012-02-21 
16:09:56 UTC (rev 28326)
+++ csplugins/trunk/toronto/jm/paperwing-build/jogl.config      2012-02-21 
22:15:41 UTC (rev 28327)
@@ -1,2 +1,2 @@
-JOGL_VERSION=2.0-b23-20110303
-JOGL_BASE_URL=https://jogamp.org/deployment/autobuilds/rc/jogl-b23-2011-03-03_00-54-48/
\ No newline at end of file
+JOGL_VERSION=2.0-b45-20111219
+JOGL_BASE_URL=https://jogamp.org/deployment/autobuilds/rc/jogl-b45-2011-12-19_13-42-57

Modified: csplugins/trunk/toronto/jm/paperwing-build/jogl.files
===================================================================
--- csplugins/trunk/toronto/jm/paperwing-build/jogl.files       2012-02-21 
16:09:56 UTC (rev 28326)
+++ csplugins/trunk/toronto/jm/paperwing-build/jogl.files       2012-02-21 
22:15:41 UTC (rev 28327)
@@ -1,5 +1,7 @@
 linux-amd64.7z
 linux-i586.7z
 macosx-universal.7z
+solaris-amd64.7z
+solaris-i586.7z
 windows-amd64.7z
-windows-i586.7z
\ No newline at end of file
+windows-i586.7z

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to