Re: Error History of running Hello World in Scratchbox and Application Framework

2010-06-25 Thread Jean Marangos
I tried to start Xephyr as suggested below and the result was the string
"Hello World" displayed on a black background in the upper left corner
of the Xephyr X Server window. Running 'af-sb-init.sh start' followed by
'./gtk_helloworld-1and' did still not lead to the graphical environment
shown in in the bottom part of
http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Development_Environment/Maemo_SDK#Testing_SDK_Installation
All I've got displayed in Xephyr was a small Twitter 'Sign up' mask but
not an operative maemo gui. Also 'run-standalone.sh ./gtk_helloworld-1'
did not lead to something else. In the attachment the related history.
Thank you.


On Fri, 2010-06-25 at 15:15 +0200, Piñeiro wrote: 
> From: Jean Marangos 
> 
> > As requested, please find attached the error history of running Hello
> > Word in the Scratchbox and attempt to start the Application Framework.
> > Thanks for support.
> 
> I think that the problem is in this line:
> 
> j...@pluto:~> Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb &
> 
> You have your X server running on background. AFAIK this doesn't
> works, and after a quick test, this is the case in my computer.
> 
> Try this little change:
> 
> j...@pluto:~> Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb
> 
> ===
> API (apinhe...@igalia.com)
j...@pluto:~> Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb
Extended Input Devices not yet supported. Impelement it at line 625 in kinput.c
Could not init font path element /usr/share/fonts/TTF/, removing from list!
Could not init font path element /usr/share/fonts/OTF, removing from list!

...
...

j...@pluto:~> /scratchbox/login

Welcome to Scratchbox, the cross-compilation toolkit!

Use 'sb-menu' to change your compilation target.
See /scratchbox/doc/ for documentation.

[sbox-FREMANTLE_X86: ~] > export DISPLAY=:2
[sbox-FREMANTLE_X86: ~] > af-sb-init.sh start
Note: For remote X connections DISPLAY should contain hostname!
Sample files present.
Starting DBUS system bus
Starting D-BUS session bus daemon
Starting Maemo Launcher: maemo-launcher.
maemo-launcher: warning raising the oom shield for pid=3863 status=5632
Starting Sapwood image server
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Starting hildon-desktop
maemo-launcher: invoking '/usr/bin/hildon-status-menu.launch'
maemo-launcher: invoking '/usr/bin/hildon-home.launch'
maemo-launcher: invoking '/usr/bin/hildon-desktop.launch'
Starting Keyboard
[sbox-FREMANTLE_X86: ~] > Xlib:  extension "Generic Event Extension" missing on 
display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
hildon-home[3898]: GLIB WARNING ** GVFS-RemoteVolumeMonitor - remote volume 
monitor with dbus name org.gtk.Private.HalVolumeMonitor is not supported
hildon-desktop[3899]: GLIB WARNING ** GVFS-RemoteVolumeMonitor - remote volume 
monitor with dbus name org.gtk.Private.HalVolumeMonitor is not supported
hildon-status-menu[3897]: GLIB WARNING ** GVFS-RemoteVolumeMonitor - remote 
volume monitor with dbus name org.gtk.Private.HalVolumeMonitor is not supported
Initializing trackerd...
trackerd[3916]: GLIB DEBUG Tracker - Checking XDG_DATA_HOME is writable and 
exists
trackerd[3916]: GLIB MESSAGE Tracker -   XDG_DATA_HOME set to 
'/home/jm/.local/share'
trackerd[3916]: GLIB DEBUG Tracker -   Path is OK
trackerd[3916]: GLIB MESSAGE Tracker - Setting IO priority
trackerd[3916]: GLIB MESSAGE Tracker - Could not set idle IO priority, 
attempting best effort of 7
hildon-input-method[3914]: GLIB MESSAGE default - ui up and running
trackerd[3916]: GLIB MESSAGE Tracker - Setting up stopword list for language 
code:'en'
trackerd[3916]: GLIB MESSAGE Tracker - Tracker couldn't read stopword 
file:'/usr/share/tracker/languages/stopwords.en', Failed to open file 
'/usr/share/tracker/languages/stopwords.en': open() failed: No such file or 
directory
trackerd[3916]: GLIB MESSAGE Tracker - Setting up stemmer for language code:'en'
trackerd[3916]: GLIB MESSAGE Tracker - Registering DBus service...
  Name:'org.freedesktop.Tracker'
