<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Wolfmans Howlings: Porting xgps to Qtopia for the Freerunner</title>
    <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>A programmers Blog about Ruby, Rails and a few other issues</description>
    <item>
      <title>Porting xgps to Qtopia for the Freerunner</title>
      <description>&lt;h3&gt;Background&lt;/h3&gt;

&lt;p&gt;I was getting bored waiting for Trolltech to release the next version
of Qtopia for the Freerunner, so I ported the xgps client from gpsd's
distribution to Qtopia.&lt;/p&gt;

&lt;p&gt;As you may know by now, Qtopia does not have X11 so none of the
existing X11 based or GTK based GPS clients work. I was exploring GPSD
because I wanted to to be able to get a one time position for my sunset
calculator which requires your current latitude and longitude.
Although GPSD is not well suited for that (thats a whole other blog
entry), I did notice you can connect to it over the ethernet, so I was
playing with cgps and xgps that you find in the GPSD tar file, running
on my desktop, talking to gpsd running on my Freerunner.&lt;/p&gt;

&lt;p&gt;So wanting to dust of my Qt skills (which were so ancient I barely
even recognize Qt4) I decided to port xgps to Qt.&lt;/p&gt;

&lt;p&gt;I first did a pretty straight forward port to my Desktop Qt4/X11.&lt;/p&gt;

&lt;p&gt;I designed the form using designer, then plugged in the code taken as
closely as I could from xgps. This was not 1:1 by any means as XLib
and Qt are not similar ;) I ended up just taking the ideas and
algorithms from the xgps program and recoding.&lt;/p&gt;

&lt;p&gt;So that took a day or so, as I was relearning Qt as I went, I have to
say the documentation for Qt is excellent, unlike another graphics
library I could mention (I'm looking at you GTK).&lt;/p&gt;

&lt;p&gt;I got the basics working, and as my GPS fix inside was not very good
(works about 50/50), I found you could also point any gpsd based
client at &lt;code&gt;gpsd.rellim.com&lt;/code&gt; and always get good data from there, this is
great for testing.&lt;/p&gt;

&lt;p&gt;So I had qtgps (for want of a better name) running on my desktop,
looking pretty much the same as xgps, with the satellite list the sky
view and of course the basic Fix data.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://blog.wolfman.com/files/qtgps1.jpg" alt="qtgps on workstation" title="QtGps on Workstation"/&gt;&lt;/p&gt;

&lt;p&gt;Now the trick to port it to FR, so I could run this on my FR.&lt;/p&gt;

&lt;p&gt;The UI wasn't going to fit on the FR screen so I revamped the UI in
Designer, by basically dragging all the views into a tabbed frame. So
the satellite list, the sky view, the position information and the
movement information all had their own tab, this fits pretty well on a
tiny screen.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://blog.wolfman.com/files/sc_Wed_Aug_27_22.32.29_2008.png" alt="qtgps on workstation" title="qtgps on FR"/&gt;
&lt;img src="http://blog.wolfman.com/files/sc_Wed_Aug_27_22.32.41_2008.png" alt="qtgps on workstation" title="qtgps on FR"/&gt;
&lt;img src="http://blog.wolfman.com/files/sc_Wed_Aug_27_22.33.04_2008.png" alt="qtgps on workstation" title="qtgps on FR"/&gt;
&lt;img src="http://blog.wolfman.com/files/sc_Wed_Aug_27_22.33.15_2008.png" alt="qtgps on workstation" title="qtgps on FR"/&gt;&lt;/p&gt;

&lt;p&gt;Other than that I didn't have to do much. I had to create a new
qtgps.pro file for Qtopia, as the qmake qt one is somewhat different.
I had to use the skeleton main.cpp that all Qtopia apps seem to use,
but the bulk of the code remains the same.&lt;/p&gt;

&lt;h4&gt;Sending signals from callbacks&lt;/h4&gt;

&lt;p&gt;I did have an interesting time trying to figure out how to emit a
signal from the gps callback thread to the main window, not sure if I
chose the right way to do it but it worked... I created a singleton
QObject based class, and allowed it to be called statically, then that
does the emit. This is used to signal the main display thread that new
gps data has arrived. (Note this won't work if the singleton can be
called concurrently from multiple threads, Google c++ singleton
pattern to see how to do that).&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;// Singleton for sending signal from a callback
class ExtSig : public QObject
{
    Q_OBJECT
    public:
        static ExtSig *self();
        void send(struct gps_data_t* p, char* buf);

    signals:
        void sendit(struct gps_data_t* p, char* buf);

    private:
        ExtSig();
};

// Singleton defns for emiting a signal from a callback
ExtSig::ExtSig(){}
ExtSig *ExtSig::self()
{
    static ExtSig inst;
    return &amp;amp;inst;
}

void ExtSig::send(struct gps_data_t* p, char* buf)
{
    emit sendit(p, buf);
}

// in callbeck call...
// signal the GUI thread we have new gps data
    ExtSig::self()-&amp;gt;send(p, buf);
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;Howto build your own applications&lt;/h3&gt;

&lt;p&gt;Ok so how can you write your own Qtopia applications? There are at
least two ways, 1) use the VMPlayer based Toolchain that Trolltech
provide, or 2) setup your Linux workstation to use the toolkit. 1) is
easier, and just works on pretty much anything that runs VMPlayer and
has a lot of memory. 2) is faster and used less memory. I chose 2) but
I did play with 1).&lt;/p&gt;

