RE: Cannot install Maemo SDK 1.2 in Ubuntu Lucid: dependencies problems

2010-05-03 Thread tero.kojo
 -Original Message-
 From: maemo-developers-boun...@maemo.org [mailto:maemo-developers-
 boun...@maemo.org] On Behalf Of ext Andrea Grandi
 Sent: 01 May, 2010 01:55
 To: maemo-developers@maemo.org
 Subject: Cannot install Maemo SDK 1.2 in Ubuntu Lucid: dependencies
 problems
 
 Hi all,
 
 I'm trying to install Maemo SDK on my pc with Ubuntu Lucid and I'm
 getting some errors.
 I've tried both the gui-installer, both the usual scripts way.
 
 I've no problem installing maemo-scratchbox and until this point all is
 fine.
 
 When I try to install maemo-sdk inside Scratchbox, I begin getting
 some dependencies problems. I wasn't able to log all the errors, but
 you can view a big part here: http://pastebin.com/g76yD1jG

 How can I fix this?

Try:
~# echo 0  /proc/sys/vm/mmap_min_addr

At least that is what people more knowledgeable than me tell to do. It has 
something to do with the recent kernels and QEMU.

Tero

 Thanks for your help!
 
 --
 Andrea Grandi
 email: a.grandi [AT] gmail [DOT] com
 website: http://www.andreagrandi.it
 PGP Key: http://www.andreagrandi.it/pgp_key.asc
 ___
 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: Cannot install Maemo SDK 1.2 in Ubuntu Lucid: dependencies problems

2010-05-03 Thread Andrea Grandi
Hi,

On 3 May 2010 08:03,  tero.k...@nokia.com wrote:
 How can I fix this?

 Try:
 ~# echo 0  /proc/sys/vm/mmap_min_addr

 At least that is what people more knowledgeable than me tell to do. It has 
 something to do with the recent kernels and QEMU.

thanks anyway, but I found the same fix and I forgot to post here in
the mailing list, but I at least wrote the solution in t.m.o.

http://talk.maemo.org/showpost.php?p=636394postcount=8

Thanks :)

-- 
Andrea Grandi
email: a.grandi [AT] gmail [DOT] com
website: http://www.andreagrandi.it
PGP Key: http://www.andreagrandi.it/pgp_key.asc
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: osso-abook

2010-05-03 Thread daniel wilms

Hi,

ext pelt...@gmail.com wrote:

Hi

I am having troubles when I am trying to fetch sms -field from addressbook.

My code is straight from there:
http://wiki.maemo.org/PyMaemo/Accessing_APIs_without_Python_bindings

and I don't have a clue how I can do anything except fetch the name. Does 
someone have a good tip for me? There seems to be multiple possibilities in the 
api but I haven't succeeded with couple I tried.

  


you could check the code directly from hermes, maybe that helps you:

https://garage.maemo.org/plugins/ggit/browse.php/?p=hermes;a=blob;f=package/src/org/maemo/hermes/engine/contact.py;h=8d4a367aec013dc82d8cbe6fc1e01e4c592f1dc1;hb=HEAD

Otherwise describe a bit more in detail, what does not work.

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


Re: xdg-mime missing: is there a way to find out the default application for a given mime type

2010-05-03 Thread daniel wilms

Hi,


ext Felipe Crochik wrote:


How can I find out what is the default application associated to a 
file type (or preferably a mime type)?


 


I found out that, at least, on ubuntu you can use xdg-mime for that.

 

I would like to either find out the application so I can execute it 
directly or find a way to just have “the system” figure out and handle 
a file and/or a url. In other words I want to be able to tell “the 
system” to: open thisfile.mp3 or play http://anywhere/video.mp4


 



check the documentation on that topic [1], but when it comes to 
URL-handlers, please be aware of this bug [2].


1. 
http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Application_Development/MIME_type_mapping

2. https://bugs.maemo.org/show_bug.cgi?id=6263

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


Re: Howto grab all Maemo5 zoom key events in SDL/SDL_gles app?

2010-05-03 Thread Frantisek Dufka

Till Harbaum / Lists wrote:

Any idea why this still delivers some key events to the volume control?


