Re: QtMoko - application development

2010-04-20 Thread Aditya Gandhi
this is the command I used to build qmokoplayer:

adi...@aditya-desktop ~/mysources/qtmoko/src/3rdparty/applications/qmplayer
$ /home/aditya/mysources/build/bin/qbuild,
I get a binary file called link_test in the folder
/home/aditya/mysources/build/src/3rdparty/applications/qmplayer
I upload this file to qtmoko, but nothing happens plz help

On Wed, Apr 21, 2010 at 4:01 AM, Aditya Gandhi  wrote:

> Hi I tried to compile using the instructions you gave, but I get a compiled
> binary called, test_link??
> I cannot run it what is it exactly?
>
>
> On Mon, Apr 19, 2010 at 2:52 PM, Radek Polak  wrote:
>
>> Hi,
>> here is my guide to developing application for QtMoko. It describes how i
>> do
>> it myself, you can be of course comfortable doing it differently.
>>
>> If i write new application for QtMoko - i do it in two steps.
>>
>> 1/ develop it first on PC in QtCreator. It runs as normal Qt/X11. During
>> this
>> step you'll have code completion and integrated debugger.
>>
>> 2/ port it to QtMoko
>>
>> Prerequisities
>>
>>* download and install QT SDK from nokia (
>> http://qt.nokia.com/downloads)
>>and choose "Qt SDK for Linux/X11" - choice of 32bit or 64bit is on
>> you.
>>
>>* download and build QtMoko from sources. Howto is here:
>>
>>http://github.com/radekp/qtmoko/blob/master/README
>>
>> Step 1 - develop on PC
>>
>>* you can start new QT application, or open existing one from
>> QtMoko
>> git. Good example is QMplayer in src/3rdparty/application/qmplayer. You
>> can open the project file from QtCreator and it should work when you
>> compile
>> and launch it.
>>
>> Step 2 - port to QtMoko
>>
>>* you have your app running on PC. Now you need to write project
>> file for
>> qtmoko. It's called qbuild.pro QMplayer is also good example.
>>
>>* build ARM binary for QtMoko. In your app directory do:
>>
>> /home/radek/qte/build/bin/qbuild
>>
>>* now you have binary for qtmoko copy it to neo:
>>
>> scp /home/radek/qte/build/src/3rdparty/applications/qmplayer/qmplayer
>> r...@192.168.0.202:/
>>
>>* test it
>>
>> ssh r...@192.168.0.202
>> source /opt/qtmoko/qpe.env
>> cd /
>> ./qmplayer
>>
>>* congratulations if you got here
>>
>>* for making qtmoko package
>>
>> /home/radek/qte/build/bin/qbuild packages
>>
>>* for making online download repository you need packages.list
>> file. Go
>> to the dir with *.qpk of your app and do:
>>
>> /home/radek/qte/qtmoko/bin/mkPackages
>>
>> Some useful notes
>>
>>* if your package does not have qtmoko look and feel, place it in
>> sub
>> folder of qtmoko git - e.g. qtmoko apps directory is best place.
>>
>>* for qtopia api see really great html documentation in
>> doc/html/index.hml
>>
>>* dont use quicklaunch in qbuild.pro if you want to produces
>> application
>> binary. Otherwise compiling produces just .so.
>>
>>
>> Maybe it could be nice If someone wants to put this info on wiki.
>>
>> Regards
>>
>> Radek
>>
>>
>>
>>
>> ___
>> Openmoko community mailing list
>> community@lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>
>
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko - application development

2010-04-20 Thread Aditya Gandhi
Hi I tried to compile using the instructions you gave, but I get a compiled
binary called, test_link??
I cannot run it what is it exactly?

On Mon, Apr 19, 2010 at 2:52 PM, Radek Polak  wrote:

> Hi,
> here is my guide to developing application for QtMoko. It describes how i
> do
> it myself, you can be of course comfortable doing it differently.
>
> If i write new application for QtMoko - i do it in two steps.
>
> 1/ develop it first on PC in QtCreator. It runs as normal Qt/X11. During
> this
> step you'll have code completion and integrated debugger.
>
> 2/ port it to QtMoko
>
> Prerequisities
>
>* download and install QT SDK from nokia (
> http://qt.nokia.com/downloads)
>and choose "Qt SDK for Linux/X11" - choice of 32bit or 64bit is on
> you.
>
>* download and build QtMoko from sources. Howto is here:
>
>http://github.com/radekp/qtmoko/blob/master/README
>
> Step 1 - develop on PC
>
>* you can start new QT application, or open existing one from QtMoko
> git. Good example is QMplayer in src/3rdparty/application/qmplayer. You
> can open the project file from QtCreator and it should work when you
> compile
> and launch it.
>
> Step 2 - port to QtMoko
>
>* you have your app running on PC. Now you need to write project
> file for
> qtmoko. It's called qbuild.pro QMplayer is also good example.
>
>* build ARM binary for QtMoko. In your app directory do:
>
> /home/radek/qte/build/bin/qbuild
>
>* now you have binary for qtmoko copy it to neo:
>
> scp /home/radek/qte/build/src/3rdparty/applications/qmplayer/qmplayer
> r...@192.168.0.202:/
>
>* test it
>
> ssh r...@192.168.0.202
> source /opt/qtmoko/qpe.env
> cd /
> ./qmplayer
>
>* congratulations if you got here
>
>* for making qtmoko package
>
> /home/radek/qte/build/bin/qbuild packages
>
>* for making online download repository you need packages.list file.
> Go
> to the dir with *.qpk of your app and do:
>
> /home/radek/qte/qtmoko/bin/mkPackages
>
> Some useful notes
>
>* if your package does not have qtmoko look and feel, place it in
> sub
> folder of qtmoko git - e.g. qtmoko apps directory is best place.
>
>* for qtopia api see really great html documentation in
> doc/html/index.hml
>
>* dont use quicklaunch in qbuild.pro if you want to produces
> application
> binary. Otherwise compiling produces just .so.
>
>
> Maybe it could be nice If someone wants to put this info on wiki.
>
> Regards
>
> Radek
>
>
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Get GPS working...

2010-04-20 Thread Alfa21
2010-04...@19:28 Toby D. Young

> I can not for the life of me get GPS to work using NeronGPS.
> I took the following steps after flashing:
> 
> (1) apt-get gpsd (this starts on booting after a little play with the
> config for gpsd).
> neo:~# /etc/init.d/gpsd restart
> Stopping GPS (Global Positioning System) daemon: gpsd.
> Starting GPS (Global Positioning System) daemon: gpsd.

no, you do not have to install gpsd to use nerongps, afaik.
just wait a lot, in particular the first time if you do not use it in 14 days.
(do we save gps emispheres data?)
if you are not sure your gps is powered on while you use the application, do:
cat /dev/ttySAC0
if you see some garbage it's ok... else if it's silent it's ko :)
-- 
ALFA21 IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR 
IMPLIED.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Get GPS working...

2010-04-20 Thread Toby D. Young


Hi Jeremy

> > My phone is permanently stuck
> > with the message "Wait for fix". Have I missed something obvious here?
>
> how long are you waiting? general rule for me is ruffly 10 min before
> i start to worry.

I've got into the habit of letting him run on...
Normally around 15-25 mins before I give up.

v21 is unstable right? I wonder if the problem goes away by stepping back
to, say v19? What do you think?

There's just this last step with GPS...

Best,
Toby


-

Toby D. Young
Assistant Professor
Philosophy-Physics
Polish Academy of Sciences
Warszawa, Polska

www:   http://www.ippt.gov.pl/~tyoung
skype: stenografia


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Get GPS working...

2010-04-20 Thread jeremy jozwik
On Tue, Apr 20, 2010 at 10:28 AM, Toby D. Young  wrote:
> Hello.
> My phone is permanently stuck
> with the message "Wait for fix". Have I missed something obvious here?

how long are you waiting? general rule for me is ruffly 10 min before
i start to worry.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Understanding opkg handling of package configurations

2010-04-20 Thread Shaz
Dear all,

Apt works on top of dpkg and dpkg utilizes the file system (/var/lib/
dpkg/) to maintain its cache/configurations.
Opkg should be working on top of ipkg but as far as my analysis it is
not so and neither does opkg use any configurations or cache on the
file system. Also read somewhere that opkg is a fork of ipkg, which
means that it does not depend on ipkg.

Please point out how it manages to take care of configurations for
install, update, remove and preinst, postinst etc?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Get GPS working...

2010-04-20 Thread Toby D. Young


Hello.

I've had the neo freefrunner gta-02 a few weeks.
After browsing through a few distributions, qtmoko became my choice. I
think this distribution is really great! I flashed the kernel and rootfs
with
uImage-v21.bin
and
qtmoko-debian-v21.jffs2
respectively and all seems ok, maybe better than ok   :-)

Only one irksome thing that is turning me away from qtmoko...

I can not for the life of me get GPS to work using NeronGPS.
I took the following steps after flashing:

(1) apt-get gpsd (this starts on booting after a little play with the
config for gpsd).
neo:~# /etc/init.d/gpsd restart
Stopping GPS (Global Positioning System) daemon: gpsd.
Starting GPS (Global Positioning System) daemon: gpsd.
neo:~#

(2) Fire up NeronGPS

What happens, is that NeronGPS runs, I can download maps from OM_map, for
example. What never hapens is getting a fix. My phone is permanently stuck
with the message "Wait for fix". Have I missed something obvious here?

In short: Is there a sure-fire way of getting GPS up-and-running?

Best,
Toby

-

www:   http://www.ippt.gov.pl/~tyoung

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: ventura upgrades, https and self-signed certificates

2010-04-20 Thread c_c

Hi,

Tom Yates-3 wrote:
> 
>  is there any way to tell ventura not to check 
> the certificate chain, but just to load the page?
> 
  Not yet. Hopefully with the newer version of webkit-efl nearing release
this might be possible.
-- 
View this message in context: 
http://n2.nabble.com/ventura-upgrades-tp4905082p4931867.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [qtmoko], opie

2010-04-20 Thread Dr. Michael Lauer
Opie is based on Qt 2.x; 4.x is so different, almost nothing will work.

:M:


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: ventura upgrades, https and self-signed certificates

2010-04-20 Thread Tom Yates
On Tue, 20 Apr 2010, urodelo wrote:

> Since I use ventura, my whole shr experience is much better. finally a
> decent web browser! before it was impossible to surf the internet with
> woosh or others. only dillo was usable for me, but with ventura i can
> finally go through https too. i find the pg buttons etc very useful.
> thanks a lot

i, too, am much enjoying ventura over previous browsers.  that said, i 
posted this query to shr-user originally, but got no answers, so i thought 
i'd try here.  hope that's OK.

i had thought i was having a problem with ventura and https pages, because 
in menu -> URL, the https drop-down doesn't select (i click it, but it 
keeps coming up http), plus i couldn't follow a link to an https page i 
wanted (my webmail service).