&lt;p&gt;I won't go into how to do 1) as it is pretty much straight forward,
just download the
&lt;a href="http://www.qtopia.net/modules/mydownloads/visit.php?lid=66"&gt;iso&lt;/a&gt;, and
install it (either from a loopback device or from a burned CD).&lt;/p&gt;

&lt;p&gt;The second method is not so well documented (if at all) so here is
what I did to make it work on a Ubuntu Hardy i686 32-bit workstation
with KDE installed..&lt;/p&gt;

&lt;p&gt;Download the
&lt;a href="http://www.qtopia.net/modules/mydownloads/visit.php?lid=38"&gt;toolchain&lt;/a&gt;
and install it into &lt;code&gt;/opt/toolchains&lt;/code&gt;, it seems it must be there
otherwise it doesn't quite work.&lt;/p&gt;

&lt;p&gt;Then download the latest 
&lt;a href="ftp://ftp.trolltech.com/qtopia/snapshots/"&gt;qtopia snapshot&lt;/a&gt; and put that in a
working directory and set &lt;code&gt;QTOPIA_DEPOT_PATH&lt;/code&gt; to that directory.&lt;/p&gt;

&lt;p&gt;Then create a build directory for the qtopia build and set the QPEDIR
environment variable to that path.&lt;/p&gt;

&lt;p&gt;In my case I have 
&lt;code&gt;QTOPIA_DEPOT_PATH=/opt/QtopiaSDK/qtopia-opensource-src-4.3.2-snapshot-20080815&lt;/code&gt;
and
&lt;code&gt;QPEDIR=/opt/QtopiaSDK/build/qtopia-4.3.2&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Now we need to build the qtopia snapshot, you can use the result to
copy to &lt;code&gt;/opt/Nokia/Qtopia&lt;/code&gt; on your FR, or not, but you need to do this to get
the tools to build your own apps.&lt;/p&gt;

&lt;p&gt;Now follow these steps to build Qtopia:-&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;gt; cd $QPEDIR
&amp;gt; $QTOPIA_DEPOT_PATH/configure -device ficgta01
&amp;gt; make
&amp;gt; make install
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Go get some coffee or dinner :) this will take a while.....&lt;/p&gt;

&lt;p&gt;&lt;em&gt;NOTE&lt;/em&gt; You may need to set -prefix /opt/Nokia/Qtopia in the
./configure stage for newer versions, as Trolltech changed where Qtopia
runs from.&lt;/p&gt;

