Re: GPE & Google calendar

2008-04-02 Thread Tilman Vogel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

James Knott schrieb:
| I found that, but then it needs some other stuff, such as python-gdata,
| which I haven't found yet.  Why is it so often a problem to install
| stuff on the N800?

Yeah, unfortunately erminig is a not so great example with respect to
distribution...

What I do:

1) Install http://maemo.org/downloads/product/OS2008/pymaemo/

2) Install python-gdata from the extras repository.

Can be found in the application manager in red pill mode:
http://maemo.org/community/wiki/ApplicationManagerRedPillMode/

or just "apt-get install python-gdata" from command line

3) Install pysqlite from here:
http://david.hautbois.free.fr/joomla/index.php?option=com_remository&Itemid=28&func=fileinfo&id=5

4) Install erminig from here:
http://david.hautbois.free.fr/joomla/index.php?option=com_remository&Itemid=28&func=fileinfo&id=28

The best instructions I found so far, are here:

http://david.hautbois.free.fr/joomla/index.php?option=com_content&task=view&id=46&Itemid=46

Regards,

Tilman

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFH8z6h9ZPu6Yae8lkRAlDuAJwIwckkneti0IeB38nrQ/G4YvqpoQCfblgf
z7/X3wE1OIyzyRQYChl3rY8=
=H/lw
-END PGP SIGNATURE-
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: where is crontab ?

2008-04-02 Thread Andrew Flegg
On Tue, Apr 1, 2008 at 11:04 PM, Olivier Ricou <[EMAIL PROTECTED]> wrote:
> die 01/04/08, ad 21h07, Andrew Flegg <[EMAIL PROTECTED]> dixit :
>
> > However, there is an alarm API for scheduling tasks in a manner which
>  > won't destroy your battery life:
[snip]
>
>  sure, now I just have to make a crontab.c program that read a crontab,
>  however I would have prefer a crontab.py program.

I'd be surprised if the Python Maemo bindings didn't have an interface
for the alarm interface, or use the DBus interface directly.

A crontab.py should be emminently doable, I'd've thought.

Cheers,

Andrew

-- 
Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Mouse button 2/3 on N8*0 ?

2008-04-02 Thread Martin Grimme
Hi,

If the app supports the additional mouse buttons, it should do so on
the tablet as well without modifications. E.g. I'm able to scroll
through lists with the mouse wheel on the tablet via vnc.
AFAIK, tap-and-hold doesn't technically emulate any mouse button. It's
handled on the application level (GTK, Hildon), not by the X server.


Cheers,

Martin


2008/4/2, Andrew Daviel <[EMAIL PROTECTED]>:
>
>  Is there any way to map something to a mouse key ?
>  I don't see how to do it with xmodmap, or maybe I didn't read the right
>  docs.
>
>  If I connect to a *nix box with ssh/X11 or Xvnc, I might run some app
>  that needs button 2 or 3 (e.g. Xfig needs button 2 to end a polyline).
>
>  (I notice from some RTFM - "help" - that button 3 in the browser is
>  implemented as tap-and-hold : save link as etc.)
>
>
>  --
>  Andrew Daviel, TRIUMF, Canada
>  Tel. +1 (604) 222-7376  (Pacific Time)
>  Network Security Manager
>  ___
>  maemo-users mailing list
>  maemo-users@maemo.org
>  https://lists.maemo.org/mailman/listinfo/maemo-users
>
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: GPE & Google calendar

2008-04-02 Thread James Knott
Tilman Vogel wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> James Knott schrieb:
> | I found that, but then it needs some other stuff, such as python-gdata,
> | which I haven't found yet.  Why is it so often a problem to install
> | stuff on the N800?
> 
> Yeah, unfortunately erminig is a not so great example with respect to
> distribution...

After much frustration, I finally got it installed and working.  The 
documentation leaves much to be desired.

