Digital Finds
joseph dot reeves at thehumanjourney dot net

gvSIG Mobile 0.11 released & Call for Debian help

Mar 17, 2009 by Joseph Reeves

0.11

I've just released gvSIG for Openmoko version 0.11; a very small update over yesterday's first release. The only change is to the script that launches the application: the operating system is now presumed to be controlling GPSD, so we don't touch it, and the shell has been changed from bash to sh to make it run properly on SHR.

If you installed via the opkg.org repository you can simply opkg update && opkg upgrade. Otherwise the new ipk file is located here:

http://downloads.thehumanjourney.net/gvsigmobile_0.11_armv4t.ipk

Thanks to Al Johnson for diagnosing the error and Francesco de Virgilio for testing. Francesco was also the first person to get gvSIG Mobile working on SHR; here's an image I stole from his Flickr stream. Always good to see some more archaeology and Open Source!:

Debian packaging

I've created a .deb package for gvSIG Mobile (that's the easy bit), but was met with dependency hell when trying to install it. At the moment we rely upon jamvm (although other java implementations could be used), libswt3.4-gtk-java, gpsd, classpath-gtk and classpath-awt.

In short, we'd be very grateful if somebody was able to help turn Juan Lucas' original zip file into something that worked on Debian. Please get in contact if you have any luck, or would be keen to collaborate.



Comments:

Wow nice screen ;) Thanks for the great piece of software, we'll wait for new updates and functions :D And remember... it'll ever be an archeo-geek for testing free software...

Francesco

Posted by Fradeve on March 17, 2009 at 03:32 PM GMT #

If you want to find packagers for software, you can file a RFP (Request for Package) bug (see http://www.debian.org/devel/wnpp/).

In this particular case, you should tell the pkg-fso team about the software, someone there might be interested. See http://wiki.debian.org/Teams/DebianFSO and talk to http://lists.alioth.debian.org/mailman/listinfo/pkg-fso-maint

Posted by Joachim Breitner on March 17, 2009 at 10:44 PM GMT #

I wish I could help more...no spare time and lack of java experience... to progress somewhere I had to install
libswt-gtk-3.4-java (so I guess it should be in depends for gvsig) but then I run into:
$> java -Xmx40M -cp /usr/share/java/swt.jar:$PWD/class/all.jar:/usr/share/gv-om/class/all.jar es/prodevelop/gvsig/mobile/app/Launcher fr /usr/share/gv-om /media/card
Log file: /usr/share/gv-om/log/1237346806241.gvsig-mobile.log.txt
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3448 or swt-gtk in swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:233)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:151)

or

$> ./gvsig.sh
Not stopping GPS (Global Positioning System) daemon: gpsd.
Not starting GPS (Global Positioning System) daemon: gpsd.
Log file: /usr/share/gv-om/log/1237346794136.gvsig-mobile.log.txt
java.lang.NullPointerException
at es.prodevelop.gvsig.mobile.gui.omtoolbar.BarButton.<init>(BarButton.java:52)
at es.prodevelop.gvsig.mobile.gui.mainframe.MainWindow.getBarButtons(MainWindow.java:265)

java I used:
$> realpath `which java`
/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/bin/java

that was on a laptop with a mix of testing/unstable installation

Posted by Yaroslav Halchenko on March 18, 2009 at 03:32 AM GMT #

come on! I left a comment and it was marked as spam... nice

lets try again in more concise form:

apt-get install libswt-gtk-3.4-java
$> java -Xmx40M -cp /usr/share/java/swt.jar:$PWD/class/all.jar:/usr/share/gv-om/class/all.jar es/prodevelop/gvsig/mobile/app/Launcher fr /usr/share/gv-om /media/card
Log file: /usr/share/gv-om/log/1237346806241.gvsig-mobile.log.txt
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3448 or swt-gtk in swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:233)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:151)

$> ./gvsig.sh
Not stopping GPS (Global Positioning System) daemon: gpsd.
Not starting GPS (Global Positioning System) daemon: gpsd.
Log file: /usr/share/gv-om/log/1237346794136.gvsig-mobile.log.txt
java.lang.NullPointerException
at es.prodevelop.gvsig.mobile.gui.omtoolbar.BarButton.<init>(BarButton.java:52)

Posted by Yaroslav Halchenko on March 18, 2009 at 03:34 AM GMT #

Hi Yaroslav,

Apologies for our untrusting comment spam system - you can ignore it though, it still gives me the option to post it.

Thanks for your feedback, hopefully we'll be able to release a Debian version soon!

Cheers, Joseph

Posted by Joseph on March 18, 2009 at 10:59 AM GMT #

Post a Comment:
  • HTML Syntax: Allowed