#jogamp @ irc.freenode.net - 20130807 05:06:06 (UTC)


20130807 05:06:06 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20130806050606.html
20130807 05:06:06 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20130807050606.html
20130807 08:18:13 * xranby (~familjen@anon) has left #jogamp
20130807 09:09:35 * xranby (~xranby@anon) has joined #jogamp
20130807 09:09:52 <sgothel> Good morning
20130807 09:10:18 <sgothel> the compact works w/ JOGL, have to separate the AWT out of the NEWT only unit tests .. a bit better
20130807 09:10:55 <sgothel> i.e. some good ClassNotFound exceptions happend regarding n/a AWT stuff from AWTRobot .. nice
20130807 09:11:09 <sgothel> -> compact1 profile that is
20130807 09:11:59 <sgothel> Thx Xerxes - so I guess the modularization step is already answered for now!
20130807 09:12:14 <sgothel> For me .. next will be JWeb .. (browser plugin)
20130807 09:12:43 <sgothel> We would need to add recipes for building JPE161 for all other platforms ofc ..
20130807 09:16:16 <xranby> sgothel: hg clone http://icedtea.classpath.org/hg/icedtea-web
20130807 09:17:57 <xranby> cd icedtea-web
20130807 09:20:24 <xranby> ./autogen.sh
20130807 09:20:24 <xranby> ./configure --prefix=/opt/icedtea-web
20130807 09:20:24 <xranby> make
20130807 09:20:24 <xranby> make install
20130807 09:20:42 <sgothel> yes Sir ! :)
20130807 09:21:07 <sgothel> Yesterday I was reading about the issues of 'fake security' as they like to put it (and I do agree) ..
20130807 09:21:15 <sgothel> i.e. message boxes .. and all of that
20130807 09:21:52 <sgothel> while being able to abstract out things .. (AWT) and create a NEWT alternative impl. the issue would be chicken-and-egg regarding UI.
20130807 09:22:11 <sgothel> i.e. the super fast straight fwd would be either to drop all UI messages ..
20130807 09:22:13 <xranby> when you test icedtea-web create a link from ~/.mozilla/plugins/IcedTeaPlugin.so pointing to the plugin in /opt/icedtea-web/lib/IcedTeaPlugin.so
20130807 09:22:39 <sgothel> (still in the thinking process)
20130807 09:23:09 <sgothel> or (UI messages): (1) use html itself via broser, (2) use full JOGL/Graph
20130807 09:23:29 <sgothel> if using the latter (2), the plugin would be a JogAmp only plugin
20130807 09:23:44 <sgothel> at least w/ the NEWT plugin-plugin :)
20130807 09:24:13 <sgothel> [general-plugin] - [UI-plugin] - [user-app]
20130807 09:24:29 <sgothel> yup .. makes sense ?!
20130807 09:24:51 <sgothel> p1: general-plugin
20130807 09:24:57 <sgothel> p2: UI-plugin
20130807 09:25:03 <sgothel> p3: user-app
20130807 09:25:18 <sgothel> p1 loads p2, which must be signed - no UI can happen while doing so
20130807 09:25:40 <sgothel> p1+p2: will make a complete plugin, i.e. operable
20130807 09:25:59 <sgothel> then p3 can be loaded and run as usual
20130807 09:26:16 <sgothel> the 'only' issue is .. loading/installing p2 w/o any UI avail
20130807 09:26:18 <xranby> p3 == /opt/icedtea-web/bin/itweb-settings ?
20130807 09:26:38 <sgothel> I thought p3 is the user applet itself
20130807 09:26:44 <xranby> p4: webstart == /opt/icedtea-web/bin/javaws
20130807 09:27:02 <xranby> (optional?)
20130807 09:27:09 <sgothel> in current JWeb design .. I would drop JNLP/Webstart completly
20130807 09:27:23 <sgothel> why ? b/c orig JNLP implies even more UIs
20130807 09:27:34 <xranby> i see
20130807 09:27:39 <sgothel> lots of dialogue boxes (never really used) .. for files etc
20130807 09:27:57 <sgothel> p1 -> part-1
20130807 09:27:59 <sgothel> etc
20130807 09:28:19 <sgothel> again: loading p2 from an external source w/o UI avail .. might be an isue
20130807 09:28:22 <sgothel> *issue*
20130807 09:28:34 <sgothel> (the usual .. do you agree thingy)
20130807 09:29:01 <sgothel> so if this IS an issue, we could only deploy a product w/ p1+p2 -> a JOGL/NEWT'ish plugin
20130807 09:29:03 <xranby> you also mentioned idea yesterday of p5: browser extension that rewrite plugin ont available -> get ji gong
20130807 09:29:19 <sgothel> p1-3 .. only refers here for the applet loading
20130807 09:29:40 <sgothel> yes .. writing an extension which installs all .. would be sweet
20130807 09:29:59 <sgothel> best to find somebody who did write an extension already installing something .. hmm
20130807 09:30:12 <xranby> ok so p3 == the actual deployed end user app
20130807 09:30:23 <sgothel> yup
20130807 09:30:29 <xranby> p6 == /opt/icedtea-web/bin/itweb-settings to configure the plugin itself
20130807 09:30:55 <xranby> hopefully not required
20130807 09:31:12 <xranby> but maybe some people like to have a way to flush cache & uninstall applications
20130807 09:31:13 <sgothel> (do not hijack my namespace :) - the source code could keep the abstraction p1/p2 alive, while we would deploy a plugin w/ p1+p2
20130807 09:31:31 <sgothel> dunno what /opt/icedtea-web/bin/itweb-settings is ..
20130807 09:31:40 <xranby> hehe ok sorry for hijacking your p*: namespace ;)
20130807 09:31:52 <xranby> run it and you will be enlightened!
20130807 09:32:37 <sgothel> the control panel .. :)
20130807 09:33:18 <xranby> yup.. this one will need to be converted to newt + graph
20130807 09:33:24 <xranby> if we want to use it
20130807 09:33:51 <sgothel> .. on the very bottom of my thoughts right now :)
20130807 09:34:03 <sgothel> surely it could also simply still use AWT ..
20130807 09:34:11 <sgothel> i.e. we do not compete w/ current stuff
20130807 09:34:29 <sgothel> or a browser app .. something, from within extension
20130807 09:34:44 <sgothel> the latter might be most suitable
20130807 09:38:02 <xranby> icedtea-web configure got one important option --with-jre-home this one should point to the Ji Gong JRT install directory
20130807 09:38:17 <xranby> it will enable icedtea-web to actually locate the JRT
20130807 09:38:25 <xranby> on the mobile device
20130807 09:38:34 <xranby> by default it picks the location of the JDK used to build it
20130807 09:38:57 <sgothel> I was thinking of bundling JRT+plugin to one genuine thingy iff installed this way
20130807 09:38:58 <xranby> which naturally is not found on the end user device
20130807 09:39:34 <xranby> sgothel: then icedtea-web needs to know the install location on forehand
20130807 09:39:34 <sgothel> or lets say it shall not matter .. if JRE is found good, if not, install JRT - treated as equals
20130807 09:40:06 <xranby> because the path gets hardcoded into some of the icedtea-web tools and plugin
20130807 09:40:09 <sgothel> compile time ? then we surely need to change that - make it flexible/parametrize ..
20130807 09:40:13 <xranby> sure
20130807 09:40:32 <sgothel> java.home or something .. already exist
20130807 09:42:16 <xranby> that env variable is not used by the plugin.. for security reasons i think
20130807 09:42:27 <xranby> prevents the app from switching to a diff JRT
20130807 09:42:44 <sgothel> it's the java property set by the JVM itself AFAIK
20130807 09:43:19 <xranby> http://icedtea.classpath.org/hg/icedtea-web/log?rev=JAVA_HOME CVE-2010-3860
20130807 09:43:44 <sgothel> not JAVA_HOME, but 'java.home' :)
20130807 09:44:10 <sgothel> i.e. trad. plugin looks up deployment.properties listed JREs .. etc
20130807 09:44:17 <xranby> well. the java.home is not known by the plugin
20130807 09:44:22 <xranby> since its native code
20130807 09:44:35 <xranby> the plugin needs to find the jre java
20130807 09:44:39 <xranby> or libjvm.so
20130807 09:45:07 <sgothel> so we can install the plugin's library within the JRE/JRT
20130807 09:45:14 <xranby> sure
20130807 09:45:18 <xranby> relative path
20130807 09:45:22 <sgothel> this is how traditional plugin finds 'it's' JVM
20130807 09:45:56 <xranby> place a relative path to the --with-jre-home
20130807 09:45:58 <sgothel> so all this will boil down to migrating the plugin to JRT - simple
20130807 09:46:07 <xranby> shoudl fix it
20130807 09:46:14 <sgothel> great!
20130807 09:54:37 * odin_ (~Odin@anon) Quit (Quit: Leaving)
20130807 10:32:37 <xranby> for reference: https://access.redhat.com/security/cve/CVE-2010-3860
20130807 10:33:17 <xranby> java.home got removed
20130807 10:35:01 <xranby> or made private to the plugin
20130807 10:49:48 * odin_ (~Odin@anon) has joined #jogamp
20130807 11:21:20 <xranby> sgothel: before you dismiss JNLP
20130807 11:21:25 <xranby> javaws -headless Disables download window, other UIs.
20130807 11:51:12 <xranby> /opt/icedtea-web/bin/javaws -headless http://jomp.org/deployment/jogamp-current/jogl-applet-version.jnlp
20130807 11:51:30 <xranby> err
20130807 11:52:06 <xranby> /opt/icedtea-web/bin/javaws -headless http://jogamp.org/deployment/jogamp-current/jogl-applet-version.jnlp
20130807 11:52:27 <xranby> copy and pase error using the first link sorry for that
20130807 14:57:08 <sgothel> Xerxes .. now you are spilling our beans in public .. (my blubbering at siggraph) :)
20130807 14:57:26 <sgothel> JWeb .. chown'ed process
20130807 14:57:41 <sgothel> oh well, so I guess .. we have to add this now to bugzilla :)
20130807 15:00:39 <sgothel> @Xerxes: Out ELFParser could be referenced to the iced-tea-web wiki where we chat about os.arch .. ?!
20130807 15:01:27 <sgothel> Not that this interest us anymore .. but others may benefit .. i.e. iced-tea-web ? dunno. we could offer that to 'em .. if needed
20130807 15:01:44 <sgothel> (though I guess .. you already did so..)
20130807 15:04:29 <xranby> right it is only mentioned in the raspberry pi forum.. (how to determince armel vs armhf)
20130807 15:04:29 <xranby> i can update the icedtea-web wiki to add a reference to the ELFParser
20130807 15:04:48 <xranby> (16:58:38) sgothel: JWeb .. chown'ed process <- yes it is a good bug to keep track on and provide a fix for!
20130807 15:38:37 * xranby (~xranby@anon) Quit (Ping timeout: 276 seconds)
20130808 05:06:06 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20130808050606.html