Next question, is it possible to automagically update?  Or is it 
necessary to manually use Erminig to update the calendar?

tnx jk

-- 
Use OpenOffice.org 

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: GPE & Google calendar

2008-04-02 Thread Olivier Ricou
die 02/04/08, ad 19h10, James Knott <[EMAIL PROTECTED]> dixit :
> Tilman Vogel wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > James Knott schrieb:
> > | I found that, but then it needs some other stuff, such as python-gdata,
> > | which I haven't found yet.  Why is it so often a problem to install
> > | stuff on the N800?
> > 
> > Yeah, unfortunately erminig is a not so great example with respect to
> > distribution...
> 
> After much frustration, I finally got it installed and working.  The 
> documentation leaves much to be desired.

We hope you are going to correct that!


signature.asc
Description: Digital signature
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: GPE & Google calendar

2008-04-02 Thread James Knott
Olivier Ricou wrote:
> die 02/04/08, ad 19h10, James Knott <[EMAIL PROTECTED]> dixit :
>> Tilman Vogel wrote:
>>> -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA1
>>>
>>> James Knott schrieb:
>>> | I found that, but then it needs some other stuff, such as python-gdata,
>>> | which I haven't found yet.  Why is it so often a problem to install
>>> | stuff on the N800?
>>>
>>> Yeah, unfortunately erminig is a not so great example with respect to
>>> distribution...
>> After much frustration, I finally got it installed and working.  The 
>> documentation leaves much to be desired.
> 
> We hope you are going to correct that!

My "corrections" would not be suitable for a family environment.  ;-)



-- 
Use OpenOffice.org 
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: n800 USB OTG adapter

2008-04-02 Thread Andrew Barr
Thomas Armagost wrote:

> Would the OTG adapter
> enable me to use the Plantronics 470 as the n800's microphone?

You need to switch the controller into peripheral or gadget mode first.
There is a GUI control panel for this out there somewhere, the name of
which escapes me at the moment.

Of course then there's the issue of higher-level support. I doubt that the
USB audio class driver is included in the default kernel, and ITOS does not
use standard ALSA APIs as far as I'm aware, due to the proprietary DSP.

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Mouse button 2/3 on N8*0 ?

2008-04-02 Thread Andrew Daviel
On Wed, 2 Apr 2008, Martin Grimme wrote:

> If the app supports the additional mouse buttons, it should do so on
> the tablet as well without modifications. E.g. I'm able to scroll
> through lists with the mouse wheel on the tablet via vnc.

Am I being dumb ? AFAIK my N810 doesn't have a mouse wheel or mouse 
buttons - I can tap on the screen = mouse 1, and there's a joystick ring
on the slide-out keyboard mapped to Up, Down, Left, Right and Enter.
Various other buttons (fullscreen, zoom in etc.) map to F5, etc.

(I meant that I was using the tablet to access an app on a server or 
desktop, not using the desktop to access an app on the tablet. Or, I 
might port some desktop app to the tablet that uses mouse 2/3)

(does it, perchance, support a Bletooth mouse ? I presume it would if one 
can use a BT keyboard)


> AFAIK, tap-and-hold doesn't technically emulate any mouse button. It's
> handled on the application level (GTK, Hildon), not by the X server.

Well, yes. I just meant that if I wanted to save an image I could 
do tap-and-hold to bring up the menu that I would get with mouse-3 on 
my desktop.

Andrew
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: n800 USB OTG adapter

2008-04-02 Thread Ryan Pavlik
Andrew Barr wrote:
> Thomas Armagost wrote:
>
>   
>> Would the OTG adapter
>> enable me to use the Plantronics 470 as the n800's microphone?
>> 
>
> You need to switch the controller into peripheral or gadget mode first.
> There is a GUI control panel for this out there somewhere, the name of
> which escapes me at the moment.
USBControl, available from the UKMP garage project.

Ryan

-- 
Ryan Pavlik
www.cleardefinition.com

