Setup build script for opengl libs

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
gpu
sigonasr2 2 years ago
parent bcdbfe16cb
commit 80170e2cf2
  1. 12
      Java/scripts/build.sh
  2. 21
      lib/bin/META-INF/MANIFEST.MF
  3. BIN
      lib/bin/com/jogamp/common/ExceptionUtils$CustomStackTrace.class
  4. BIN
      lib/bin/com/jogamp/common/ExceptionUtils.class
  5. BIN
      lib/bin/com/jogamp/common/GlueGenVersion.class
  6. BIN
      lib/bin/com/jogamp/common/JogampRuntimeException.class
  7. BIN
      lib/bin/com/jogamp/common/jvm/JNILibLoaderBase$1.class
  8. BIN
      lib/bin/com/jogamp/common/jvm/JNILibLoaderBase$DefaultAction.class
  9. BIN
      lib/bin/com/jogamp/common/jvm/JNILibLoaderBase$LoaderAction.class
  10. BIN
      lib/bin/com/jogamp/common/jvm/JNILibLoaderBase.class
  11. BIN
      lib/bin/com/jogamp/common/net/AssetURLConnection.class
  12. BIN
      lib/bin/com/jogamp/common/net/AssetURLContext$1.class
  13. BIN
      lib/bin/com/jogamp/common/net/AssetURLContext.class
  14. BIN
      lib/bin/com/jogamp/common/net/AssetURLStreamHandler.class
  15. BIN
      lib/bin/com/jogamp/common/net/GenericURLStreamHandlerFactory$1.class
  16. BIN
      lib/bin/com/jogamp/common/net/GenericURLStreamHandlerFactory.class
  17. BIN
      lib/bin/com/jogamp/common/net/PiggybackURLConnection.class
  18. BIN
      lib/bin/com/jogamp/common/net/PiggybackURLContext.class
  19. BIN
      lib/bin/com/jogamp/common/net/Uri$ASCIIEncoded.class
  20. BIN
      lib/bin/com/jogamp/common/net/Uri$Encoded.class
  21. BIN
      lib/bin/com/jogamp/common/net/Uri.class
  22. BIN
      lib/bin/com/jogamp/common/net/UriQueryProps.class
  23. BIN
      lib/bin/com/jogamp/common/net/asset/Handler$1.class
  24. BIN
      lib/bin/com/jogamp/common/net/asset/Handler.class
  25. BIN
      lib/bin/com/jogamp/common/nio/AbstractBuffer.class
  26. BIN
      lib/bin/com/jogamp/common/nio/Buffers.class
  27. BIN
      lib/bin/com/jogamp/common/nio/ByteBufferInputStream.class
  28. BIN
      lib/bin/com/jogamp/common/nio/CachedBufferFactory$1.class
  29. BIN
      lib/bin/com/jogamp/common/nio/CachedBufferFactory$SynchronizedCachedBufferFactory.class
  30. BIN
      lib/bin/com/jogamp/common/nio/CachedBufferFactory.class
  31. BIN
      lib/bin/com/jogamp/common/nio/MappedByteBufferInputStream$1.class
  32. BIN
      lib/bin/com/jogamp/common/nio/MappedByteBufferInputStream$2.class
  33. BIN
      lib/bin/com/jogamp/common/nio/MappedByteBufferInputStream$CacheMode.class
  34. BIN
      lib/bin/com/jogamp/common/nio/MappedByteBufferInputStream$FileResizeOp.class
  35. BIN
      lib/bin/com/jogamp/common/nio/MappedByteBufferInputStream.class
  36. BIN
      lib/bin/com/jogamp/common/nio/MappedByteBufferOutputStream.class
  37. BIN
      lib/bin/com/jogamp/common/nio/NativeBuffer.class
  38. BIN
      lib/bin/com/jogamp/common/nio/PointerBuffer.class
  39. BIN
      lib/bin/com/jogamp/common/nio/StructAccessor.class
  40. BIN
      lib/bin/com/jogamp/common/os/AndroidVersion.class
  41. BIN
      lib/bin/com/jogamp/common/os/DynamicLibraryBundle$1.class
  42. BIN
      lib/bin/com/jogamp/common/os/DynamicLibraryBundle$GlueJNILibLoader.class
  43. BIN
      lib/bin/com/jogamp/common/os/DynamicLibraryBundle.class
  44. BIN
      lib/bin/com/jogamp/common/os/DynamicLibraryBundleInfo.class
  45. BIN
      lib/bin/com/jogamp/common/os/DynamicLinker.class
  46. BIN
      lib/bin/com/jogamp/common/os/DynamicLookupHelper.class
  47. BIN
      lib/bin/com/jogamp/common/os/MachineDataInfo$StaticConfig.class
  48. BIN
      lib/bin/com/jogamp/common/os/MachineDataInfo.class
  49. BIN
      lib/bin/com/jogamp/common/os/NativeLibrary$1.class
  50. BIN
      lib/bin/com/jogamp/common/os/NativeLibrary$2.class
  51. BIN
      lib/bin/com/jogamp/common/os/NativeLibrary$3.class
  52. BIN
      lib/bin/com/jogamp/common/os/NativeLibrary$4.class
  53. BIN
      lib/bin/com/jogamp/common/os/NativeLibrary$5.class
  54. BIN
      lib/bin/com/jogamp/common/os/NativeLibrary.class
  55. BIN
      lib/bin/com/jogamp/common/os/Platform$1.class
  56. BIN
      lib/bin/com/jogamp/common/os/Platform$ABIType.class
  57. BIN
      lib/bin/com/jogamp/common/os/Platform$CPUFamily.class
  58. BIN
      lib/bin/com/jogamp/common/os/Platform$CPUType.class
  59. BIN
      lib/bin/com/jogamp/common/os/Platform$OSType.class
  60. BIN
      lib/bin/com/jogamp/common/os/Platform.class
  61. BIN
      lib/bin/com/jogamp/common/type/WriteCloneable.class
  62. BIN
      lib/bin/com/jogamp/common/util/ArrayHashMap.class
  63. BIN
      lib/bin/com/jogamp/common/util/ArrayHashSet.class
  64. BIN
      lib/bin/com/jogamp/common/util/Bitfield$Factory.class
  65. BIN
      lib/bin/com/jogamp/common/util/Bitfield$Util.class
  66. BIN
      lib/bin/com/jogamp/common/util/Bitfield.class
  67. BIN
      lib/bin/com/jogamp/common/util/Bitstream$ByteArrayStream.class
  68. BIN
      lib/bin/com/jogamp/common/util/Bitstream$ByteBufferStream.class
  69. BIN
      lib/bin/com/jogamp/common/util/Bitstream$ByteInputStream.class
  70. BIN
      lib/bin/com/jogamp/common/util/Bitstream$ByteOutputStream.class
  71. BIN
      lib/bin/com/jogamp/common/util/Bitstream$ByteStream.class
  72. BIN
      lib/bin/com/jogamp/common/util/Bitstream.class
  73. BIN
      lib/bin/com/jogamp/common/util/CustomCompress.class
  74. BIN
      lib/bin/com/jogamp/common/util/FloatStack.class
  75. BIN
      lib/bin/com/jogamp/common/util/Function.class
  76. BIN
      lib/bin/com/jogamp/common/util/FunctionTask.class
  77. BIN
      lib/bin/com/jogamp/common/util/HashUtil.class
  78. BIN
      lib/bin/com/jogamp/common/util/IOUtil$1.class
  79. BIN
      lib/bin/com/jogamp/common/util/IOUtil$ClassResources.class
  80. BIN
      lib/bin/com/jogamp/common/util/IOUtil$StreamMonitor.class
  81. BIN
      lib/bin/com/jogamp/common/util/IOUtil.class
  82. BIN
      lib/bin/com/jogamp/common/util/IntBitfield.class
  83. BIN
      lib/bin/com/jogamp/common/util/IntIntHashMap$1.class
  84. BIN
      lib/bin/com/jogamp/common/util/IntIntHashMap$2.class
  85. BIN
      lib/bin/com/jogamp/common/util/IntIntHashMap$Entry.class
  86. BIN
      lib/bin/com/jogamp/common/util/IntIntHashMap$EntryCM.class
  87. BIN
      lib/bin/com/jogamp/common/util/IntIntHashMap$EntryIterator.class
  88. BIN
      lib/bin/com/jogamp/common/util/IntIntHashMap.class
  89. BIN
      lib/bin/com/jogamp/common/util/IntLongHashMap$1.class
  90. BIN
      lib/bin/com/jogamp/common/util/IntLongHashMap$2.class
  91. BIN
      lib/bin/com/jogamp/common/util/IntLongHashMap$Entry.class
  92. BIN
      lib/bin/com/jogamp/common/util/IntLongHashMap$EntryCM.class
  93. BIN
      lib/bin/com/jogamp/common/util/IntLongHashMap$EntryIterator.class
  94. BIN
      lib/bin/com/jogamp/common/util/IntLongHashMap.class
  95. BIN
      lib/bin/com/jogamp/common/util/IntObjectHashMap$1.class
  96. BIN
      lib/bin/com/jogamp/common/util/IntObjectHashMap$2.class
  97. BIN
      lib/bin/com/jogamp/common/util/IntObjectHashMap$Entry.class
  98. BIN
      lib/bin/com/jogamp/common/util/IntObjectHashMap$EntryCM.class
  99. BIN
      lib/bin/com/jogamp/common/util/IntObjectHashMap$EntryIterator.class
  100. BIN
      lib/bin/com/jogamp/common/util/IntObjectHashMap.class
  101. Some files were not shown because too many files have changed in this diff Show More

