[maemo-developers] Why my app does not work

2006-03-03 Thread Steven Hill
Hello all:
I figured out why my app does not work on the production version of
the Nokia 770 - the development system has sqlite 2.8.13-2 installed,
but the production system does not.  There is a port of sqlite
available, but it is version 3 of sqlite, so my app will not be able to
use those libraries.  I have found the package for sqlite 2.8.13-2 in
the maemo repository and downloaded it to the Nokia, but cannot install
it from xterm because that requires superuser privileges which I do not
have as a regular user on the Nokia.  Can anyone tell me how to build my
application package so that it includes the necessary sqlite libraries
in the expected locations as part of the installation package? I have no
idea how to do it, the documentation of package building is arcane...

Thanks,
Steve Hill

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


Re: [maemo-developers] Why my app does not work

2006-03-03 Thread Fred Lefévère-Laaoide

Hi,

The package is available from the kernel concept web site 
http://oss.kernelconcepts.de/maemo/


it is used by GPE

O Fred

[EMAIL PROTECTED] wrote:

Hello,

I figured out why my app does not work on the production 
version of the Nokia 770 - the development system has sqlite 
2.8.13-2 installed, but the production system does not.  There 
is a port of sqlite available, but it is version 3 of sqlite, 
so my app will not be able to use those libraries.  I have 
found the package for sqlite 2.8.13-2 in the maemo repository 
and downloaded it to the Nokia, but cannot install it from 
xterm because that requires superuser privileges which I do 
not have as a regular user on the Nokia.  Can anyone tell me 
how to build my application package so that it includes the 
necessary sqlite libraries in the expected locations as part 
of the installation package? I have no idea how to do it, the 
documentation of package building is arcane...


You should follow the gainroot instructions found from the maemo wiki.

Shortly:
1. Put device to RD mode with Linux-flasher
1. install xterm
2. sudo gainroot

Please read the instructions in the wiki and follow each step. Should
work.

I have some related instructions in my blog too, but thanks to our nice
(*NOT*) ISP
our home network has been already down for a week now because they have
screwed
up with their configuration...

Best Regards,
Karoliina Salminen
http://www.karoliinasalminen.com/blog

___
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


[maemo-developers] Problems with installing scratchbox

2006-03-03 Thread Andrey Khurri

Hi all,

Most probably this question has already been pointed here but I did not 
find answer... May be some of you could help me.
When installing scratchbox and running script ./run_me_first.sh there is 
an error after the last script question:

---
Would you like me to create the group 'sbox' for you? [yes/no] (yes):
No such group!
Creating group sbox...
/scratchbox/sbin/sbox_configure: line 20: groupadd: command not found
ERROR creating group: sbox
---
How can I manage it?
Thanks,
A.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Problems with installing scratchbox

2006-03-03 Thread Tomas Frydrych

Andrey Khurri wrote:
 Hi all,
 
 Most probably this question has already been pointed here but I did not
 find answer... May be some of you could help me.
 When installing scratchbox and running script ./run_me_first.sh there is
 an error after the last script question:
 ---
 Would you like me to create the group 'sbox' for you? [yes/no] (yes):
 No such group!
 Creating group sbox...
 /scratchbox/sbin/sbox_configure: line 20: groupadd: command not found
 ERROR creating group: sbox
 ---
 How can I manage it?
 Thanks,
 A.

Just add the group manually in whatever wat that is done on your distro
(your distro might use some other command than groupadd, like newgrp).

Tomas


 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://maemo.org/mailman/listinfo/maemo-developers
 
 !DSPAM:440816df14629328119275!
 

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


Re: [maemo-developers] Problems with installing scratchbox

2006-03-03 Thread Clemens Eisserer
Seems you are using Fedora-Core ... well then you're out of luck.

groupadd is simply not in path, I think its located in /usr/sbin.

good luck, lg Clemens

2006/3/3, Tomas Frydrych [EMAIL PROTECTED]:

 Andrey Khurri wrote:
  Hi all,
 
  Most probably this question has already been pointed here but I did not
  find answer... May be some of you could help me.
  When installing scratchbox and running script ./run_me_first.sh there is
  an error after the last script question:
  ---
  Would you like me to create the group 'sbox' for you? [yes/no] (yes):
  No such group!
  Creating group sbox...
  /scratchbox/sbin/sbox_configure: line 20: groupadd: command not found
  ERROR creating group: sbox
  ---
  How can I manage it?
  Thanks,
  A.

 Just add the group manually in whatever wat that is done on your distro
 (your distro might use some other command than groupadd, like newgrp).

 Tomas


  ___
  maemo-developers mailing list
  maemo-developers@maemo.org
  https://maemo.org/mailman/listinfo/maemo-developers
 
  !DSPAM:440816df14629328119275!
 

 ___
 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] VirtualKeyboard service/API