maemo-launcher: opening of /usr/bin/hildon-status-menu.launch took 88529 u

Re: capturing key presses on N770

2010-06-25 Thread Frank Banul
Hi,

With C and GTK it's certainly possible, I do so in TabletBridge.
https://garage.maemo.org/projects/tabletsb/

Frank

On Fri, Jun 25, 2010 at 7:21 AM, Vinod Nanjaiah  wrote:

> Hi,
> I am trying to capture key presses of the Hard keys (Up, Down, Left, Right,
> Home, etc) on Nokia N770.
> Is it possible to do so using a simple c program or shell script?
> Any pointers are welcome.
>
> Thank you,
> Vinod
>
>
> http://www.mindtree.com/email/disclaimer.html
> ___
> 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: Wetab Android stack on Maemo/MeeGo

2010-06-25 Thread Frank Banul
Reminds me of OS/2 and Windows. In that case, there was little incentive to
write for OS/2 natively, instead developers took the lowest
common denominator to achieve the largest market share for the least effort.
Not a bash on Android, it has it's advantages.

Frank

On Fri, Jun 25, 2010 at 6:31 AM, Christopher Intemann wrote:

> Hi,
>
> I just read that the Wetab  tablet will come with an
> Android-stack that will allow users to install Android apps on the tablet
> even thoug it is not natively running Android.
> This stack seems to be a kind of Android runtime environment based on
> Android 2.1.
> I really wonder if it would be possible to get this stack running on
> Maemo/MeeGo or if Nokia might be willing to include such a stack in upcoming
> OS releases. Many apps are currently released for Apple iOS or Android, but
> there are barely Apps released for Maemo/MeeGo.
> Therefore an Android runtime environment would be a great asset for
> Maemo/MeeGo users IMHO, especially since Nokia is not about to release
> Android phones in the near future.
> However, I also see the possibility that such a stack could draw even more
> developers away from native development for Nokia (e.g. in QT).
> What do you think?
>
> Cheers,
>
>  Chris
>
> ___
> 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: Error History of running Hello World in Scratchbox and Application Framework

2010-06-25 Thread Piñeiro
From: Jean Marangos 

> As requested, please find attached the error history of running Hello
> Word in the Scratchbox and attempt to start the Application Framework.
> Thanks for support.

I think that the problem is in this line:

j...@pluto:~> Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb &

You have your X server running on background. AFAIK this doesn't
works, and after a quick test, this is the case in my computer.

Try this little change:

j...@pluto:~> Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb

===
API (apinhe...@igalia.com)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Error History of running Hello World in Scratchbox and Application Framework

2010-06-25 Thread Jean Marangos
As requested, please find attached the error history of running Hello
Word in the Scratchbox and attempt to start the Application Framework.
Thanks for support.
j...@pluto:~> Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb &
[1] 4808
j...@pluto:~> Extended Input Devices not yet supported. Impelement it at line 
625 in kinput.c
Could not init font path element /usr/share/fonts/TTF/, removing from list!
Could not init font path element /usr/share/fonts/OTF, removing from list!
FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing.
Extended Input Devices not yet supported. Impelement it at line 625 in kinput.c
Could not init font path element /usr/share/fonts/TTF/, removing from list!
Could not init font path element /usr/share/fonts/OTF, removing from list!








j...@pluto:~> /scratchbox/login

Welcome to Scratchbox, the cross-compilation toolkit!

Use 'sb-menu' to change your compilation target.
See /scratchbox/doc/ for documentation.

[sbox-FREMANTLE_X86: ~] > pwd
/home/jm
[sbox-FREMANTLE_X86: ~] > export DISPLAY=:2
[sbox-FREMANTLE_X86: ~] > ./gtk_helloworld-1
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
main: calling gtk_main

