Bug 583 - Please add an option to disable the need of android packages to build gluegen2
Summary: Please add an option to disable the need of android packages to build gluegen2
Status: RESOLVED FIXED
Alias: None
Product: Gluegen
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2012-05-15 14:48 CEST by Sylvestre Ledru
Modified: 2012-06-16 16:48 CEST (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
gluegen: b3c9951006f9bd863244f1db3d54ac7866d66f0a gluegen: 86c1df6fdca183454ff544857f4236b646c4730d gluegen: a52fe4275045252d9bd4436adec11aec393fadd5 jogl: 54d0ff131097a2cd9a91a0c1dd84deb8b1f7d0ac
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvestre Ledru 2012-05-15 14:48:42 CEST
Building the gluegen2 package became pretty hard with the release rc8.
For example, the src/java/jogamp/common/os/android/GluegenVersionActivity.java or src/java/com/jogamp/common/util/IOUtil.java files have many references to the android packages.
This is adding a build dependency which is big and without interest for many users...

Could you add an option to drop this usage ?
thanks
Comment 1 Sylvestre Ledru 2012-05-15 14:58:29 CEST
"src/java/jogamp/common/os/android/GluegenVersionActivity.java" is not relevant. 
Only OIUtil.java is
Comment 2 Sven Gothel 2012-05-15 15:02:07 CEST
Maybe you have missed that GlueGen already provides 
the Android JAR file and it's source ?

  ls gluegen/make/lib/android-sdk/9
  ls gluegen/make/lib/android-sdk/15

If you have considered the above, please elaborate on the problem,
otherwise - please close this bug.
Comment 3 Sylvestre Ledru 2012-05-15 15:13:33 CEST
These jar are removed from the tarball because distros needs to bootstrap everything from scratch. We are not including these jars, neither building them.
Comment 4 Sven Gothel 2012-05-15 15:22:20 CEST
I see, so we are talking about IOUtil: 652-662 ?

I will think about it's abstraction later (then setting this bug to 'in progress').
May take a few days before I can do that.

If you have a solution / idea in the meantime, please let me know.

Our builds are paused until end of May, when I will return from my travels.
Comment 5 Sylvestre Ledru 2012-05-15 15:24:49 CEST
Thanks

+ src/java/jogamp/common/os/android/
to be excluded from the build process
Comment 6 Sven Gothel 2012-05-15 15:27:36 CEST
(In reply to comment #5)
> Thanks
> 
> + src/java/jogamp/common/os/android/
> to be excluded from the build process

Ay.

Thank you Sylvestre!
Comment 7 Sylvestre Ledru 2012-05-15 15:50:14 CEST
Thanks to you for taking in account comments ;)

There is also this one:
+ ./src/java/com/jogamp/common/util/JogampVersion.java
and I think that is all!
Comment 8 Sven Gothel 2012-06-04 04:41:39 CEST
GlueGen commit b3c9951006f9bd863244f1db3d54ac7866d66f0a
cleans up the Android dependency.

TODO: JOGL/NEWT
Comment 9 Sven Gothel 2012-06-15 05:35:18 CEST
Proper separation of JavaSE and Android is fixed with the referenced commits (SCM Refs).

gluegen: b3c9951006f9bd863244f1db3d54ac7866d66f0a
gluegen: 86c1df6fdca183454ff544857f4236b646c4730d
gluegen: a52fe4275045252d9bd4436adec11aec393fadd5
jogl: 54d0ff131097a2cd9a91a0c1dd84deb8b1f7d0ac
Comment 10 Wade Walker 2012-06-16 16:48:06 CEST
Thanks, this fixed the build for me too :)