[Gvsig_english] Compiling gvsig mobile for Linux

Chris Puttick chris.puttick at thehumanjourney.net
Sun Jun 8 18:31:31 CEST 2008


Full specs here:

http://wiki.openmoko.org/wiki/Neo_FreeRunner_GTA02_Hardware

480*640 absolute jewel of a screen
400/500 MHz Samsung 2442B Processor/SOC (400 minimum) - not got one with me, can't confirm the spec of the smaple devices - Joseph?
128 MB SDRAM total, 64 MB CPU internal, 64 MB external 

Cheers

Chris

----- "Juan Lucas Dominguez Rubio" <jldominguez at prodevelop.es> wrote:
> Hello, Joseph
>  
> Yes, those are good news. I'm going to prepare my next message.
>  
> In the meantime, tell me something about your device: screen size?
> processor speed? memory?
>  
> Regards,
>  
> Juan Lucas Domínguez Rubio
> Prodevelop SL, Valencia (España)
> Tlf.: 96.351.06.12 -- Fax: 96.351.09.68
> http://www.prodevelop.es <http://www.prodevelop.es/> 
> 
> ________________________________
> 
> De: gvsig_internacional-bounces at runas.cap.gva.es en nombre de Joseph
> Reeves
> Enviado el: dom 08/06/2008 18:11
> Para: Users and Developers mailing list
> Asunto: Re: [Gvsig_english] Compiling gvsig mobile for Linux
> 
> 
> 
> Thanks Juan,
> 
> Those instructions produced the results you were expecting in your
> first reply. I hope that's good news :)
> 
> Best regards,
> 
> Joseph
> 
> 
> 
> 2008/6/8 Juan Lucas Dominguez Rubio <jldominguez at prodevelop.es>:
> > Hello, Joseph
> >
> > Sorry, I assumed there was a file called classpath-gtk.jar after
> watching
> > the example in the Jalimo website.
> >
> > If you cannot find any file that matches classpath*.jar, we'll
> assume that
> > it's not necessary to add it to the -cp parameter when starting the
> > application. So try this instead:
> >
> > cacao -cp /usr/tmp/jar_test.jar org.gvsig.moko.Launcher01
> > cacao -cp /usr/tmp/jts_test.jar org.gvsig.moko.Launcher02
> >
> > Regards,
> >
> > Juan Lucas Domínguez Rubio
> > Prodevelop SL, Valencia (España)
> > Tlf.: 96.351.06.12 -- Fax: 96.351.09.68
> > http://www.prodevelop.es <http://www.prodevelop.es/> 
> > ________________________________
> > De: gvsig_internacional-bounces at runas.cap.gva.es en nombre de Joseph
> Reeves
> > Enviado el: dom 08/06/2008 16:04
> > Para: Users and Developers mailing list
> > Asunto: Re: [Gvsig_english] Compiling gvsig mobile for Linux
> >
> > Hello Juan,
> >
> > Many thanks for your offer of help. Unfortunately I don't seem to
> be
> > doing too well so far...
> >
> > classpath-gtk is installed, but it doesn't give me
> > /usr/share/java/classpath-gtk.jar:
> >
> > root at om-gta02:~# opkg info classpath-gtk
> > Package: classpath-gtk
> > Version: 0.97.1-r1
> > Depends: gtk+-fastscaling (>= 2.10.14), libatk-1.0-0 (>= 1.20.0),
> > pango (>= 1.18.3), libcairo2 (>= 1.4.10), libglib-2.0-0 (>=
> 2.14.1),
> > libc6 (>= 2.5), libfreetype6 (>= 2.3.5), libfontconfig1 (>= 2.4.1),
> > libsm6 (>= 1.0.3), libice6 (>= 1.0.3), libxrender1 (>= 0.9.2),
> > libxtst6 (>= 1.0.2)
> > Provides: classpath-awt
> > Status: install user installed
> > Section: libs
> > Architecture: armv4t
> > maintainer: Angstrom Developers
> <angstrom-distro-devel at linuxtogo.org>
> > MD5Sum: 5867242956dc91b98883a6ab1d0b1ec5
> > Filename: classpath-gtk_0.97.1-r1_armv4t.ipk
> > Source: ftp://ftp.gnu.org/gnu/classpath/classpath-0.97.1.tar.gz
> > file://netif_16.patch;patch=1;pnum=0
> <file://netif_16.patch;patch=1;pnum=0/> 
> > file://SimpleName.diff;patch=1;pnum=0
> <file://SimpleName.diff;patch=1;pnum=0/> 
> > Description: GNU Classpath standard Java libraries
> >
> > root at om-gta02:~# opkg files classpath-gtk
> > Package classpath-gtk (0.97.1-r1) is installed on root and has the
> > following files:
> > /usr/lib/classpath/libgtkpeer.so
> > /usr/lib/classpath/libjawt.so
> >
> > root at om-gta02:~# ls /usr/share/java/
> > swt-gtk-3.3+3.4M5.jar  swt-gtk.jar            swt.jar
> >
> > root at om-gta02:~# ls /usr/lib/classpath/
> > libgtkpeer.so                   libjavalangmanagement.so.0
> > libjavanio.so
> > libjavaio.so                    libjavalangmanagement.so.0.0.0
> > libjavanio.so.0
> > libjavaio.so.0                  libjavalangreflect.so
> > libjavanio.so.0.0.0
> > libjavaio.so.0.0.0              libjavalangreflect.so.0
> > libjavautil.so
> > libjavalang.so                  libjavalangreflect.so.0.0.0
> > libjavautil.so.0
> > libjavalang.so.0                libjavanet.so
> > libjavautil.so.0.0.0
> > libjavalang.so.0.0.0            libjavanet.so.0                
> libjawt.so
> > libjavalangmanagement.so        libjavanet.so.0.0.0            
> security
> > root at om-gta02:~#
> >
> > Regards,
> >
> > Joseph
> >
> >
> >
> >
> > 2008/6/7 Juan Lucas Dominguez Rubio <jldominguez at prodevelop.es>:
> >> Hello, Joseph
> >>
> >> I'd like to help you run gvSIG Mobile on your Openmoko device.
> First, we
> >> should test if your Java virtual machine has the necessary
> packages. I
> >> have
> >> prepared two examples. Please unzip the attached openmoko.zip and
> copy
> >> those
> >> two JAR files to a temporary folder in your device (for example
> /usr/tmp/
> >> or
> >> whatever). You will have to install the classpath-gtk package,
> because
> >> we'll
> >> need the awt classes. I guess this command does that:
> >>
> >> ipkg install classpath-gtk
> >>
> >> Then, please try to run these two trivial applications and tell me
> what
> >> you
> >> see in the Java console. These applications simply try to
> instantiate a
> >> few
> >> objects and use System.out.println to display the responses of a
> few
> >> methods. If you have copied the JAR files to a folder other than
> >> /usr/tmp/,
> >> you'll have to modify these paths:
> >>
> >> cacao -cp /usr/share/java/classpath-gtk.jar;/usr/tmp/jar_test.jar
> >> org.gvsig.moko.Launcher01
> >> cacao -cp /usr/share/java/classpath-gtk.jar;/usr/tmp/jts_test.jar
> >> org.gvsig.moko.Launcher02
> >>
> >> Perhaps you will have to use quotes for the -cp parameter:
> >>
> >> cacao -cp
> "/usr/share/java/classpath-gtk.jar;/usr/tmp/jar_test.jar"
> >> org.gvsig.moko.Launcher01
> >> cacao -cp
> "/usr/share/java/classpath-gtk.jar;/usr/tmp/jts_test.jar"
> >> org.gvsig.moko.Launcher02
> >>
> >> The output of the first test should be:
> >>
> >> ===============================
> >> Trying to instantiate a String...
> >> The string length is: 13
> >> Trying to instantiate an URL...
> >> The host is: www.openmoko.org
> >> Trying to instantiate a MenuItem...
> >> The menu item has 0 action listeners.
> >> Trying to instantiate a Button...
> >> The button bounds are:
> java.awt.Rectangle[x=0,y=0,width=100,height=50]
> >> Trying to instantiate a Choice...
> >> The Choice has 2 items.
> >> Trying to instantiate a Rectangle2D.Double...
> >> The center X is: 0.5
> >> Trying to instantiate a GeneralPath...
> >> The GP has been moved.
> >> Trying to use a nice constant...
> >> ByteOrder.BIG_ENDIAN = BIG_ENDIAN
> >> Trying to instantiate a Pattern...
> >> pat.toString() = foo
> >> ===============================
> >>
> >> The output of the second test should be:
> >>
> >> ===============================
> >> Trying to use Coordinates...
> >> Trying to use CGAlgorithms...
> >> The area of the triangle is: -1.5
> >> ===============================
> >>
> >> Regards,
> >>
> >>
> >> Juan Lucas Domínguez Rubio
> >> Prodevelop SL, Valencia (España)
> >> Tlf.: 96.351.06.12 -- Fax: 96.351.09.68
> >> http://www.prodevelop.es <http://www.prodevelop.es/> 
> >> ________________________________
> >> De: gvsig_internacional-bounces at runas.cap.gva.es en nombre de
> Joseph
> >> Reeves
> >> Enviado el: vie 06/06/2008 15:44
> >> Para: gvsig_internacional at runas.cap.gva.es
> >> Asunto: [Gvsig_english] Compiling gvsig mobile for Linux
> >>
> >> Dear all,
> >>
> >> I'm trying to get gvSIG running on the Openmoko FreeRunner [1] but
> am
> >> having issues. Any help would be greatly appreciated, although
> please
> >> be aware that I am not a programmer and have little experience
> with
> >> Java.
> >>
> >> I have a pre-release FreeRunner, for which there are various Java
> >> options [2]; I have Jalimo [3] installed and working. Is this
> >> suitable? Or do I need a J2ME installation?
> >>
> >> I've downloaded the java source [4] but have hit a stumbling
> block.
> >> I'm sure it's a particularly noob question, but what do I do next?
> >>
> >> Thanks in advance,
> >>
> >> Joseph
> >>
> >>
> >>
> >> [1] http://wiki.openmoko.org/wiki/Main_Page
> >> [2] http://wiki.openmoko.org/wiki/Java
> >> [3] https://wiki.evolvis.org/jalimo/index.php/OpenMoko
> >> [4]
> >>
> >>
> http://www.gvsig.gva.es/fileadmin/conselleria/images/Documentacion/descargas_mobile/fuentes/ws_gvsig_mobile_0.1.0_bn44.zip
> >> _______________________________________________
> >> Gvsig_internacional mailing list
> >> Gvsig_internacional at runas.cap.gva.es
> >> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
> >>
> >> _______________________________________________
> >> Gvsig_internacional mailing list
> >> Gvsig_internacional at runas.cap.gva.es
> >> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
> >>
> >>
> >
> > _______________________________________________
> > Gvsig_internacional mailing list
> > Gvsig_internacional at runas.cap.gva.es
> > http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
> >
> > _______________________________________________
> > Gvsig_internacional mailing list
> > Gvsig_internacional at runas.cap.gva.es
> > http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
> >
> >
> 
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at runas.cap.gva.es
> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional



------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.




More information about the Gvsig_internacional mailing list