&lt;p&gt;Now you will have a full Qtopia build in &lt;code&gt;$QPEDIR/image&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;You can use the following script to copy this to your FR, it is
modified from Trolltechs update script. It will keep your settings.
However you will have needed to have flashed to the 0808 version of
Qtopia and kernel for this to work.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;#!/bin/sh
QTOPIA_DIR=$QPEDIR/image
QTOPIA_IMAGE=qtopia.tar.gz
PHONEIP=your_fr_ip_address
# sudo ifconfig usb0 your_fr_ip_address up

tar -C $QTOPIA_DIR czvf $QTOPIA_IMAGE
cat $QTOPIA_IMAGE | ssh "root@$PHONEIP" '(set -x;rm -f /tmp/restart-qtopia;killall qpe; mkdir -p /opt/Nokia/Qtopia;rm -rf /opt/Nokia/Qtopia/*; cd /opt/Nokia/Qtopia;gunzip |tar xvf -;/etc/init.d/qpe start &amp;amp;)'
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Whether you do that or just keep the Trolltech released image you are
now ready to write your own apps. I recommend you study the 
&lt;a href="http://doc.trolltech.com/4.3"&gt;Qt docs&lt;/a&gt; Qtopia is pretty much Qt4.3 at
the moment.&lt;/p&gt;

&lt;p&gt;As an example you can use the
&lt;a href="http://blog.wolfman.com/files/qtgps.tar.gz"&gt;qtgps.tar.gz&lt;/a&gt; as an
example app or use &lt;code&gt;$QTOPIA_DEPOT_PATH/examples/application&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;I created a &lt;code&gt;build/myapps&lt;/code&gt; directory, and then &lt;code&gt;tar xvfz qtgps.tar.gz&lt;/code&gt;
into that directory. Then...&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;gt; cd build/myapps/qtgps
&amp;gt; $QPEDIR/bin/qtopiamake
&amp;gt; make
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This will create a qtgps excutable that you can copy to your FR and
run.&lt;/p&gt;

&lt;p&gt;A nice trick I found is to run a GUI app from the ssh into FR you can
do this...&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;gt; ssh your_fr_ip
fr# . /opt/Nokia/Qtopia/qpe.env
fr# ./qtgps
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The app will popup on the FR screen, you could also run it from the
terminal on the FR or from the file manager on the FR.&lt;/p&gt;

&lt;p&gt;To create a new application you can do this..&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;gt; cd build/myapps/mynewapplication
&amp;gt; ... edit some .cpp and .h files
&amp;gt; $QPEDIR/bin/qtopiamake -project
&amp;gt; ... edit mynewapplication.pro appropriately
&amp;gt; $QPEDIR/bin/qtopiamake
&amp;gt; make
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The skeleton main.cpp should look like this...&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;#include "mynewapp.h"
#include &amp;lt;qtopiaapplication.h&amp;gt;

QTOPIA_ADD_APPLICATION(QTOPIA_TARGET,MyNewApp)
QTOPIA_MAIN
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The rest of the files are up to you. I like to create the UI using
designer...&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;gt; $QPEDIR/bin/designer mynewapp.ui
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;look in either example.cpp or qtgps.cpp and qtgps.h on how to
initialize a designer based UI.&lt;/p&gt;

&lt;p&gt;There are lots of example apps on the Trolltech docs site.&lt;/p&gt;

&lt;h3&gt;Running app on the workstation&lt;/h3&gt;

&lt;p&gt;If you want to run the app locally rather than on your FR, you can use
&lt;code&gt;$QPEDIR/bin/qvfb&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;You will need to build a native version of qtopia to do that, which
can be done by repeating the above steps but in a new build directory 
do:-&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;gt; export QPEDIR=build/qtopia-native
&amp;gt; mkdir $QPEDIR
&amp;gt; cd $QPEDIR
&amp;gt; $QTOPIA_DEPOT_PATH/configure -device i686fb
&amp;gt; make
&amp;gt; make install
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;and then rebuild your app for the native machine...&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;gt; cd build/myapps/qtgps
&amp;gt; make clean
&amp;gt; $QPEDIR/bin/qtopiamake
&amp;gt; make
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then run the native version of your app, but you will need to do the following to make the size
correct...&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;gt; export QWS_DISPLAY=QVFb:mmWidth43:mmHeight58:0
&amp;gt; $QPEDIR/bin/qvfb -width 480 -height 640 &amp;amp;
&amp;gt; sleep 2
&amp;gt; ./qtgps -qws gpsd.rellim.com
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This will run qtgps on the local workstation in a simulation of the FR
screen (without qtopia), using gps data from &lt;code&gt;gpsd.rellim.com&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;Packaging&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;UPDATED&lt;/em&gt; I figured out how to install.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://doc.trolltech.com/qtopia4.3/sxe-qpk.html"&gt;This document&lt;/a&gt; 
explains how to install a package so it shows up in the applications
list, here is how I actually did it.&lt;/p&gt;