[sbox-FREMANTLE_X86: ~] > af-sb-init.sh start
Note: For remote X connections DISPLAY should contain hostname!
Sample files present.
DBUS system bus is already running, doing nothing
D-BUS session bus daemon is already running, doing nothing
Starting Maemo Launcher: maemo-launcher start failed.
Starting Sapwood image server
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  ex...@pluto:~>ension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Starting hildon-desktop
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
matchbox: No composite extension
matchbox-window-manager: *Error*  OOM?
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
process 4961: arguments to dbus_connection_send() were incorrect, assertion 
"connection != NULL" failed in file dbus-connection.c line 3099.
This is normally a bug in some application using the D-Bus library.
process 4961: arguments to dbus_connection_send_with_reply_and_block() were 
incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 
3298.
This is normally a bug in some application using the D-Bus library.
process 4961: arguments to dbus_bus_start_service_by_name() were incorrect, 
assertion "connection != NULL" failed in file dbus-bus.c line 1313.
This is normally a bug in some application using the D-Bus library.
hildon-home[4961]: GLIB WARNING ** libgnomevfs - Failed to activate daemon: 
(null)
process 4961: arguments to dbus_connection_get_data() were incorrect, assertion 
"connection != NULL" failed in file dbus-connection.c line 5757.
This is normally a bug in some application using the D-Bus library.
process 4961: arguments to dbus_connection_set_data() were incorrect, assertion 
"connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some application using the D-Bus library.
hildon-home[4961]: GLIB ERROR ** default - Not enough memory to set up 
DBusConnection for use with GLib
aborting...
/usr/bin/af-sb-init.sh: line 1:  4960 Aborted 
/usr/bin/hildon-home
Starting Keyboard
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" missing on display ":2.0".
Xlib:  extension "Generic Event Extension" miss

capturing key presses on N770

2010-06-25 Thread Vinod Nanjaiah
Hi,
I am trying to capture key presses of the Hard keys (Up, Down, Left, Right, 
Home, etc) on Nokia N770.
Is it possible to do so using a simple c program or shell script?
Any pointers are welcome.

Thank you,
Vinod


http://www.mindtree.com/email/disclaimer.html
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Wetab Android stack on Maemo/MeeGo

2010-06-25 Thread Christopher Intemann
Hi,

I just read that the Wetab  tablet will come with an
Android-stack that will allow users to install Android apps on the tablet
even thoug it is not natively running Android.
This stack seems to be a kind of Android runtime environment based on
Android 2.1.
I really wonder if it would be possible to get this stack running on
Maemo/MeeGo or if Nokia might be willing to include such a stack in upcoming
OS releases. Many apps are currently released for Apple iOS or Android, but
there are barely Apps released for Maemo/MeeGo.
Therefore an Android runtime environment would be a great asset for
Maemo/MeeGo users IMHO, especially since Nokia is not about to release
Android phones in the near future.
However, I also see the possibility that such a stack could draw even more
developers away from native development for Nokia (e.g. in QT).
What do you think?

Cheers,

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


Re: Pre-remove and post-install scripts messed up by auto-builder

2010-06-25 Thread Henning Heinold

Quoting "Kristóf Timur" :


Hi Everyone,

Yesterday I managed to make my Sticky Notes app work with the autobuilder.
I have a problem, though: when I built the .deb package with MADDE,  
everything went just fine and it was working.
When I built it with auto-builder, there was an issue with both the  
pre-removal and the post-installation script.


The application is technically a daemon.
In pre-remove, I wish to kill it, and in post-install, I wish to  
launch it. This is necessary for it to work correctly.




Please look at other postinst/prerm scripts and use/provide upstart stuff
to let it start or shutdown.


Bye,

Henning

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


Re: Proplems while installing Maemo 5 SDK under openSuse 10.3

2010-06-25 Thread Andre Klapper
Am Donnerstag, den 24.06.2010, 17:56 +0200 schrieb Jean Marangos:
> not found while running Update

Exact steps / commands welcome.

> but Starting the Application Framework (af-sb-init.sh start), in order
> to run Hello World in the UI, did not.

Please post the output.

andre
-- 
Andre Klapper (maemo.org bugmaster)

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