@ -1,9 +1,18 @@
#Builds and runs the project. #Builds and runs the project.
#Java #Java
source ${LANGUAGE}/scripts/version_info source ${LANGUAGE}/scripts/version_info
javac -source ${SOURCE_VERSION} -target ${TARGET_VERSION} -Xlint:unchecked -cp ${CLASS_PATH} -d ${OUT_DIR} ${PROJECT_DIR}/*.java if javac -source ${SOURCE_VERSION} -target ${TARGET_VERSION} -Xlint:unchecked -cp ${CLASS_PATH} -d ${OUT_DIR} ${PROJECT_DIR}/*.java; then
printf "\n\n\nRunning Program...\n\n" printf "\n\n\nRunning Program...\n\n"
ORIGINAL_LOC=$(pwd) ORIGINAL_LOC=$(pwd)
cd lib
rm -Rf bin
mkdir bin
jar -xvf gluegen-rt-natives-linux-amd64.jar
jar -xvf gluegen-rt.jar
jar -xvf jogl-all.jar
jar -xvf jogl-all-natives-linux-amd64.jar
mv $(find . -type d -not -path "." -not -path "./bin" -not -name "lib") bin
cd ..
cd $OUT_DIR cd $OUT_DIR
if java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -XX:+UseZGC -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"; then if java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -XX:+UseZGC -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"; then
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh ${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
@ -15,3 +24,4 @@ if java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -XX:+UnlockExperimentalVMOptions -XX:
fi fi
java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -XX:+PrintCommandLineFlags -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@" java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -XX:+PrintCommandLineFlags -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh ${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
fi

@ -0,0 +1,21 @@
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.4
Created-By: 1.8.0_60-b27 (Oracle Corporation)
Application-Name: Java Bindings for OpenGL
Specification-Title: Java Bindings for OpenGL API Specification
Specification-Version: 2.3
Specification-Vendor: JogAmp Community
Implementation-Title: Java Bindings for OpenGL Runtime Environment
Implementation-Version: 2.3.2
Implementation-Build: 2.3-b1469-20151010
Implementation-Branch: origin/master
Implementation-Commit: e794fc40ba723f2fca4ac892e873975fb393e007
Implementation-Vendor: JogAmp Community
Implementation-URL: http://jogamp.org/
Extension-Name: jogamp.nativetag.opengl
Implementation-Vendor-Id: com.jogamp
Trusted-Library: true
Permissions: all-permissions
Application-Library-Allowable-Codebase: *
Codebase: *.jogamp.org

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save