&lt;p&gt;I created a directory called feed in my work directory, and set the
path to $HTTPDIR. Then I ran a simple web server (I used boa but any
will do), that points to $HTTPDIR to serve files.&lt;/p&gt;

&lt;p&gt;Then I built the qpk package...&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;gt; cd $WORKDIR/qtgps
&amp;gt; make packages
&amp;gt; $QPEDIR/bin/mkPackages $HTTPDIR
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then make sure the web server is running, on the FR goto the Software
Packages App, add the following server to the server lists
&lt;code&gt;http://192.168.0.200:8000&lt;/code&gt;, this presumes you are connected via USB and
you ran the webserver at port 8000. Then click download, and you
should see qtgps in the list, select it for install, and it will get
installed. From then on you can replace the qtgps binary it installs
with any new builds. It will be under
&lt;code&gt;/home/root/packages/somelongrandomstring/bin/qtgps&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If you are using the vmplayer version of the SDK, then you can simply
do this...&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;gt; sdk -b
&amp;gt; sdk -p
&amp;gt; sdk -i
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The package for this is available
&lt;a href="http://github.com/wolfmanjm/qtopiagps/tree/master%2Fpkg%2Fqtgps_1.0.0-1_arm.qpk?raw=true"&gt;here&lt;/a&gt;,
(Right click to download). (Remember to generate the packages.list
file using mkPackages). Setup a local web server and install as
explained above.&lt;/p&gt;

&lt;p&gt;A simple ruby script like this could also be used as a web server:-&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;--------- webserver.rb ---------
#!/usr/local/bin/ruby
require 'webrick'
include WEBrick

s = HTTPServer.new(
  :Port            =&amp;gt; 8000,
  :DocumentRoot    =&amp;gt; Dir::pwd
)

trap("INT"){ s.shutdown }
s.start
--------------------------------

&amp;gt; ruby webserver.rb
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then point your feed to &lt;code&gt;http://192.168.0.200:8000/feed&lt;/code&gt; if using USB
networking and the .qpk file is in the &lt;code&gt;feed&lt;/code&gt; directory.&lt;/p&gt;

&lt;h3&gt;Where to get the source&lt;/h3&gt;

&lt;p&gt;The source code to this project is now on github
&lt;a href="http://github.com/wolfmanjm/qtopiagps/tree/master"&gt;http://github.com/wolfmanjm/qtopiagps/tree/master&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Installing required libraries for the toolchain&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;UPDATE&lt;/em&gt; I forgot to mention how I got the libgps stuff into the
toolchain. I found a hack, first I built gpsd-dev using mokomakefile
then I did this...&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;dpkg-deb -X build/tmp/deploy/glibc/ipk/armv4t/gpsd-dev_2.34-r9_armv4t.ipk  /opt/QtopiaSDK/opt/toolchains/arm920t-eabi/arm-angstrom-linux-gnueabi
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This worked for this case and setup the .so links correctly. You could
also copy the libgps.so from your FR.&lt;/p&gt;