#282  +  (442) -  [X]
A programmer started to cuss
Because getting to sleep was a fuss
As he lay there in bed
Looping 'round in his head
was: while(!asleep()) sheep++;

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: syncevolution

2008-04-02 Thread Patrick Ohly
Hello Tim,

Sorry for the late reply, I just stumbled over your email. My only
excuse is that I watch the ScheduleWorld forum and the Funambol mailing
lists a lot more closely. In fact, I vaguely remember that I already
discussed this very issue recently - with you by any chance?

Anyway, see below for an explanation.

On Thu, 2008-02-21 at 19:53 -0800, Tim Ashman wrote:
> I'm trying to use syncevolution 0.7.  I've followed the instructions and the 
> following is what I get when I run it.  It appears I'm missing a couple of 
> packages but I can't find them.
> 
> Can anyone help?  Below is the errors
> 
> ~$ syncevolution groupwise
> 19:48:51 GMT -0800 [ERROR] - memo: type 'text/plain' not supported by any of 
> the available backends (syncebook.so.0). The following backend(s) were not 
> found: syncecal.so.0 syncsqlite.so.0 addressbook.so.0

The short answer: disable the configuration of the "memo", "calendar",
"todo" data sources, there is no backend for them. You can either remove
all ~/.sync4j/evolution/spds/sources/*/config.txt files other than the
one you want to use (presumably "addressbook/config.txt"), or you can
set "sync = none".

The long answer: the syncevolution package comes with several backends
implemented as shared objects. It tries to load all of them, but
typically syncecal.so.0 fails to load because the required Evolution
Data Server library for calendars is missing. The other shared objects
listed above are not compiled for Maemo. If libecal was installed and if
it supported memos as on a desktop, then syncevolution would be able to
sync memos.

If you install the "Dates" application, then calendars can theoretically
be synchronized with syncevolution. In practice there are still failures
in the EDS library. In previous versions there were DBus timeouts
(http://bugzilla.o-hand.com/show_bug.cgi?id=461). I tried it last week
on ITOS 2008 and although it managed to transfer all my events, it later
segfaulted (http://www.scheduleworld.com/jforum/posts/list/1547.page).

I'm in the middle of rewriting change tracking for calendars; once I am
done, syncevolution will require a smaller subset of the API calls.
According to my first, very brief experiment with the latest libs these
calls might work.

-- 
Bye, Patrick Ohly
--  
[EMAIL PROTECTED]
http://www.estamos.de/

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Python versions, build in scratchbox

2008-04-02 Thread Andrew Daviel

I was just trying to build a Python package (mxDateTime from
http://downloads.egenix.com/python/egenix-mx-base-2.0.6.tar.gz); not 
something I often do.

While I've been able to compile various "C" packages with "configure;make 
install", the  "python setup.py install" recipe failed, first trying to
run /scratchbox/compilers/host-gcc/bin/gcc, which didn't exist, and then
trying to install in /scratchbox/tools/lib/python2.3/site-packages/mx
instead of /usr/lib/python2.3/site-packages/

If I try "python2.4 setup.py install", it fails with various errors
such as sem_post: Function not implemented


I installed scratchbox with the maemo-scratchbox-install_4.0.sh script a 
few weeks ago, which got me AFAIK 2008SE_2.2007.52.0.
That has Python 2.3 and Python 2.4

I'm a bit confused as to which gets used; if I just type "python", I get
2.3.4, although /usr/bin/python is a link to python2.4.
If I type python2.4, I get 2.4.2


My N810 now has OS2008 51-3, with Python 2.5.1. I'd kind of assumed that
OS2008 scratchbox would have the same version as the tablet... and that
"setup.py install" would work.




-- 
Andrew Daviel, TRIUMF, Canada
Tel. +1 (604) 222-7376  (Pacific Time)
Network Security Manager
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Python versions, build in scratchbox

2008-04-02 Thread José Luís
Hi, you have to install python2.5-dev package in scratchbox (apt-get install
python2.5-dev).
To install your package you can use "python2.5-dev setup.py install"
command.

This message "sem_post: Function not implemented" is a qemu problem
(http://setanta.wordpress.com/2007/11/20/qemu-arm-eabi-no-scratchbox/),
but compilation should work.

If this package (egenix-mx-base) was only in python (without bindings in C),
you can install it
directly in the device, because there isn't gcc and development libraries in
n810 device.

[]'s
José Luís

On Wed, Apr 2, 2008 at 7:59 PM, Andrew Daviel <[EMAIL PROTECTED]> wrote:

>
> I was just trying to build a Python package (mxDateTime from
> http://downloads.egenix.com/python/egenix-mx-base-2.0.6.tar.gz); not
> something I often do.
>
> While I've been able to compile various "C" packages with "configure;make
> install", the  "python setup.py install" recipe failed, first trying to
> run /scratchbox/compilers/host-gcc/bin/gcc, which didn't exist, and then
> trying to install in /scratchbox/tools/lib/python2.3/site-packages/mx
> instead of /usr/lib/python2.3/site-packages/
>
> If I try "python2.4 setup.py install", it fails with various errors
> such as sem_post: Function not implemented
>
>
> I installed scratchbox with the maemo-scratchbox-install_4.0.sh script a
> few weeks ago, which got me AFAIK 2008SE_2.2007.52.0.
> That has Python 2.3 and Python 2.4
>
> I'm a bit confused as to which gets used; if I just type "python", I get
> 2.3.4, although /usr/bin/python is a link to python2.4.
> If I type python2.4, I get 2.4.2
>
>
> My N810 now has OS2008 51-3, with Python 2.5.1. I'd kind of assumed that
> OS2008 scratchbox would have the same version as the tablet... and that
> "setup.py install" would work.
>
>
>
>
> --
> Andrew Daviel, TRIUMF, Canada
> Tel. +1 (604) 222-7376  (Pacific Time)
> Network Security Manager
> ___
> maemo-users mailing list
> maemo-users@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users
>



-- 
José Luís do Nascimento
Mestrando em Engenharia Elétrica
Laboratório de Sistemas Embarcados e Computação Pervasiva
UFCG - Campina Grande
jluisn at {ee,dee,embedded}.ufcg.edu.br
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: GPE & Google calendar

2008-04-02 Thread Kevin T. Neely
Swaying a bit from the topic, but this was just posted to #800 on jaiku:

Maemo Sync Packages
http://fl0rian.wordpress.com/2008/04/02/maemo-sync-packages/

Looks a bit rough, but it is always nice to see progress in this area.  A
frontend will go a long way to what people have been asking for.

K

-- 
In Vino Veritas
http://astroturfgarden.com
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Python versions, build in scratchbox

2008-04-02 Thread Andrew Daviel

On Wed, 2 Apr 2008, José Luís wrote:


Hi, you have to install python2.5-dev package in scratchbox (apt-get install
python2.5-dev).


OK - that gets python2.5 and libffi4, too.


To install your package you can use "python2.5-dev setup.py install"
command.


I guess you mean "python2.5 setup.py install"



This message "sem_post: Function not implemented" is a qemu problem
(http://setanta.wordpress.com/2007/11/20/qemu-arm-eabi-no-scratchbox/),
but compilation should work.


"python2.5 setup.py  build" works, but I get things like
  qemu: Unsupported syscall: 0
  qemu: uncaught target signal 11 (Segmentation fault) - exiting
  qemu: uncaught target signal 4 (Illegal instruction) - exiting
  error: command '/usr/bin/python2.5' failed with exit status 252
when I do "python2.5 setup.py install".
Tt seems to fail after a certain time, so by re-running the script
multiple times, eventually it finishes.
Would rebuilding quemu fix this problem, too ?



Andrew___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users