Re: what's the function of bme-dbus-proxy?

2008-12-17 Thread Frantisek Dufka
Alex T. W. LEUNG wrote:
 Hi maemo team,
  
 Does anyone happen to know the role / function of bme-dbus-proxy? What 
 unique function does it provide, in contrast to the bme daemon process?

At least for current devices bme is started early on boot from initfs 
partition and is linked to uclibc. My guess is that it was not possible 
to put dbus support directly to bme so there is this proxy which 
implements dbus bme interface and talks to real bme over some unix socket.

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


Python binding for libpurple

2008-12-17 Thread Anderson Briglia
Hi all,

As part of Carman[1] project, a python binding for libpurple has been
developed. Cython was used to generate a python module called purple.so.
More detailed information can find here[2] (temporarily). To download the
code, please, access Carman SVN and check carman-0.7-beta2 branch.


Regards,


[1] http://openbossa.indt.org/carman/
[2] http://briglia.net/wiki/tiki-index.php?page=Python-purple+Howto

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


Does Apple's Bonjour work on Maemo?

2008-12-17 Thread Shengye Lu
Hi,

I tried to cross-compile a service-discovery enabled application,
which depends on Apple's mDNSResponder library. My question is: is it
possible to cross-compile mDNSResponder library in scratchbox, and
make
Apple's service-discovery mechanism work on Maemo?

My own experience is: compiling mDNSResponder library need root
permission, but in scratchbox, we have no real root permission. So my
cross-compiling mDNSResponder library in scratchbox failed.

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


Re: Socket Programming on Maemo

2008-12-17 Thread Shengye Lu
If you prefer to use higher level API and GLib, GNet is a candidate.
But you have to install GNet library on Maemo yourself, since GNet is
not shipped with Maemo by default.



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


Re: Does Apple's Bonjour work on Maemo?

2008-12-17 Thread Eero Tamminen
Hi,

ext Shengye Lu wrote:
 I tried to cross-compile a service-discovery enabled application,
 which depends on Apple's mDNSResponder library. My question is: is it
 possible to cross-compile mDNSResponder library in scratchbox, and
 make
 Apple's service-discovery mechanism work on Maemo?
 
 My own experience is: compiling mDNSResponder library need root
 permission, but in scratchbox, we have no real root permission. So my
 cross-compiling mDNSResponder library in scratchbox failed.

Why compiling would need root rights (and especially something
that fakeroot cannot fake)?


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


g_enum_get_value_by_name

2008-12-17 Thread Arto Karppinen
Hi.

I need to save and read an enum from a GKeyFile. I was going save the 
value as a string into the keyfile and use g_enum_get_value_by_name() to 
parse the value, but i cant figure out how to get the GEnumClass parameter.

GEnumValue* g_enum_get_value_by_name(GEnumClass *enum_class, 

  const gchar *name);

Or should i be doing something else?

-- 
Arto Karppinen
--
arto.karppi...@iki.fi
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Removing packages from Diablo extras-devel

2008-12-17 Thread Aniello Del Sorbo
Any updates on this, Niels?

Aniello

2008/12/8 Niels Breet ni...@maemo.org

 [list in cc now ;)]
 On Sat, December 6, 2008 22:16, Aniello Del Sorbo wrote:
  Hi,
 Hi,

  How can I remove a package from the Diablo extras-devel repository ?

 Typically, you don't. But tell me what the problem is :)

 We really need to document what to do in this case. Time to start an
 Extras FAQ, I guess.

 
 
  --
  anidel



 --
 Niels Breet
 maemo.org webmaster





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


Re: g_enum_get_value_by_name

2008-12-17 Thread Claudio Saavedra
On Wed, 2008-12-17 at 23:15 +0200, Arto Karppinen wrote:
 Hi.
 
 I need to save and read an enum from a GKeyFile. I was going save the 
 value as a string into the keyfile and use g_enum_get_value_by_name() to 
 parse the value, but i cant figure out how to get the GEnumClass parameter.
 
 GEnumValue* g_enum_get_value_by_name(GEnumClass *enum_class, 
 
   const gchar *name);
 
 Or should i be doing something else?

You can use glib-mkenums to parse your enumeration and generate these
classes automatically. That's usually done as part of the compilation
process of your application or library.

Claudio


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


Re: g_enum_get_value_by_name

2008-12-17 Thread Marc-André Lureau
Hi,

On Wed, 2008-12-17 at 23:15 +0200, ext Arto Karppinen wrote:
 Hi.
 
 I need to save and read an enum from a GKeyFile. I was going save the 
 value as a string into the keyfile and use g_enum_get_value_by_name() to 
 parse the value, but i cant figure out how to get the GEnumClass parameter.
 
 GEnumValue* g_enum_get_value_by_name(GEnumClass *enum_class, 
 
   const gchar *name);
 
 Or should i be doing something else?
 

You can take a look at the patches attached to this bug, and please
leave a comment here if you are interested in enum/flags - string
facilities in glib (i can't get the patch in alone ;).

http://bugzilla.gnome.org/show_bug.cgi?id=447907

thanks,
-- 
Marc-André Lureau, Jabber-ID: elma...@ok.research.nokia.com
Maemo Software

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


Feature upgrade has given me the bluez - users must remove my app to upgrade

2008-12-17 Thread tz
This is why NOKIA has to link the tools/sdk packages instead of me
doing so in extras.

The feature upgrade apparently has set things to bluez-utils-osso6.  I
haven't verified this.  The only things in the repository are osso7.
And when I create bluez-utils-test, it will be the current version
so when Nokia upgrades, users will HAVE TO REMOVE MY APPLICATION
because they will have to remove the old bluez-utils-test-osso4 to
upgrade and it is a dependency of my program.

Now I have to try to figure out if the report is wrong.  If it is
wrong and the version is osso7, I now have to play catch-up.

I could compile a broken version that doesn't have any osso
dependencies and wait for something really bad to happen.  But as I
noted, the package is not mine, it is Nokias, and Nokia will change
the base when they feel like it, and I'm stuck.

I can't even retrieve osso7 using apt-get source!  It keeps getting osso4.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: g_enum_get_value_by_name

2008-12-17 Thread Pekka Pessi
Arto Karppinen arto.karppi...@mail.suomi.net writes:
I need to save and read an enum from a GKeyFile. I was going save the 
value as a string into the keyfile and use g_enum_get_value_by_name() to 
parse the value, but i cant figure out how to get the GEnumClass parameter.

GEnumValue* g_enum_get_value_by_name(GEnumClass *enum_class, 
  const gchar *name);

g_type_class_ref() and then unref or if you already have ref'ed,
g_type_class_peek().

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