&lt;p&gt;Another user (Radek Barton) did it this way, but I haven't tested
this...&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;1. Download lastest gpsd source code at http://download.berlios.de/gpsd/gpsd-2.37.tar.gz and unpack it somewhere.
2. Add line #include &amp;lt;linux/limits.h&amp;gt; to gpsd.h-head file.
3. Modify line 15 of gps.h file from &amp;lt;limits.h&amp;gt; to &amp;lt;linux/limits.h&amp;gt;
4. configure with command: PATH=/opt/toolchains/arm920t-eabi/bin:$PATH ./configure --host=arm-angstrom-linux-gnueabi
5. Then make, make install, etc.
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;For those that cannot do that, then download &lt;a href="http://blog.wolfman.com/files/libgps.tar.gz"&gt;this tar file&lt;/a&gt; to /pathtodownload/...&lt;/p&gt;

&lt;p&gt;and...&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;gt; cd /
&amp;gt; tar xzvf /pathtodownload/libgps.tar.gz
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This presumes that your Qtopia toolchain is in &lt;code&gt;/opt/toolchains&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Also note that the following packages need to be installed on the FR
libgps16, gps-utils and gpsd.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://technorati.com/tag/qtopia+gps" rel="tag"&gt;&lt;/a&gt;
&lt;a href="http://technorati.com/tag/qtopia+freerunner" rel="tag"&gt;&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 27 Aug 2008 14:46:34 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:476eb8a6-8e2b-49d5-9ab2-a45a37233d60</guid>
      <author>Jim Morris</author>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner</link>
      <category>Openmoko</category>
      <category>openmoko</category>
      <category>freerunner</category>
      <category>gps</category>
      <trackback:ping>http://blog.wolfman.com/articles/trackback/344</trackback:ping>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by Aditya</title>
      <description>&lt;p&gt;Hi, tried to port qtgps executable to my target processor.its is give error like this,SXE key has not been set.  Has "make install" been run on ./qtgps.so then i tried to compile the project again and iam getting the same error please help me to solve this problem &lt;/p&gt;</description>
      <pubDate>Wed, 31 Dec 2008 00:14:55 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:a583d74e-6d07-4c9a-843c-c15ec5258fb1</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-295</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by wolfmanjm</title>
      <description>&lt;p&gt;Yes I can add the packages.list file, if that helps.&lt;/p&gt;

&lt;p&gt;For some reason QT does not allow apps to be installed from any source other than http. Not sure why, but that is up to Qt to solve or not.&lt;/p&gt;</description>
      <pubDate>Tue, 30 Dec 2008 18:21:20 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:9286f840-56b5-4b05-bfab-f6a04fc76b60</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-293</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by Martin</title>
      <description>&lt;p&gt;Could you maybe add "packages.list" to
&lt;a href="http://github.com/wolfmanjm/qtopiagps/tree/master/pkg" rel="nofollow"&gt;http://github.com/wolfmanjm/qtopiagps/tree/master/pkg&lt;/a&gt;?
(Is there a way to install the application using
shell commands and omitting a direct WWW access?)&lt;/p&gt;</description>
      <pubDate>Sun, 28 Dec 2008 12:31:58 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:798c33ef-543e-424e-bbdc-a25b707eee66</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-292</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by wolfmanjm</title>
      <description>&lt;p&gt;Thanks I fixed the IP, and I'll update the instructions, it depends on the version of qtopia as to where it goes.&lt;/p&gt;</description>
      <pubDate>Sun, 21 Sep 2008 13:22:05 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:453e246f-2f00-42d5-97ff-6636d4226ff6</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-275</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by Dareus</title>
      <description>&lt;p&gt;the only way i found to obtain an archive was to:
cd $QTOPIA_DIR #and then
tar -czvf $QTOPIA_IMAGE *&lt;/p&gt;

&lt;p&gt;another thing i found building qtopia 20080917, make says that with your options qtopia is intended to be installed under /opt/Qtopia when (using flash images on qtopia.net) it is under /opt/Nokia/Qtopia
I don't know if the make message is outdated or sth and couldn't test, anyway (after some tests) the script should be edited again...
Hope to be useful&lt;/p&gt;</description>
      <pubDate>Fri, 19 Sep 2008 08:15:52 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:115d3d50-75d1-47cb-b307-7c071ac8b1db</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-274</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by Dareus</title>
      <description>&lt;p&gt;hi, i tried your script to move my qtopia image to the FR
