maemo.org mailing moved to new servers

2010-01-05 Thread Ferenc Szekely
Hi,

After a bit of unexpected struggle Niels and myself got the mail
services moved to the new servers. Thanks Niels for the help!

Some emails you sent during the last one hour or so might have got
lost. They are somewhere on a relay server (not in our hands) and may
never end up on the lists server. If this is the case then I would
kindly ask you to re-post those mails and I also apologize for the
inconvenience.

Otherwise hope the new servers will serve the mail traffic just fine.

ferenc
-- 
maemo.org sysadmin, developer
email: fer...@maemo.org

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


Re: Mirrors

2010-01-05 Thread Jeff Moe
On Tuesday 05 January 2010 04:08:19 tero.k...@nokia.com wrote:
 Thank you,
 
 I hope a local mirror helps in your case.

apt-get update in 2 seconds.

 You are aware that we are using Akamai (fully distributed content delivery) 
 for the caching? And that the hit and transfer amounts are way out of the 
 league for anything we could set up ourselves?

Yes, but that still doesn't preclude using mirrors. Akamai goes down too.

 As for Akamail problems, would you don't mind privately e-mailing your rough 
 location on the planet, I can try to find out why Akamai seems to be breaking 
 a lot for you?

Sent via private mail (I had previously noted it here 
https://bugs.maemo.org/show_bug.cgi?id=5818#c18
and https://bugs.maemo.org/show_bug.cgi?id=5818#c24 ). I also offered ssh 
access on the server box.

On another note:
Apple Hits 3 Billion Apps Served Milestone
http://www.pcworld.com/article/185877/apple_hits_3_billion_apps_served_milestone.html/
(Since July 10, 2008).

Nokia lost Q4 2009 due to brokenness. Hopefully they won't lose Q1 2010 too.

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


any way to get incoming call number to python?

2010-01-05 Thread Timo Pelkonen
Hi

I am starting to develop an app to maemo, my friend is doing similar one to
nokia s60 and he told this is the thing one must start with.

Is getting incoming call number doable with dbus? if not, is there other
ways? Links to any documents relevant are also appreciated.

Ossipena / Timo
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: any way to get incoming call number to python?

2010-01-05 Thread Aldon Hynes
I would suggest running dbus-monitor and calling your cellphone to see what
happens.  I did this, capturing the output to a file and got the output
listed below.

It appears as if the strings org.freedesktop.Telepathy.Channel.InitiatorID
and org.freedesktop.Telepathy.Channel.TargetID both contain the incoming
phone number.

I have not worked with python and dbus, but it seems like this should
contain the clues necessary to get the needed information.

I did, however, also look at the database
/home/user/.rtcom-eventlogger/el.db  This is an sqlite3 database that can be
queried after the fact from Python to receive information about phone calls.
I talked a little bit about this in my blog post

#N900 mbarcode, python, sms and sqlite3
http://www.orient-lodge.com/node/3896

Hope this helps.

Aldon

==

signal sender=org.freedesktop.DBus - dest=:1.551 serial=2
path=/org/freedesktop

   string :1.551
method call sender=:1.551 - dest=org.freedesktop.DBus serial=3
path=/org/freede

   string type='method_call'
method call sender=:1.551 - dest=org.freedesktop.DBus serial=4
path=/org/freede

   string type='method_return'
method call sender=:1.551 - dest=org.freedesktop.DBus serial=5
path=/org/freede
  struct {
   stringobject path
/org/freedesktop/Telepathy/Connection/ring/tel/ring/incomi
signal searray [.20 - dest=(null destination) serial=1153
path=/org/freedesktop
dict entry(
   array [ string org.freedesktop.Telepathy.Channel.InitiatorID
   variant   string 12032980814
)
dict entry(
   string
org.freedesktop.Telepathy.Channel.Type.StreamedMedia.FUTU
   variant   boolean false
)
dict entry(
   string
org.freedesktop.Telepathy.Channel.Type.StreamedMedia.FUTU
   variant   boolean true
)
dict entry(
   string org.freedesktop.Telepathy.Channel.TargetHandleType
   variant   uint32 1
)
dict entry(
   string org.freedesktop.Telepathy.Channel.TargetHandle
   variant   uint32 28
)
dict entry(
   string org.freedesktop.Telepathy.Channel.TargetID
   variant   string 12032980814
)
  -Original Message-
  From: maemo-developers-boun...@maemo.org
[mailto:maemo-developers-boun...@maemo.org]on Behalf Of Timo Pelkonen
  Sent: Tuesday, January 05, 2010 11:11 AM
  To: maemo-developers@maemo.org
  Subject: any way to get incoming call number to python?


  Hi

  I am starting to develop an app to maemo, my friend is doing similar one
to nokia s60 and he told this is the thing one must start with.

  Is getting incoming call number doable with dbus? if not, is there other
ways? Links to any documents relevant are also appreciated.

  Ossipena / Timo

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


Re: Semi-transparent background for Desktop Widget (Python + Cairo)

2010-01-05 Thread Brent Chiodo
Nevermind, I figured out how to do this.

What was basically required was using cairo itself to draw the images
(IImageSurface's) to the screen where the eventboxes were, instead of trying
to use gtk.Image's.

Once I realized that, it was actually quite easy :)

Thanks for the help getting it all working!

On Thu, Dec 24, 2009 at 2:50 PM, Brent Chiodo bchi...@gmail.com wrote:

 Thank you very much! It is working well, now. There is only one minor
 issue: When I do this the widget is nicely transparent, but what I'm
 packing into the widget remains opaque. I took a screenshot:

 http://img192.imageshack.us/img192/5650/cairo.png

 What is going on is: there are two gtk.Image's shown. They are both
 packed into gtk.EventBox's which is packed into a gtk.VBox which is
 added to the widget itself.

 How would I go about making everything but the actual image
 transparent? (the two images are transparent png's so I do not believe
 that is what is causing the black opaque boxes).

 If you need the actually code (which is a bit sloppy at the moment)
 I'll be glad to clean it up and send it along.

 You've been a great help, thanks so much!

 P.S. Merry Christmas!

 On 12/24/09, Anderson Lizardo anderson.liza...@openbossa.org wrote:
  On Thu, Dec 24, 2009 at 1:40 PM, Anderson Lizardo
  anderson.liza...@openbossa.org wrote:
  * Use do_expose_event() and do_realize() methods instead of realize()
  and screen_changed() ones you used (just rename def expose(self,
  widget, event) to def do_expose_event(self, event) and def
  screen_changed(self, widget) to def do_realize(self)
 
  I forgot to mention: you should not connect these methods
  (do_expose_event() and do_realize()) to any signal, they are virtual
  methods called automatically by PyGTK.
 
  I got the idea partially from
  http://ralph-glass.homepage.t-online.de/clock/clock.py and from
  interpreting the example clock widget C code.
 
  Regards,
  --
  Anderson Lizardo
  OpenBossa Labs - INdT
  Manaus - Brazil
 


 --
 Best Regards,

 Brent Chiodo




-- 
Best Regards,

Brent Chiodo
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


maemo-optify-deb lib symlink problem

2010-01-05 Thread Jeff Moe
I built a simple package that is a plugin for pidgin called pidgin-otr. When I 
maemo-optify-deb it, it creates a symlink to itself.


* I did the standard easy optification:
echo auto  debian/optify


* The package built/installed fine in scratchbox:
[sbox-FREMANTLE_ARMEL: ~]  ls -l /usr/lib/pidgin/pidgin-otr.so

-rw-r--r--  1 jebba jebba 81072 Jan  5 14:09 /usr/lib/pidgin/pidgin-otr.so


* I removed package.

* I then optified:
[sbox-FREMANTLE_ARMEL: ~]  maemo-optify-deb pidgin-otr_3.2.0-7_armel.deb

pidgin-otr: optified 10 entries, saving about 185 kB.
dpkg-deb: building package `pidgin-otr' in `pidgin-otr_3.2.0-7_armel.deb'.


* I then installed optified package.


[sbox-FREMANTLE_ARMEL: ~]  ls -l /usr/lib/pidgin/pidgin-otr.so

lrwxrwxrwx  1 jebba jebba 39 Jan  5 14:55 /usr/lib/pidgin/pidgin-otr.so - 
/opt/maemo/usr/lib/pidgin/pidgin-otr.so


But here is where the problem came in:

[sbox-FREMANTLE_ARMEL: ~]  ls -l /opt/maemo/usr/lib/pidgin/pidgin-otr.so
lrwxrwxrwx  1 jebba jebba 39 Jan  5 14:55 
/opt/maemo/usr/lib/pidgin/pidgin-otr.so - 
/opt/maemo/usr/lib/pidgin/pidgin-otr.so


The optified file is symlinking to itself, thus breaking the package.

I'll leave this directory here for awhile if someone wants to check it out. It 
is my live scratchbox:
http://www.freemoe.org/users/jebba/scratchbox/pidgin-otr-OPTIFY_PROB/

The two different .debs for comparison are here:
pidgin-otr_3.2.0-7_armel.deb-NOOPTIFY
pidgin-otr_3.2.0-7_armel.deb-OPTIFY


I made minimal changes to the upstream Sid package. I'm probably doing 
something dumb, but this has worked easily for other packages.

Thanks,

-Jeff
http://wiki.maemo.org/User:Jebba
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Finger-Friendly Entry Completion/ComboboxEntry

2010-01-05 Thread Brent Chiodo
I'm trying to add search history support to a hildon.Entry but am having a
bit of trouble. In short, I want to have the user type into the entry and if
what they are typing is present in their history, have a list appear showing
what their current entry matches in their history. If the user taps on an
item in the list, it should set the entry to that value (basically a
gtk.ComboboxEntry that is populated based on what the user has currently
entered into the entry).

Looking through the PyGTK widgets, it seemed that a gtk.EntryCompletion was
exactly what I was looking for. I tried creating a hildon.Entry and using
the .set_completion() method to set the entry but that doesn't appear to
work very well. The main problems are:

1) The generated list doesn't seem to popup reliably (sometimes it will,
sometimes it won't)
2) The rows in the popup aren't clickable -- you can select them via the
up/down then return buttons on the keyboard, but are not directly clickable.
3) The rows aren't finger-friendly at all (not that you can click them
anyway...)

So, how would I go about creating the above? It is doable, because I pretty
much need to know how to make something like the builtin browser uses in
it's toolbar (actually, the browser search bar is exactly what I want to
implement, I just don't know what widget(s) are required to do it).

Thanks for reading!

-- 
Best Regards,

Brent Chiodo
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Disabling Desktop Notifications

2010-01-05 Thread dc101
Hi all,

Is it possible to disable the connection notifications when the device boots
up? The notifications I am interested in disabling are:
-When the device is connected to DUMMY automatically (Connected to dummy)
-When the device is looking to connect to phone (Searching for phone...)
-When the device failed to connect to any phones (Could not find phone)

I understand that all the notifications are called to the Notification D-Bus
Service, and it's probably not possible to disable certain notifications,
but at the very least I'd be happy to know if I can turn off the
notification d-bus service.


Cheers,
dc101
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Failure with Claws PGP on maemo5 device n900

2010-01-05 Thread Bryan Jacobs
Hubertus,

As I said, the self-symlinking of the plugins is a result of a bug in
Maemo auto-optification.

The PGP plugins are part of the claws-mail package.  If I were to
unoptify that it would take up a considerable amount of the precious
space available on the device root -_-.

Since the problem I forwarded you *is* the cause of the problem, and
the actual .deb is thus fine, here's what I recommend you do:

- Download the claws-mail-pgp-plugins ARMEL deb
  ( 
http://repository.maemo.org/extras-devel/pool/fremantle/free/c/claws-mail/claws-mail-pgp-plugins_3.7.3-1maemo4_armel.deb
 ).
- ar x claws-mail-pgp-plugins_3.7.3-1maemo4_armel.deb
- tar xvzf data.tar.gz
- rm /opt/maemo/usr/lib/claws-mail/plugins/pgp*
- cp
  usr/lib/claws-mail/plugins/pgp* /opt/maemo/usr/lib/claws-mail/plugins

That should get you the real files.  Hopefully the Maemo folks will
work quickly to resolve this (pretty terrible) bug.

Bryan Jacobs

On Tue, 05 Jan 2010 23:46:48 +0100
Hubertus Bergmann hubertus.bergm...@web.de wrote:

 Hi Bryan,
 
 aha.
 Do you have a non optified version for the pgp plugins available?
 
 Thanks in advance,
 
 Hubertus


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


why do my .service and .desktop files end up in the root directory?

2010-01-05 Thread Frank Banul
Hi,

Can any one give me any hints (or answers) on why my .service and
.desktop files end up in the their proper locations and in the root
directory of the device? I've been staring at the scripts but really
don't see where I've gone wrong. I've also examined other source
packages.

The source is 
http://repository.maemo.org/extras-devel/pool/fremantle/free/source/t/tabletbridge/tabletbridge_0.2.4.tar.gz

Thanks in advance. The user's root directory appreciate your help. ;)

thanks,
Frank
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: git push problem at git.maemo.org

2010-01-05 Thread Kristoffer Grönlund
  2009/9/29 Ferenc Szekely fer...@maemo.org:
  Hi again,
 
  git push works again on git.maemo.org. I don't even want to say what the
  problem was... shame on me, but I forgot to turn DAV on for the
  project repositories. The web server did its job to serve the content as
  is, not giving a chance to the webdav module to chew on the requests
  from git. What a lame sysadmin, you may say.
 
  Sorry to all who got some bad days because of this. I owe you a beer on
  the summit. ;)
 
  Cheers,
  ferenc

