Re: Bringing up the accounts UI using DBus

2011-07-12 Thread Alberto Mardegan
On 07/10/2011 02:30 AM, Jamie Thompson wrote: I'm trying to bring up the Accounts UI using DBus in a Qt application: const char * NOKIA_SERVICE_ACCOUNTS_UI(com.nokia.AccountsUI); const char * NOKIA_PATH_ACCOUNTS_UI(/com/nokia/AccountsUI); const char *

Building a package for armel only

2011-07-12 Thread Alberto Mardegan
Hi all, is there a way to tell the community autobuilder that my package should be built for Armel only? The i386 build fails, and I have no time (and interested) to make it work, also given the fact that the compilation takes ages. I tried adding Architecture: armel in the debian/control file,

Re: Building a package for armel only

2011-07-12 Thread Alberto Mardegan
On 07/12/2011 09:44 AM, gregor herrmann wrote: Oh, and https://garage.maemo.org/builder/fremantle/neverball_1.5.5-1/results/neverball_1.5.5-1.dsc has Architecture: any (not armel), and a build dependency on libgles1-sgx-img-dev | libgl-dev Specifying armel architecture for all packages did

Re: Qt homescreen widgets not working with CSSU?

2011-05-03 Thread Alberto Mardegan
Hi Timur, On 05/01/2011 11:14 PM, Timur Kristóf wrote: As it turns out, the raster graphics system is totally borked on it, and some stuff simply doesn't work on it well. This issue may be related to the already known bugs. Your hint was extremely precious! Indeed, adding this just at the

Qt homescreen widgets not working with CSSU?

2011-05-01 Thread Alberto Mardegan
Hi all! Some users running CSSU reported that my homescreen widget (written in Qt) does not appear in their homescreen. I did a quick search on the forums, and found that the issue affects also some other widget: http://talk.maemo.org/showthread.php?p=998003 Does anyone have any ideas of what

Re: Qt homescreen widgets not working with CSSU?

2011-05-01 Thread Alberto Mardegan
On 05/01/2011 11:51 AM, Alberto Mardegan wrote: I wonder if it could be related to some mis-handling of translucent widgets; I sent a modified version to a user, which has translucency disabled, and I'm waiting to hear the result. Got the result: with translucency disabled, the widget appears

Re: Qt homescreen widgets not working with CSSU?

2011-05-01 Thread Alberto Mardegan
Hi Timur, On 05/01/2011 05:06 PM, Kristóf Timur wrote: Hi Alberto, Sticky Notes (which is also Qt-based) still works with the CSSU. If you give me a URL to your widgets' source, I may be able to figure out what's wrong. Thanks for your help! I had a look at sticky notes, but I see that you

Re: Proposal: code review process for community SSU

2011-02-07 Thread Alberto Mardegan
On 02/07/2011 02:24 PM, Andrew Flegg wrote: Surely these are solved and/or solvable? Your preference may be for the ML, but I would suspect that's a personal preference. For example, Gitorious is _supposed_ to allow effective code review:

Re: Proposal: code review process for community SSU

2011-02-07 Thread Alberto Mardegan
On 02/07/2011 02:24 PM, Andrew Flegg wrote: For example, Gitorious is _supposed_ to allow effective code review: http://blog.gitorious.org/2009/11/06/awesome-code-review/ I added one section on How to contribute here: http://wiki.maemo.org/Community_SSU/Development It's just the first

Allowing rotation of closed-source apps

2011-02-06 Thread Alberto Mardegan
Hi all! Since it looks like we are going to have a virtual keyboard which supports portrait mode [0], it would be nice if we were able to rotate closed-source applications too (such as the Conversations app). I think that this should be possible to achieve by modifying hildon-desktop so

Re: Allowing rotation of closed-source apps

2011-02-06 Thread Alberto Mardegan
On 02/06/2011 02:53 PM, Thomas Perl wrote: Hi Alberto, 2011/2/6 Alberto Mardeganma...@users.sourceforge.net: What do you think about all this? I didn't check hildon-desktop and mb2 source code yet, so if you also happen to have some hints on the implementation, they are very welcome. :-)

Proposal: code review process for community SSU