i noticed that the IP is still 192.168.0.200 for the FR (i think it should be 192.168.0.202) and i found a problem: running the script tar says that he won't create an empty archive and then i don't know if it could work (because no archive is created at all)&lt;/p&gt;</description>
      <pubDate>Fri, 19 Sep 2008 03:05:17 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:3fc816ac-80d6-46d8-a3ee-43965bd50dab</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-273</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by michael</title>
      <description>&lt;p&gt;I found I needed to add the user repositories (see &lt;a href="http://wiki.openmoko.org/wiki/Users_Repositories" rel="nofollow"&gt;http://wiki.openmoko.org/wiki/Users_Repositories&lt;/a&gt;), then I could install gpsd, now I have it all working- thanks &lt;/p&gt;</description>
      <pubDate>Sun, 14 Sep 2008 08:34:25 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:757df0f7-e106-4a3a-bbf8-ea1d02910316</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-271</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by michaelbotham@yahoo.co.uk</title>
      <description>&lt;p&gt;Hi,
Can you tell me which repository gpsd is in? 
Thanks&lt;/p&gt;</description>
      <pubDate>Sun, 14 Sep 2008 07:21:20 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:466faa2a-955f-4558-86f6-020ae42c543c</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-270</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by wolfmanjm</title>
      <description>&lt;p&gt;To run qtgps without ssh, you can install the package, or run it from the terminal or from the filemanager.&lt;/p&gt;</description>
      <pubDate>Thu, 11 Sep 2008 11:13:24 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:7829c006-685f-45fd-a1bc-332097c83b65</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-269</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by wolfmanjm</title>
      <description>&lt;p&gt;You also need to install gpsd on the FR, I think the libgps.so is in that package if not look for other gpsd packages, and install them. Let me know which one works ;) You can also manually install it from the downloads linked in this blog.
Good catch on the ssh ip I'll fix that.&lt;/p&gt;</description>
      <pubDate>Thu, 11 Sep 2008 11:10:19 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:2c65a879-7b3f-4022-bc27-215dafbc2226</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-268</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by Dareus</title>
      <description>&lt;p&gt;previous issue is solved (i just had to read carefully ...), the question is still there, because i get another issue. I copied the executable file in /home/root on the FR but running it through qterminal says:
./qtgps: error while loading shared libraries: libgps.so.16: cannot open shared object file: No such file or directory&lt;/p&gt;

&lt;p&gt;another thing are your commands to run a GUI app from the ssh into FR correct?&lt;/p&gt;

&lt;p&gt;because (e.g.) 192.168.0.200 is the pc IP &lt;/p&gt;</description>
      <pubDate>Thu, 11 Sep 2008 09:08:53 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:194cfe14-6977-455c-888c-f5ca4cf1ee80</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-267</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by Dareus</title>
      <description>&lt;p&gt;I followed your steps, I'm now facing a problem in make-ing qtgps.
it says:
/opt/toolchains/arm920t-eabi/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/../../../../arm-angstrom-linux-gnueabi/bin/ld: cannot find -lgps
collect2: ld returned 1 exit status&lt;/p&gt;

&lt;p&gt;how could i solve the issue?&lt;/p&gt;