Hi,

I know this is a bit late and perhaps unrelated to this thread, but I'm having 
issues pushing to my repo as well. Previously, it'd succeed maybe every three 
or four times I tried the command, but tonight it hasn't worked even once.

This is the error I get:

Pushing to https://git.maemo.org/projects/jamaendo
error: Cannot access URL https://git.maemo.org/projects/jamaendo/, return code 
22
error: failed to push some refs to 'https://git.maemo.org/projects/jamaendo'

Same thing if I remove my .netrc file and put my username in the push URL.

// Kristoffer
kristoffer.gronl...@purplescout.se
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: why do my .service and .desktop files end up in the root directory?

2010-01-05 Thread Frank Banul
It's probably the same but my most recent source is here
http://repository.maemo.org/extras-devel/pool/fremantle/free/source/t/tabletbridge/tabletbridge_0.2.4-4.tar.gz,
not the below link.

thanks,
Frank

On Tue, Jan 5, 2010 at 8:35 PM, Frank Banul frank.ba...@gmail.com wrote:
 Hi,

 Can any one give me any hints (or answers) on why my .service and
 .desktop files end up in the their proper locations and in the root
 directory of the device? I've been staring at the scripts but really
 don't see where I've gone wrong. I've also examined other source
 packages.

 The source is 
 http://repository.maemo.org/extras-devel/pool/fremantle/free/source/t/tabletbridge/tabletbridge_0.2.4.tar.gz

 Thanks in advance. The user's root directory appreciate your help. ;)

 thanks,
 Frank

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


