maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Development - see post #1] Fremantle in a chroot (Run N900 applications on the N9) (https://talk.maemo.org/showthread.php?t=84987)

Kabouik 2012-06-22 22:15

Re: Fremantle in a chroot (Run N900 applications on the N9)
 
Quote:

Originally Posted by qwazix (Post 1225955)
@Kabouik: It's really too early for that kind of integration. Unless we fix the menu problem, there is no point of doing polishing work. And wizard-mounter IIRC will have the same issue but I can give it a try.

Thanks for your reply. Don't lose you time in trials on this matter if you think it will fail. Actually my question was quite naive, but it was worth asking!

I would have been happy to try some applications myself, including Wizard Mounter, but my Linux VM file got corrupted during the "cp /mnt/n900/* /tmp/maemoroot/" step (I was close to the end of the tutorial, too bad), don't know why. Now I have to reinstall a new VM to restart the whole procedure, and I admit I have no time for it right now.

qwazix 2012-06-22 22:21

Re: Fremantle in a chroot (Run N900 applications on the N9)
 
Wizard Mounter does not work, because it relies on an additional kernel module, and it has no permission to modprobe it from inside the chroot. It is possible (albeit unprobable) that if we mount the /lib/current dir of the chroot it will work, but I'm afraid to bork harmattan by doing this and that will take me back on the pressing matter: starting hildon-desktop.

However I must admit I have ran out of ideas. (for the same reason as above I haven't tried copying everything clockd related outside the chroot, I will do that as a last resort. Also the fact that the same clockd errors didn't prove to be fatal in other circumstances hint that maybe the clockd problems are unrelated to the fatal error. However the fact that the fatal error contains a function/class called pipDate might just confirm a clockd correlation. I will change the thread title in order to attract some attention.

Thanks for testing :)

misiak 2012-06-22 22:29

Re: Fremantle in a chroot (Run N900 applications on the N9)
 
Quote:

Originally Posted by qwazix (Post 1225967)
However I must admit I have ran out of ideas. (for the same reason as above I haven't tried copying everything clockd related outside the chroot, I will do that as a last resort. Also the fact that the same clockd errors didn't prove to be fatal in other circumstances hint that maybe the clockd problems are unrelated to the fatal error. However the fact that the fatal error contains a function/class called pipDate might just confirm a clockd correlation. I will change the thread title in order to attract some attention.

Have you tried apt-get remove'ing osso-clock-*, clock-ui, statusbar-alarm, desktop-clock-widget and another clock-related stuff (libtime0, libclockcore0-0, clockd, clockd-settings-mr0 ? ("apt-cache search clock" is your friend :P) You may want to backup your Fremantle image file beforehand ;)

EDIT: By the way, there are no references to PipDate.c, PipDate.h, pip_date_to_string_format and pip_date_is_valid in hildon-desktop sources, so the error may be related to some other service. Only functions with "_pip_" or "pip_" in their name are some functions related to checking whether to draw in portrait or landscape mode, but i'm not sure what they do. google returned nothing useful (unless functions with "pip" in their name are really related to "picture in picture" functionality in Maemo - maybe task switcher? ;))

EDIT 2: Could you post full log with output when trying to run hildon-desktop?

qwazix 2012-06-22 23:12

Re: [Help needed by hildon-desktop expert - see post #1] Fremantle in a chroot (Run N900 applications on the N9)
 
Fremantle image backed up safely : ) I already did something that could prove fatal to it without success. Added the sdk repository and
Code:

  apt-get install maemo-sdk-runtime
which removed some seemingly important packages (part of fremantle-mp-generic-pr). I didn't destroy it, but neither I saw any improvement.

EDIT: N950 ran out of juice. Will post full log tomorrow.

qwazix 2012-06-23 17:36

Re: [Help needed by hildon-desktop expert - see post #1] Fremantle in a chroot (Run N900 applications on the N9)
 
3 Attachment(s)
Thanks to matan, the PiPDate problem is now solved, (uninstalling calendar-* did the trick) and matchbox-window-manager starts successfully (I can see desktop widgets, and applications with the menu bar).
We still cannot start hildon-desktop however, and I suppose that the problem lies with dbus (probably session) bus. The question is this Does the chroot use the parent OS dbus or does it start it's own? Please note that hildon desktop does not throw any errors, it just displays a black screen.

There is also still a theming problem.

qwazix 2012-06-24 20:31

Re: [Development - see post #1] Fremantle in a chroot (Run N900 applications on the N9)
 
I found out that the chroot uses the harmattan dbus, and as maemo relies too heavily on dbus, I think it's futile to try make it work by copying things out of the chroot. Also, the best thing would be if we could make something that does not need open mode to work.

So I decided to shift my efforts to something else: make hildon desktop work on directly on harmattan. Gtk from the cordia repository just segfaulted on me while compiling... Meh. today is not my day...

ibrakalifa 2012-06-24 20:40

Re: [Development - see post #1] Fremantle in a chroot (Run N900 applications on the N9)
 
How bout microB? Seriously i miss it so much, :/

HtheB 2012-06-24 21:32

Re: [Development - see post #1] Fremantle in a chroot (Run N900 applications on the N9)
 
Quote:

Originally Posted by qwazix (Post 1226903)
I found out that the chroot uses the harmattan dbus, and as maemo relies too heavily on dbus, I think it's futile to try make it work by copying things out of the chroot. Also, the best thing would be if we could make something that does not need open mode to work.

So I decided to shift my efforts to something else: make hildon desktop work on directly on harmattan. Gtk from the cordia repository just segfaulted on me while compiling... Meh. today is not my day...

Did you already try out the GTK from MartinK 's repo?
http://talk.maemo.org/showthread.php?t=79229

qwazix 2012-06-24 23:34

Re: [Development - see post #1] Fremantle in a chroot (Run N900 applications on the N9)
 
I did try it, but I think it does not have the MAEMO_CHANGES but I may be wrong. Anyway I just thought I'd be on the safe side with the one that comes with cordia, as cordia may well use something specifically patched there. I managed to compile it but now I've got glib complaining about gtk docs.

Time to go now, more tomorrow.


Microb refuses to run yet. But it's closed source and closed source bits arent on my priority list.

Edit: plus half of the functionality will not work due to swipe, including the awesome cursor mode.

HtheB 2012-06-25 08:17

Re: [Development - see post #1] Fremantle in a chroot (Run N900 applications on the N9)
 
Quote:

Originally Posted by qwazix (Post 1226948)
Edit: plus half of the functionality will not work due to swipe, including the awesome cursor mode.

You can "disable swipe".
As far as i remember there was an app that can force you to disable swiping with certain apps :)

you dont need to swipe for cursormode on the n900. put your finger on the almost left side of the screen and itll work.

Waiting for more news! :D


All times are GMT. The time now is 04:08.

vBulletin® Version 3.8.8