Maybe sometimes there is another window active which doesn't have the 
_HILDON_ZOOM_KEY_ATOM set? Something specific to GLES and/or double 
buffering? Does it work with simple SDL app without GLES?





  SDL_SysWMinfo info;
  SDL_VERSION(info.version);  
  if ( SDL_GetWMInfo(info) ) {


/* We use the SDL GFX display (we're using the GFX window too after all) */
Display *dpy = info.info.x11.display;
unsigned long val = 1;
Atom atom_zoom = XInternAtom(dpy, _HILDON_ZOOM_KEY_ATOM, 0);
info.info.x11.lock_func();
Window win = info.info.x11.window;
XUnmapWindow(dpy,win);
XChangeProperty (dpy,win,atom_zoom,XA_INTEGER,32,PropModeReplace,(unsigned char 
*) val,1);
XMapWindow(dpy,win);
info.info.x11.unlock_func();
  }


Does it work for you otherwise? Works better for me without 
XUnmapWindow(dpy,win)/XMapWindow(dpy,win) pair, just XChangeProperty. 
But maybe that's because I am messing with info.info.x11.fswindow and 
info.info.x11.wmwindow and SDL doesn't like (un)mapping those directly.


I am not sure why there are three X windows in info.info.x11 structure 
(fswindow, wmwindow and window). From brief look into SDL sources it 
seems to me like the 'window' is  used when SDL is initialized with not 
owned pre-created window passed to SDL via SDL_WINDOWID variable, 
otherwise wmwindow and fswindow are used depending of full screen state. 
In case you are not using SDL_WINDOWID maybe setting wmwindow and 
fswindow would help you with volume keys?


Frantisek

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


Re: Howto grab all Maemo5 zoom key events in SDL/SDL_gles app?

2010-05-03 Thread Kimmo Hämäläinen
On Sun, 2010-05-02 at 13:26 +0200, ext Till Harbaum / Lists wrote:
 Hi,
 
 i'd like to access the zoom keys in a SDL/SDL_gles app (the 3d globe
 i uploaded to extras-devel).
 
 The odd thing is that my solution only partly works. Some key presses actually
 reach my app as function key presses, but still most of them reach the volume
 control. So when repeatedly pressing the zoom buttons my app zooms but also
 the volume is changed.
 
 I am using the following code which is inspired by code from scummvm. I am 
 calling this code once immediately after the SDL setup is done.
 
 Any idea why this still delivers some key events to the volume control?

It could be that _NET_ACTIVE_WINDOW or MB_CURRENT_APP_WINDOW on the root
window does not correspond to your window.  The volume app is tracking
one of these (I think _NET_ACTIVE_WINDOW) to determine the window whose
ZOOM_KEY window property matters.

-Kimmo

 
   SDL_SysWMinfo info;
   SDL_VERSION(info.version); 
  
   if ( SDL_GetWMInfo(info) ) {   
  
 
 /* We use the SDL GFX display (we're using the GFX window too after all) 
 */
 Display *dpy = info.info.x11.display;
 unsigned long val = 1;
 Atom atom_zoom = XInternAtom(dpy, _HILDON_ZOOM_KEY_ATOM, 0);
 info.info.x11.lock_func();
 Window win = info.info.x11.window;
 XUnmapWindow(dpy,win);
 XChangeProperty 
 (dpy,win,atom_zoom,XA_INTEGER,32,PropModeReplace,(unsigned char *) val,1);
 XMapWindow(dpy,win);
 info.info.x11.unlock_func();
   }
 
 Till
 ___
 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: Community updates for diablo

2010-05-03 Thread Lucas Maneos
On Sun, Apr 25, 2010 at 09:48:03PM +0100, Lucas Maneos wrote:
 we've been running tests off a private repository for the past 6 weeks
 or so.  It's a relatively small sample (approximately 25 volunteer
 testers), but no bricked devices so far so I think it's time to move it
 to a public repository and hopefully get some more people building
 packages.
 
 You can just grab source and/or binary packages from the private
 repository, but let me know if you've lost the URL or need anything
 else.

Bump.  Is there anything I can do to facilitate the process?

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


Re: Community updates for diablo