oFono

2010-01-05 Thread Jeff Moe
I've written up some quick and dirty docs on using ofono with your N900:

http://wiki.maemo.org/User:Jebba/Ofono

It works, but you'll need to carry around a laptop with you if you want to make 
calls.

-Jeff

P.S. Reposted from talk.m.o since many of you probably don't check forums.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Command to turn on the screen led (Maemo N810)

2010-01-05 Thread dc101
Hi all,

I am just wondering if it is possible to use a command (most probably dbus
or something) to tell the screen to light up once it has turned off. I know
it can be turned on by a simple tap, but I need to automate this when the
device has received some notifications.

Also, if it's not too much to ask, is it possible to disable software
updates notification at the status bar?


Cheers,
dc101
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Command to turn on the screen led (Maemo N810)

2010-01-05 Thread Faheem Pervez
Hiya,

You're looking for this function:
http://maemo.org/api_refs/4.0/libosso/group__Devstate.html#g93fe32aeb992e128c94b890d6f801bfd

libosso's source is available, too, so if you don't like using it and
would prefer to see the D-Bus behind it...

Best Regards,
Faheem

On 1/6/10, dc101 dc1...@gmail.com wrote:
 Hi all,

 I am just wondering if it is possible to use a command (most probably dbus
 or something) to tell the screen to light up once it has turned off. I know
 it can be turned on by a simple tap, but I need to automate this when the
 device has received some notifications.

 Also, if it's not too much to ask, is it possible to disable software
 updates notification at the status bar?


 Cheers,
 dc101

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


