maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast! (https://talk.maemo.org/showthread.php?t=85191)

n950 2013-01-20 22:07

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
@all:

I don't find the solution for my problem.
Anyone can help me to find the soution few pages ago please.

shmerl 2013-01-20 22:12

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
This was already discussed. Try running with LD_LIBRARY_PATH='.'

n950 2013-01-20 22:17

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Quote:

Originally Posted by shmerl (Post 1316192)
This was already discussed. Try running with LD_LIBRARY_PATH='.'

How to run with LD_LIBRARY_PATH='.' ?

shmerl 2013-01-20 22:20

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
For example do:

Code:

export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
and then run it.

n950 2013-01-20 22:23

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Quote:

Originally Posted by shmerl (Post 1316196)
For example do:

Code:

export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
and then run it.

Like that?

1) copy qt-fennec to /home/user
2) copy qt-fennec.desktop to /usr/share/applications
3) chmod +x /home/user/qt-fennec

#!/bin/sh
url=$1
cd /opt/mozbuildhm
export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
if [ "$url" = "" ]; then url="http://www.google.com/"; fi
./qmlMozEmbedTest -url $url

shmerl 2013-01-20 22:40

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Yes, something like that. Does it help?

You can simplify that code making it:
Code:

#!/bin/bash
cd /opt/mozbuildhm
export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
url=${1:-"https://google.com"}
./qmlMozEmbedTest "$url"


romaxa 2013-01-21 01:32

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Quote:

Originally Posted by n950 (Post 1316119)
How can I resolve this error please?

Thanks in advance


I guess you need to cd into extracted build, or export GRE_HOME=/path/to/libxpcom.so_folder

coderus 2013-01-21 03:05

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
@shmerl hm, okay then :)

n950 2013-01-21 04:26

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
@Romaxa:

Fixed now.
is it possible to read youtube video?
how can i add flash player?

bandora 2013-01-21 08:20

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Lets try to keep this a development related thread please.

freemangordon 2013-01-21 08:57

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Quote:

Originally Posted by bandora (Post 1316258)
Lets try to keep this a development related thread please.

+1

ten chars

coderus 2013-01-21 14:50

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
compiling qml fennec 1 hour...i have no idea how many time estimated :D

freemangordon 2013-01-21 15:01

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Quote:

Originally Posted by coderus (Post 1316322)
compiling qml fennec 1 hour...i have no idea how many time estimated :D

Relax, be patient, take a soft drink of your choice, take another drink when the first bottle is empty :D:D:D

VmWare SDK image here, 1560MB of RAM, Phenom II 955BE 4x3.2GHz - takes about 3 hours.

coderus 2013-01-21 15:20

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
mine is
Kubuntu 12.10 x86
Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
4096MB RAM

but i accidently killed scratchbox process, starting over again now :D

shmerl 2013-01-21 21:39

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
What are you compiling it for, Harmattan or Mer/Nemo?

Don't forget to use -j4 on 4 core CPU by the way.

mikhail_ramalho 2013-01-21 23:43

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
You can also try to use ccache to speed up recompilation time

szymeczek34 2013-01-21 23:55

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
I'm sure Coderus hasn't forgotten about it. If it takes too long for you guys I can compile for you, I've got i7 2600k@4.6GHz, should be a while quicker. There isn't any gpu acceleration available for compiling, is there?

romaxa 2013-01-22 09:50

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Quote:

Originally Posted by szymeczek34 (Post 1316432)
I'm sure Coderus hasn't forgotten about it. If it takes too long for you guys I can compile for you, I've got i7 2600k@4.6GHz, should be a while quicker. There isn't any gpu acceleration available for compiling, is there?

Try to install gold linker, and get 4GB mem free.... that should link fast, also don't use virtualBox it is slow.

romaxa 2013-01-22 09:53

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Updated harmattan and mer builds available at the same location.
Bunch of fixes for input methods, fixed some reported issues (typing in previous field, covering input field - vkb down, et.c.)

If you see some issues, report it here: https://github.com/tmeshkova/mozilla-central/issues.

coderus 2013-01-22 10:19

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
@romaxa about:config (and all about: pages) still unclickable

and i have troubles with compiling. compiler exiting with Killed signal and my kwin killed too :D

freemangordon 2013-01-22 10:23

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Quote:

Originally Posted by coderus (Post 1316554)
@romaxa about:config (and all about: pages) still unclickable

and i have troubles with compiling. compiler exiting with Killed signal and my kwin killed too :D

OOM? :D

ten chars

coderus 2013-01-22 10:28

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
my cpu or memory cant handle this procedure :D
i think it was because i disabled my swap :D

juiceme 2013-01-22 11:12

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
The browser works fine, am posting via it now. And this is fast indeed :D

One thing there is that I am wondering about, though: is it just me or is it quite difficult to hit any links to open?
Compared to the stock browser which really accurately determines where you hit it with a finger, even among closely packed links, with this I need to magnify the page a lot and try to hit multiple times before succeeding...
Somehow I get the feeling that this version is better than the previous, but that might be subjective?

