Re: How to create an icon on desktop on N900 and link my binary to that

2010-08-10 Thread Fred Lefévère-Laoide
 You simply have to create a .desktop file associated with your program 
(don't forget to initialize dbus session with osso_init)


users wil then be able to start your program via the menu and to add a 
shortcut on their desktop.


you can check the developper documentation

Fred



Le 10/08/2010 14:57, praveen koduru a écrit :

Hi,

I have developed some program and am having it running on my N900 
through command line.


Now I want to create an icon on N900 home and on clicking that I need 
to launch that binary.


Help would be appreciated.

-Praveen


___
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: How to create an icon on desktop on N900 and link my binary to that

2010-08-10 Thread Fred Lefévère-Laoide


I thought the DBus initialization was used to allow only one intsnace of 
your program to be run, which is good on a handheld device ...


I think you should let the user decide if he wants to put a shortcut on 
his desktop or not ?


Fred

Le 10/08/2010 17:29, Naresh Mehta a écrit :

Hi All,


f...@lefevere-laoide.net  wrote:


You simply have to create a .desktop file associated with your program
(don't forget to initialize dbus session with osso_init)

osso_initialize is not needed if you don't specify X-Osso-Service in
the .desktop file.

Here's a .desktop file that works properly:

[ville~/qtdone]|4  cat qtdone.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=qtdone
Exec=/usr/bin/qtdone
Icon=qtdone
StartupWMClass=qtdone
X-Window-Icon=qtdone
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
Terminal=false


I have a similar desktop file in my application and it shows up in the
menu. But I can't place a shortcut/link on the active screen. I would
like to do it during installation. Also my icon does not show up
properly. The code is available on http://confmgr.garage.maemo.org/.
Would be great if someone can point me in the right direction.


--
Ville M. Vainio @@ Forum Nokia
___
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: Any new information on Developer Device Program?

2009-12-09 Thread Fred Lefévère-Laoide
Le 09/12/2009 02:23, Ian a écrit :
 Hi
 me too, I ordered it since they wrote to order it before the 21 of december.
 ordered it from where? I looked around on forum.nokia.com and I have
 nothing related to N900 anywhere..maybe I missed something/some link

 Ian





Once the store's content is displayed Premium Services/eStore) : refresh 
your page and the N900 should appear ...
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


read XML files

2009-11-10 Thread Fred Lefévère-Laoide
Hi,

Is there a way to read XML files in the Maemo distribution ?
If not can you recommend one available in extras ?
If not can you recommend one ?

I want to read keepassx xml files for importing in passwordSafe

Thanks

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


Re: read XML files

2009-11-10 Thread Fred Lefévère-Laoide
Le 10/11/2009 09:27, Tim Teulings a écrit :
 Hello!

 Is there a way to read XML files in the Maemo distribution ?

 The GNOME XML library is available (should be libxml2-dev, libxml2).
 See also http://xmlsoft.org/.

Thanks a lot


 It is also possible that QT has a XML library, too (I'm not using QT).

PasswordSafe is based on GTK


 If not can you recommend one available in extras ?
 If not can you recommend one ?

 libxml is a C library. I'm happy with it, but a C++ (QT) library might have
 (or might not) an easier interface.

and written in C so libxml2 is fine for me too



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


Re: maemo-optify, autobuilder /opt

2009-10-28 Thread Fred Lefévère-Laoide
I think it is good to be able to keep maemo-optify out of Build-Depends :
This way we can keep the same debian control file for Diablo and Fremantle.
I suppose the Diablo builder will only ignore the optify header ?

Fred

On Wed, Oct 28, 2009 at 8:10 PM, Ed Bartosh bart...@gmail.com wrote:
 2009/10/28 Andrew Flegg and...@bleb.org:
 Hi,

 I've put together a suggested spec for the decision, taken at the
 summit during the /opt BOF[1], that the auto-builder would run some
 maemo-optify version during the build process (controlled by a control
 file header):

    http://talk.maemo.org/showthread.php?p=359996#post359996

 I suggest the header is XS-Maemo-Optify, and has the following values:

  none:   no optification should be done, or considered, by the autobuilder.
  manual: the application author will do optification manually. If the
          package contains no entries under /opt it would be considered a
          build failure.
  auto:   maemo-optify would be run if certain heuristics were met (e.g.
          no entries in /opt, no Python dependency)
  force:  maemo-optify would always be run

 Marius: are you taking ownership of talking to Ed Bartosh, and anyone
 else, about this plan?

 We can discuss it here.

 Sorry, I seem to miss the whole point of this activity. Why do you
 need to do that on autobuilder side? As far as I understood it's just
 a matter of including maemo-optify as a build dependency  and run it
 in debian/rules, right? Why developer can't do this then? I don't see
 much difference between setting XS-Maemo-Optify and changes I
 mentioned above. In both cases developer should understand what
 optification means.

 BTW, when you want to have it done?
 I'm going to vacation in a couple of weeks. Before that I was going to
 finish implementation of multiple packages builds if I have time.

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




-- 

Sent from La Rochelle, France
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Extras-Testing and Bug Reports

2009-10-17 Thread Fred Lefévère-Laoide
Hi,

It looks like more N900 in the wild starts to translate into more
people testing apps ...

I see a few new (minor) bugs but no vote ...

Is there a rule about testing translating into vote ?

I don't see any rule against it in the extras-testing wiki page
http://wiki.maemo.org/Extras-testing

If I listen to people submitting bugs (and I do !), I release a new
minor version and the voting starts from nil again ...

I know that extras promotion is of no great importance since there is
no device available to the public but I suppose that the tester
population won't increase hugely now ... or will it ?

What do you think ?

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


How to get an user friendly path description ?

2009-10-17 Thread Fred Lefévère-Laoide
Hi,

Is there a way to get a User friendly description for a path ?

ie see N900 Documents/toto instead of /home/user/MyDocsDir/.documents/toto ?

Thanks

Fred

PS : Faheem already proposed the baseName glib function but it only
gives the name of the file ...
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Garage down for a while

2009-10-15 Thread Fred Lefévère-Laoide
PWSafe 1.5.5a appeared in the repository : thanks to anyone who did it !

Le 15/10/2009 10:05, tero.k...@nokia.com a écrit :
 Hi all,

 Garage is down for a disk upgrade. It ran full and needs some more space.
 Estimate is in the ball park of an hour or so.

 Hope you understand.

 Thanks,
 Tero
 ___
 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


Write file

2009-10-01 Thread Fred Lefévère-Laoide
Hi,

pwsafe writes the file it creates in the $MYDOCSDIR/.documents 
(Documents) by default.

No problemo in the SDK
But testers have reported a problem in actual device : write error !

What rights does the app run with ?
Where should we write files to ?

I'm using gnome_vfs API to read, write and move files ...

Thanks

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


Re: Write file

2009-10-01 Thread Fred Lefévère-Laoide
Hello,

Florian Boor wrote:

 Hi,

 This sounds like $MYDOCSDIR is not set on the device and the application
 ends
 up trying to write it to the root directory.

Is it not ?
Why is it set on the SDK so ?


  Where should we write files to ?

 /home/user/ or the documents directories below would be safe. I assume that
 $HOME is set at least so that you could base the actual path on this.


I use this, that should do the trick ...

docsDir = getenv(MYDOCSDIR);
if (docsDir != NULL) {
myDir = g_strconcat(docsDir, /.documents, NULL);
} else {
myDir = g_strdup(/home/user/MyDocs/.documents);
}

And it looks like a reboot of the device did it ...
check bug https://bugs.maemo.org/show_bug.cgi?id=5252

Thanks for your time

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


Getting out of inactivity

2009-09-30 Thread Fred Lefévère-Laoide
Hi,

I wonder what I should do to get signaled when the device is getting out 
of inactivity (screen blanking) ?

libosso has an indicator for getting into inactivity mode 
(system_inactivity_ind) but I don't see one for getting out of it ...
Or is it the same ?

Thanks

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


Re: Getting out of inactivity

2009-09-30 Thread Fred Lefévère-Laoide
Thanks a lot. It looks like it !

Fred

Le 30/09/2009 10:25, daniel wilms a écrit :
 Hi Fred,

 have a look here [1], this might be what you want.

 Cheers Daniel

 [1]
 http://maemo.org/api_refs/5.0/beta/mce-dev/dbus-names_8h.html#84c46d903ba9ab3b6e965e107e399852



 ext Fred Lefévère-Laoide wrote:
 Hi,

 I wonder what I should do to get signaled when the device is getting
 out of inactivity (screen blanking) ?

 libosso has an indicator for getting into inactivity mode
 (system_inactivity_ind) but I don't see one for getting out of it ...
 Or is it the same ?

 Thanks

 Fred
 ___
 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: Getting out of inactivity

2009-09-30 Thread Fred Lefévère-Laoide
And for the record there is an example of using MCE via DBus here : 
http://wiki.maemo.org/Using_Fremantle_Widgets

search for MCE_DEVICE_ORIENTATION_SIG in the page

Fred

Le 30/09/2009 10:25, daniel wilms a écrit :
 Hi Fred,

 have a look here [1], this might be what you want.

 Cheers Daniel

 [1]
 http://maemo.org/api_refs/5.0/beta/mce-dev/dbus-names_8h.html#84c46d903ba9ab3b6e965e107e399852



 ext Fred Lefévère-Laoide wrote:
 Hi,

 I wonder what I should do to get signaled when the device is getting
 out of inactivity (screen blanking) ?

 libosso has an indicator for getting into inactivity mode
 (system_inactivity_ind) but I don't see one for getting out of it ...
 Or is it the same ?

 Thanks

 Fred
 ___
 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


hildron_entry and activate signal

2009-09-29 Thread Fred Lefévère-Laoide
Hi,

I can't manage to fiure the activate signal on a hildon_entry in the SDK
And my code crashes on the real device (that I do not have :( )

Any hint or idea ?

the same code works fine in Diablo with a gtk_text_entry instead of a 
hildon_text_entry ...

here is the relevant code
main-filter_tb = hildon_entry_new(HILDON_SIZE_AUTO);
...
g_signal_connect(G_OBJECT(main-filter_tb), activate, 
G_CALLBACK(callback_filter), main);
...
void callback_filter(GtkWidget *widget, MainView *mainview ) {
 gchar *ftxt = NULL;
 GList *onrec=NULL;

 ftxt = hildon_entry_get_text(HILDON_ENTRY(widget));

 ...

}

Thanks for your help

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


Re: hildron_entry and activate signal

2009-09-29 Thread Fred Lefévère-Laoide
No I can't because :
- I cannot figure out how to fire the signal in the SDK.
- I works fine on Diablo
- I do not have a fremantle device

Fred

Le 29/09/2009 08:54, Qiang Chai a écrit :
 Can you figure out which line of code crashes?

 Maybe you can check the pointer value of main-filter_tb and the
 callback function's widget parameter to see if they are the sam.

 2009/9/29 Fred Lefévère-Laoide f...@lefevere-laoide.net
 mailto:f...@lefevere-laoide.net

 Hi,

 I can't manage to fiure the activate signal on a hildon_entry in the SDK
 And my code crashes on the real device (that I do not have :( )

 Any hint or idea ?

 the same code works fine in Diablo with a gtk_text_entry instead of a
 hildon_text_entry ...

 here is the relevant code
 main-filter_tb = hildon_entry_new(HILDON_SIZE_AUTO);
 ...
 g_signal_connect(G_OBJECT(main-filter_tb), activate,
 G_CALLBACK(callback_filter), main);
 ...
 void callback_filter(GtkWidget *widget, MainView *mainview ) {
  gchar *ftxt = NULL;
  GList *onrec=NULL;

  ftxt = hildon_entry_get_text(HILDON_ENTRY(widget));

  ...

 }

 Thanks for your help

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




 --
 Best Regards
 Chai Qiang

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


Re: hildron_entry and activate signal

2009-09-29 Thread Fred Lefévère-Laoide
Hi Cornelius,

I tried Enter and Return on my keyboard : no dice !

I suppose I'll try the gtk_widget_activate way for debugging purpose.

Can anyone confirm this behavior in the SDK so that I can open a bug ?

Fred

Le 29/09/2009 09:41, Cornelius Hald a écrit :
 Hi Fred,

 I just tried the activate signal on HildonEntry and as expected. The
 problem, that you cannot activate in scratchbox might be, that the
 'Enter' key of our tablets is emitting a 'Keypad-Enter' signal. So to
 activate a widget you have to press the 'Enter' key on the keypad.

 Another way (for testing) would be to call gtk_widget_activate() on the
 HildonEntry. This also should emit the right signal.

 Hope that helps!
 Conny


 On Tue, 2009-09-29 at 08:51 +0200, Fred Lefévère-Laoide wrote:
 Hi,

 I can't manage to fiure the activate signal on a hildon_entry in the SDK
 And my code crashes on the real device (that I do not have :( )

 Any hint or idea ?

 the same code works fine in Diablo with a gtk_text_entry instead of a
 hildon_text_entry ...

 here is the relevant code
 main-filter_tb = hildon_entry_new(HILDON_SIZE_AUTO);
 ...
 g_signal_connect(G_OBJECT(main-filter_tb), activate,
 G_CALLBACK(callback_filter), main);
 ...
 void callback_filter(GtkWidget *widget, MainView *mainview ) {
   gchar *ftxt = NULL;
   GList *onrec=NULL;

   ftxt = hildon_entry_get_text(HILDON_ENTRY(widget));

   ...

 }

 Thanks for your help

 Fred
 ___
 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: hildron_entry and activate signal

2009-09-29 Thread Fred Lefévère-Laoide
Le 29/09/2009 11:38, Claudio Saavedra a écrit :
 El mar, 29-09-2009 a las 10:33 +0200, Fred Lefévère-Laoide escribió:
 Hi Cornelius,

 I tried Enter and Return on my keyboard : no dice !

 I suppose I'll try the gtk_widget_activate way for debugging purpose.

 Can anyone confirm this behavior in the SDK so that I can open a bug ?

 You don't even know where your code crashes and you want to file a bug.
 You should first find out what's crashing. From the very little you
 describe, it's highly likely to be a bug in your program.

I'm SURE it's a bug in my program but I feel that the fact that you 
cannot emmit an activate signal in hildon_entry in the SDK might be a 
bug ...

What do you think ?


 Claudio

Fred
 ___
 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: PUSH N900 (Was Re: N900 usb host + power charge)

2009-09-21 Thread Fred Lefévère-Laoide
 That certainly works (as proven) but it's not what I would like to do.
 For my project this is probably already taking
 to much space. For your info the project proposal I am working on
 involves adding more buttons to the device. The best for me would be
 to simply implement a usb-hid device.
 

Why don't you implement a bluetooth HID ?
You could even use a N800/N8100 with BlueMaemo to emaulate the client 
part :)

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


Re: Fremantle SDK: Segfault when opening HildonNote

2009-09-20 Thread Fred Lefévère-Laoide
Cornelius Hald a écrit :
 Hi,
 
 whenever I try to open a HildonNote using the Fremantle Beta2 SDK, my
 app crashes with a segfault. This is the last message I get:
 
 Assertion 'c-io_event == e' failed at pulsecore/socket-client.c:197,
 function connect_io_cb(). Aborting.
 
 When running the code on a real device it is working. It also plays a
 short sound when showing a note. This and that the error mentions
 pulseaudio lets me think that it has something to do with this sound
 notification.
 
 Do other have the same problem? Is there a way to make it work in the
 SDK?
 
 Short example code for testing:
 
 GtkWidget *note = hildon_note_new_information(parent, Hello World!);
 gtk_dialog_run(GTK_DIALOG(note));
 gtk_widget_destroy(note);
 
 BTW, opening a self made GtkDialog with gtk_dialog_run() does not crash
 and does not play a sound.
 
 Thanks!
 Conny
 
 
 
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

I noticed that too ...
I thought it was linked to the sound server not being available ... ?

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


Re: Fremantle SDK: Segfault when opening HildonNote

2009-09-20 Thread Fred Lefévère-Laoide
Cornelius Hald a écrit :
 On Sun, 2009-09-20 at 20:05 +0200, Fred Lefévère-Laoide wrote:
 I noticed that too ...
 I thought it was linked to the sound server not being available ... ?
 
 Ah right, doing:
 run-standalone.sh pulseaudio
 

Thaks for the tip : I didn't think of trying that !

 inside scratchbox does the trick. Sounds like a known problem. Fred,
 where do you have that information from? I'll file a bug if it does not
 exist already.

I just noticed the Assertion about pulsecore/socket-client.c and 
thought it might be sound (pulseaudio) related ...
I don't know if there is already a bug filed about that ...

 
 Thanks!
 Conny
 
 

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


Re: Autobuilder for maemo extras repository

2008-06-07 Thread Fred Lefévère-Laoide
Thanks, I'll take a look
Fred

- Original message -
 2008/6/6 Fred [EMAIL PROTECTED]:
  Looks like it works ...
 
  Can this pb be linked to the fact that I have a passphrase associated
  with my ssh key and that I may not answer the passphrase question as
  soon as it arises ?

 If that is the problem, are you aware of ssh-agent and ssh-add?

      Neil

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


Re: Autobuilder for maemo extras repository

2008-06-05 Thread Fred Lefévère-Laoide
Thanks Graham and Ed
I'll try that tomorrow ;)
Fred

- Original message -
 On Thu, 2008-06-05 at 17:34 +0200, ext Fred wrote:
  Hi,
 
  I'm trying to use the autobuilder :
 
  I managed to have gnokii OK
  but then when I try with an hildon app, configure doesn't find the modules :
 
  my configure.ac is like this :
  # Hildon library dependsncies
  PKG_CHECK_MODULES(HILDON, hildon-1 hildon-fm-2 hildon-help conbtdialogs,\
                   AC_DEFINE(HILDON, 1, [Version of hildon libraries]), \
                   [AC_DEFINE(HILDON, 0, [Version of hildon libraries]) \
                   PKG_CHECK_MODULES(HILDON, hildon-libs = 0.9.50
  hildon-fm libossohelp)])
 
  And I get this report
 
  checking for HILDON... no
  checking for HILDON... configure: error: Package requirements
  (hildon-libs = 0.9.50 hildon-fm libossohelp) were not met:
 
  No package 'hildon-libs' found
  No package 'hildon-fm' found
  No package 'libossohelp' found
 
  What am I doing wrong ?
 
 Wow! Congratulations! You're the first person who is asking about
 autobuilder here. The rest of community seems not interested in it (no
 idea why).

 A bit of explanations why this happened:
 When autobuilder starts the build it uses so called minimal rootstrap
 with the minimal list of packages like gcc, libc and similar. The rest
 of packages required for the build should be mentioned in package's
 control/Build-Depends* field[s].

 So, your package should build-depend on -dev packages, which provide
 libraries/includes to be able to use them. Only in this case they will
 be brought to the system and can be used in the build.

 In your case you can identify missing build-dependencies by looking
 at .pc files with the same names as modules mentioned in your configure
 output. Something like this:

 [sbox-chinook-armel: ~]  dpkg -S hildon-1.pc hildon-fm-2.pc
 hildon-help.pc
 libhildon1-dev: /usr/lib/pkgconfig/hildon-1.pc
 libhildonfm2-dev: /usr/lib/pkgconfig/hildon-fm-2.pc
 libhildonhelp-dev: /usr/lib/pkgconfig/hildon-help.pc

 So, you should add libhildon1-dev, libhildonfm2-dev
 and libhildonhelp-dev to your package's Build-depends: and try again :)

 Thank you for using autobuilder.
 Don't hesitate to ask more questions if any.

 BR,
 --
 Ed

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


Developping DBus Services

2007-11-06 Thread Fred Lefévère-Laoide
Hi,

I had an idea in the early hours of the morning.

I think it would be very nice for users to be able to use their data in 
different applications and particularly contacts informations ie :
- use addresses or GPS coordinates in MaemoMapper
- use email addresses in a mail client
- use phone numbers in phonelink (ok ok)
- ...

Those contact informations could be stored in GPE or Contacts or 
where-ever each user wants it to be...

The best way to achieve this would be to establish a weak link between 
  the applications.
I suppose that DBus would be the best way to achieve this weak link.

Then a client application (MaemoMapper, mailClient, phonelink ...) would 
only need to request a DBus Service to know the availability of the 
informations ...

What do you think ?

I'll go and try to find informations on writing DBus services.
 From what I understand DBus would start the application when needed.
If you've got any pointer ...

I suppose 2 services can not respond to the same DBus id ?
Should I then manage a generic service that would redirect calls to 
different specific services (GPE, Contacts ...)

I suppose the best programming language for this would be c ?

The service that I plan would provide 2 methods

1: GetAvailableContactInfos

Param in :
==
- Requested Infos (List of constants)
nothing or a list of predefined types ex : GPSCoordinate, FullAddress, 
City, MobilePhoneNumber, PhoneNumbers ...
Param out :
===
- Available Infos (List of Constants)
if nothing requested all the available types of informations, If 
requested the ones available
Return :

Found, NotFound, ErrorCode

2: GetContactInfos
***
Param in :
==
- Requested Infos (List of constants)
nothing or a list of predefined types ex : GPSCoordinate, FullAddress, 
City, MobilePhoneNumber, PhoneNumbers ...
- Search (String)
A search string
- ShowGui (Boolean)
an indicator specifying if a GUI must be shown in case of ambiguity 
(several responses)
- MultipleResponse (Boolean)
an indicator specifying if the service can reply with a list
Param out :
===
- Response (List of List of String)
the results
Return :

Found, NotFound, ErrorCode


Thanks for your kind attention and possible help and sorry if I bothered 
you ;)

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


Re: Developping DBus Services

2007-11-06 Thread Fred Lefévère-Laoide
Ross Burton a écrit :
 (you forgot to CC the list, replying back)
 
 On Tue, 2007-11-06 at 11:42 +0100, Fred Lefévère-Laoide wrote:
 Thanks Ross for your answer but the service I envision would need to 
 provide information about any available contact ...
 
 In that case why doesn't Evolution Data Server suit you?  It is used by
 the provided Contacts application, and OpenedHand's (disclaimer: I work
 for them) Contacts application too.  It even has a DBus API (although
 please us the C API). 
 
 Ross

I never said it wouldn't suit ;)
I'll have a look and see if it can fit ... Do you have any pointer ?
C API vs DBus API : cf. my weak link requirement ...
The other pb is that I started to use GPE because the Contacts 
application was functionally very poor back on the 770 and I didn't 
noticed that it had improve dramatically (I know GPE's UI is not very 
good ...)

Fred

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


Re: problems with installing tapioca

2007-11-05 Thread Fred Lefévère-Laoide
I think Tapioca is only available on OS2007 which is not available on 
770 (except for Hacker Edition)

did you try minisip ?

Fred

harini satyanarayanan a écrit :
 Hi,
 I need to install a VOIP client on the N770. I need an application 
 whose source code is available and the application should be in such a 
 way that i am able to extend and customize it to my use. I found Tapioca 
 that perfectly suited all my needs. But  I am not able to install it  on 
 my  N770. I have the OS 2006. I also tried on the OS 2007. 
 url   : http://www.maemo.org.br/VoIP/apt/
 distribution   : mistral
 components : main
 
 but it says cannot refresh package. I did try installing it through the 
 terminal but since i do not have root access to the device it does not 
 allow me to do an apt-update. When i checked the URL i realized that 
 under distributions there isint any mistral and i couldnt find any ARM 
 based .deb files, all the deb files were for i386.
 
 I am not sure if i am missing something in my installtion, or is it that 
 tapioca no longer works. I am not sure what the problem is, I kindly 
 request for some help.
 
 Thanks in advance,
 
 
 
 
 ___
 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: problems with installing tapioca

2007-11-05 Thread Fred Lefévère-Laoide
I suppose you'll have to get the source and compile minisip (you don't 
need to build the GUI)

Good luck

Fred

harini satyanarayanan a écrit :
 Hi,
 
 I also tried on the OS 2007 hacker version, you think there is anything 
 else i can do?
 
 I didn't try Minisip since it is currently not available for the N770.
 
 Maemo (Nokia 770 platform - arm and i386) Note: The repository is not 
 currently working (packages are out-datedd). 
 We are trying to bring them back to life. You can find 
 information on the build process in the repository source code 
 Documentation
 
 Do you know of any other VOIP client that suits my neeeds.
 
 Thanks in advance,
 Harini
 
 On Nov 5, 2007 10:18 AM, Fred Lefévère-Laoide  [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 I think Tapioca is only available on OS2007 which is not available on
 770 (except for Hacker Edition)
 
 did you try minisip ?
 
 Fred
 
 harini satyanarayanan a écrit :
   Hi,
   I need to install a VOIP client on the N770. I need an
 application
   whose source code is available and the application should be in
 such a
   way that i am able to extend and customize it to my use. I found
 Tapioca
   that perfectly suited all my needs. But  I am not able to install
 it  on
   my  N770. I have the OS 2006. I also tried on the OS 2007.
   url   : http://www.maemo.org.br/VoIP/apt/
   distribution   : mistral
   components : main
  
   but it says cannot refresh package. I did try installing it
 through the
   terminal but since i do not have root access to the device it
 does not
   allow me to do an apt-update. When i checked the URL i realized that
   under distributions there isint any mistral and i couldnt find
 any ARM
   based .deb files, all the deb files were for i386.
  
   I am not sure if i am missing something in my installtion, or is
 it that
   tapioca no longer works. I am not sure what the problem is, I kindly
   request for some help.
  
   Thanks in advance,
  
  
  
 
 
  
   ___
   maemo-developers mailing list
   maemo-developers@maemo.org mailto: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: Anyone know where to get the VMWare application for maemo development?

2007-10-25 Thread Fred Lefévère-Laoide
maemo I believe

Jason Whelan a écrit :
 please excuse my stupidity if this has been posted somewhere and I 
 missed it, but what's the root password for this VM image?
 
 Thanks
 Jason
 
 ___
 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: Maemo SDK 4.x beta

2007-10-24 Thread Fred Lefévère-Laoide
And changing the name of libraries for pkgconfig

Eero Tamminen a écrit :
 Hi,
 
 ext Klaus Rotter wrote:
 Rafael Proença schrieb:
  Is this a bug or a new feature?
 Neither. This is called API break, as you can see here:
 http://maemo.org/development/sdks/api_changes_between_maemo_3_2_and_maemo_4_0.html
 and some recents clues here:
  http://lists.maemo.org/pipermail/maemo-developers/2007-October/012080.html
 Hm... I should have read that before. O.k. Funny thing that my bomberman 
 package build straight away...
 
 Anything using SDL works fine on Chinook if it worked
 on earlier release.
 
 I just ported one test application to Chinook and if you're just using
 HildonWindow/HildonProgram and Gtk there are AFAIK no changes in those
 in Chinook.  I think the main difference was dropping the items that had
 been deprecated earlier (HildonApp/View, gtk_infoprint etc).
 
 
   - Eero
 ___
 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


VMWare Chinook

2007-10-18 Thread Fred Lefévère-Laoide
Hi,

Is there any news on the VMWare for Chinook front ?
I'm trying to download the torrent right now and it says 24 days 
remaining ... I won't be able to recompile phonelink before the N810 
comes to market ...

Any info will be wellcome ;)

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


Re: VMWare Chinook

2007-10-18 Thread Fred Lefévère-Laoide
I found this ...

http://setanta.wordpress.com/2007/10/15/maemo-sdk-appliance-release-03/

It was discussed a little bit earlier here : 
http://www.gossamer-threads.com/lists/maemo/developers/28602

Sorry for not searching enough ...

Fred

Fred Lefévère-Laoide a écrit :
 Hi,
 
 Is there any news on the VMWare for Chinook front ?
 I'm trying to download the torrent right now and it says 24 days 
 remaining ... I won't be able to recompile phonelink before the N810 
 comes to market ...
 
 Any info will be wellcome ;)
 
 Fred
 ___
 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


Timer function

2007-04-17 Thread Fred Lefévère-Laoide

Hi,

I plan to write a software metronome and I wonder what would be the best 
way to get a timer precise enough for that purpose ?


The other problem is what's the best way to make a short sound 
(eventually corresponding to a note ...)


Thanks for your help.

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


Re: Problem with registering a program as service

2007-03-29 Thread Fred Lefévère-Laoide

Hi Jean-Luc,

I'm not sure if it's still true but in maemo 2 you could only use 
com.nokia as a prefix for your service name ...


Fred

[EMAIL PROTECTED] a écrit :

Hello all,

Currently I port claws-mail to maemo who has first release published on garage.
But  I have a problem to registering correctly as service. Here the files used :

main.c : as attachment

claws-mail.desktop (copied in /usr/share/applications/hildon/):
[Desktop Entry]
Encoding=UTF-8
Version=2.8.1
Type=Application
Name=Claws-mail
Exec=/usr/bin/claws-mail
X-Osso-Service=org.maemo.claws-mail
Icon=claws-mail

claws-mail.service (copied in /usr/share/dbus-1/services) :
[D-BUS Service]
Name=org.maemo.claws-mail
Exec=/usr/bin/claws-mail

After the .deb is installed on the tablet, it launch in a xterm but not with the
menu entry.
Does somebody have an idea about this problem?

Thanks and sorry for this long message !

Jean-Luc Biord




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

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


Re: Asking for information VERY IMPORTANT

2007-02-27 Thread Fred Lefévère-Laoide

Install osso-xterm

magda chelly a écrit :

Hello,

I'm a student preparing a project at Nokia N800, and
actually, I didn't begun it because I'm still trying
to acceed to the shell of the equipement. In afct, to
do anything you must enter, for example, a line
command. So, I ask you please to help me how to do
that.

Yours faithfully,
Chelly Magda Lilia,






___ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

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


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


Re: [maemo-developers] Re: Span filesystem across both SD cards?

2007-02-02 Thread Fred Lefévère-Laoide

I suppose you could just boot from MMC and then install everything on it !
I don't see how you can compare a N80 and the 770 ???

Fred

sebastian maemo a écrit :

Hi Fran:
 
I've got 1GB card. 128MB is the internal memory of my 770. And that is 
ALL I've got to install applications. Since it is IMPOSSIBLE (unless you 
tell me how) to install an application in MMC.
 