but it seems that https links are fine provided the certificate is 
properly signed; it's only that i run my own webmail service and the 
certificate is self-signed.  is there any way to tell ventura not to check 
the certificate chain, but just to load the page?


-- 

   Tom Yates  -  http://www.teaparty.net

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: shr-launcher updated

2010-04-20 Thread c_c

Hi,
  Here's a list of some of the changes :-

   1. Clicking on the date/time (black box) will open the current month's
calendar.
   2. The settings are available from the gears icon at the top right
   3. The app browser is a second window that open on clicking the app
button at the bottom
   4. The layout is edj based. so perhaps someone can help me make it
better.
  


-- 
View this message in context: 
http://n2.nabble.com/shr-launcher-updated-tp4773819p4930610.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: shr-launcher updated

2010-04-20 Thread c_c

Hi,
  Here's the latest binary 
http://n2.nabble.com/file/n4930460/shr-launcher_local-r0.4_armv4t.ipk
shr-launcher_local-r0.4_armv4t.ipk . 
  There are a few bugs. Please report your findings.

-- 
View this message in context: 
http://n2.nabble.com/shr-launcher-updated-tp4773819p4930460.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: community Digest, Vol 179, Issue 23

2010-04-20 Thread Vinzenz Hersche
you're right, i'm sorry. but darwin was a fork of freebsd. darwin itself is 
also open, so we could use this part maybe..

http://en.wikipedia.org/wiki/Darwin_%28operating_system%29
---
Bernd schrieb am Montag 19 April 2010:
Vinzenz Hersche wrote:
> first, there is iE the iphone, which could run a open linux, so they had to 
> create drivers for it (what could make it possible for the ipad? may because 
> of similiar hw?)
>
> second, apple's devices are based on freebsd 
aren't they based on darwin?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community