maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Palm WebOS on N900 (https://talk.maemo.org/showthread.php?t=44150)

santiago 2012-02-11 16:45

Re: Palm WebOS on N900
 
Quote:

Originally Posted by marmistrz (Post 1163538)
Here are the "fixed" appcatalog.css and index.html.
"fixed" means that firefox doesn't throw errors but this has one downside: the app catalog doesn't seem to launch.

Does anybody know where the problem lies?

App Catalog extracted from ipk (/usr/palm/ipkgs/) from webos doctor 2.2.4 http://palm.cdnetworks.net/rom/manta...224mantawr.jar

where are u running it ? in a sdk, in an900? what do u wanna do ?

marmistrz 2012-02-11 20:02

Re: Palm WebOS on N900
 
Quote:

Originally Posted by santiago (Post 1163556)
where are u running it ? in a sdk, in an900? what do u wanna do ?

I figured it out. Firefox didn't show all the errors. Chromium showed everything.

Somehow the /usr/palm/frameworks/mojo/submissions/383/javascripts directory is missing.
Do you know why can it be so?

EDIT: seems that it is present in webos 1st gen. Anyway, I'll move to the Touchpad's catalog, as it's enyo-based - and Enyo's gotten open source recently

santiago 2012-02-11 20:31

Re: Palm WebOS on N900
 
Quote:

Originally Posted by marmistrz (Post 1163602)
I figured it out. Firefox didn't show all the errors. Chromium showed everything.

Somehow the /usr/palm/frameworks/mojo/submissions/383/javascripts directory is missing.
Do you know why can it be so?

EDIT: seems that it is present in webos 1st gen. Anyway, I'll move to the Touchpad's catalog, as it's enyo-based - and Enyo's gotten open source recently

yes enjo is better ;) i think enjo includes mojo too

marmistrz 2012-02-12 09:23

Re: Palm WebOS on N900
 
I tried, but still errors.
Look at this:
http://pastebin.com/u01ntjEg
it's a log from firefox after running index.html from Touchpad

The way I see it, the most important error would be:
Code:

[10:30:15.812] enyo.appMenu is undefined @ file:///usr/palm/frameworks/enyo/0.10/framework/build/enyo-build.js:6158
What do you think, are these js errors crucial? Have you got an idea how to fix them? I'm using image from latest Webos Doctor, AT&T, 3.0.5 (webosdoctorp305hstnhatt.jar)

What I did on desktop Linux:
Code:

ln -s /opt/webos/usr/palm /usr/palm
ln -s /opt/webos/usr/lib/luna /usr/lib/luna

Fix for the first two background css errors was commenting out the doubled 'no-repeat'

marmistrz 2012-02-13 17:07

Re: Palm WebOS on N900
 
I think I'm near to success. After using the new enyo, copying source/palm from the original framework and adding this to depends list I don't get the enyo subcomponents errors.
The only thing that's failing is the app itself
Short log:
Code:

[17:54:08.447] Use of attributes' nodeValue attribute is deprecated. Use value instead. @ file:///usr/palm/applications/com.palm.app.enyo-findapps/index.html
[17:54:08.610] Unknown pseudo-class or pseudo-element 'selection'.  Ruleset ignored due to bad selector. @ file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/dom.css:27
[17:54:08.651] findApps is not defined @ file:///usr/palm/applications/com.palm.app.enyo-findapps/index.html:13

Long log:
Code:

[17:54:08.398] file:///usr/palm/applications/com.palm.app.enyo-findapps/index.html
[17:54:08.428] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/enyo.js
[17:54:08.439] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/boot/loader.js
[17:54:08.442] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/boot/boot.js
[17:54:08.445] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/package.js
[17:54:08.447] Use of attributes' nodeValue attribute is deprecated. Use value instead. @ file:///usr/palm/applications/com.palm.app.enyo-findapps/index.html
[17:54:08.453] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/package.js
[17:54:08.462] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/log.js
[17:54:08.466] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/lang.js
[17:54:08.482] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/macroize.js
[17:54:08.486] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/animation.js
[17:54:08.489] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/Oop.js
[17:54:08.492] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/Object.js
[17:54:08.508] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/Component.js
[17:54:08.511] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/UiComponent.js
[17:54:08.515] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/Layout.js
[17:54:08.530] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/kernel/Signals.js
[17:54:08.534] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/ajax/package.js
[17:54:08.559] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/ajax/Async.js
[17:54:08.563] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/ajax/json.js
[17:54:08.566] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/ajax/cookie.js
[17:54:08.570] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/ajax/xhr.js
[17:54:08.573] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/ajax/Ajax.js
[17:54:08.578] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/package.js
[17:54:08.584] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/dom.css
[17:54:08.588] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/dom.js
[17:54:08.592] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/Control.js
[17:54:08.595] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/Dispatcher.js
[17:54:08.599] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/gesture.js
[17:54:08.602] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/drag.js
[17:54:08.606] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/touch/package.js
[17:54:08.610] Unknown pseudo-class or pseudo-element 'selection'.  Ruleset ignored due to bad selector. @ file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/dom/dom.css:27
[17:54:08.621] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/touch/touch.js
[17:54:08.625] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/touch/ScrollMath.js
[17:54:08.628] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/touch/ScrollStrategy.js
[17:54:08.632] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/touch/TouchScrollStrategy.js
[17:54:08.636] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/touch/Scroller.js
[17:54:08.639] file:///usr/palm/applications/com.palm.app.enyo-findapps/enyo/source/touch/Scroller.css
[17:54:08.651] findApps is not defined @ file:///usr/palm/applications/com.palm.app.enyo-findapps/index.html:13

What I did:
  1. Downloaded WebOS doctor, extracted the image
  2. Downloaded latest enyo
  3. unpacked App Catalog from /usr/palm/ipkgs (need to use ar)
  4. moved downloaded enyo to the app catalog's directory
  5. Copied the source/palm to the <app catalog dir>/enyo/source
  6. changed the source/package.js (content below)
  7. run in firefox

package.js
Code:

enyo.depends(
        "kernel",
        "ajax",
        "dom",
        "touch",
        "palm"
);

Has anybody got an idea how to fix it? Any help will be appreciatied.

marmistrz

ivgalvez 2012-02-13 18:29

Re: Palm WebOS on N900
 
Instead of Firefox, wouldn't it be better to try it in Webkit?

marmistrz 2012-02-13 18:31

Re: Palm WebOS on N900
 
Is there a Linux & Maemo browser using webkit that would be good for it, that you would recommend?

EDIT: I found for Maemo webkit-eal. But I don't know whether it's a good choice

don_falcone 2012-02-13 18:47

Re: Palm WebOS on N900
 
Why don't you ask @webos-internals? It will be interesting if they could/would help you. (I have a TouchPad personally, but i do not invest time in bringing that half-baked OS to somewhere else too.)

marmistrz 2012-02-13 18:48

Re: Palm WebOS on N900
 
I did ask. But seems they don't wanna help :)

ivgalvez 2012-02-13 19:06

Re: Palm WebOS on N900
 
Check this thread, some debs for Helium Mobile are floating around.


All times are GMT. The time now is 07:21.

vBulletin® Version 3.8.8