So easy to understand... I think I'm going to resell my 770. I'm fed up 
with struggling with it and getting almost nothing. My S60 Symbian-based 
N80 phone works far much better than my 770.


 
2007/2/2, Frantisek Dufka [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:


sebastian maemo wrote:
  Don't you get pretty soon the no-more-free-memory
  advertisement after installing octave and abiword? Wouldn't you
like to
  install anything you like and more?

http://fanoush.wz.cz/maemo/#initfs
http://maemo.org/maemowiki/HowTo_GetStartedWithSardine
http://maemo.org/maemowiki/HowTo_GetStartedWithSardine

You need bigger card than the 128MB one, though. 1 or 2GB are not that
expensive nowadays.

Frantisek





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

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


Re: [maemo-developers] apt-get problem

2006-12-11 Thread Fred Lefévère-Laoide

Marius Vollmer wrote:

ext Fred Lefévère-Laaoide [EMAIL PROTECTED] writes:


whenever I try apt-get update (from the command line or through the
Application Manager) I get a
Connecapt-get: Symbol lookup error :
/usr/lib/libapt-pkg-libc6.3-6.so.3.10: undefined symbol: _ZN11Globa


That looks more like some kind of file corruption to me since the
symbol name is not complete.  Or did you truncate the error message
somehow?

I didn't truncate the message.



any idea of what recent update could have updated this lib ?


What repositories do you use?


I copied apt-get update output at the end of this mail.

What version do you have ?
Any idea on how I could get out of this ?


Try to install the apt package again with dpkg.  That is, download
it from mistral or scirocco directly, and use dpkg --install ... to
install it.

(I would have to do some digging to tell you the exact version numbers
you should be using...)


I'll have a look and try it ...

Thanks
O Fred

apt-get update :


/home/user # apt-get update
Ign http://downloads.kernelconcepts.de mistral Release.gpg
Get:1 http://ww.oakcourt.dyndns.org ./ Release.gpg [189B]
Ign http://downloads.kernelconcepts.de mistral Release
Hit http://ww.oakcourt.dyndns.org ./ Release
Get:2 http://catalogue.tableteer.nokia.com mistral Release.gpg [189B]
Get:3 http://catalogue.tableteer.nokia.com mistral Release.gpg [189B]
Ign http://repository.maemo.org mistral Release.gpg
Ign http://repository.maemo.org scirocco Release.gpg
Hit http://downloads.kernelconcepts.de mistral/free Packages
Ign http://jonek.hexbox.de mistral Release.gpg
Ign http://hl.homelinux.org maemo/ Release.gpg
Ign http://eko.one.pl mistral Release.gpg
Hit http://catalogue.tableteer.nokia.com mistral Release
Hit http://jonek.hexbox.de mistral Release
Ign http://people.freedesktop.org mistral Release.gpg
Ign http://hl.homelinux.org maemo/ Release
Hit http://catalogue.tableteer.nokia.com mistral Release
Hit http://eko.one.pl mistral Release
Ign http://openbossa.indt.org scirocco Release.gpg
Hit http://jonek.hexbox.de mistral/user Packages
Hit http://repository.maemo.org mistral Release
Hit http://hl.homelinux.org maemo/ Packages
Hit http://eko.one.pl mistral/user Packages
Ign http://people.freedesktop.org mistral Release
Ign http://scriptkiller.de mistral Release.gpg
Get:4 http://maemo-hackers.org mistral Release.gpg [189B]
Ign http://bgran.net mistral Release.gpg
Hit http://repository.maemo.org scirocco Release
Ign http://openbossa.indt.org scirocco Release
Ign http://www.mulliner.org maemo2 Release.gpg
Hit http://people.freedesktop.org mistral/user Packages
Hit http://www.mulliner.org maemo2 Release
Hit http://repository.maemo.org mistral/free Packages
Hit http://maemo-hackers.org mistral Release
Ign http://bgran.net mistral Release
Ign http://scriptkiller.de mistral Release
Hit http://openbossa.indt.org scirocco/user Packages
Hit http://www.mulliner.org maemo2/free Packages
Hit http://repository.maemo.org mistral/non-free Packages
Hit http://repository.maemo.org scirocco/free Packages
Hit http://bgran.net mistral/user Packages
Ign http://home.ufam.edu.br mistral/ Release.gpg
Hit http://scriptkiller.de mistral/main Packages
Hit http://repository.maemo.org scirocco/non-free Packages
Ign http://marceloeduardo.com mistral Release.gpg
Ign http://marceloeduardo.com mistral Release
Hit http://marceloeduardo.com mistral/games Packages
Ign http://home.ufam.edu.br mistral/ Release
99% [Release gpgv 730] [Waiting for headers] [Connecting to 
armin-warda.de]apt-get: symbol lookup error: 
/usr/lib/libapt-pkg-libc6.3-6.so.3.10: undefined symbol: _ZN11Globa


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


Re: [maemo-developers] apt-get problem

2006-12-11 Thread Fred Lefévère-Laoide

Marius Vollmer wrote:

ext Fred Lefévère-Laaoide [EMAIL PROTECTED] writes:


whenever I try apt-get update (from the command line or through the
Application Manager) I get a
Connecapt-get: Symbol lookup error :
/usr/lib/libapt-pkg-libc6.3-6.so.3.10: undefined symbol: _ZN11Globa


That looks more like some kind of file corruption to me since the
symbol name is not complete.  Or did you truncate the error message
somehow?


any idea of what recent update could have updated this lib ?


What repositories do you use?


What version do you have ?
Any idea on how I could get out of this ?


Try to install the apt package again with dpkg.  That is, download
it from mistral or scirocco directly, and use dpkg --install ... to
install it.

(I would have to do some digging to tell you the exact version numbers
you should be using...)



Strange enough : I tried the Red Pill mode and I had no problem ...
then back to Blue Pill ... and the problem disappeared ...

A little bit frightening ... how long will my 770 live ...

Thanks anyway

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


[maemo-developers] osso-xterm

2006-08-01 Thread Fred Lefévère-Laoide

Hi,

I have updated my oss-xterm to the latest ... and it doesn't launch 
anymore ...


I tried to delete and reinstall it but to no avail !

Any idea of what I could do to get my console back ?

Thanks

Fred

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