&lt;p&gt;another question: how can i run qtgps in the FR without being connected to a pc?&lt;/p&gt;</description>
      <pubDate>Thu, 11 Sep 2008 06:40:37 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:7f4aaf69-7e90-4180-b83b-627eaac8813b</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-266</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by wolfmanjm</title>
      <description>&lt;p&gt;Thanks, I updated all references to /opt/Qtopia with /opt/Nokia/Qtopia&lt;/p&gt;</description>
      <pubDate>Thu, 11 Sep 2008 02:57:36 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:cdce4853-4e75-4da3-9d73-1ec32ed7bdb4</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-265</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by Dareus</title>
      <description>&lt;p&gt;Your script to copy the qtopia image to the FR would work with the 09-03-2008 snapshot of 4.3.3 (image flashed)? Qtopia is installed under /opt/Nokia/Qtopia...&lt;/p&gt;</description>
      <pubDate>Thu, 11 Sep 2008 02:22:22 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:76bb1c52-725a-49ce-b381-cea10a40f6ee</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-264</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by wolfmanjm</title>
      <description>&lt;p&gt;Yes it does, but there is no UI yet for setting it. The code is the same as xgps, which has a way to set the units. It would be relatively easy to add an option for that.&lt;/p&gt;</description>
      <pubDate>Wed, 10 Sep 2008 16:49:10 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:96e4f458-1ec4-48c2-ae44-d776d2f14d6c</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-263</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by Dylan</title>
      <description>&lt;p&gt;Does this software have a metric option?&lt;/p&gt;</description>
      <pubDate>Wed, 10 Sep 2008 16:22:43 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:0b2cf69e-ad54-4c58-8589-f2e75621b36c</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-262</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by wolfmanjm</title>
      <description>&lt;p&gt;I'll checkin the qpk, and you can follow th instructions for installing locally. I do not want to run a Qtopia feed at this time and I don't know of any others other than Trolltechs.&lt;/p&gt;</description>
      <pubDate>Fri, 05 Sep 2008 12:58:21 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:ae2c1cd0-d527-4ef4-9ea6-69cca4bd5c64</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-259</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by Daniel Hedblom</title>
      <description>&lt;p&gt;Hey, this looks really nice.&lt;/p&gt;

&lt;p&gt;Any chance someone could put up a package of this? QT really rocks but its gots no GPS yet. This app is exactly what i like to have.&lt;/p&gt;</description>
      <pubDate>Fri, 05 Sep 2008 04:20:15 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:483fee58-2d75-41c3-95a5-15d30eebdc26</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-258</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by Avinash</title>
      <description>&lt;p&gt;Thanks Jim, Installed gpsd and built the app, Its working on the emulator. we can make the package for qtopia using sdk -p&lt;/p&gt;</description>
      <pubDate>Tue, 02 Sep 2008 05:15:38 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:9fb5a8cc-bc2f-4495-b909-90c63c19e105</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-256</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by wolfmanjm</title>
      <description>&lt;p&gt;See the update at the end of the article. You need to install the libgps libraries in the appropriate places. There are a couple of ways to do that.&lt;/p&gt;</description>
      <pubDate>Mon, 01 Sep 2008 09:40:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:1a08a3cb-dbae-40c8-8d7a-75a83557e25d</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-255</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by Avinash</title>
      <description>&lt;p&gt;I tried to build the application on Vmware GTA01 but on running make I am getting /usr/local/bin/ld: cannot find -lgps. What can be the reason.&lt;/p&gt;</description>
      <pubDate>Mon, 01 Sep 2008 05:22:12 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:aaeb3bb3-067a-4bab-a331-7e6c10c132d3</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-254</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by Abdel</title>
      <description>&lt;p&gt;By the way, as I told you by mail, if you port you network code to Qt, you could use QSocketNotifier for notifying the GUI about a new gpsd message: &lt;a href="http://doc.trolltech.com/4.3/qsocketnotifier.html" rel="nofollow"&gt;http://doc.trolltech.com/4.3/qsocketnotifier.html&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 28 Aug 2008 00:54:48 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:c620b9a7-ec21-48ad-b6f6-ea76f320df97</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-253</link>
    </item>
    <item>
      <title>"Porting xgps to Qtopia for the Freerunner" by Abdel</title>
      <description>&lt;p&gt;This is very nice Jim. I look forward to test this when I finally receive my freerunner tomorrow or so.&lt;/p&gt;

&lt;p&gt;Believe me if you want but I had the very same idea about the dialog dispatching in tabs when I first saw the xgps screenshot ;-)&lt;/p&gt;</description>
      <pubDate>Thu, 28 Aug 2008 00:48:14 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:ef7a8062-eab7-49a2-8a8b-ce546a356d54</guid>
      <link>http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner#comment-252</link>
    </item>
  </channel>
</rss>