freemangordon 2013-01-22 11:45

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
@juiceme - the same happens on n900, I used the stylus for the first time for the last couple of months :D . Though I guess it is some setting in about:config

coderus 2013-01-22 11:46

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
oh, i enabled my 8GB swap on SSD and compiled with -j4 in a 10 minutes :D

coderus 2013-01-22 12:53

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Okay, made first changes in QML with harmattan components. Now need any info about API for managing tabs and other Fennec components.

romaxa 2013-01-22 14:40

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Quote:

Originally Posted by juiceme (Post 1316573)
The browser works fine, am posting via it now. And this is fast indeed :D

One thing there is that I am wondering about, though: is it just me or is it quite difficult to hit any links to open?
Compared to the stock browser which really accurately determines where you hit it with a finger, even among closely packed links, with this I need to magnify the page a lot and try to hit multiple times before succeeding...
Somehow I get the feeling that this version is better than the previous, but that might be subjective?

That feature need some small piece of code implementation, should not be hard to do.

romaxa 2013-01-23 08:42

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Latest builds have gstreamer support.
Simple test page:
http://camendesign.com/code/video_fo...body/test.html

in order to test youtube mobile with h264 on harmattan N9, run
Code:

CUSTOM_UA="Mozilla/5.0 (Linux; Android 4.0.3; Transformer Prime TF201 Build/IML74K) AppleWebKit/535.19 (KHTML, like Gecko) Tablet Chrome/18.0.1025.166 Safari/535.19" ./qmlMozEmbedTest -url "http://m.youtube.com/watch?v=mdZo_keUoEs"
and disable HQ, (by some reason it too heavy.)

For Mer gstreamer h264 codecs need to be installed to get it working.

Cheers.

coderus 2013-01-23 08:50

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
"Firefox doesn't know how to open this address, because the protocol (vnd.youtube) isn't associated with any program."

huh?

shmerl 2013-01-23 08:51

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
A pity latest Mer/PA on Nexus 7 crashes after I switched to devel. I'll just install more stable image again to test this. By the way, why do you need to spoof the user agent there?

Mer/PA on Nexus 7 has hardware accelerated H.264 plugin for gstreamer (nv_omx_h264dec). Stock player need special patching to enable it though. Would embedlite be able to use it too?

Here is an example how to invoke it from the gst-launch

Code:

DISPLAY=:0 gst-launch-0.10 filesrc location=some_video.mp4 ! \
qtdemux name=demuxer \ demuxer. ! nv_omx_aacdec ! queue ! \
audioconvert ! audioresample ! autoaudiosink \ demuxer. ! queue ! \
nv_omx_h264dec ! nvxvimagesink


thedead1440 2013-01-23 08:55

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
romaxa,

Its only audio support right as using latest build I can hear but don't see any video...

thedead1440 2013-01-23 08:56

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Quote:

Originally Posted by coderus (Post 1316884)
"Firefox doesn't know how to open this address, because the protocol (vnd.youtube) isn't associated with any program."

huh?

You are using yesterday's build; there is a new one today use that...

coderus 2013-01-23 10:22

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Ah, sure. Pulling a nd recompiling it now...
Just enabled harmattan booster to speed-up browser startup.

shma 2013-01-23 10:53

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
I get all excited just reading all of the progress, Just had a question, Does it use the native keyboard and not a built in one as opera?
Cheers.

myname24 2013-01-23 11:03

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Quote:

Originally Posted by shma (Post 1316908)
I get all excited just reading all of the progress, Just had a question, Does it use the native keyboard and not a built in one as opera?
Cheers.

yes ( native )

Garp 2013-01-23 13:40

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Quote:

Originally Posted by coderus (Post 1316906)
Ah, sure. Pulling a nd recompiling it now...
Just enabled harmattan booster to speed-up browser startup.

Harmattan booster, what's that, how to enable?:confused:

romaxa 2013-01-23 15:07

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Quote:

Originally Posted by coderus (Post 1316884)
"Firefox doesn't know how to open this address, because the protocol (vnd.youtube) isn't associated with any program."

huh?

Try run exactly this in cmdline with latest url, probably original string not copied properly
Code:

CUSTOM_UA="Mozilla/5.0 (Linux; Android 4.0.3; Transformer Prime TF201 Build/IML74K) AppleWebKit/535.19 (KHTML, like Gecko) Tablet Chrome/18.0.1025.166 Safari/535.19" ./qmlMozEmbedTest -url "http://m.youtube.com/watch?v=mdZo_keUoEs"

coderus 2013-01-23 16:03

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
same.
but "video for everyone" working

romaxa 2013-01-23 16:16

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
Quote:

Originally Posted by coderus (Post 1317020)
same.
but "video for everyone" working

does it show H264 context? is it Harmattan N9 build?

coderus 2013-01-23 16:53

Re: Qt based Fennec (Firefox) - IPCLiteAPI - Hell it's fast!
 
no, h264 not supported on youtube.com/html5 page, only webM
yes, Harmattan N9 build.


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

vBulletin® Version 3.8.8