Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: andyj on May 30, 2015, 11:27:28 AM

Title: Web browsers?
Post by: andyj on May 30, 2015, 11:27:28 AM
Which, if any, web browsers are available for PI 2? I've looked through the repository and I didn't see any of the usual suspects.
Title: Re: Web browsers?
Post by: bmarkus on June 08, 2015, 12:02:55 AM
I'm just testing Midori (http://midori-browser.org/). WIll add it to repo in few days.
Title: Re: Web browsers?
Post by: andyj on June 09, 2015, 08:50:58 PM
Is there a preview edition?
Title: Re: Web browsers?
Post by: bmarkus on June 10, 2015, 03:14:39 AM
I will add it to the repo as it is now for testing. It works fine, rendering is correct. The only issue is the JS core segfaults on certain pages. Solution is to disable JS in Midori, but then you are loosing some functionality. It is a known issue of WEBKITGTK which is not fixed in thast 2-3 years. If I disable JIT at compile time webkitgtk doesn't build (2.4.9)

Tried webkitgtk 2.8.3 It requires armv7 for assembly code. Unfortunately can't build, I get either internal compiler error or other faults.

Unfortunately webkitgtk build time is 1-1.5 day on RPi2 and fails at cca. 50%.

Title: Re: Web browsers?
Post by: andyj on June 10, 2015, 06:25:59 PM
It doesn't build with a cross compiler?
Title: Re: Web browsers?
Post by: bmarkus on June 11, 2015, 01:43:44 AM
I'm not using crosscompiler
Title: Re: Web browsers?
Post by: bmarkus on June 16, 2015, 02:26:24 AM
Added midori.tcz to repo. Please read info file. Feedback welcome.
Title: Re: Web browsers?
Post by: curaga on June 16, 2015, 05:42:21 AM
@bmarkus

Typo in webkitgtk.tcz name (gkt).
Title: Re: Web browsers?
Post by: bmarkus on June 16, 2015, 10:10:19 AM
@bmarkus

Typo in webkitgtk.tcz name (gkt).

Thanks, I will fix it...
Title: Re: Web browsers?
Post by: bmarkus on June 19, 2015, 06:05:52 AM
webkitgtk rebuilt with disabled JS JIT. Now with Midori JS works fine, you can browse Facebook, watch Youtube video. Performace is acceptable on RPi2.

Enjoy :)
Title: Re: Web browsers?
Post by: andyj on June 21, 2015, 10:17:05 PM
Some pages work. Some others segfaulted. For being lightweight it sure has a lot of dependencies.
Title: Re: Web browsers?
Post by: bmarkus on June 22, 2015, 01:29:35 AM
Some pages work. Some others segfaulted. For being lightweight it sure has a lot of dependencies.

Please provide URL's where it segfaults.

Lightweight browser do not support JS or have rendering issues or can't deal with mulimedia content so doesn't work with many sites (FaceBook, Youtube, etc.) You must pay the price if you want a browser which works.
Title: Re: Web browsers?
Post by: andyj on June 22, 2015, 11:16:05 PM
The segfaulting website is an internal project. We are looking for a kiosk type browser for the RPi. I was able to make Chrome into a TC extension but that only works on x86. And it's fat too.
Title: Re: Web browsers?
Post by: bmarkus on June 22, 2015, 11:36:57 PM
The segfaulting website is an internal project. We are looking for a kiosk type browser for the RPi. I was able to make Chrome into a TC extension but that only works on x86. And it's fat too.

Do you know, where is it segfaults? In JS, showing a specific element like a video, etc.?
Title: Re: Web browsers?
Post by: bmarkus on June 25, 2015, 01:30:26 PM
dillo3 added to repo.