Re: help with listening to DBUS signals (it relates to Cell Broadcast SMS)

2011-02-11 Thread Nicolas Chuche
 Can someone point me to an example out there (using either lowlevel or glib
 binding) and some info on how I would listen to this signal?

One quick exemple : I want to listen for this signal :

signal sender=:1.20 - dest=(null destination) serial=1385
path=/com/nokia/phone/net; interface=Phone.Net;
member=registration_status_change
   byte 4
   uint16 1024
   uint32 13053
   uint32 1
   uint32 208
   byte 0
   byte 7

And I use something like that (it's in a pyqt app so you will have to
adapt it to suit your needs) :


import sys
from PyQt4.Qt import QApplication

import dbus.mainloop.qt

def cell_signal_handler(*args):
print %s,%s % (args[3], args[2])
app.quit()

app = QApplication(sys.argv)

dbus.mainloop.qt.DBusQtMainLoop(set_as_default=True)

bus = dbus.SystemBus()
bus.add_signal_receiver(cell_signal_handler,
dbus_interface=Phone.net, signal_name=registration_status_change)

app.exec_()


com.nokia.phone.SMS is on the session bus so you will need something like that :

# signal sender=:1.19 - dest=(null destination) serial=550
path=/com/nokia/phone/SMS; interface=Phone.SMS; member=IncomingCBS
bus = dbus.SessionBus()
bus.add_signal_receiver(cell_signal_handler,
dbus_interface=Phone.SMS, signal_name=IncomingCBS)

Sorry, I'm late, I've got not enough time to explain more.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: problem with dbus-scripts and Phone.SMS

2010-03-31 Thread Nicolas Chuche
Hello,

 reinventing the wheel could be hard and dangerous so I was thinking
 about something like yaml. On the plus side, it's easy to parse with
 libraries. On the minus side, you need to have the library on n900.

I've coded some kind of POC. It's not finished (my C is a bit
rusted...) and just print a json dump of the dbus message for the
moment.

I've only tested it on my linux workstation for the moment. You need
http://oss.metaparadigm.com/json-c/ to compile it.

If you are interested I can finish and clean it this to release it.
--- dbus-scripts.c.orig	2010-03-25 20:50:21.0 +0100
+++ dbus-scripts.c	2010-03-31 21:44:15.0 +0200
@@ -30,12 +30,15 @@
 #include unistd.h
 #include sys/wait.h
 
+#include json.h
 #include glib.h
 #include glib-object.h
 #define DBUS_API_SUBJECT_TO_CHANGE 1
 #include dbus/dbus-glib-lowlevel.h
 #include dbus/dbus.h
 
+
+
 #define DBUS_CONF_DIR /etc/dbus-scripts.d
 #define DBUS_RUN_SCRIPTS 
 
@@ -155,106 +158,135 @@
   g_slist_foreach(script_list, (GFunc)script_file_call_if_matched, args);
 }
 