2006-03-03 Thread Antonio Gomes
Hi there,back to virtual keyboard stuff, I'm wondering how could a non-gtk entry (mozilla password html form in this case) could hide the inputed text (after showing for a short period of time - default behaviour), like if I set gtk_entry_set_visibility of a GtkEntry to FALSE. I've been looking over the GtkEntry source code (at 
http://maemo.org/lxr/source/gtk%2B/gtk/gtkentry.c) and its way seems to be to gtk_gobject dependent. Is there any workaround ? Aaron ? :)
On 1/30/06, Aaron Levinson [EMAIL PROTECTED] wrote:
First off, vte is just another Gtk widget, and it uses a Gtk input method.It just so happens that vte is the widget that provides most of thefunctionality for xterm.You can examine the source code for vte for more
information.There is no delete key on the virtual keyboard, so I would have toassume that you are getting that from your keyboard.When the virtualkeyboard is used to send a backspace, it will result in a key-press and
key-release event (since there is no simple way to represent thischaracter using the GtkIMContext's commit event).So, you'll need tohandle these special keys in your key-press and key-release event
handlers.Basically, if the GtkIMContext doesn't handle the key-press orkey-release in the calls to gtk_im_context_filter_keypress(), then you maywant to handle certain key events or just blindly handle all that get
through the filter.You can build vncviewer in debug mode (use ./configure --help to determinethe proper option) and debug it to see how it handles a virtual keyboardbackspace.And finally, I will again refer you to the GtkEntry class, which is a
relatively simple class that demonstrates how to properly use inputmethods.In getting input methods working properly in vncviewer, Istudied the source code of xterm, vte, GtkEntry, and other input-driven
widgets.AaronOn Mon, 30 Jan 2006, Antonio Gomes wrote: Some keys are not recognized, though. Actually, mainly those related to deleting actions (like delete, backspace virtual keyboard keys and so on).
 As far as I can see/understand, xterm also had to handle them in a proper way, using vte [1] for that. Is it ? Is there other GtkIMContext singal to handle actions like these ?
 [1] http://developer.gnome.org/doc/API/2.0/vte/vteterminal.html#VTETERMINALERASEBINDING
-- --Antonio Gomeshttp:// tonikitoo (dot) blogspot (dot) com (slash)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] App runs on development 770, not on production 770

2006-03-03 Thread Danny Milosavljevic
Hi,

Am Donnerstag, den 02.03.2006, 14:56 -0800 schrieb Steven Hill:
 Hello all:
 I am developing an application for a group that is across the continent
 from me.  I am using a Nokia 770 with the development file system.  My
 app runs perfectly on the 770 with the development system, but when I
 put the .deb file on an ftp site for them to download and install, all
 goes OK with the install, and the app is in the EXTRAS folder, but when
 they click to start up the app, nothing happens.


 Does anyone have any clue why this might happen?


 I could learn a lot more if I could run the app from the install
 directory, but the file system will not let me get there using the xterm

Why? You should be able to cd to /var/lib/install/usr/bin just fine...


 app on the production 770 - any ideas how to overcome that?
 
 Any help would be greatly appreciated
 
 Steve Hill

cheers,
   Danny


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


[maemo-developers] Smartest way to start network connection before socket connection is attempted to be made

2006-03-03 Thread Tomi Ollila
Hi


In a program I need to know the IP of the interface before doing
any network connections. 

So far the program has complained 'Please start network connection first'


But I'd like to have smarter solution, like do the automatic network
connection that LD_PRELOAD -trick does but not to connect anywhere.

Does anyone know a good way to achieve this, so that the network connection
stays alive and closes on request, or when the program exits (unless there
is someone else using the connection...).




Tomi


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


Re: [maemo-developers] App runs on development 770, not on production 770

2006-03-03 Thread Eduardo de Barros Lima
Hi Steven,

On 3/2/06, Steven Hill [EMAIL PROTECTED] wrote:
 Hello all:
 I am developing an application for a group that is across the continent
 from me.  I am using a Nokia 770 with the development file system.  My
 app runs perfectly on the 770 with the development system, but when I
 put the .deb file on an ftp site for them to download and install, all
 goes OK with the install, and the app is in the EXTRAS folder, but when
 they click to start up the app, nothing happens.

 Does anyone have any clue why this might happen?


Maybe you are missing some library that is included in the development
image and it is not included in the production.

 I could learn a lot more if I could run the app from the install
 directory, but the file system will not let me get there using the xterm
 app on the production 770 - any ideas how to overcome that?

You can install your application and X-Terminal (get it at
http://770.fs-security.com/xterm/) packages and then run your
application in typing /var/lib/install/usr/bin/your_app in xterm.
Then watch for any error messages.

Best Regards,

--
Eduardo de Barros Lima
INdT - Instituto Nokia de Tecnologia
[EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] D-BUS documentation vs. RFCOMM for BT connectivity

2006-03-03 Thread Ade Bamigboye
HiCan anyone point us in the direction of detailed D-BUS documentation ? (someexamples would be nice).We want to establishauthenticated connections from the N770 to a bluetoothslave devices and read data from them.
Alternatively if this is possible just with RFCOMM then ideas on how to dothis woould be welcome.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] OMAP1710 docs?

2006-03-03 Thread David D. Hagood
TI is being stupid (IMNSHO) and does not have the documentation for the 
OMAP1710 processor available for download on their site - does anybody 
have it?


I'd like to look at some things like enabling USB On-The-Go mode on the 
hardware.

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


[maemo-developers] Re: OMAP1710 docs?

2006-03-03 Thread Antti P Miettinen
David D. Hagood [EMAIL PROTECTED] writes:
 TI is being stupid (IMNSHO) and does not have the documentation for
 the OMAP1710 processor available for download on their site - does
 anybody have it?

 I'd like to look at some things like enabling USB On-The-Go mode on
 the hardware.

You should be able to use OMAP5912 docs for most things. The 5912
seems to be very close to 1710.

The 5912 USB spec has literature number SPRU761A.

-- 
http://www.iki.fi/~ananaza/

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