Re: why do my .service and .desktop files end up in the root directory?

2010-01-05 Thread Faheem Pervez
Ed Bartosh looked into this for another person last time and his
solution applies here, too: Add osso-af-settings to Build-Depends.

-Faheem

On 1/6/10, Frank Banul frank.ba...@gmail.com wrote:
 Hi,

 Can any one give me any hints (or answers) on why my .service and
 .desktop files end up in the their proper locations and in the root
 directory of the device? I've been staring at the scripts but really
 don't see where I've gone wrong. I've also examined other source
 packages.

 The source is
 http://repository.maemo.org/extras-devel/pool/fremantle/free/source/t/tabletbridge/tabletbridge_0.2.4.tar.gz

 Thanks in advance. The user's root directory appreciate your help. ;)

 thanks,
 Frank
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

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


Re: why do my .service and .desktop files end up in the root directory?

2010-01-05 Thread Faheem Pervez
Oh, and now that I'm looking at it a bit better, telling
data/Makefile.am to actually use $serviceentry et al. may help.

On 1/6/10, Faheem Pervez tripp...@gmail.com wrote:
 Ed Bartosh looked into this for another person last time and his
 solution applies here, too: Add osso-af-settings to Build-Depends.

 -Faheem

 On 1/6/10, Frank Banul frank.ba...@gmail.com wrote:
 Hi,

 Can any one give me any hints (or answers) on why my .service and
 .desktop files end up in the their proper locations and in the root
 directory of the device? I've been staring at the scripts but really
 don't see where I've gone wrong. I've also examined other source
 packages.

 The source is
 http://repository.maemo.org/extras-devel/pool/fremantle/free/source/t/tabletbridge/tabletbridge_0.2.4.tar.gz

 Thanks in advance. The user's root directory appreciate your help. ;)

 thanks,
 Frank
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers


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