2010-05-03 Thread Carsten Munk
2010/5/3 Lucas Maneos ma...@subs.maneos.org:
 On Sun, Apr 25, 2010 at 09:48:03PM +0100, Lucas Maneos wrote:
 we've been running tests off a private repository for the past 6 weeks
 or so.  It's a relatively small sample (approximately 25 volunteer
 testers), but no bricked devices so far so I think it's time to move it
 to a public repository and hopefully get some more people building
 packages.

 You can just grab source and/or binary packages from the private
 repository, but let me know if you've lost the URL or need anything
 else.

 Bump.  Is there anything I can do to facilitate the process?

X-Fade said we should set up a IRC meeting to get this accomplished -
he can take care of server side. Got a suggestion for a time during
this week?

Regards,
Carsten Munk
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: [Mica-devel] UPDATE2: Maemo Info Center library service released with first set of official maemo Fremantle 5 documentation

2010-05-03 Thread Jarmo.Tikka
Hi,

My answer to maemo-community mailing list only (as I did not want to cross-post 
to several lists.

Here is my answer do Dave anyhow to all lists I sent my original announcement.



I have released documents in three different sets (each time having new 
documents included to the set) and links I have given to you have been for 
final documents.

This time there were three new documents e.g. these Hildon 2.2 UI and UI Widget 
guides and Maemo Documentation Guidelines document. It is ok to import the 
whole set of documents using this latest (and official) final release from 
Maemo Info Center but if you already imported earlier Prefinal2 doc set those 
documents have not changed.

I do not know if you have yet imported any of these documents properly to the 
wiki. If you have not use this latest 2010.17-1 release from Maemo Info Center 
that has ready-made wiki import version done here:
http://library.maemodocs.nokia.com/documents/fremantle/Maemo_5_Document_Baselines/2010-17/

Cheers,
//Jarmo


 -Original Message-
 From: mica-devel-boun...@garage.maemo.org [mailto:mica-devel-
 boun...@garage.maemo.org] On Behalf Of ext Dave Neary
 Sent: 30 April, 2010 14:29
 To: List for community development
 Cc: pc-connectivity-de...@garage.maemo.org; mica-
 de...@garage.maemo.org; maemo-developers@maemo.org
 Subject: Re: [Mica-devel] UPDATE2: Maemo Info Center library service
 released with first set of official maemo Fremantle 5 documentation
 
 Hi Jarmo,
 
 jarmo.ti...@nokia.com wrote:
  Maemo LaTeX baseline (origin LaTeX files) and ready-made MediaWiki
  import documents can be downloaded from here:
 
 _http://library.maemodocs.nokia.com/documents/fremantle/Maemo_5_Documen
 t_Baselines/_
 
 Can I assume that these docs supercede the previous links you gave me
 this week, and that I should now import these?
 
 Thanks!
 Dave.
 
 --
 maemo.org docsmaster
 Email: dne...@maemo.org
 Jabber: bo...@jabber.org
 
 ___
 Mica-devel mailing list
 mica-de...@garage.maemo.org
 https://garage.maemo.org/mailman/listinfo/mica-devel
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Community updates for diablo

2010-05-03 Thread Lucas Maneos
On Mon, May 03, 2010 at 02:14:00PM +0200, Carsten Munk wrote:
 X-Fade said we should set up a IRC meeting to get this accomplished -
 he can take care of server side.

Cool :-)

 Got a suggestion for a time during this week?

Any evening (UTC) is fine.  If it has to be during office hours, Thursday or
Friday morning will probably do.

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


Re: Cannot install Maemo SDK 1.2 in Ubuntu Lucid: dependencies problems

2010-05-03 Thread Marcin Juszkiewicz
Dnia poniedziałek, 3 maja 2010 o 08:03:57 tero.k...@nokia.com napisał(a):
 Try:
 ~# echo 0  /proc/sys/vm/mmap_min_addr
 
 At least that is what people more knowledgeable than me tell to do. It has
 something to do with the recent kernels and QEMU.

Better would be qemu update to 0.12 which does not need that trick anymore. 
But such sugestion is WONTFIX for fremantle rather.

Regards, 
-- 
JID:  h...@jabber.org
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz


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