2011-02-06 Thread Alberto Mardegan
(note: follow-up set to maemo-developers ML) Hi all! I think we all agree that we should try our best to deliver good software updates and avoid at all costs breaking any existing features. CURRENT SITUATION = Shortly after releasing the first community SSU, we already got

Re: Proposal: code review process for community SSU

2011-02-06 Thread Alberto Mardegan
Hi Andrew, 2011/2/6 Andrew Flegg and...@bleb.org: As to be expected, as this is a *testing* release to start defining processes and get more involved. Indeed. But I would stress that the more stable it is, the more people will get involved with that. The fact that I am a developer myself

QtQuick not present in PR1.3

2010-11-12 Thread Alberto Mardegan
Hi all, did anyone try to run QtQuick applications in PR1.3? I wrote sample.qml with these contents: = import QtQuick 1.0 Rectangle { id: page width: 500; height: 200 color: lightgray Text { id: helloText text: Hello world! y: 30

Re: Performance of floating point instructions

2010-10-29 Thread Alberto Mardegan
On 10/29/2010 12:14 PM, Eero Tamminen wrote: Hi, (I resurrected this old thread because there was on meego-dev mailing list a comment about possibility for RunFast float mode being enabled by default on MeeGo...) ext Alberto Mardegan wrote: Eero Tamminen wrote: Hamalainen Kimmo (Nokia-D

Re: Horrible performance of GL rendering; why? (Qt, N900)

2010-08-20 Thread Alberto Mardegan
Hämäläinen Kimmo wrote: I'm experiencing a horrible performance of the QGraphics accelerated rendering when using the attached test program. [...] If you can see hildon-desktop taking more than 7% of CPU, try using a fullscreen window so it's not composited. (You may need to provide a

Horrible performance of GL rendering; why? (Qt, N900)

2010-08-17 Thread Alberto Mardegan
Hi! I'm experiencing a horrible performance of the QGraphics accelerated rendering when using the attached test program. The program uses QGLWidget as a viewport when any command line parameter is passed, and normal Qt rendering (software only?) otherwise. When I run the application in my

Re: call_fi_call_type_cellular value in Qt?

2010-08-05 Thread Alberto Mardegan
Felipe Crochik wrote: Now the second part of the problem: what is the catalog? I am getting this string from the profile files at /usr/share/osso-rtcom/ and the strings should be the telepathy account names (Cellular, Skype, Facebook, ... )... Some of them are the actual names (e.g. Facebook)

Re: call_fi_call_type_cellular value in Qt?

2010-08-04 Thread Alberto Mardegan
On 08/04/2010 10:51 PM, Felipe Crochik wrote: What is the best way to get the localized version of, for example, “call_fi_call_type_cellular” in qt? gettext is a C function which comes with GNU libc, so it's available for Qt applications too. You'll need to use dgettext() and specify the

Re: How to add a telepathy account during package installation (and remove on package removal)?

2010-08-02 Thread Alberto Mardegan
Sudheer K wrote: However I am not sure how to add the line SecondaryVCardFields=TEL in the account details using mc-tool. I tried mc-tool update but it didn't work (mc-tool update: Not all parameters were recognized). This is not a connection manager parameter but it is required to set this

Re: How to add a telepathy account during package installation (and remove on package removal)?

2010-08-01 Thread Alberto Mardegan
Hi Sudheer, On 08/01/2010 08:07 PM, Sudheer K wrote: I need to add account details in /home/user/.rtcom-accounts/accounts.cfg for my custom connection manager automatically on package installation. Similar to ring account details, I want to avoid UI (like Haze plugin) because these values are

Re: Mission Control: Any Dbus interface method to list all the available ChannelRequest objects?

2010-07-28 Thread Alberto Mardegan
On 07/28/2010 09:19 AM, Sudheer K wrote: Is there any way to list the object paths of all the channel requests in progress? With a dbus method call may be? IIRC, there isn't. Another related question. Is the specification for com.nokia.Account.Interface.ChannelRequests available anywhere or

Re: QT map widget

2010-06-14 Thread Alberto Mardegan
kate.alh...@nokia.com wrote: Situation is when lot of map tiles are loaded. loaded as in downloaded? About the number of tiles loaded into memory, mappero uses a tile cache, which is actually quite big (140 tiles, and tiles are textures sized 256x256 pixels) so it may consume quite a bit of

Re: git over ssh access for garage projects - calling for brave testers

2010-05-22 Thread Alberto Mardegan
Alberto Mardegan wrote: Ferenc Szekely wrote: If you had a few minutes to spare please check it out and let me know your findings. We may have some bugs here and there, so let's find and fix them together. I get this: ma...@portatie:/tmp$ git clone ssh://drop.maemo.org/git/maemo-mapper

Re: git over ssh access for garage projects - calling for brave testers

2010-04-29 Thread Alberto Mardegan
Ferenc Szekely wrote: If you had a few minutes to spare please check it out and let me know your findings. We may have some bugs here and there, so let's find and fix them together. I get this: ma...@portatie:/tmp$ git clone ssh://drop.maemo.org/git/maemo-mapper Initialized empty Git

Re: oprofile on ARM

2010-04-15 Thread Alberto Mardegan
Felipe Contreras wrote: On Sun, Apr 11, 2010 at 10:46 AM, Alberto Mardegan ma...@users.sourceforge.net wrote: == --- 336 4.2852 libpng12.so.0.37.0 png_do_expand_palette 336 100.000 libpng12

Re: Donate $x button on Packages and/or Downloads

2010-04-15 Thread Alberto Mardegan
Thomas Perl wrote: 2010/4/15 Aniello Del Sorbo ani...@gmail.com: I am now using HeAboutDialog as well... only issue is that it doesn't properly render in portrait mode :) Patches are welcome :p No patches should be necessary since PR1.2:

Size mismatch on the extras-devel repository

2010-04-14 Thread Alberto Mardegan
It seems there is something wrong with the extras-devel repository (at least for the armel architecture): [sbox-FREMANTLE_ARMEL: ~/git/maemo-mapper/src] apt-get install libclutter-1.0-0 Reading package lists... Done Building dependency tree... Done The following extra packages will

Application manager and language packages

2010-04-04 Thread Alberto Mardegan
Hi all, as soon as voice navigation will be ready in Mapper, I'll need to provide language packages for the speech files. Is it possible to have them grouped under Mapper in the application manager? I don't think there'll be that many of them -- but who knows! ;-) -- and since I hate when

Re: R: Efficient storage and playback of speech

2010-04-04 Thread Alberto Mardegan
Hi, Floriano Scioscia wrote: I would suggest AAC: - it is free from license/patent encumberings - Maemo 5 (and also Diablo iirc) have built-in codecs using the DSP for better performance and less energy consumption - it is more efficient than MP3 thanks for your suggestion! It seems that

Efficient storage and playback of speech

2010-04-03 Thread Alberto Mardegan
Hi all, I need to install on the device a few (I guess around 10-20) audio files with some seconds of speech each (it's for GPS navigation). What file format do you suggest to use, considering that one requirement is that the audio is played almost immediately (the lag should be under 1

Disabling WM animations

2010-03-15 Thread Alberto Mardegan
Hi, is there some way to completely disable window animations? It's just for debugging, to make sure that they are the (indirect) cause of device freezes when using Mapper. Ciao, Alberto -- http://www.mardy.it -- geek in un lingua international!

Re: [fremantle] HTML rendering inside applications

2010-03-15 Thread Alberto Mardegan
daniel wilms wrote: There is a qt application, which does that. Check out the code: http://qt.gitorious.org/qt-labs/graphics-dojo/trees/master/websnap Thanks! I already found other applications, and the code is almost the same. It's a bit surprising to see how easy it is done with Qt! :-)

[fremantle] HTML rendering inside applications

2010-03-12 Thread Alberto Mardegan
Hi, suppose that I have some HTML (in a file or in memory) and I want my application to display it as a static bitmap. How can this be done? Is there some browser API that I can call, and which would return me an image of the page. Ideally, the input data should be the HTML, a desired width

Re: N900: Mapper, device deadlocks and clutter/GL errors

2010-03-11 Thread Alberto Mardegan
Eero Tamminen wrote: - Always: when I'm drawing on a texture (either loading a map tile, or using cairo on a texture) and a Hildon banner/notification appears (either from Mapper itself, or even an incoming chat notification), the texture is corrupted, and it will contain a small rectangle

Re: Icons are just a few bytes, right ?

2010-03-11 Thread Alberto Mardegan
Attila Csipa wrote: Okay, big, but there are 3000+ user packages. But, how about we strip the... icons ? A quick and dirty grep -v gives a rough: [...] That would help, +1! One more observation -- even though I have no concrete proposals on how to solve this: usually even developers don't

Re: Performance of floating point instructions

2010-03-10 Thread Alberto Mardegan
Kimmo Hämäläinen wrote: You can also put the CPU to a fast floats mode, see hd_fpu_set_mode() in http://maemo.gitorious.org/fremantle-hildon-desktop/hildon-desktop/blobs/master/src/main.c N900 has support for NEON instructions also. This sounds interesting! Is there any performance penalty

Re: Performance of floating point instructions

2010-03-10 Thread Alberto Mardegan
Eero Tamminen wrote: Hamalainen Kimmo (Nokia-D/Helsinki) wrote: On Wed, 2010-03-10 at 12:57 +0100, ext Alberto Mardegan wrote: Kimmo Hämäläinen wrote: You can also put the CPU to a fast floats mode, see hd_fpu_set_mode() in http://maemo.gitorious.org/fremantle-hildon-desktop/hildon-desktop

Re: Performance of floating point instructions

2010-03-10 Thread Alberto Mardegan
Eero Tamminen wrote: Is there any performance penalty if this switch is done often? Why you would switch it off? Operations on fast floats aren't IEEE compatible, but as far as I've understood, they should differ only for numbers that are very close to zero, close enough that repeating your

Re: Performance of floating point instructions

2010-03-10 Thread Alberto Mardegan
Alberto Mardegan wrote: Does one have any figure about how the performance of the FPU is, compared to integer operations? I added some profiling to the code, and I measured the time spent by a function which is operating on an array of points (whose coordinates are integers) and trasforming

N900: Mapper, device deadlocks and clutter/GL errors

2010-03-10 Thread Alberto Mardegan
Hi all, I've some issue with Maemo Mapper which I cannot solve by myself and are unfortunately quite severe: - Sometimes, a HWRecoveryResetSGX: SGX Hardware Recovery triggered line appears on the syslog. Most of the times, without any visible effects. - Rarely, the device freezes for

Re: Extras-testing improvements

2010-03-09 Thread Alberto Mardegan
Attila Csipa wrote: want better quality software, developers, testers, users, everybody. Let's make Extras-testing a place where we help applications get to Extras by improving them, not just kick them back to extras-devel, screaming. Thank you. I agree with Graham: I'd like the quarantine

Performance of floating point instructions

2010-03-09 Thread Alberto Mardegan
Hi all, in maemo-mapper I have a lot of code involved in doing transformations from latitude/longitude to Mercator coordinates (used in google maps, for example), calculation of distances, etc. I'm trying to use integer arithmetics as much as possible, but sometimes it's a bit impractical,

Going crazy with HildonPickerButton with multiple selection

2010-02-18 Thread Alberto Mardegan
Hi all, I've been getting exasperated with HildonPickerButton: I have a simple list of strings, and I want the user to select zero or more of them. HildonPickerButton with multiple selection seems to be perfect for my need, but unfortunately HildonPickerDialog doesn't allow closing the

Re: Going crazy with HildonPickerButton with multiple selection

2010-02-18 Thread Alberto Mardegan
Alberto Garcia wrote: On Thu, Feb 18, 2010 at 10:33:46PM +0200, Alberto Mardegan wrote: HildonPickerButton with multiple selection seems to be perfect for my need, but unfortunately HildonPickerDialog doesn't allow closing the dialog if no item is selected (why???). I know it's controversial

Re: Donate $x button on Packages and/or Downloads

2010-01-23 Thread Alberto Mardegan
Andrew Flegg wrote: Do you know of any global-micropayment systems which have a simple API? I don't know about the API, but maybe one can have a look at Google Checkout. It also supports donations: https://checkout.google.com/support/bin/answer.py?hl=enanswer=105654 Ciao, Alberto --

Re: New optification issues in extras-testing

2010-01-01 Thread Alberto Mardegan
Till Harbaum / Lists wrote: Hi, Am Mittwoch 30 Dezember 2009 schrieb Alberto Mardegan: This is my goal, but please move them in the 32GB storage. :-) Oh, i see what you mean. Urgh ... that's a tricky one as moving them for one app will break the other one. I don't think it's such a big

Re: New optification issues in extras-testing

2009-12-30 Thread Alberto Mardegan
Till Harbaum / Lists wrote: i have just been instructed to reduce the size of osm2go _incl._ its depending libraries to under 500k: Speaking of which, it would be nice if you instructed osmgpsmap to store the tiles under /home/user/MyDocs/.maps/ so that they could be shared with maemo-mapper

Re: New optification issues in extras-testing

2009-12-30 Thread Alberto Mardegan
Hi Till, Till Harbaum / Lists wrote: Am Mittwoch 30 Dezember 2009 schrieb Alberto Mardegan: Speaking of which, it would be nice if you instructed osmgpsmap to store the tiles under /home/user/MyDocs/.maps/ so that they could be shared with maemo-mapper (I probably need to modify it a bit so

Attn map application developers: common cache for maps

2009-12-04 Thread Alberto Mardegan
Hi all, I'd like to propose a standard location to store cached map tiles (from openstreetmaps, google, or whichever), so to avoid re-downloading the same tiles when a user is using several applications which store their data in different directories. I'm working on maemo-mapper at the

Re: Profiling applications (oprofile, others?)

2009-12-03 Thread Alberto Mardegan
Andrea Borgia wrote: Alberto Mardegan ha scritto: since fremantle's maemo-mapper is so horribly slow, I went and tried to run oprofile. AFAIK, it was very slow even on Diablo: https://bugs.maemo.org/show_bug.cgi?id=4452 Believe me, it's even slower :-) About the map cache, I don't

Profiling applications (oprofile, others?)

2009-12-02 Thread Alberto Mardegan
Hi all, since fremantle's maemo-mapper is so horribly slow, I went and tried to run oprofile. Unfortunately it seems to me that static functions never appear in the final report. Is this how it is supposed to work? What other profiling tools can you recommend? TIA, Alberto --

Re: Double checking free/nonfree packages

2009-12-01 Thread Alberto Mardegan
Christopher Allan Webber wrote: Mission control --- Marked as nonfree on the graph, however irc conversation reveals: wjt paroneayea: MC itself is LGPL [15:13] wjt paroneayea: Maemo uses osso-mission-control, which is upstream MC plus some proprietary bits Any

Re: maemo-optify, autobuilder /opt

2009-10-29 Thread Alberto Mardegan
Graham Cobb wrote: So, the consensus decision was that the solution would be that autobuilder should automatically optify by default. Sounds wrong to me. I agree with Ed, the default should be manual: so, non optified packages would fail to build, but fixing that would be as easy as adding a

Re: maemo-optify, autobuilder /opt

2009-10-29 Thread Alberto Mardegan
Andrew Flegg wrote: Alberto wrote: Graham Cobb wrote: So, the consensus decision was that the solution would be that autobuilder should automatically optify by default. Sounds wrong to me. Can you elaborate? I'd like to be convinced (as I was during the BOF) rather than just whomever

Re: Disable portrait support for dialog with Hildon

2009-10-29 Thread Alberto Mardegan
Cornelius Hald wrote: How can I remove the flags from the dialog window? hildon_gtk_window_set_portrait_flags ( GTK_WINDOW (dialog), 0); Ciao, Alberto -- http://www.mardy.it - geek in un lingua international! ___ maemo-developers mailing list

How to find the author of a git commit?

2009-10-26 Thread Alberto Mardegan
Hi, I noticed just now that a few days ago someone committed some code into maemo-mapper, but I have no idea who did. I will ask in the project forum, but in case the author is not following it, is it possible to find out who the author was by looking at the git commit? It's this one:

Re: git push problem at git.maemo.org

2009-09-28 Thread Alberto Mardegan
Ferenc Szekely wrote: Apologies for the inconvenience if you and your project are affected. In the meantime are there any workarounds to this problem? Ciao, Alberto -- http://www.mardy.it - geek in un lingua international! ___ maemo-developers

Re: git push problem at git.maemo.org

2009-09-27 Thread Alberto Mardegan
Ferenc Szekely wrote: Please let me know if you experienced problems (except speed) when pushing code changes to git.maemo.org. Also please let me know if you read or heard about workarounds in case git (or actually curl) returns with error code 18 [2] following push. I just encountered this

Re: New apps for fremantle with Qt?

2009-09-07 Thread Alberto Mardegan
Graham Cobb wrote: When porting my applications to Fremantle I have not had to add #ifdef's for all my dialog boxes to cause them to have buttons on the right. Why is that? it is because I used a dialog box widget and the widget has been modified to do that! Yes, good example! That's

Clutter 1.0 in maemo fremantle

2009-09-05 Thread Alberto Mardegan
(sorry for the crossposting, I couldn't decide which list was best) Hi all, I'd like to use clutter 1.0 (and clutter-gtk 0.10) in maemo fremantle, but so far I've had no luck. After applying the patches from bugs: http://bugzilla.openedhand.com/show_bug.cgi?id=1698

Re: [clutter] Clutter 1.0 in maemo fremantle

2009-09-05 Thread Alberto Mardegan
Hi, JiangWei Zhou wrote: when you run the test-actors test app, does it produce the same output? it seems in clutter , it cannot create the egl window surface. use |*eglGetError *|to check the error code ,which is not correct. i think this may help you to find the cause. Yes, I get the

Re: [clutter] Clutter 1.0 in maemo fremantle

2009-09-05 Thread Alberto Mardegan
JiangWei Zhou wrote: you may remove the EGL_STENCIL_SIZE, 8 from the egl config list and try again. i just wonder it may cause this problem. but in our target, there is no such problem. Mmmm... the more I play with egl the less I understand how it works. The call to eglChooseConfig()

Re: [clutter] Clutter 1.0 in maemo fremantle

2009-09-05 Thread Alberto Mardegan
Update: Alberto Mardegan wrote: JiangWei Zhou wrote: you may remove the EGL_STENCIL_SIZE, 8 from the egl config list and try again. i just wonder it may cause this problem. but in our target, there is no such problem. I checked the source code of clutter-0.8 in maemo

Re: Need clutter-gtk

2009-09-03 Thread Alberto Mardegan
Kimmo Hämäläinen wrote: On Wed, 2009-09-02 at 19:04 +0200, ext Alberto Mardegan wrote: I'm trying to use clutter-gtk 0.8.2 from extras-devel, but it segfaults as soon as I create an instance of the ClutterEmbed widget (clutter_x11_get_stage_visual returns NULL and then this pointer

Need clutter-gtk

2009-09-02 Thread Alberto Mardegan
Hi, I'm trying to use clutter-gtk 0.8.2 from extras-devel, but it segfaults as soon as I create an instance of the ClutterEmbed widget (clutter_x11_get_stage_visual returns NULL and then this pointer is accessed without checking). In the SDK this package is missing. Is there a working version

Re: desktop/home plugins 2nd round

2008-01-22 Thread Alberto Mardegan
ext Collin R. Mulliner wrote: 2) Has anybody written a home plugin for Maemo 4.x and has published the source? Yes, I wrote a stock-market plugin: https://garage.maemo.org/projects/stock-plugin/ You can browse the source here:

Re: mission control not implementing prefixes properly

2007-10-29 Thread Alberto Mardegan
ext Rainer Dorsch wrote: Hello, I compiled mission-control outside my standard file system using ./configure --prefix=/opt/gtalk make make install The overall goal was to get empathy running outside the standard file system. Mission control apparently does not implement the prefix

Re: latest rtcomm beta b0rked my add account button.

2007-09-07 Thread Alberto Mardegan
ext Jesse Guardiani wrote: It's still broken. Is there anything I can do to find out why it's broken? There is a bug for it in the bugzilla: https://bugs.maemo.org/show_bug.cgi?id=1952 It would be great if you could SSH into the device and run maemo-summoner /usr/bin/controlpanel.launch and