-static void
+static struct json_object*
 print_iter (DBusMessageIter *iter, dbus_bool_t literal, int depth)
 {
+  json_object *my_object, *my_array;
+  my_array = json_object_new_array();
+
   do {
   int type = dbus_message_iter_get_arg_type (iter);
   const char *str;
   dbus_uint32_t uint32;
   dbus_int32_t int32;
   dbus_bool_t boolean;
-#if 0
+#if 1
   double d;
   unsigned char byte;
 #endif
 
-  if (type == DBUS_TYPE_INVALID) break;
+  if (type == DBUS_TYPE_INVALID) {
+	my_object = json_object_new_string(invalid);
+	break;
+  }
 
   switch (type) {
 		case DBUS_TYPE_STRING:
   dbus_message_iter_get_basic (iter, str);
 		  strncpy(msgs[nmsgs], str,127);
+		  my_object = json_object_new_string(str);
 		  nmsgs++;
 	  	  break;
 #if 1
 		case DBUS_TYPE_INT32:
 			dbus_message_iter_get_basic (iter, int32);
 	  	  	sprintf (msgsv2[nmsgsv2], %d, int32);
+			my_object = json_object_new_int(int32);
 		  	nmsgsv2++;
 	  	  break;
 
 		case DBUS_TYPE_UINT32:
 			dbus_message_iter_get_basic (iter, uint32);
 	  	  	sprintf (msgsv2[nmsgsv2], %u, uint32);
+			my_object = json_object_new_int(uint32);
 		  	nmsgsv2++;
 	  	  break;
 		case DBUS_TYPE_BOOLEAN:
   			dbus_message_iter_get_basic (iter, boolean);
 			sprintf (msgsv2[nmsgsv2], %s, boolean ? true : false);
+			my_object = json_object_new_boolean(boolean);
 			nmsgsv2++;
   			break;
-			
 #endif
 
-#if 0
+#if 1
 		case DBUS_TYPE_DOUBLE:
 	  		dbus_message_iter_get_basic (iter, d);
-	  		printf (double %g\n, d);
+			my_object = json_object_new_double(d);
 	  		break;
 
 		case DBUS_TYPE_BYTE:
 			dbus_message_iter_get_basic (iter, byte);
-			printf (byte %d\n, byte);
+			my_object = json_object_new_int(byte);
 		break;
 
 		case DBUS_TYPE_VARIANT:
 	  		{
 DBusMessageIter subiter;
-
 dbus_message_iter_recurse (iter, subiter);
-
-printf (variant:);
-print_iter (subiter, literal, depth);
+my_object = print_iter (subiter, literal, depth + 1);
 break;
 	  		}
 		case DBUS_TYPE_ARRAY:
 	  		{
 int current_type;
 DBusMessageIter subiter;
+json_object *local_object;
 
+my_object = json_object_new_array();
 dbus_message_iter_recurse (iter, subiter);
 
-printf([);
 while ((current_type = dbus_message_iter_get_arg_type (subiter)) != DBUS_TYPE_INVALID)
 	  			{
-	print_iter (subiter, literal, depth);
+local_object = print_iter (subiter, literal, depth + 1);
+	json_object_array_add(my_object, local_object);
 	dbus_message_iter_next (subiter);
-	if (dbus_message_iter_get_arg_type (subiter) != DBUS_TYPE_INVALID)
-			  			printf (,);
 	  			}
-printf(]);
 break;
 	  		}
 		case DBUS_TYPE_DICT_ENTRY:
 	  		{
 DBusMessageIter subiter;
+json_object *key, *value;
 
+my_object = json_object_new_object();
 dbus_message_iter_recurse (iter, subiter);
 
-printf({);
-print_iter (subiter, literal, depth);
+key = print_iter (subiter, literal, depth+1);
 dbus_message_iter_next (subiter);
-print_iter (subiter, literal, depth);
-printf(});
+value = print_iter (subiter, literal, depth+1);
+json_object_object_add(my_object, key, value);
 break;
 	  		}
+
+case DBUS_TYPE_STRUCT:
+		{
+			int current_type;
+DBusMessageIter subiter;
+my_object = json_object_new_array();
+
+dbus_message_iter_recurse (iter, subiter);
+
+while ((current_type = dbus_message_iter_get_arg_type (subiter)) != DBUS_TYPE_INVALID)
+  {
+json_object *value;
+value = print_iter (subiter, literal, depth+1);
+json_object_array_add(my_object, value);
+dbus_message_iter_next (subiter);
+  }
+break;
+			}
+
+
 #endif
 		default:
 			break;
   	  }
   
+  json_object_array_add(my_array, my_object);
   } while (dbus_message_iter_next (iter));
+
+  return depth == 1 ? my_array 

Re: problem with dbus-scripts and Phone.SMS

2010-03-24 Thread Nicolas Chuche
 I tend to favour either using a filespec (a file which dbus-scripts deletes
 after the script has run) or using base64 (because there are probably
 convenient libraries in many scripting languages).

good ideas. I think I'd rather the filespec.

 Of course, this doesn't allow for more complex arrays and other complex types
 which dbus allows.

reinventing the wheel could be hard and dangerous so I was thinking
about something like yaml. On the plus side, it's easy to parse with
libraries. On the minus side, you need to have the library on n900.

 But, maybe, in those cases dbus-scripts is the wrong tool
 and it would be better to create a custom daemon to do whatever is required.

I really like the idea of dbus-scripts to handle all my dbus scripts.
I don't like the idea of having many daemons waiting for dbus signal.
But that could be my sysadmin past...
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: problem with dbus-scripts and Phone.SMS

2010-03-24 Thread Nicolas Chuche
 I did not add arrays because I did not see the need for it, but since you
 need it, there is no problem to add this. What format do you think might be
 useful for passing an array of bytes as a parameter to a script?

If I'm the only one to need that no need to rush :)

Perhaps a dumb yaml dump of dbus struct.
http://pyyaml.org/wiki/LibYAML is quite small.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


problem with dbus-scripts and Phone.SMS

2010-03-23 Thread Nicolas Chuche
Hello,

I'm playing with dbus-scripts to intercept incoming SMS.

I use this rule :
cat /etc/dbus-scripts.d/sms
/home/user/bin/dbecho  * * Phone.SMS IncomingSegment

It matches but my only pass three argument to my script dbecho and not
the array of bytes I wait for (the sms in pdu format) as in the dump
signal following. Is it normal ?

signal sender=:1.18 - dest=(null destination) serial=2129
path=/com/nokia/phone/SMS; interface=Phone.SMS; member=IncomingSegment
   array [
  byte 4
  byte 11
  byte 145
  byte 51
  byte 102
  byte 151
  byte 51
  byte 71
  byte 244
  byte 0
  byte 0
  byte 1
  byte 48
  byte 50
  byte 113
  byte 97
  byte 131
  byte 64
  byte 5
  byte 69
  byte 58
  byte 136
  byte 29
  byte 6
   ]
   string +3X00
   string f8294e2adf
   string +33644
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: problem with dbus-scripts and Phone.SMS

2010-03-23 Thread Nicolas Chuche
Ok, found why in dbus-scripts.c. It's not yet implemented :) :

#if 0
[...]
case DBUS_TYPE_ARRAY:
{
int current_type;
DBusMessageIter subiter;
dbus_message_iter_recurse (iter, subiter);
printf([);
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Search in extras / extras-devel before uploading a new package

2009-07-20 Thread Nicolas
Hi,

I'd like to upload a package to extras-devel (nano editor - taken directly
from Ubuntu arm launchpad page) using the assistant, but I have a few
questions:

- Is such application welcome in extras-devel / extra ?

- Is there a search engine somewhere to check if an app already exists in
extras / extras-devel ?

- Should a garage page be created ?

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


Re: Beyond Application Manager Categories

2008-11-07 Thread Nicolas
 Hi,

Sorry to jump in a thread like this as a stranger! My name is Nicolas and I
am just a N810 owner interested in development. This thread makes a lot of
sense to me because as a user I am a bit frustrated with the current AM.

So just my 2 cents, I totally second Simon comment about being able to see
available plugins before installing an app. What about having a kind of
nested view which would expand available plugins when you select an app in
the AM (or with an expand icon somewhere). Near the title of the app you
could even have a number indicating the number of plugins available for a
particular application?

Of course this would mean introducing a kind of hierarchy in the package
index (do current package index already support this?).

I don't have any drawing skills to illustrate this, so I hope my
explanations make sense.

Best regards,
Nicolas.


 We spoke about this before (not sure whether it was on the list or not,
 does
 anyone have a link - Jaffa?), but basically I would like to be able to see
 what plugins an app has before installing it. I might want to see if Pidgin
 has current support for Gadu (or any other protocol, etc.), I'd prefer not
 having to install it to be able to see the available plugins. I do agree
 though that hiding them would clean up the list and would be suitable for
 most of the time (though it should be possible to unhide them if needed).

 Cheers,


 Simon

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


Re: wlancond and dbus

2008-11-06 Thread Nicolas
Hi!

Your Python code sample does not work anymore on OS2008. When calling the
scan method Python complains about a wrong dbus signature being passed
(iay).

I haven't found a way to discover the signature using dbus-send. Any idea on
how to do this?

Best regards,

Nicolas.



On Wed, Sep 26, 2007 at 10:41 PM, Gabriel Grise [EMAIL PROTECTED] wrote:

 Hi,

 Because i saw some questions about how to access to wlancond with dbus
 And because I had the same question last week, i decided to send to this
 list a code sample. This code sample simulate an iwlist scan call.

 I hope this will be useful for someone.

 Gabriel Grise

 ___
 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: Porting Gtk apps to maemo: howto change default font size

2007-11-30 Thread Nicolas
Thanks for the tip Florian about using the small markup, it will be
usefull for me.

Regarding gFTP I have choosed to reduce the font size globally in order to
keep everything on one screen. I have searched how to apply a different
style to all the widgets (eg: use osso-SmallFont instead of osso-SystemFont)
but failed. So the method I used is to call:
gtk_rc_parse_string(style 'osso-SystemFont' { font_name = 'Nokia Sans
11.625' });

I think the soft remains very useable with a stylus (but forget about using
the finger). But of course I'll consider users feedbacks.

Here is a screenshot:
http://www.screenshots.cc/view_image/847fe1309/shot-2007-11-28-13-46-15.png

I have posted a message regarding having access to one of the maemo extra
repositories in order to upload the packages (I don't want to open yet
another repository).

Nicolas.

On Nov 30, 2007 12:58 PM, Florian Boor [EMAIL PROTECTED]
wrote:

 Hi,

 Nicolas schrieb:
  I have compiled gFTP which is a Gtk FTP client, but the UI interface has
  many things to display, and the default font size is too big to be
  usable. Same problem with PcManFM which is a lightweight Gtk
 filemanager.
 
  Question: is there an easy way to customize font size for specific
  applications? (I saw the gtkrc file, but I don't want to mess with the
  whole system theme). Or should I patch the Gtk code to change the font
  size inside the application (I have no experience with Gtk, but I guess
  this should be fairly easy)?

 that's a quite common problem but reducing the font size is not really
 what you
 want to do in most cases. Just keep in mind that these user interfaces
 were
 designed for devices with much bigger screens. The high screen resolution
 of the
  tablets of course make it possible to reduce the font size, but that's
 not
 necessarily good for usability.
 You should take a look at the user interface implementation and check what
 you
 can do to reduce the amount of space you need. (Make it simpler, reduce
 the
 amount of displayed information...)  If there are areas where it really
 makes
 sense to reduce the font size you can use a markup switch (small) to
 make it
 smaller then the default size.

 Greetings

 Florian

 --
 The dream of yesterday  Florian Boor
 is the hope of todayTel: +49 271-771091-15
 and the reality of tomorrow.Fax: +49 271-771091-19
 [Robert Hutchings Goddard, 1904][EMAIL PROTECTED]

 1D78 2D4D 6C53 1CA4 5588  D07B A8E7 940C 25B7 9A76

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


Re: gftp port to maemo: some questions

2007-11-28 Thread Nicolas
New screenshot with smaller fonts, much more usable:

http://www.screenshots.cc/view_image/847fe1309/shot-2007-11-28-13-46-15.png
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Maemo repositories (contrib, extra, etc)

2007-11-28 Thread Nicolas
Hi,

I have read the archives about the repositories, but could not find a simple
answer to this question:

what is the difference between, or what are the policies for these 4
repositories :
- http://repository.maemo.org/
- http://repository.maemo.org/contrib/
- http://repository.maemo.org/extras/
- http://repository.maemo.org/extras-devel/

Regards,
Nicolas.

PS: I am interested in Chinook
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


gftp port to maemo: some questions

2007-11-27 Thread Nicolas
Hi,

I have hildonized gFTP (see gftp.org) for my brand new N810. See screenshots
here:
http://www.screenshots.cc/view_image/b3e341728/shot-2007-11-27-16-53-42.png
http://www.screenshots.cc/view_image/dd8fd1727/shot-2007-11-27-16-52-32.png
Font size needs to be reduced to be more usable but it works.

What has been done:
- main window hildonized;
- menu hildonized;
- added hardware fullscreen button function;
- obviously fixed compilation error
- update debian rules to make debian package

What remains to be done:
- reduce font size to me more usable (UI has lots of items)

My questions:
1/ When I just installed the package, the hildon theme was not applied to
the application, and the icon was not appearing in the menu until a reboot.
Shall I call some script in the post install script?
2/ How could this software land in the extra repository and would someone be
willing to maintain this package (debian packaging is hell for me)? I need a
mentor to control what I have done. For example make dist-clean breaks the
compilation so I disabled it in the debian/rules (autoconf problem I think).
I was not able to keep the .orig.tar.gz and generate the diff to produce
nice debian source packages, etc...
3/ I can upload everything if there is a community ftp available.

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


Porting Gtk apps to maemo: howto change default font size

2007-11-23 Thread Nicolas
Hi,

I am playing with the maemo Chinook SDK and made some tests to see how easy
it was to port Gtk apps to maemo (fairly easy in fact!).

I have compiled gFTP which is a Gtk FTP client, but the UI interface has
many things to display, and the default font size is too big to be usable.
Same problem with PcManFM which is a lightweight Gtk filemanager.

Question: is there an easy way to customize font size for specific
applications? (I saw the gtkrc file, but I don't want to mess with the whole
system theme). Or should I patch the Gtk code to change the font size inside
the application (I have no experience with Gtk, but I guess this should be
fairly easy)?

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


Chinook: no .deb for some packages in the repository (only .tar.gz)

2007-11-22 Thread Nicolas
Hi,

I am starting development with maemo Chinook SDK and made some tests this
afternoon.

I wanted to install osso-xterm but noticed that on the repository there is
no .deb package, only sources in .tar.gz.
See for example: http://repository.maemo.org/pool/chinook/free/o/osso-xterm/

I tried to do the apt-get build-dep osso-xterm but it does not build the
depencies automatically. So I downloaded some dependencies manually and
noticed that many stuff under osso* dirs have no .deb package. libvte (under
vte dir) is another package without .deb which comes to my mind.
Is there any reason for this?

I searched the lists archives but without luck...

Thanks,

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


Re: [maemo-developers] Scanning WLAN problem

2007-01-31 Thread Nicolas FR

Depending on what kind of information you need, you might also use the
python wireless tools bindings (pyiw
http://www.emperorlinux.com/etc/contrib/?page=pyiw). I have
successfully compiled and used them on the Sharp Zaurus
(http://geek-fr.com/blog/python_qt_wifi_and_the_zaurus).

In 15 minutes with Python you can make your Wifi network scanner and
post the results to a server.

Nicolas.

On 1/31/07, kalle ahokangas [EMAIL PROTECTED] wrote:

Hi all,

I'm developing an application to Nokia 770 which scans available network
infomation and then sends collected infomation to server.

I'm using modifed wireless tools (
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html)
wlist source which works fine and
I can get all WLAN netwok information I need, but I can't send them to
server because in order to get the scanning to work the current
working network connection must be disconnected.

If I use script to connect to network automatically the problem still
exists:

 #!/bin/sh
source /usr/bin/connectivity_preload
.sh
./wifiscan

 If I have network setup I cant perform scanning iwlist prints'Interface
doesn't support scanning'. This is because function iw_get_range_info in
iwlib.c
returns !=1.

My questions are:
1. Is there a way to get scanning to work while the network connection is
on?
2. If not what is the best solution to implement requested functionality
(scan network - send information to server)?
3. How does N800 work in this scenario?

Any help would be appreciated.
Thanks in advance.

- Kalle
___
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] CPA: Maemo Service Handler

2007-01-31 Thread Nicolas FR

Nice tool.

Is it an open source project (cannot find reference to the source code
on the site)?

Nicolas.

On 1/31/07, Tuomas Kulve [EMAIL PROTECTED] wrote:



I made a little Control Panel applet for starting and stopping system
services in /etc/init.d/:

http://tuomas.kulve.fi/blog/2007/01/27/maemo-service-handler/

It seems to be stable, but it misses many convenient features, which may
not ever get there, since it works already..


PS. For Bora.

--
Tuomas

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


Re: [maemo-developers] New Application catalogue

2007-01-28 Thread Nicolas FR

Yes, it is available of course. We use Midgard as a framework and the
app catalog sources are in our subversion repo:
https://garage.maemo.org/svn/maemo2midgard/maemo2007/applicationcatalog/


Great, I'll make some tests during the week and send some proposals + patches.

Here is what I will be working on first:
- Add a Latest software box on the main page
- Implement a rating system (should only registered users be able to
vote or anyone? If so should I implement an IP based anti-cheating
system?)
- Then add a Most popular box on the main page
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] New Application catalogue

2007-01-27 Thread Nicolas FR

Hi,

For some time I was feeling the current Application Catalogue was a
bit too limited. I have seen a new one is ready here:
http://test.maemo.org/applications

Is the source code for this web app is available? I would like to
propose/submit some improvements (what's new, user votes, sort apps by
popularity, by rank, ...). Maybe we can open a wiki page with
suggestions?

I like this kind of site: http://www.gnomefiles.org, maybe it would be
nice to imitate its features?

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


[maemo-developers] Nokia Developer Device Program

2007-01-08 Thread Nicolas FR

Hi,

I am new to the list. I am a Sharp Zaurus user and hobbyist
developper (see http://www.geek-fr.com 
http://sharpromfeed.home.linuxtogo.org) willing to switch to the Nokia
N800. I was waiting for the new device for a long time because I
needed extra RAM and CPU for the task I was planning to use the Nokia
for (I want to port Evolution because of the MS Exchange connector
support and also want to port some tools like Wicrawler).

My question is: do newcomers like me can apply (I know I do not have
to apply, just be chosen) to the huge discount offered through the
Nokia Developer Device Program?

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


[maemo-developers] Mic capture in Maemo 2.0

2006-06-13 Thread Nicolas Roard

-- Forwarded message --
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Jun 12, 2006 8:17 PM
Subject: Re: [maemo-developers] ObjC support in the devkit ?
To: [EMAIL PROTECTED], Catalin Climov [EMAIL PROTECTED]


Hi,

could you please post my message, I have some problems
with the access and my question is pretty urgent.

Thanks,
Dari

From: [EMAIL PROTECTED]
Subject: Mic capture in Maemo 2.0
Date: Mon, 12 Jun 2006 12:13:09 -0700
To: maemo-developers@maemo.org
   Full Headers
Undecoded Letter
I am trying to record some audio from the microphone on
Nokia 770, but I couldn't find useful information about
Gstreamer. Anyone tried it yet ?

Dari
___
Free e-mail by Bulgaria.com at http://mail.bulgaria.com


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


Re: [maemo-developers] non-maemo apps in toolbar

2006-01-04 Thread Nicolas Roard
On 1/5/06, Aaron Levinson [EMAIL PROTECTED] wrote:
 It's important to note that even if you solve the problem of getting the
 icon to display in the task bar, a bigger problem exists when an attempt
 is made to run the software on the device itself.  Since it isn't a GTK
 application, there will be no support for GTK input methods.
 Effectively, this means that users won't be able to input anything into
 the application besides mouse strokes and clicks.  If the application is
 entirely mouse-driven, that might be okay, but in addition, it won't be a
 maemo application, and there will be other issues besides the lack of
 input methods.

Er... what are exactly the other issues ?.. isn't it running linux +
x11 after all ?
Apart from the input methods that obviously won't work, possibly some other
integration problem with matchbox (like this icon thing), and obviously anything
dependant to the hardware or memory/cpu hungry.. Things /should/ work, no ?
What am I missing ?

--
Nicolas Roard
Any sufficiently advanced technology is indistinguishable from magic.
  -Arthur C. Clarke
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Enough theory...

2005-10-21 Thread Nicolas Roard
On 10/20/05, Aleksandr Koltsoff [EMAIL PROTECTED] wrote:
 Hello all

 Component already included - Package Depends is wrong. Needs only depend on
 maemo, nothing else. Also note that no pre/post-install scripts will be run
 from the package, so if package installation depends on them, it will break,
 but at least you won't get the nice  descriptive error message ;-). And as
 was noted, the installation root is /var/install (making new
 packages-document).

 Of course the error might be caused because of other things as well, but this
 is what worked for me.

Hi,

I rebuilt libssl/ssh debs by removing the pre/post install scripts and
modifying the Depends field, you can find them here:
http://www.xdev.org/nokia/

That way they install properly (install libssl first of course) and
the ssh client works (it will be in /var/lib/install/bin though).

Secondly, is there any way of getting the root account ?.. even with
knowing the root password, su doesn't work, and sudo neither (perhaps
because there is no user password ?).. any ideas ?

Cheers,

--
Nicolas Roard
Any sufficiently advanced technology is indistinguishable from magic.
  -Arthur C. Clarke
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Enough theory...

2005-10-21 Thread Nicolas Roard
On 10/21/05, Gustavo Sverzut Barbieri [EMAIL PROTECTED] wrote:
 On 10/21/05, Nicolas Roard [EMAIL PROTECTED] wrote:
  I rebuilt libssl/ssh debs by removing the pre/post install scripts and
  modifying the Depends field, you can find them here:
  http://www.xdev.org/nokia/

 ouch... could you rename it to maemo instead of nokia?

er.. yes, of course.. :-)
I changed it.

  That way they install properly (install libssl first of course) and
  the ssh client works (it will be in /var/lib/install/bin though).

 If you don't run post-install, how do you generate the ssh keys? At
 the first server run?

I didn't try the server, just the client. More exactly, the server
binary works but obviously  you need to do the post-install work by
hand, and I didn't do it yet..
I'm no .deb expert, I just quickly stripped them of the scripts and
modified the depends, and they installed.. so I figured that some
people could be interested :-) until somebody update the packages on
maemo.

--
Nicolas Roard
Any sufficiently advanced technology is indistinguishable from magic.
  -Arthur C. Clarke
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers